]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - app.scss
also fix paths in worker.js
[github/bastienwirtz/homer.git] / app.scss
index d4d2099529f6487739c0ff7cde14fe6b5c14661a..defd931ef078d5e779ff6e03fdecf5f2e0eb35bd 100644 (file)
--- a/app.scss
+++ b/app.scss
@@ -9,7 +9,8 @@ $theme-light: (
   text: #363636,
   text-title: #303030,
   text-subtitle: #424242,
-  card-shadow: rgba(0, 0, 0, 0.1)
+  card-shadow: rgba(0, 0, 0, 0.1),
+  a-hover: #363636
 );
 $theme-dark: (
   background: #131313,
@@ -17,7 +18,8 @@ $theme-dark: (
   text: #eaeaea,
   text-title: #fafafa,
   text-subtitle: #f5f5f5,
-  card-shadow: rgba(0, 0, 0, 0.4)
+  card-shadow: rgba(0, 0, 0, 0.4),
+  a-hover: #ffdd57
 );
 
   
@@ -25,7 +27,12 @@ $theme-dark: (
 @mixin theme($theme) {
   background-color: map-get($theme, "background");
   color: map-get($theme, "text");
-
+  a {
+    &:hover {
+      color: map-get($theme, "a-hover");
+    }
+  }
+  
   .title {
     color: map-get($theme, "text-title");
   }
@@ -154,6 +161,7 @@ body {
       a {
         color: #ffffff;
         &:hover {
+          color: #ffffff;
           background-color: lighten( $secondary-color, 5% );
         }
       }
@@ -212,6 +220,10 @@ body {
     overflow: hidden;
     transition: all 0.2s ease-out;
     padding: 0;
+    
+    .tag-text {
+      display: none;
+    }
   }
 
   .card {
@@ -232,6 +244,10 @@ body {
       width: auto;
       color: #ffffff;
       padding: 0 0.75em;
+      
+      .tag-text {
+        display: block;
+      }
     }
   }
 
@@ -289,11 +305,12 @@ body {
     }
 
     .search-label::before {
-      font-family: 'FontAwesome';
+      font-family: 'Font Awesome 5 Free';
       position: absolute;
       top: 12px;
       left: 8px;
       content: "\f002";
+      font-weight: 900;
       width: 20px;
       height: 20px;
     }