From e5c1454c091cb4101664d1bfa0e766ab37e9879a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 1 Oct 2022 22:13:51 +0530 Subject: created a navbar --- src/components/tables/scss/_colors.scss | 2 ++ src/components/tables/scss/table.scss | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/components/tables') diff --git a/src/components/tables/scss/_colors.scss b/src/components/tables/scss/_colors.scss index 2a3725c..7077b62 100644 --- a/src/components/tables/scss/_colors.scss +++ b/src/components/tables/scss/_colors.scss @@ -28,6 +28,8 @@ $fgColorDisabled: $disabledColor; $inputBackgroundColor: $backgroundColor; +$thColor: $altBackgroundColor; + $warningColor: $warningColor; @mixin button { diff --git a/src/components/tables/scss/table.scss b/src/components/tables/scss/table.scss index d9be7c8..13e247a 100644 --- a/src/components/tables/scss/table.scss +++ b/src/components/tables/scss/table.scss @@ -15,20 +15,22 @@ * along with this program. If not, see . */ +@import "colors"; + table { width: 90%; margin: auto; th { box-sizing: border-box; - background-color: #383a59; + background-color: $thColor; font-weight: normal; text-align: left; padding-left: 0.3rem; } tr:hover { - background-color: rgba(#383a59, 0.4); + background-color: rgba($thColor, 0.4); } td { -- cgit v1.2.3