Parcourir la source

Button anchor no padding

soyjavi il y a 13 ans
Parent
commit
c38dc36bb5
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 2 5
      src/stylesheets/lungo.base.styl
  2. 4 1
      src/stylesheets/lungo.widget.button.styl

+ 2 - 5
src/stylesheets/lungo.base.styl

@@ -105,14 +105,11 @@ body
   overflow-y: visible !important
 
   // @TODO: Why??
-  /*
-  // -webkit-user-select:none
+  // -webkit-user-select: none
   // -webkit-touch-callout: none
   // -webkit-box-orient: vertical
   // -webkit-box-align: stretch
   // -webkit-tap-highlight-color: rgba(0,0,0,0)
-
-  */
   display-box()
 
   & *
@@ -135,7 +132,7 @@ img
   font-size: 0
 
 // strong
-//   font-weight: 600
+//   font-weight: bold
 
 table
   border-collapse: collapse

+ 4 - 1
src/stylesheets/lungo.widget.button.styl

@@ -29,7 +29,6 @@
       float: right
 
   article &
-    font-size: 1.1em
     line-height: 2.5em
     &.icon
       padding: 0 0.65em
@@ -42,11 +41,15 @@
       font-size: FONT_SIZE_LARGE
     &.small
       font-size: FONT_SIZE_SMALL
+      line-height: 2.25em
     &.tiny
       font-size: FONT_SIZE_TINY
+      line-height: 2.0em
+      padding: 0 0.6em
     &.anchor
       width: 100%
       position: relative
+      padding: 0
       &:not(.icon) .icon
         position: absolute
         left: 1.0em