浏览代码

fixed so all buttons are styled not just small ones, fixes #11616

Patrick O'Carroll 7 年之前
父节点
当前提交
3dd073f98d
共有 1 个文件被更改,包括 7 次插入5 次删除
  1. 7 5
      public/sass/components/_timepicker.scss

+ 7 - 5
public/sass/components/_timepicker.scss

@@ -71,12 +71,10 @@
   td {
     padding: 1px;
   }
-  button.btn-sm {
+  button {
     @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl);
-    font-size: $font-size-sm;
     background-image: none;
     border: none;
-    padding: 5px 11px;
     color: $text-color;
     &.active span {
       color: $blue;
@@ -86,6 +84,10 @@
       color: $orange;
       font-weight: bold;
     }
+    &.btn-sm {
+      font-size: $font-size-sm;
+      padding: 5px 11px;
+    }
   }
 }
 
@@ -103,10 +105,10 @@
 }
 
 .fa-chevron-left::before {
-  content: "\f053";
+  content: '\f053';
 }
 .fa-chevron-right::before {
-  content: "\f054";
+  content: '\f054';
 }
 
 .glyphicon-chevron-right {