|
19 | 19 | @grey: #9E9E9E;
|
20 | 20 | @blue-grey: #607D8B;
|
21 | 21 | @black: #000;
|
22 |
| - |
23 | 22 | .make-theme(@color) {
|
24 | 23 | .sidebar .menu .list .ml-menu li.active a.toggled:not(.menu-toggle):before {
|
25 | 24 | color: @color;
|
|
30 | 29 | .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar {
|
31 | 30 | background-color: fade(@color, 50%);
|
32 | 31 | }
|
33 |
| - .mat-fab.mat-primary, .mat-mini-fab.mat-primary, .mat-raised-button.mat-primary { |
| 32 | + .mat-fab.mat-primary, |
| 33 | + .mat-mini-fab.mat-primary, |
| 34 | + .mat-raised-button.mat-primary { |
34 | 35 | background-color: @color;
|
35 | 36 | }
|
36 | 37 | .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {
|
|
39 | 40 | .mat-radio-button.mat-accent .mat-radio-inner-circle {
|
40 | 41 | background-color: @color;
|
41 | 42 | }
|
42 |
| - .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background { |
| 43 | + .mat-checkbox-checked.mat-accent:not(.mat-checkbox-disabled) .mat-checkbox-background, |
| 44 | + .mat-checkbox-indeterminate.mat-accent:not(.mat-checkbox-disabled) .mat-checkbox-background { |
43 | 45 | background-color: @color;
|
44 | 46 | }
|
45 | 47 | .card .action .material-icons {
|
46 |
| - color: @color !important; |
| 48 | + color: @color !important; |
47 | 49 | }
|
48 | 50 | /* add theme-links to a parent element to indicate that all children anchors should use the current theme's color */
|
49 | 51 | .theme-links a {
|
50 |
| - color: @color !important; |
| 52 | + color: @color !important; |
51 | 53 | }
|
52 | 54 | .theme-active-link {
|
53 | 55 | .active a {
|
54 |
| - color: @color !important; |
| 56 | + color: @color !important; |
55 | 57 | }
|
56 | 58 | a:hover {
|
57 |
| - color: @color !important; |
| 59 | + color: @color !important; |
58 | 60 | }
|
59 | 61 | a:focus {
|
60 |
| - color: @color !important; |
| 62 | + color: @color !important; |
61 | 63 | }
|
62 | 64 | }
|
63 | 65 | .ngx-pagination .current {
|
64 | 66 | background-color: @color;
|
65 | 67 | }
|
66 |
| - .btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus { |
67 |
| - background-color: @color !important; |
68 |
| - } |
69 |
| - a.dropdown-toggle { |
70 |
| - color: @color !important; |
71 |
| - } |
72 |
| - .mat-tab-group.mat-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary .mat-ink-bar { |
| 68 | + .btn-primary, |
| 69 | + .btn-primary:hover, |
| 70 | + .btn-primary:active, |
| 71 | + .btn-primary:focus { |
| 72 | + background-color: @color !important; |
| 73 | + } |
| 74 | + // a.dropdown-toggle { |
| 75 | + // color: @color !important; |
| 76 | + // } |
| 77 | + .mat-tab-group.mat-primary .mat-ink-bar, |
| 78 | + .mat-tab-nav-bar.mat-primary .mat-ink-bar { |
73 | 79 | background-color: @color;
|
74 | 80 | }
|
75 |
| - .mat-fab.mat-primary, .mat-flat-button.mat-primary, .mat-mini-fab.mat-primary, .mat-raised-button.mat-primary { |
| 81 | + .mat-fab.mat-primary:not([disabled]), |
| 82 | + .mat-flat-button.mat-primary:not([disabled]), |
| 83 | + .mat-mini-fab.mat-primary:not([disabled]), |
| 84 | + .mat-raised-button.mat-primary:not([disabled]) { |
76 | 85 | background-color: @color;
|
77 | 86 | }
|
78 |
| - .mat-form-field-invalid .mat-input-element, .mat-warn .mat-input-element { |
| 87 | + .mat-form-field-invalid .mat-input-element, |
| 88 | + .mat-warn .mat-input-element { |
79 | 89 | caret-color: @color;
|
80 | 90 | }
|
81 | 91 | .form-group .form-line:after {
|
82 | 92 | border-bottom-color: @color;
|
83 | 93 | }
|
84 | 94 | .mat-form-field.mat-focused {
|
85 |
| - .mat-form-field-label { color: @color; } |
86 |
| - .mat-form-field-ripple{ background-color: @color; } |
| 95 | + .mat-form-field-label { |
| 96 | + color: @color; |
| 97 | + } |
| 98 | + .mat-form-field-ripple { |
| 99 | + background-color: @color; |
| 100 | + } |
87 | 101 | }
|
88 | 102 | }
|
89 | 103 |
|
90 | 104 | .theme-red {
|
91 | 105 | .make-theme(@red)
|
92 | 106 | }
|
| 107 | + |
93 | 108 | .theme-pink {
|
94 | 109 | .make-theme(@pink)
|
95 | 110 | }
|
| 111 | + |
96 | 112 | .theme-purple {
|
97 | 113 | .make-theme(@purple)
|
98 | 114 | }
|
| 115 | + |
99 | 116 | .theme-deep-purple {
|
100 | 117 | .make-theme(@deep-purple)
|
101 | 118 | }
|
| 119 | + |
102 | 120 | .theme-indigo {
|
103 | 121 | .make-theme(@indigo)
|
104 | 122 | }
|
| 123 | + |
105 | 124 | .theme-blue {
|
106 | 125 | .make-theme(@blue)
|
107 | 126 | }
|
| 127 | + |
108 | 128 | .theme-light-blue {
|
109 | 129 | .make-theme(@light-blue)
|
110 | 130 | }
|
| 131 | + |
111 | 132 | .theme-cyan {
|
112 | 133 | .make-theme(@cyan)
|
113 | 134 | }
|
| 135 | + |
114 | 136 | .theme-teal {
|
115 | 137 | .make-theme(@teal)
|
116 | 138 | }
|
| 139 | + |
117 | 140 | .theme-indigo {
|
118 | 141 | .make-theme(@indigo)
|
119 | 142 | }
|
| 143 | + |
120 | 144 | .theme-green {
|
121 | 145 | .make-theme(@green)
|
122 | 146 | }
|
| 147 | + |
123 | 148 | .theme-light-green {
|
124 | 149 | .make-theme(@light-green)
|
125 | 150 | }
|
| 151 | + |
126 | 152 | .theme-lime {
|
127 | 153 | .make-theme(@lime)
|
128 | 154 | }
|
| 155 | + |
129 | 156 | .theme-yellow {
|
130 | 157 | .make-theme(@yellow)
|
131 | 158 | }
|
| 159 | + |
132 | 160 | .theme-amber {
|
133 | 161 | .make-theme(@amber)
|
134 | 162 | }
|
| 163 | + |
135 | 164 | .theme-orange {
|
136 | 165 | .make-theme(@orange)
|
137 | 166 | }
|
| 167 | + |
138 | 168 | .theme-deep-orange {
|
139 | 169 | .make-theme(@deep-orange)
|
140 | 170 | }
|
| 171 | + |
141 | 172 | .theme-brown {
|
142 | 173 | .make-theme(@brown)
|
143 | 174 | }
|
| 175 | + |
144 | 176 | .theme-grey {
|
145 | 177 | .make-theme(@grey)
|
146 | 178 | }
|
| 179 | + |
147 | 180 | .theme-blue-grey {
|
148 | 181 | .make-theme(@blue-grey)
|
149 | 182 | }
|
| 183 | + |
150 | 184 | .theme-black {
|
151 | 185 | .make-theme(@black)
|
152 | 186 | }
|
|
0 commit comments