]> git.immae.eu Git - github/fretlink/time-picker.git/blobdiff - assets/index/Select.less
document onOpen and onClose, close #23
[github/fretlink/time-picker.git] / assets / index / Select.less
index bca25f99083f40e3e94883f3aca15bed396086f7..13b5b187418cb53ebf11e9bfd186c8ebd1389ad4 100644 (file)
@@ -7,6 +7,7 @@
   box-sizing: border-box;
   width: 56px;
   overflow: hidden;
+  position: relative; // Fix chrome weird render bug
 
   &:hover {
     overflow-y: auto;
@@ -32,7 +33,7 @@
 
   li {
     list-style: none;
-    box-sizing: border-box;
+    box-sizing: content-box;
     margin: 0;
     padding: 0 0 0 16px;
     width: 100%;
     }
   }
 
-  &-option-selected {
+  li&-option-selected {
     background: #edfaff;
     color: #2db7f5;
   }
+
+  li&-option-disabled {
+    color: #bfbfbf;
+    &:hover {
+      background: transparent;
+      cursor: not-allowed;
+    }
+  }
 }