diff options
| Commit | d31082e9122c387a60ab7378ea3b2c5c8e9aac74 (patch) | |
|---|---|---|
| Author | 2020-07-02 16:51:51 +0300 | |
| Committer | 2020-07-02 16:51:51 +0300 | |
| Files | 8ceb4b0c6db75872178eee173067e1b7a800de00 | |
| tues-interns-2020-feature/buttons-styles.tar tues-interns-2020-feature/buttons-styles.tar.gz tues-interns-2020-feature/buttons-styles.zip | ||
| Parent | 012e99ce9a6f03b6e9069f1fe00d45a37c7a9714 (diff) | |
[Update] all buttons styles feature/buttons-styles
1 files changed, 31 insertions, 0 deletions
| -rw-r--r-- | wp-content/themes/carmag/assets/src/sass/components/_buttons.scss | 31 |
diff --git a/wp-content/themes/carmag/assets/src/sass/components/_buttons.scss b/wp-content/themes/carmag/assets/src/sass/components/_buttons.scss index e69de29..1b60029 100644 --- a/wp-content/themes/carmag/assets/src/sass/components/_buttons.scss +++ b/wp-content/themes/carmag/assets/src/sass/components/_buttons.scss @@ -0,0 +1,31 @@ +.button { + border: none; + padding: 10px 32px; + font-size: 1rem; + font-weight: bold; + + &:hover { + color: black; + transition: 0.3s; + } + + &.primary { + background-color: $color-primary; + color: $color-white; + + &:hover { + background-color: darken($color-primary, 2%); + color: white; + } + } + + &.secondary { + background-color: $color-secondary; + color: $color-primary-dark; + + &:hover { + background-color: darken($color-secondary, 2%); + color: black; + } + } +} |
