Explorar o código

New style of .tag

soyjavi %!s(int64=13) %!d(string=hai) anos
pai
achega
dd77b66b8f

+ 3 - 3
src/stylesheets/lungo.widget.styl

@@ -67,14 +67,14 @@
 
 
 /* ================================  TAG  ================================ */
 /* ================================  TAG  ================================ */
 .tag
 .tag
-  SIZE = 20px
+  SIZE = 16px
   font-size: FONT_SIZE_TINY
   font-size: FONT_SIZE_TINY
-  min-width: SIZE
+  min-width: SIZE + 1
   height: SIZE
   height: SIZE
   line-height: SIZE !important
   line-height: SIZE !important
   text-align: center
   text-align: center
   z-index: 1
   z-index: 1
-  display: inline-block
+  display: inline-block !important
 
 
 
 
 /* ================================  .LAYOUT  ================================ */
 /* ================================  .LAYOUT  ================================ */

+ 4 - 2
src/stylesheets/theme/theme.widget.styl

@@ -10,10 +10,12 @@
 /* =================================  TAG  ================================= */
 /* =================================  TAG  ================================= */
 .tag:not(.icon)
 .tag:not(.icon)
   color: #fff
   color: #fff
-  font-weight: 400
+  font-weight: bold
+  text-shadow: 0 1px rgba(0,0,0,0.25)
   &.count
   &.count
-    border-radius 1em
+    border-radius 0.3em
     background-color: DANGER
     background-color: DANGER
+    box-shadow 0 0 1px rgba(0,0,0,0.25)
 
 
 /* =================================  PULL  =============================== */
 /* =================================  PULL  =============================== */
 body > section > [data-control="pull"]
 body > section > [data-control="pull"]