|
| 1 | +@red: #F24B50; |
| 2 | +@pink: #E20074; |
| 3 | +@purple: #9C27B0; |
| 4 | +@deep-purple: #673AB7; |
| 5 | +@indigo: #3F51B5; |
| 6 | +@blue: #2196F3; |
| 7 | +@light-blue: #03A9F4; |
| 8 | +@cyan: #00BCD4; |
| 9 | +@teal: #009688; |
| 10 | +@indigo: #3F51B5; |
| 11 | +@green: #4CAF50; |
| 12 | +@light-green: #8BC34A; |
| 13 | +@lime: #CDDC39; |
| 14 | +@yellow: #FFEB3B; |
| 15 | +@amber: #FFC107; |
| 16 | +@orange: #FF9800; |
| 17 | +@deep-orange: #FF5722; |
| 18 | +@brown: #795548; |
| 19 | +@grey: #9E9E9E; |
| 20 | +@blue-grey: #607D8B; |
| 21 | +@black: #000; |
| 22 | + |
| 23 | +.make-theme(@color) { |
| 24 | + .sidebar .menu .list .ml-menu li.active a.toggled:not(.menu-toggle):before { |
| 25 | + color: @color; |
| 26 | + } |
| 27 | + .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb { |
| 28 | + background-color: @color; |
| 29 | + } |
| 30 | + .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar { |
| 31 | + background-color: fade(@color, 50%); |
| 32 | + } |
| 33 | + .mat-fab.mat-primary, .mat-mini-fab.mat-primary, .mat-raised-button.mat-primary { |
| 34 | + background-color: @color; |
| 35 | + } |
| 36 | + .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle { |
| 37 | + border-color: @color; |
| 38 | + } |
| 39 | + .mat-radio-button.mat-accent .mat-radio-inner-circle { |
| 40 | + background-color: @color; |
| 41 | + } |
| 42 | + .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background { |
| 43 | + background-color: @color; |
| 44 | + } |
| 45 | + .card .action .material-icons { |
| 46 | + color: @color !important; |
| 47 | + } |
| 48 | + /* add theme-links to a parent element to indicate that all children anchors should use the current theme's color */ |
| 49 | + .theme-links a { |
| 50 | + color: @color !important; |
| 51 | + } |
| 52 | + .theme-active-link { |
| 53 | + .active a { |
| 54 | + color: @color !important; |
| 55 | + } |
| 56 | + a:hover { |
| 57 | + color: @color !important; |
| 58 | + } |
| 59 | + a:focus { |
| 60 | + color: @color !important; |
| 61 | + } |
| 62 | + } |
| 63 | + .ngx-pagination .current { |
| 64 | + background-color: @color; |
| 65 | + } |
| 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 { |
| 73 | + background-color: @color; |
| 74 | + } |
| 75 | + .mat-fab.mat-primary, .mat-flat-button.mat-primary, .mat-mini-fab.mat-primary, .mat-raised-button.mat-primary { |
| 76 | + background-color: @color; |
| 77 | + } |
| 78 | + .mat-form-field-invalid .mat-input-element, .mat-warn .mat-input-element { |
| 79 | + caret-color: @color; |
| 80 | + } |
| 81 | + .form-group .form-line:after { |
| 82 | + border-bottom-color: @color; |
| 83 | + } |
| 84 | + .mat-form-field.mat-focused { |
| 85 | + .mat-form-field-label { color: @color; } |
| 86 | + .mat-form-field-ripple{ background-color: @color; } |
| 87 | + } |
| 88 | +} |
| 89 | + |
| 90 | +.theme-red { |
| 91 | + .make-theme(@red) |
| 92 | +} |
| 93 | +.theme-pink { |
| 94 | + .make-theme(@pink) |
| 95 | +} |
| 96 | +.theme-purple { |
| 97 | + .make-theme(@purple) |
| 98 | +} |
| 99 | +.theme-deep-purple { |
| 100 | + .make-theme(@deep-purple) |
| 101 | +} |
| 102 | +.theme-indigo { |
| 103 | + .make-theme(@indigo) |
| 104 | +} |
| 105 | +.theme-blue { |
| 106 | + .make-theme(@blue) |
| 107 | +} |
| 108 | +.theme-light-blue { |
| 109 | + .make-theme(@light-blue) |
| 110 | +} |
| 111 | +.theme-cyan { |
| 112 | + .make-theme(@cyan) |
| 113 | +} |
| 114 | +.theme-teal { |
| 115 | + .make-theme(@teal) |
| 116 | +} |
| 117 | +.theme-indigo { |
| 118 | + .make-theme(@indigo) |
| 119 | +} |
| 120 | +.theme-green { |
| 121 | + .make-theme(@green) |
| 122 | +} |
| 123 | +.theme-light-green { |
| 124 | + .make-theme(@light-green) |
| 125 | +} |
| 126 | +.theme-lime { |
| 127 | + .make-theme(@lime) |
| 128 | +} |
| 129 | +.theme-yellow { |
| 130 | + .make-theme(@yellow) |
| 131 | +} |
| 132 | +.theme-amber { |
| 133 | + .make-theme(@amber) |
| 134 | +} |
| 135 | +.theme-orange { |
| 136 | + .make-theme(@orange) |
| 137 | +} |
| 138 | +.theme-deep-orange { |
| 139 | + .make-theme(@deep-orange) |
| 140 | +} |
| 141 | +.theme-brown { |
| 142 | + .make-theme(@brown) |
| 143 | +} |
| 144 | +.theme-grey { |
| 145 | + .make-theme(@grey) |
| 146 | +} |
| 147 | +.theme-blue-grey { |
| 148 | + .make-theme(@blue-grey) |
| 149 | +} |
| 150 | +.theme-black { |
| 151 | + .make-theme(@black) |
| 152 | +} |
| 153 | + |
1 | 154 | /* General */
|
2 | 155 |
|
3 | 156 | .clickable-item {
|
|
0 commit comments