about summary refs log tree commit diff
path: root/app/assets/stylesheets/tables.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-23 16:01:46 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-23 16:01:46 +0100
commitf855d645b2762054ceafd4e3ca57fc7436cadbc9 (patch)
tree484a9c723b0fca0ad39e222d2c7ce71b70a05ba4 /app/assets/stylesheets/tables.scss
parentd4d56b8af0e85e328eb1a323816d734ca16a4176 (diff)
Move all hex colors in SASS to variables and all variations to darken/lighten
Diffstat (limited to 'app/assets/stylesheets/tables.scss')
-rw-r--r--app/assets/stylesheets/tables.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/stylesheets/tables.scss b/app/assets/stylesheets/tables.scss
index 279cc3069..ad8050580 100644
--- a/app/assets/stylesheets/tables.scss
+++ b/app/assets/stylesheets/tables.scss
@@ -9,13 +9,13 @@
     padding: 8px;
     line-height: 18px;
     vertical-align: top;
-    border-top: 1px solid #282c37;
+    border-top: 1px solid $color1;
     text-align: left;
   }
 
   & > thead > tr > th {
     vertical-align: bottom;
-    border-bottom: 2px solid #282c37;
+    border-bottom: 2px solid $color1;
     border-top: 0;
     font-weight: 500;
   }
@@ -25,11 +25,11 @@
   }
 
   & > tbody > tr:nth-child(odd) > td, & > tbody > tr:nth-child(odd) > th {
-    background: lighten(#1a1c23, 2%);
+    background: $color1;
   }
 
   a {
-    color: #2b90d9;
+    color: $color4;
     text-decoration: underline;
 
     &:hover {
@@ -51,11 +51,11 @@ a.table-action-link {
   display: inline-block;
   margin-right: 5px;
   padding: 0 10px;
-  color: rgba(255, 255, 255, 0.7);
+  color: rgba($color5, 0.7);
   font-weight: 500;
 
   &:hover {
-    color: #fff;
+    color: $color5;
   }
 
   i.fa {