aboutsummaryrefslogtreecommitdiff
path: root/src/components/tables/scss/_colors.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/tables/scss/_colors.scss')
-rw-r--r--src/components/tables/scss/_colors.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/tables/scss/_colors.scss b/src/components/tables/scss/_colors.scss
index 98634bb..a4a8ba4 100644
--- a/src/components/tables/scss/_colors.scss
+++ b/src/components/tables/scss/_colors.scss
@@ -27,3 +27,19 @@ $fgColorDisabled: lightgray;
$inputBackgroundColor: #00000000;
$warningColor: #ed4683;
+
+@mixin button {
+ input[type=button] {
+ 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;
+ }
+ input[type=button]:hover {
+ background-color: $primaryAccentColor;
+ color: $fgColorAlt;
+ }
+}