|
|
@@ -3,9 +3,9 @@
|
|
|
|
|
|
button {
|
|
|
@include input-colors;
|
|
|
- background-color: $bg_elements;
|
|
|
- color: $fg_color;
|
|
|
- border: 1px solid $accent_border;
|
|
|
+ background-color: var(--bg_elements);
|
|
|
+ color: var(--fg_color);
|
|
|
+ border: 1px solid var(--accent_border);
|
|
|
padding: 3px 6px;
|
|
|
font-size: 14px;
|
|
|
cursor: pointer;
|
|
|
@@ -13,12 +13,13 @@ button {
|
|
|
}
|
|
|
|
|
|
input[type="text"],
|
|
|
-input[type="date"] {
|
|
|
+input[type="date"],
|
|
|
+select {
|
|
|
@include input-colors;
|
|
|
- background-color: $bg_elements;
|
|
|
+ background-color: var(--bg_elements);
|
|
|
padding: 1px 4px;
|
|
|
- color: $fg_color;
|
|
|
- border: 1px solid $accent_border;
|
|
|
+ color: var(--fg_color);
|
|
|
+ border: 1px solid var(--accent_border);
|
|
|
border-radius: 0;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
@@ -40,8 +41,8 @@ input::-webkit-calendar-picker-indicator {
|
|
|
input::-webkit-datetime-edit-day-field:focus,
|
|
|
input::-webkit-datetime-edit-month-field:focus,
|
|
|
input::-webkit-datetime-edit-year-field:focus {
|
|
|
- background-color: $accent;
|
|
|
- color: $fg_color;
|
|
|
+ background-color: var(--accent);
|
|
|
+ color: var(--fg_color);
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
@@ -64,7 +65,7 @@ input::-webkit-datetime-edit-year-field:focus {
|
|
|
}
|
|
|
|
|
|
.icon-button button {
|
|
|
- color: $accent;
|
|
|
+ color: var(--accent);
|
|
|
text-decoration: none;
|
|
|
background: none;
|
|
|
border: none;
|
|
|
@@ -73,7 +74,7 @@ input::-webkit-datetime-edit-year-field:focus {
|
|
|
padding-left: 4px;
|
|
|
|
|
|
&:hover {
|
|
|
- color: $accent_light;
|
|
|
+ color: var(--accent_light);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -83,8 +84,8 @@ input::-webkit-datetime-edit-year-field:focus {
|
|
|
right: 0;
|
|
|
height: 17px;
|
|
|
width: 17px;
|
|
|
- background-color: $bg_elements;
|
|
|
- border: 1px solid $accent_border;
|
|
|
+ background-color: var(--bg_elements);
|
|
|
+ border: 1px solid var(--accent_border);
|
|
|
|
|
|
&:after {
|
|
|
content: "";
|
|
|
@@ -114,11 +115,11 @@ input::-webkit-datetime-edit-year-field:focus {
|
|
|
}
|
|
|
|
|
|
&:hover input ~ .checkbox {
|
|
|
- border-color: $accent;
|
|
|
+ border-color: var(--accent);
|
|
|
}
|
|
|
|
|
|
&:active input ~ .checkbox {
|
|
|
- border-color: $accent_light;
|
|
|
+ border-color: var(--accent_light);
|
|
|
}
|
|
|
|
|
|
.checkbox:after {
|
|
|
@@ -143,6 +144,16 @@ input::-webkit-datetime-edit-year-field:focus {
|
|
|
padding-right: 135px;
|
|
|
}
|
|
|
|
|
|
+ select {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ display: block;
|
|
|
+ -moz-appearance: none;
|
|
|
+ -webkit-appearance: none;
|
|
|
+ appearance: none;
|
|
|
+ }
|
|
|
+
|
|
|
input[type="text"] {
|
|
|
position: absolute;
|
|
|
right: 0;
|