Skip to content

Commit 598b404

Browse files
authored
webui: select appearance fix + changed wizard btn color (#789)
* select appearance fix + changed wizard btn color * default buttons * warning buttons
1 parent 472da54 commit 598b404

File tree

1 file changed

+49
-5
lines changed

1 file changed

+49
-5
lines changed

assets/webconfig/css/darkMode.css

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,24 @@ h4 {
4747
}
4848

4949
/*Buttons*/
50+
.btn-default {
51+
color: #DDDDDD;
52+
background-color: #212121;
53+
border-color: #424242;
54+
}
55+
56+
.btn-default:hover {
57+
color: #DDDDDD;
58+
background-color: #333;
59+
border-color: #616161;
60+
}
61+
62+
.btn-default:focus{
63+
color: #DDDDDD;
64+
background-color: #333;
65+
border-color: #616161;
66+
}
67+
5068
.btn-primary {
5169
background-color: #155fa0;
5270
border-color: #5db6ff;
@@ -68,15 +86,18 @@ h4 {
6886
}
6987

7088
.btn-warning {
71-
background-color: #ec971f;
89+
background-color: #bc7410;
90+
border-color: #f0ad4e;
7291
}
7392

7493
.btn-warning:hover {
75-
background-color: #f0ad4e;
94+
background-color: #ec971f;
95+
border-color: #f3bd72;
7696
}
7797

7898
.btn-warning:focus {
79-
background-color: #f0ad4e;
99+
background-color: #ec971f;
100+
border-color: #f3bd72;
80101
}
81102

82103
.btn-danger {
@@ -104,6 +125,21 @@ h4 {
104125
border-color: #a1eea1;
105126
}
106127

128+
.btn-wizard {
129+
background-color: #602060;
130+
border-color: #993399;
131+
}
132+
133+
.btn-wizard:hover {
134+
background-color: #993399;
135+
border-color: #cc66cc;
136+
}
137+
138+
.btn-wizard:focus {
139+
background-color: #993399;
140+
border-color: #cc66cc;
141+
}
142+
107143
/*Tables*/
108144
tr:hover td {
109145
background-color: #2e6da4;
@@ -191,7 +227,15 @@ tr:hover td {
191227
border-color: #616161;
192228
background-color: #212121;
193229
color: #DDDDDD !important;
230+
-moz-appearance: none;
194231
-webkit-appearance: none;
232+
appearance: none;
233+
}
234+
235+
select.form-control {
236+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4.95 10'%3E%3Cpath fill='%23212121' d='M0 0h4.95v10H0z'/%3E%3Cpath fill='%23ddd' d='M1.41 4.67l1.07-1.49 1.06 1.49H1.41zm2.13.66L2.48 6.82 1.41 5.33h2.13z'/%3E%3C/svg%3E") !important;
237+
background-repeat: no-repeat;
238+
background-position: right 5px center;
195239
}
196240

197241
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group>.btn, .input-group-btn:last-child>.dropdown-toggle, .input-group-btn:first-child>.btn:not(:first-child), .input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
@@ -212,7 +256,7 @@ tr:hover td {
212256
color: #DDDDDD;
213257
}
214258

215-
.checkbox label::after
259+
.checkbox label::after
216260
{
217261
left: 1px;
218262
color: #DDDDDD;
@@ -388,4 +432,4 @@ pre {
388432
border-color: #424242 !important;
389433
box-shadow: 0px 2px 10px 0px rgba(18, 18, 18, 0.4);
390434
color: #DDD;
391-
}
435+
}

0 commit comments

Comments
 (0)