diff options
Diffstat (limited to 'frontend/src/components/fields/common.scss')
-rw-r--r-- | frontend/src/components/fields/common.scss | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/frontend/src/components/fields/common.scss b/frontend/src/components/fields/common.scss index f83a988..f37369e 100644 --- a/frontend/src/components/fields/common.scss +++ b/frontend/src/components/fields/common.scss @@ -1,48 +1,47 @@ -@import '../../colors.scss'; +@import "../../colors.scss"; .field { - input, textarea { - background-color: $color-primary-2; width: 100%; - border: none; + padding: 7px 10px; color: $color-primary-4; + border: none; border-radius: 5px; - padding: 7px 10px; + background-color: $color-primary-2; &:focus { - background-color: $color-primary-1; color: $color-primary-4; - box-shadow: none; outline: none; + background-color: $color-primary-1; + box-shadow: none; } &[readonly] { - background-color: $color-primary-2; - border: none; color: $color-primary-4; + border: none; + background-color: $color-primary-2; } &[readonly]:focus { - background-color: $color-primary-1; color: $color-primary-4; + background-color: $color-primary-1; box-shadow: none; } } button { - border-radius: 0; - background-color: $color-primary-2; - border: none; + font-weight: 500; + padding: 5px 12px; color: $color-primary-4; + border: none; + border-radius: 0; outline: none; - padding: 5px 12px; - font-weight: 500; + background-color: $color-primary-2; &:hover, &:active { - background-color: $color-primary-1; color: $color-primary-4; + background-color: $color-primary-1; } &:focus, |