Skip to content

Commit 484b69c

Browse files
author
Federico Zivolo
committed
fixed color of inputs inside well-material-colors
1 parent 9f6cbf3 commit 484b69c

4 files changed

Lines changed: 39 additions & 12 deletions

File tree

css-compiled/material-wfont.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,9 +1201,6 @@ select[multiple].form-control.focus {
12011201
animation-fill-mode: forwards;
12021202
opacity: 0;
12031203
}
1204-
.form-control-wrapper select ~ .material-input:before {
1205-
bottom: 1px;
1206-
}
12071204
.form-control-wrapper select ~ .material-input:after {
12081205
display: none;
12091206
}
@@ -1890,9 +1887,22 @@ body .jumbotron-material-lightgrey,
18901887
}
18911888
body [class^="well well-material"],
18921889
.container [class^="well well-material"],
1893-
.container-fluid [class^="well well-material"] {
1890+
.container-fluid [class^="well well-material"],
1891+
body [class^="well well-material"] .form-control,
1892+
.container [class^="well well-material"] .form-control,
1893+
.container-fluid [class^="well well-material"] .form-control {
18941894
color: rgba(255, 255, 255, 0.84);
18951895
}
1896+
body [class^="well well-material"] .form-control,
1897+
.container [class^="well well-material"] .form-control,
1898+
.container-fluid [class^="well well-material"] .form-control {
1899+
border-bottom-color: rgba(255, 255, 255, 0.84);
1900+
}
1901+
body [class^="well well-material"] .option,
1902+
.container [class^="well well-material"] .option,
1903+
.container-fluid [class^="well well-material"] .option {
1904+
color: rgba(0, 0, 0, 0.84);
1905+
}
18961906
.modal-content {
18971907
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
18981908
border-radius: 0;

css-compiled/material.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,9 +1200,6 @@ select[multiple].form-control.focus {
12001200
animation-fill-mode: forwards;
12011201
opacity: 0;
12021202
}
1203-
.form-control-wrapper select ~ .material-input:before {
1204-
bottom: 1px;
1205-
}
12061203
.form-control-wrapper select ~ .material-input:after {
12071204
display: none;
12081205
}
@@ -1889,9 +1886,22 @@ body .jumbotron-material-lightgrey,
18891886
}
18901887
body [class^="well well-material"],
18911888
.container [class^="well well-material"],
1892-
.container-fluid [class^="well well-material"] {
1889+
.container-fluid [class^="well well-material"],
1890+
body [class^="well well-material"] .form-control,
1891+
.container [class^="well well-material"] .form-control,
1892+
.container-fluid [class^="well well-material"] .form-control {
18931893
color: rgba(255, 255, 255, 0.84);
18941894
}
1895+
body [class^="well well-material"] .form-control,
1896+
.container [class^="well well-material"] .form-control,
1897+
.container-fluid [class^="well well-material"] .form-control {
1898+
border-bottom-color: rgba(255, 255, 255, 0.84);
1899+
}
1900+
body [class^="well well-material"] .option,
1901+
.container [class^="well well-material"] .option,
1902+
.container-fluid [class^="well well-material"] .option {
1903+
color: rgba(0, 0, 0, 0.84);
1904+
}
18951905
.modal-content {
18961906
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
18971907
border-radius: 0;

less/inputs.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ select[multiple].form-control {
106106
opacity: 0;
107107
}
108108

109-
select ~ .material-input:before {
110-
bottom: 1px;
111-
}
112109
select ~ .material-input:after {
113110
display: none;
114111
}

less/material.less

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,17 @@ body, .container, .container-fluid {
5151
.variations(~"", background-color, #FFF);
5252
}
5353
[class^="well well-material"] {
54-
color: @darkbg-text;
54+
&, .form-control {
55+
color: @darkbg-text;
56+
}
57+
.form-control {
58+
border-bottom-color: @darkbg-text;
59+
}
60+
// Rule to fix selectize plugin
61+
.option {
62+
color: @lightbg-text;
63+
}
64+
5565
}
5666
}
5767

0 commit comments

Comments
 (0)