Commit dfbd18dcf02c67e67300d0fe9c6c1dcca3c54c50

Authored by Marcelo Puebla
Exists in master

Merge branch 'develop' of git.focasoftware.com:npm/wrapper-demo

img/FechaEntrega.png

4.63 KB

img/clientePrincipal.png

5.5 KB

img/fechaDeReparto.png

4.19 KB

img/parametrizar.png

10.1 KB | W: | H:

10.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
src/sass/_botonera-principal.scss
1 .botonera-principal { 1 .botonera-principal {
2 menuitem { 2 menuitem {
3 display: inline-block; 3 display: inline-block;
4 height: 130px; 4 height: 130px;
5 text-align: center; 5 text-align: center;
6 width: 180px; 6 width: 180px;
7 @media (max-width: 576px) { 7 @media (max-width: 576px) {
8 width: 100%; 8 width: 100%;
9 } 9 }
10 @media (min-width: 992px) and (max-width: 1200px){ 10 @media (min-width: 992px) and (max-width: 1200px){
11 width: 150px; 11 width: 150px;
12 } 12 }
13 } 13 }
14 button { 14 button {
15 background-image: url('../img/botonera.png'); 15 background-image: url('../img/botonera.png');
16 border-radius: 12px; 16 border-radius: 12px;
17 border-width: 0; 17 border-width: 0;
18 height: 90px; 18 height: 90px;
19 position: relative; 19 position: relative;
20 width: 90px; 20 width: 90px;
21 outline: 0; 21 outline: 0;
22 span { 22 span {
23 left: 0; 23 left: 0;
24 position: absolute; 24 position: absolute;
25 text-align: center; 25 text-align: center;
26 top: 90px; 26 top: 90px;
27 width: 100%; 27 width: 100%;
28 font-size: 12px; 28 font-size: 12px;
29 color: #777777; 29 color: #777777;
30 } 30 }
31 &:hover { 31 &:hover {
32 background-color:rgb(250,250,250); 32 background-color:rgb(250,250,250);
33 filter:drop-shadow(4px 4px 4px gray); 33 filter:drop-shadow(4px 4px 4px gray);
34 } 34 }
35 &:active { 35 &:active {
36 background-color: rgb(230, 230, 230); 36 background-color: rgb(230, 230, 230);
37 filter:drop-shadow(4px 4px 4px gray); 37 filter:drop-shadow(4px 4px 4px gray);
38 } 38 }
39 } 39 }
40 &-menu { 40 &-menu {
41 width: 100%; 41 width: 100%;
42 padding-left: 90px; 42 padding-left: 90px;
43 @media (max-width: 576px) { 43 @media (max-width: 576px) {
44 padding: 0; 44 padding: 0;
45 } 45 }
46 } 46 }
47 &-logo { 47 &-logo {
48 width: 100%; 48 width: 100%;
49 margin-left: 50%; 49 margin-left: 50%;
50 opacity: .8; 50 opacity: .8;
51 @media (max-width: 576px) { 51 @media (max-width: 576px) {
52 width: 180%; 52 width: 180%;
53 margin-left: 20%; 53 margin-left: 20%;
54 } 54 }
55 } 55 }
56 &-vacio { 56 &-vacio {
57 & button { 57 & button {
58 background-position: -4380px 0; 58 background-position: -4380px 0;
59 &:hover { 59 &:hover {
60 background-position: -4380px -90px; 60 background-position: -4380px -90px;
61 } 61 }
62 } 62 }
63 } 63 }
64 &-abrir-turno { 64 &-abrir-turno {
65 & button { 65 & button {
66 background-position: 0 0; 66 background-position: 0 0;
67 &:hover { 67 &:hover {
68 background-position: 0 -90px; 68 background-position: 0 -90px;
69 } 69 }
70 } 70 }
71 } 71 }
72 &-cerrar-turno { 72 &-cerrar-turno {
73 & button { 73 & button {
74 background-position: -90px 0; 74 background-position: -90px 0;
75 &:hover { 75 &:hover {
76 background-position: -90px -90px; 76 background-position: -90px -90px;
77 } 77 }
78 } 78 }
79 } 79 }
80 &-caja { 80 &-caja {
81 & button { 81 & button {
82 background-position: -180px 0; 82 background-position: -180px 0;
83 &:hover { 83 &:hover {
84 background-position: -180px -90px; 84 background-position: -180px -90px;
85 } 85 }
86 } 86 }
87 } 87 }
88 &-estado-cisterna { 88 &-estado-cisterna {
89 & button { 89 & button {
90 background-image: url('../img/control_stock.png'); 90 background-image: url('../img/control_stock.png');
91 background-size: 90px 90px; 91 background-size: 90px 90px;
92 } 92 }
93 } 93 }
94 &-logistica { 94 &-logistica {
95 & button { 95 & button {
96 background-image: url('../img/logistica.png'); 96 background-image: url('../img/logistica.png');
97 background-size: 90px 90px; 97 background-size: 90px 90px;
98 } 98 }
99 } 99 }
100 &-facturador { 100 &-facturador {
101 & button { 101 & button {
102 background-position: -270px 0px; 102 background-position: -270px 0px;
103 &:hover { 103 &:hover {
104 background-position: -270px -90px; 104 background-position: -270px -90px;
105 } 105 }
106 } 106 }
107 } 107 }
108 &-nota-pedido { 108 &-nota-pedido {
109 & button { 109 & button {
110 background-image: url('../img/notaPedido.png'); 110 background-image: url('../img/notaPedido.png');
111 background-size: 90px 90px; 111 background-size: 90px 90px;
112 } 112 }
113 } 113 }
114 &-remito { 114 &-remito {
115 & button { 115 & button {
116 background-image: url('../img/remito.png'); 116 background-image: url('../img/remito.png');
117 background-size: 90px 90px; 117 background-size: 90px 90px;
118 } 118 }
119 } 119 }
120 &-hoja-ruta { 120 &-hoja-ruta {
121 & button { 121 & button {
122 background-image: url('../img/hoja-ruta.png'); 122 background-image: url('../img/hoja-ruta.png');
123 background-size: 86px 90px; 123 background-size: 86px 90px;
124 } 124 }
125 } 125 }
126 &-activar-hoja-ruta { 126 &-activar-hoja-ruta {
127 & button { 127 & button {
128 background-image: url('../img/activar_hoja.png'); 128 background-image: url('../img/activar_hoja.png');
129 background-size: 90px 90px; 129 background-size: 90px 90px;
130 } 130 }
131 } 131 }
132 &-hoja-ruta-transportista { 132 &-hoja-ruta-transportista {
133 & button { 133 & button {
134 background-image: url('../img/hojaRutaVolante.png'); 134 background-image: url('../img/hojaRutaVolante.png');
135 background-size: 90px 90px; 135 background-size: 90px 90px;
136 } 136 }
137 } 137 }
138 &-seguimiento { 138 &-seguimiento {
139 & button { 139 & button {
140 background-image: url('../img/seguimientoNotaPedido.png'); 140 background-image: url('../img/seguimientoNotaPedido.png');
141 background-size: 90px 90px; 141 background-size: 90px 90px;
142 } 142 }
143 } 143 }
144 &-seguimiento-hoja-ruta { 144 &-seguimiento-hoja-ruta {
145 & button { 145 & button {
146 background-image: url('../img/seguimientoHojaRuta.png'); 146 background-image: url('../img/seguimientoHojaRuta.png');
147 background-size: 90px 90px; 147 background-size: 90px 90px;
148 } 148 }
149 } 149 }
150 &-cobranzas { 150 &-cobranzas {
151 & button { 151 & button {
152 background-image: url('../img/cobranzas.png'); 152 background-image: url('../img/cobranzas.png');
153 background-size: 90px 90px; 153 background-size: 90px 90px;
154 } 154 }
155 } 155 }
156 &-seguimiento-cobranzas { 156 &-seguimiento-cobranzas {
157 & button { 157 & button {
158 background-image: url('../img/seguimientoCobranza.png'); 158 background-image: url('../img/seguimientoCobranza.png');
159 background-size: 90px 90px; 159 background-size: 90px 90px;
160 } 160 }
161 } 161 }
162 &-vehiculo { 162 &-vehiculo {
163 & button { 163 & button {
164 background-image: url('../img/abmVehiculos.png'); 164 background-image: url('../img/abmVehiculos.png');
165 background-size: 90px 90px; 165 background-size: 90px 90px;
166 } 166 }
167 } 167 }
168 &-precio-condicion { 168 &-precio-condicion {
169 & button { 169 & button {
170 background-image: url('../img/abmPrecios.png'); 170 background-image: url('../img/abmPrecios.png');
171 background-size: 90px 90px; 171 background-size: 90px 90px;
172 } 172 }
173 } 173 }
174 &-chofer { 174 &-chofer {
175 & button { 175 & button {
176 background-image: url('../img/abmChofer.png'); 176 background-image: url('../img/abmChofer.png');
177 background-size: 90px 90px; 177 background-size: 90px 90px;
178 } 178 }
179 } 179 }
180 &-agendar-visita { 180 &-agendar-visita {
181 & button { 181 & button {
182 background-image: url('../img/agendarVisita.png'); 182 background-image: url('../img/agendarVisita.png');
183 background-size: 90px 90px; 183 background-size: 90px 90px;
184 } 184 }
185 } 185 }
186 &-informes { 186 &-informes {
187 & button { 187 & button {
188 background-image: url('../img/informes.png'); 188 background-image: url('../img/informes.png');
189 background-size: 90px 90px; 189 background-size: 90px 90px;
190 } 190 }
191 } 191 }
192 &-vendedor-cobrador { 192 &-vendedor-cobrador {
193 & button { 193 & button {
194 background-image: url('../img/abmVendedorCobrador.png'); 194 background-image: url('../img/abmVendedorCobrador.png');
195 background-size: 90px 90px; 195 background-size: 90px 90px;
196 } 196 }
197 } 197 }
198 &-autorizar-nota { 198 &-autorizar-nota {
199 & button { 199 & button {
200 background-image: url('../img/autorizarNota.png'); 200 background-image: url('../img/autorizarNota.png');
201 background-size: 90px 90px; 201 background-size: 90px 90px;
202 } 202 }
203 } 203 }
204
205 &-cliente {
206 & button {
207 background-image: url('../img/clientePrincipal.png');
208 background-size: 90px 90px;
209 }
210 }
211
204 &-parametros { 212 &-parametros {
205 & button { 213 & button {
206 background-image: url('../img/parametrizar.png'); 214 background-image: url('../img/parametrizar.png');
207 background-size: 90px 90px; 215 background-size: 90px 90px;
208 } 216 }
209 } 217 }
210 .swiper-pagination { 218 .swiper-pagination {
211 bottom: 0px !important; 219 bottom: 0px !important;
212 } 220 }
213 221
214 .swiper-button-next { 222 .swiper-button-next {
215 background-image: url('../img/derecha.png'); 223 background-image: url('../img/derecha.png');
216 &:hover{ 224 &:hover{
217 filter:drop-shadow(4px 4px 4px gray); 225 filter:drop-shadow(4px 4px 4px gray);
218 } 226 }
219 } 227 }
220 228
221 .swiper-button-prev { 229 .swiper-button-prev {
222 background-image: url('../img/izquierda.png'); 230 background-image: url('../img/izquierda.png');
223 &:hover{ 231 &:hover{
224 filter:drop-shadow(4px 4px 4px gray); 232 filter:drop-shadow(4px 4px 4px gray);
225 } 233 }
226 } 234 }
227 @media (min-width: 992px){ 235 @media (min-width: 992px){
228 a{ 236 a{
229 margin-top: 2.5rem; 237 margin-top: 2.5rem;
230 } 238 }
231 } 239 }
232 } 240 }
233 241
src/sass/_tabla.scss
1 .table { 1 .table {
2 &-nonfluid { 2 &-nonfluid {
3 width: auto; 3 width: auto;
4 } 4 }
5 &-celda-total { 5 &-celda-total {
6 color: #000000; 6 color: #000000;
7 background-color: #FF9900; 7 background-color: #FF9900;
8 } 8 }
9 &-title{ 9 &-title{
10 background-color: #67615e; 10 background-color: #67615e;
11 color: #FFF; 11 color: #FFF;
12 margin-bottom: 0; 12 margin-bottom: 0;
13 padding: 0.25rem 0; 13 padding: 0.25rem 0;
14 font-size: 1rem; 14 font-size: 1rem;
15 } 15 }
16 16
17 thead th{ 17 thead th{
18 font-size: 13px; 18 font-size: 13px;
19 } 19 }
20 20
21 &.table-abm{ 21 &.table-abm{
22 thead{ 22 thead{
23 color: #FFF; 23 color: #FFF;
24 background-color: #67615e; 24 background-color: #67615e;
25 } 25 }
26 } 26 }
27 27
28 } 28 }
29 .table-sm {
30 th,
31 td {
32 white-space: nowrap !important;
33 }
34 }
35 29
src/sass/general.scss
1 @import 'constants'; 1 @import 'constants';
2 @import 'admin-seguimiento'; 2 @import 'admin-seguimiento';
3 @import 'bootstrap'; 3 @import 'bootstrap';
4 @import 'botonera'; 4 @import 'botonera';
5 @import 'botonera-lateral'; 5 @import 'botonera-lateral';
6 @import 'botonera-principal'; 6 @import 'botonera-principal';
7 @import 'botonera-secundaria'; 7 @import 'botonera-secundaria';
8 @import 'contenedor'; 8 @import 'contenedor';
9 @import 'lista'; 9 @import 'lista';
10 @import 'login'; 10 @import 'login';
11 @import 'panel-informativo'; 11 @import 'panel-informativo';
12 @import 'tabla'; 12 @import 'tabla';
13 @import 'teclado'; 13 @import 'teclado';
14 @import 'tabla-articulos'; 14 @import 'tabla-articulos';
15 @import 'acciones-mobile'; 15 @import 'acciones-mobile';
16 @import 'swiper'; 16 @import 'swiper';
17 @import 'foca-crear'; 17 @import 'foca-crear';
18 @import 'logistica-pedido-ruta'; 18 @import 'logistica-pedido-ruta';
19 @import 'tabs'; 19 @import 'tabs';
20 @import 'grid'; 20 @import 'grid';
21 @import 'paginador-abm'; 21 @import 'paginador-abm';
22 @import 'table-autorizar-nota-pedido'; 22 @import 'table-autorizar-nota-pedido';
23 23
24 24
25 //OCULTA FLECHAS INPUT NUMBER 25 //OCULTA FLECHAS INPUT NUMBER
26 input[type='number'] { 26 input[type='number'] {
27 -moz-appearance:textfield; 27 -moz-appearance:textfield;
28 } 28 }
29 29
30 input::-webkit-outer-spin-button, 30 input::-webkit-outer-spin-button,
31 input::-webkit-inner-spin-button { 31 input::-webkit-inner-spin-button {
32 -webkit-appearance: none; 32 -webkit-appearance: none;
33 } 33 }
34 34
35 .d-md-grid{ 35 .d-md-grid{
36 @media (min-width: 768px) { 36 @media (min-width: 768px) {
37 display: grid !important; 37 display: grid !important;
38 } 38 }
39 } 39 }
40 40
41 .btn-outline-debo{ 41 .btn-outline-debo{
42 background-color: transparent; 42 background-color: transparent;
43 color: $primary; 43 color: $primary;
44 border-color: $primary; 44 border-color: $primary;
45 &:hover{ 45 &:hover{
46 color: #FFF; 46 color: #FFF;
47 border-color: transparent; 47 border-color: transparent;
48 background-color: $primary; 48 background-color: $primary;
49 } 49 }
50 &:focus { 50 &:focus {
51 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 51 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
52 } 52 }
53 &:active { 53 &:active {
54 color: #FFF; 54 color: #FFF;
55 background-color: $primary !important; 55 background-color: $primary !important;
56 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 56 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
57 } 57 }
58 } 58 }
59 59
60 .input-group-append > button { 60 .input-group-append > button {
61 &:focus { 61 &:focus {
62 border-color: $primary !important; 62 border-color: $primary !important;
63 box-shadow: 0 0 5px $primary !important; 63 box-shadow: 0 0 5px $primary !important;
64 } 64 }
65 &:active { 65 &:active {
66 border-color: $primary !important; 66 border-color: $primary !important;
67 box-shadow: 0 0 5px $primary !important; 67 box-shadow: 0 0 5px $primary !important;
68 } 68 }
69 } 69 }
70 70
71 .input-group-append > button { 71 .input-group-append > button {
72 &:focus { 72 &:focus {
73 border-color: $primary !important; 73 border-color: $primary !important;
74 box-shadow: 0 0 5px $primary !important; 74 box-shadow: 0 0 5px $primary !important;
75 } 75 }
76 &:active { 76 &:active {
77 border-color: $primary !important; 77 border-color: $primary !important;
78 box-shadow: 0 0 5px $primary !important; 78 box-shadow: 0 0 5px $primary !important;
79 } 79 }
80 } 80 }
81 81
82 82
83 .btn-login { 83 .btn-login {
84 box-shadow: none !important; 84 box-shadow: none !important;
85 } 85 }
86 86
87 input[type="file"] { 87 input[type="file"] {
88 display: none; 88 display: none;
89 } 89 }
90 .custom-file-upload { 90 .custom-file-upload {
91 border: 1px solid #ccc; 91 border: 1px solid #ccc;
92 display: inline-block; 92 display: inline-block;
93 padding: 6px 12px; 93 padding: 6px 12px;
94 cursor: pointer; 94 cursor: pointer;
95 } 95 }
96 96
97 .btn-brown { 97 .btn-brown {
98 background-color:$primary; 98 background-color:$primary;
99 -webkit-appearance: none; 99 -webkit-appearance: none;
100 border-color: transparent; 100 border-color: transparent;
101 &:focus { 101 &:focus {
102 outline: 0 !important; 102 outline: 0 !important;
103 box-shadow: none; 103 box-shadow: none;
104 } 104 }
105 .icon-white { 105 .icon-white {
106 color: white; 106 color: white;
107 } 107 }
108 } 108 }
109 109
110 .btn-Guardar { 110 .btn-Guardar {
111 background-color:green; 111 background-color:green;
112 -webkit-appearance: none; 112 -webkit-appearance: none;
113 border-color: transparent; 113 border-color: transparent;
114 &:focus { 114 &:focus {
115 outline: 0 !important; 115 outline: 0 !important;
116 box-shadow: none; 116 box-shadow: none;
117 } 117 }
118 .icon-white { 118 .icon-white {
119 color: white; 119 color: white;
120 } 120 }
121 } 121 }
122 122
123 .page-item.active .page-link { 123 .page-item.active .page-link {
124 z-index: 1; 124 z-index: 1;
125 color: #fff; 125 color: #fff;
126 background-color: $primary; 126 background-color: $primary;
127 border-color: $primary; 127 border-color: $primary;
128 } 128 }
129 129
130 .foca-input { 130 .foca-input {
131 &:focus { 131 &:focus {
132 border-color: $primary; 132 border-color: $primary;
133 box-shadow: 0 0 5px $primary; 133 box-shadow: 0 0 5px $primary;
134 } 134 }
135 &:hover { 135 &:hover {
136 border-color: $primary; 136 border-color: $primary;
137 box-shadow: 0 0 5px $primary;
138 }
139 }
140
141 .btn-enviar {
142 background-color: white;
143 border-color: #cd9035;
144 &:focus {
145 box-shadow: none !important;
146 }
147 &:hover {
148 border-color: $primaryTransparency !important;
149 background-color: $primaryTransparency !important;
150 }
151 &:active{
152 background-color: $primary !important;
137 box-shadow: 0 0 5px $primary; 153 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
138 } 154 }
139 } 155 }
140 156
141 .btn-primary { 157 .btn-primary {
142 background-color: $primary !important; 158 background-color: $primary !important;
143 border-color: $primary !important; 159 border-color: $primary !important;
144 &:focus { 160 &:focus {
145 box-shadow: none !important; 161 box-shadow: none !important;
146 } 162 }
147 &:hover { 163 &:hover {
148 border-color: $primaryTransparency !important; 164 border-color: $primaryTransparency !important;
149 background-color: $primaryTransparency !important; 165 background-color: $primaryTransparency !important;
150 } 166 }
151 &:active{ 167 &:active{
152 background-color: $primary !important; 168 background-color: $primary !important;
153 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 169 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
154 } 170 }
155 } 171 }
156 172
157 .input-group-text { 173 .input-group-text {
158 &:focus { 174 &:focus {
159 outline: none; 175 outline: none;
160 border-color: $primary; 176 border-color: $primary;
161 box-shadow: 0 0 5px $primary; 177 box-shadow: 0 0 5px $primary;
162 } 178 }
163 &:hover { 179 &:hover {
164 border-color: $primary; 180 border-color: $primary;
165 box-shadow: 0 0 5px $primary; 181 box-shadow: 0 0 5px $primary;
166 } 182 }
167 &:active{ 183 &:active{
168 box-shadow: 0 0 5px $primary; 184 box-shadow: 0 0 5px $primary;
169 } 185 }
170 } 186 }
171 187
172 .btn-default { 188 .btn-default {
173 color: #FFF; 189 color: #FFF;
174 background-color: $default !important; 190 background-color: $default !important;
175 border-color: $default !important; 191 border-color: $default !important;
176 &:focus { 192 &:focus {
177 box-shadow: none !important; 193 box-shadow: none !important;
178 } 194 }
179 &:hover { 195 &:hover {
180 color: #FFF; 196 color: #FFF;
181 border-color: $defaultTransparency !important; 197 border-color: $defaultTransparency !important;
182 background-color: $defaultTransparency !important; 198 background-color: $defaultTransparency !important;
183 } 199 }
184 &:active{ 200 &:active{
185 background-color: $default !important; 201 background-color: $default !important;
186 box-shadow: 0px 0px 0px 3px $defaultTransparency !important; 202 box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
187 } 203 }
188 } 204 }
189 205
190 .btn-danger { 206 .btn-danger {
191 &:hover { 207 &:hover {
192 color: #FFF; 208 color: #FFF;
193 border-color: $dangerTransparency !important; 209 border-color: $dangerTransparency !important;
194 background-color: $dangerTransparency !important; 210 background-color: $dangerTransparency !important;
195 } 211 }
196 } 212 }
197 213
198 .table-celda-total { 214 .table-celda-total {
199 background-color: $highlightedArea; 215 background-color: $highlightedArea;
200 } 216 }
201 217
202 marquee { 218 marquee {
203 background-color: $highlightedArea; 219 background-color: $highlightedArea;
204 } 220 }
205 221
206 .front-index{ 222 .front-index{
207 z-index: 9999; 223 z-index: 9999;
208 } 224 }
209 225
210 .uib-daypicker{ 226 .uib-daypicker{
211 outline: 0 227 outline: 0
212 } 228 }
213 229
214 .right-0{ 230 .right-0{
215 right: 0; 231 right: 0;
216 } 232 }
217 233
218 .tabla-factura{ 234 .tabla-factura{
219 word-wrap: break-word; 235 word-wrap: break-word;
220 table-layout: fixed; 236 table-layout: fixed;
221 } 237 }
222 238
223 .ladda-w-100 .ladda-label{ 239 .ladda-w-100 .ladda-label{
224 width: 100%; 240 width: 100%;
225 float: right; 241 float: right;
226 } 242 }
227 243
228 .btn-delete-image{ 244 .btn-delete-image{
229 height: 25px; 245 height: 25px;
230 width: 25px; 246 width: 25px;
231 top: -10px; 247 top: -10px;
232 right: 0; 248 right: 0;
233 } 249 }
234 250
235 button.clear-input{ 251 button.clear-input{
236 cursor: pointer; 252 cursor: pointer;
237 background: transparent; 253 background: transparent;
238 border: none; 254 border: none;
239 margin-left: -24px; 255 margin-left: -24px;
240 z-index: 9; 256 z-index: 9;
241 color: #a3a3a3; 257 color: #a3a3a3;
242 &:focus{ 258 &:focus{
243 outline: none; 259 outline: none;
244 } 260 }
245 } 261 }
246 .custom-control-input { 262 .custom-control-input {
247 &:checked ~ .custom-control-label::before { 263 &:checked ~ .custom-control-label::before {
248 border: none !important; 264 border: none !important;
249 color: $primary !important; 265 color: $primary !important;
250 background-color: $primary !important; 266 background-color: $primary !important;
251 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 267 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
252 } 268 }
253 &:active ~ .custom-control-label::before { 269 &:active ~ .custom-control-label::before {
254 border: none !important; 270 border: none !important;
255 color: $primary !important; 271 color: $primary !important;
256 background-color: $primary !important; 272 background-color: $primary !important;
257 } 273 }
258 &:focus ~ .custom-control-label::before { 274 &:focus ~ .custom-control-label::before {
259 border: none !important; 275 border: none !important;
260 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 276 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
261 } 277 }
262 &:focus:not(:checked) ~ .custom-control-label::before { 278 &:focus:not(:checked) ~ .custom-control-label::before {
263 border: none !important; 279 border: none !important;
264 } 280 }
265 &:not(:disabled):active ~ .custom-control-label::before { 281 &:not(:disabled):active ~ .custom-control-label::before {
266 border: none !important; 282 border: none !important;
267 color: $primary !important; 283 color: $primary !important;
268 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 284 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
269 } 285 }
270 &:hover ~ .custom-control-label::before { 286 &:hover ~ .custom-control-label::before {
271 border: none !important; 287 border: none !important;
272 background-color: $primaryTransparency; 288 background-color: $primaryTransparency;
273 } 289 }
274 } 290 }
275 291