Quellcode durchsuchen

Fixing typo (buttons)

Javi Jimenez Villar vor 13 Jahren
Ursprung
Commit
618b628afc
2 geänderte Dateien mit 6 neuen und 10 gelöschten Zeilen
  1. 0 7
      src/stylesheets/lungo.widgets.button.styl
  2. 6 3
      src/stylesheets/theme.lungo.styl

+ 0 - 7
src/stylesheets/lungo.widgets.button.styl

@@ -24,19 +24,12 @@
     line-height: (H - 2)
     padding: 0 14px
 
-    &, abbr
-      font-weight: 700
     & .icon + abbr
       margin-left: 6px
 
-    &:disabled, &.disabled
-      background: rgba(255,255,255,0.2)
-      color: #999 !important
-
     &:not(.anchor) .icon
       line-height: (H / 2)
 
-
     &.anchor
       display: block
       // width: inherit

+ 6 - 3
src/stylesheets/theme.lungo.styl

@@ -257,14 +257,17 @@ article
     border-radius 2px
     box-shadow inset 0 1px 0 rgba(255,255,255,0.2)
     border: solid 1px rgba(0,0,0,0.1)
-
     &:active
       box-shadow inset 0 0 128px rgba(0,0,0,0.25)
       border-color: none
     &.secondary
       color: #666 !important
-    &[disabled]
-      background-color: black
+    &[disabled], :disabled, &.disabled
+      background: rgba(255,255,255,0.2)
+      color: #999 !important
+      box-shadow: none !important
+    &, abbr
+      font-weight: 700
     & .icon
       opacity: 0.65
       text-shadow: 0 -1px 0 rgba(0,0,0,0.25)