aboutsummaryrefslogtreecommitdiff
path: root/src/components/tables
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/tables')
-rw-r--r--src/components/tables/scss/_colors.scss2
-rw-r--r--src/components/tables/scss/table.scss6
2 files changed, 6 insertions, 2 deletions
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 <https://www.gnu.org/licenses/>.
*/
+@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 {