Ver código fonte

dropdown color changes

master
Konstantyn Pahsura 9 anos atrás
pai
commit
15bc3b9ad4
2 arquivos alterados com 8 adições e 14 exclusões
  1. 3
    3
      css/_variables.scss
  2. 5
    11
      css/aui-components/dropdown.scss

+ 3
- 3
css/_variables.scss Ver arquivo

@@ -110,6 +110,6 @@ $linkHoverFontColor: #287ade;
110 110
 /**
111 111
  * Forms
112 112
  */
113
-$inputBg: #505F79;
114
-$inputBgHover: #505F79;
115
-$inputFontColor: #ECEEF1;
113
+$inputBg: $inputSemiBackground;
114
+$inputBgHover: $inputSemiBackground;
115
+$inputFontColor: $defaultDarkFontColor;

+ 5
- 11
css/aui-components/dropdown.scss Ver arquivo

@@ -3,6 +3,10 @@ form.aui {
3 3
         background-color: transparent;
4 4
 
5 5
         > a {
6
+            background-color: $inputBg !important;
7
+            color: $inputFontColor !important;
8
+            border-color: $inputBg !important;
9
+            text-shadow: none !important;
6 10
             margin: 0 auto !important;
7 11
             width: 100% !important;
8 12
         }
@@ -32,17 +36,7 @@ form.aui {
32 36
     z-index: 900;
33 37
 }
34 38
 
35
-//Dark theme
36
-form.aui{
37
-    //Placeholder
38
-    .aui-select2-container.input-container-dark {
39
-        a.select2-choice {
40
-            text-shadow: none;
41
-        }
42
-    }
43
-}
44
-
45 39
 .aui-dropdown2.aui-style-default.dropdown-dark {
46 40
     background-color: $defaultBackground;
47 41
     border-color: transparent;
48
-}
42
+}

Carregando…
Cancelar
Salvar