Sfoglia il codice sorgente

better disabled indication

Henry Jameson 2 mesi fa
parent
commit
05ab57a8e6
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/components/select/select.vue

+ 2 - 1
src/components/select/select.vue

@@ -61,12 +61,13 @@ label.Select {
   &:disabled {
     background-color: var(--background);
     opacity: 1; /* override browser */
+    color: var(--faint);
 
     select {
       &[multiple],
       &[size] {
         option.-active {
-          color: var(--text);
+          color: var(--faint);
           background: transparent;
         }
       }