Pārlūkot izejas kodu

Change color in tags (aside)

soyjavi 13 gadi atpakaļ
vecāks
revīzija
56a8be1c48

+ 4 - 0
src/stylesheets/theme/theme.layout.list.styl

@@ -54,6 +54,10 @@
     background: none
     &, & a
       color: lighten(ASIDE, 50%)
+      &:not(.active) .tag:not(.icon)
+        background-color: ASIDE
+      &.active .tag:not(.icon)
+        background-color: darken(THEME, 15%)
 
     & .icon
       color: lighten(ASIDE, 70%)

+ 1 - 1
src/stylesheets/theme/theme.widget.button.styl

@@ -27,7 +27,7 @@ article
       opacity: 0.65
       text-shadow: 0 -1px 0 rgba(0,0,0,0.25)
 
-  & button, .button, .tag:not(.icon)
+  & button, .button
     &
       background-color: darken(THEME, 15%)
     &.color

+ 1 - 1
src/stylesheets/theme/theme.widget.styl

@@ -16,8 +16,8 @@
     border-radius 0.2em
   &.count
     border-radius 0.3em
-    background-color: DANGER
     box-shadow 0 0 1px rgba(0,0,0,0.25)
+    background-color: DANGER
 
 /* =================================  PULL  =============================== */
 body > section > [data-control="pull"]