diff options
Diffstat (limited to 'src/components/editors/scss/_editor.scss')
-rw-r--r-- | src/components/editors/scss/_editor.scss | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/editors/scss/_editor.scss b/src/components/editors/scss/_editor.scss index 1ca7067..6cd7c43 100644 --- a/src/components/editors/scss/_editor.scss +++ b/src/components/editors/scss/_editor.scss @@ -17,6 +17,22 @@ @import "colors"; +@mixin button { + button, input[type=submit] { + padding: 0.2rem 0; + width: 4rem; + background-color: $inputBackgroundColor; + border: 1px solid $primaryAccentColor; + color: $fgColor; + border-radius: 4px; + transition: background-color 0.4s, color 0.4s; + } + button:hover, input[type=submit]:hover { + background-color: $primaryAccentColor; + color: $fgColorAlt; + } +} + @mixin label { label { display: flex; |