Skip to content

Commit c18e212

Browse files
committed
Merge branch 'master' into production
2 parents 0e0df2f + 556499d commit c18e212

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/scss/modules/_colors.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ $hint-color: #9f9f9f;
33
$strength-indicator-color: #00000019;
44

55
$primary-default: #007bff;
6-
$primary-default-border: #0070e6;
6+
$primary-default-border: #0070e6;
7+
8+
$secondary-default: #e3e3e3;
9+
$secondary-default-border: #d8d8d8;

src/scss/themes/basic.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ $input-padding: .3rem .4rem;
3131
min-width: 100px;
3232
}
3333

34-
&:focus {
35-
border: none;
34+
&:focus, &:active {
35+
padding: $input-padding;
3636
outline: none;
3737
}
3838
}
@@ -115,7 +115,12 @@ $input-padding: .3rem .4rem;
115115
}
116116

117117
.field-reset {
118+
background: $secondary-default;
119+
border: 2px solid $secondary-default-border;
118120
border-radius: 3px;
121+
&:hover {
122+
background: color.adjust($secondary-default, $lightness: -3%)
123+
}
119124
}
120125

121126
/** Switch field */

0 commit comments

Comments
 (0)