Commit 4b4d940654fa37afc9c52a36dc9c766da8cfd0fb
Exists in
master
Merge branch 'develop' of git.focasoftware.com:npm/wrapper-demo
# Conflicts: # src/sass/general.scss
Showing
1 changed file
Show diff stats
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 | //OCULTA FLECHAS INPUT NUMBER | 24 | //OCULTA FLECHAS INPUT NUMBER |
25 | input[type="number"] { | 25 | input[type="number"] { |
26 | -moz-appearance: textfield; | 26 | -moz-appearance: textfield; |
27 | } | 27 | } |
28 | 28 | ||
29 | input::-webkit-outer-spin-button, | 29 | input::-webkit-outer-spin-button, |
30 | input::-webkit-inner-spin-button { | 30 | input::-webkit-inner-spin-button { |
31 | -webkit-appearance: none; | 31 | -webkit-appearance: none; |
32 | } | 32 | } |
33 | 33 | ||
34 | .d-md-grid { | 34 | .d-md-grid { |
35 | @media (min-width: 768px) { | 35 | @media (min-width: 768px) { |
36 | display: grid !important; | 36 | display: grid !important; |
37 | } | 37 | } |
38 | } | 38 | } |
39 | 39 | ||
40 | .btn-outline-debo { | 40 | .btn-dashed { |
41 | border-style: dashed !important; | ||
42 | border-width: 3px; | ||
43 | border-color: white; | ||
44 | background-color: #dedfe0; | ||
45 | } | ||
46 | |||
47 | .marcador { | ||
48 | position: absolute; | ||
49 | right: 97px; | ||
50 | bottom: -50px; | ||
51 | } | ||
52 | |||
53 | .informacion { | ||
54 | position: absolute; | ||
55 | right: 18px; | ||
56 | bottom: 5px; | ||
57 | } | ||
58 | |||
59 | .flashit { | ||
60 | -webkit-animation: flash linear 1s infinite; | ||
61 | animation: flash linear 1s infinite; | ||
62 | } | ||
63 | @-webkit-keyframes flash { | ||
64 | 0% { | ||
65 | opacity: 1; | ||
66 | } | ||
67 | 50% { | ||
68 | opacity: 0.6; | ||
69 | } | ||
70 | 100% { | ||
71 | opacity: 1; | ||
72 | } | ||
73 | } | ||
74 | @keyframes flash { | ||
41 | background-color: transparent; | 75 | 0% { |
42 | color: $primary; | 76 | opacity: 1; |
43 | border-color: $primary; | 77 | } |
44 | &:hover { | 78 | 50% { |
45 | color: #fff; | 79 | opacity: 0.6; |
46 | border-color: transparent; | 80 | } |
47 | background-color: $primary; | 81 | 100% { |
48 | } | 82 | opacity: 1; |
49 | &:focus { | 83 | } |
50 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | 84 | } |
51 | } | 85 | |
52 | &:active { | 86 | .btn-outline-debo { |
53 | color: #fff; | 87 | background-color: transparent; |
54 | background-color: $primary !important; | 88 | color: $primary; |
55 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | 89 | border-color: $primary; |
56 | } | 90 | &:hover { |
57 | } | 91 | color: #fff; |
58 | 92 | border-color: transparent; | |
59 | .input-group-append > button { | 93 | background-color: $primary; |
60 | &:focus { | 94 | } |
61 | border-color: $primary !important; | 95 | &:focus { |
62 | box-shadow: 0 0 5px $primary !important; | 96 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
63 | } | 97 | } |
64 | &:active { | 98 | &:active { |
65 | border-color: $primary !important; | 99 | color: #fff; |
66 | box-shadow: 0 0 5px $primary !important; | 100 | background-color: $primary !important; |
67 | } | 101 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
68 | } | 102 | } |
69 | 103 | } | |
70 | .line-break { | 104 | |
71 | white-space: pre-wrap; | 105 | .input-group-append > button { |
72 | } | 106 | &:focus { |
73 | 107 | border-color: $primary !important; | |
74 | .input-group-append > button { | 108 | box-shadow: 0 0 5px $primary !important; |
75 | &:focus { | 109 | } |
76 | border-color: $primary !important; | 110 | &:active { |
77 | box-shadow: 0 0 5px $primary !important; | 111 | border-color: $primary !important; |
78 | } | 112 | box-shadow: 0 0 5px $primary !important; |
79 | &:active { | 113 | } |
80 | border-color: $primary !important; | 114 | } |
81 | box-shadow: 0 0 5px $primary !important; | 115 | |
82 | } | 116 | .line-break { |
83 | } | 117 | white-space: pre-wrap; |
84 | 118 | } | |
85 | .btn-login { | 119 | |
86 | box-shadow: none !important; | 120 | .input-group-append > button { |
87 | } | 121 | &:focus { |
88 | 122 | border-color: $primary !important; | |
89 | input[type="file"] { | 123 | box-shadow: 0 0 5px $primary !important; |
90 | display: none; | 124 | } |
91 | } | 125 | &:active { |
92 | .custom-file-upload { | 126 | border-color: $primary !important; |
93 | border: 1px solid #ccc; | 127 | box-shadow: 0 0 5px $primary !important; |
94 | display: inline-block; | 128 | } |
95 | padding: 6px 12px; | 129 | } |
96 | cursor: pointer; | 130 | |
97 | } | 131 | .btn-login { |
98 | 132 | box-shadow: none !important; | |
99 | .btn-brown { | 133 | } |
100 | background-color: $primary; | 134 | |
101 | -webkit-appearance: none; | 135 | input[type="file"] { |
102 | border-color: transparent; | 136 | display: none; |
103 | &:focus { | 137 | } |
104 | outline: 0 !important; | 138 | .custom-file-upload { |
105 | box-shadow: none; | 139 | border: 1px solid #ccc; |
106 | } | 140 | display: inline-block; |
107 | .icon-white { | 141 | padding: 6px 12px; |
108 | color: white; | 142 | cursor: pointer; |
109 | } | 143 | } |
110 | } | 144 | |
111 | 145 | .btn-brown { | |
112 | .btn-Guardar { | 146 | background-color: $primary; |
113 | background-color: green; | 147 | -webkit-appearance: none; |
114 | -webkit-appearance: none; | 148 | border-color: transparent; |
115 | border-color: transparent; | 149 | &:focus { |
116 | &:focus { | 150 | outline: 0 !important; |
117 | outline: 0 !important; | 151 | box-shadow: none; |
118 | box-shadow: none; | 152 | } |
119 | } | 153 | .icon-white { |
120 | .icon-white { | 154 | color: white; |
121 | color: white; | 155 | } |
122 | } | 156 | } |
123 | } | 157 | |
124 | 158 | .btn-Guardar { | |
125 | .page-item.active .page-link { | 159 | background-color: green; |
126 | z-index: 1; | 160 | -webkit-appearance: none; |
127 | color: #fff; | 161 | border-color: transparent; |
128 | background-color: $primary; | 162 | &:focus { |
129 | border-color: $primary; | 163 | outline: 0 !important; |
130 | } | 164 | box-shadow: none; |
131 | 165 | } | |
132 | .foca-input { | 166 | .icon-white { |
133 | &:focus { | 167 | color: white; |
134 | border-color: $primary; | 168 | } |
135 | box-shadow: 0 0 5px $primary; | 169 | } |
136 | } | 170 | |
137 | &:hover { | 171 | .page-item.active .page-link { |
138 | border-color: $primary; | 172 | z-index: 1; |
139 | box-shadow: 0 0 5px $primary; | 173 | color: #fff; |
140 | } | 174 | background-color: $primary; |
141 | } | 175 | border-color: $primary; |
142 | 176 | } | |
143 | .btn-enviar { | 177 | |
144 | background-color: white; | 178 | .foca-input { |
145 | border-color: #cd9035; | 179 | &:focus { |
146 | &:focus { | 180 | border-color: $primary; |
147 | box-shadow: none !important; | 181 | box-shadow: 0 0 5px $primary; |
148 | } | 182 | } |
149 | &:hover { | 183 | &:hover { |
150 | border-color: $primaryTransparency !important; | 184 | border-color: $primary; |
151 | background-color: $primaryTransparency !important; | 185 | box-shadow: 0 0 5px $primary; |
152 | } | 186 | } |
153 | &:active { | 187 | } |
154 | background-color: $primary !important; | 188 | |
155 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | 189 | .btn-enviar { |
156 | } | 190 | background-color: white; |
157 | } | 191 | border-color: #cd9035; |
158 | 192 | &:focus { | |
159 | .btn-primary { | 193 | box-shadow: none !important; |
160 | background-color: $primary !important; | 194 | } |
161 | border-color: $primary !important; | 195 | &:hover { |
162 | &:focus { | 196 | border-color: $primaryTransparency !important; |
163 | box-shadow: none !important; | 197 | background-color: $primaryTransparency !important; |
164 | } | 198 | } |
165 | &:hover { | 199 | &:active { |
166 | border-color: $primaryTransparency !important; | 200 | background-color: $primary !important; |
167 | background-color: $primaryTransparency !important; | 201 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
168 | } | 202 | } |
169 | &:active { | 203 | } |
170 | background-color: $primary !important; | 204 | |
171 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | 205 | .btn-primary { |
172 | } | 206 | background-color: $primary !important; |
173 | } | 207 | border-color: $primary !important; |
174 | 208 | &:focus { | |
175 | .input-group-text { | 209 | box-shadow: none !important; |
176 | &:focus { | 210 | } |
177 | outline: none; | 211 | &:hover { |
178 | border-color: $primary; | 212 | border-color: $primaryTransparency !important; |
179 | box-shadow: 0 0 5px $primary; | 213 | background-color: $primaryTransparency !important; |
180 | } | 214 | } |
181 | &:hover { | 215 | &:active { |
182 | border-color: $primary; | 216 | background-color: $primary !important; |
183 | box-shadow: 0 0 5px $primary; | 217 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
184 | } | 218 | } |
185 | &:active { | 219 | } |
186 | box-shadow: 0 0 5px $primary; | 220 | |
187 | } | 221 | .input-group-text { |
188 | } | 222 | &:focus { |
189 | 223 | outline: none; | |
190 | .btn-default { | 224 | border-color: $primary; |
191 | color: #fff; | 225 | box-shadow: 0 0 5px $primary; |
192 | background-color: $default !important; | 226 | } |
193 | border-color: $default !important; | 227 | &:hover { |
194 | &:focus { | 228 | border-color: $primary; |
195 | box-shadow: none !important; | 229 | box-shadow: 0 0 5px $primary; |
196 | } | 230 | } |
197 | &:hover { | 231 | &:active { |
198 | color: #fff; | 232 | box-shadow: 0 0 5px $primary; |
199 | border-color: $defaultTransparency !important; | 233 | } |
200 | background-color: $defaultTransparency !important; | 234 | } |
201 | } | 235 | |
202 | &:active { | 236 | .btn-default { |
203 | background-color: $default !important; | 237 | color: #fff; |
204 | box-shadow: 0px 0px 0px 3px $defaultTransparency !important; | 238 | background-color: $default !important; |
205 | } | 239 | border-color: $default !important; |
206 | } | 240 | &:focus { |
207 | 241 | box-shadow: none !important; | |
208 | .btn-danger { | 242 | } |
209 | &:hover { | 243 | &:hover { |
210 | color: #fff; | 244 | color: #fff; |
211 | border-color: $dangerTransparency !important; | 245 | border-color: $defaultTransparency !important; |
212 | background-color: $dangerTransparency !important; | 246 | background-color: $defaultTransparency !important; |
213 | } | 247 | } |
214 | } | 248 | &:active { |
215 | 249 | background-color: $default !important; | |
216 | .table-celda-total { | 250 | box-shadow: 0px 0px 0px 3px $defaultTransparency !important; |
217 | background-color: $highlightedArea; | 251 | } |
218 | } | 252 | } |
219 | 253 | ||
220 | marquee { | 254 | .btn-danger { |
221 | background-color: $highlightedArea; | 255 | &:hover { |
222 | } | 256 | color: #fff; |
223 | 257 | border-color: $dangerTransparency !important; | |
224 | .front-index { | 258 | background-color: $dangerTransparency !important; |
225 | z-index: 9999; | 259 | } |
226 | } | 260 | } |
227 | 261 | ||
228 | .uib-daypicker { | 262 | .table-celda-total { |
229 | outline: 0; | 263 | background-color: $highlightedArea; |
230 | } | 264 | } |
231 | 265 | ||
232 | .right-0 { | 266 | marquee { |
233 | right: 0; | 267 | background-color: $highlightedArea; |
234 | } | 268 | } |
235 | 269 | ||
236 | .tabla-factura { | 270 | .front-index { |
237 | word-wrap: break-word; | 271 | z-index: 9999; |
238 | table-layout: fixed; | 272 | } |
239 | } | 273 | |
240 | 274 | .uib-daypicker { | |
241 | .ladda-w-100 .ladda-label { | 275 | outline: 0; |
242 | width: 100%; | 276 | } |
243 | float: right; | 277 | |
244 | } | 278 | .right-0 { |
245 | 279 | right: 0; | |
246 | .btn-delete-image { | 280 | } |
247 | height: 25px; | 281 | |
248 | width: 25px; | 282 | .tabla-factura { |
249 | top: -10px; | 283 | word-wrap: break-word; |
250 | right: 0; | 284 | table-layout: fixed; |
251 | } | 285 | } |
252 | 286 | ||
253 | button.clear-input { | 287 | .ladda-w-100 .ladda-label { |
254 | cursor: pointer; | 288 | width: 100%; |
255 | background: transparent; | 289 | float: right; |
256 | border: none; | 290 | } |
257 | margin-left: -24px; | 291 | |
258 | z-index: 9; | 292 | .btn-delete-image { |
259 | color: #a3a3a3; | 293 | height: 25px; |
260 | &:focus { | 294 | width: 25px; |
261 | outline: none; | 295 | top: -10px; |
262 | } | 296 | right: 0; |
263 | } | 297 | } |
264 | .custom-control-input { | 298 | |
265 | &:checked ~ .custom-control-label::before { | 299 | button.clear-input { |
266 | border: none !important; | 300 | cursor: pointer; |
267 | color: $primary !important; | 301 | background: transparent; |
268 | background-color: $primary !important; | 302 | border: none; |
269 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; | 303 | margin-left: -24px; |
270 | } | 304 | z-index: 9; |
271 | &:active ~ .custom-control-label::before { | 305 | color: #a3a3a3; |
272 | border: none !important; | 306 | &:focus { |
273 | color: $primary !important; | 307 | outline: none; |
274 | background-color: $primary !important; | 308 | } |
275 | } | 309 | } |
276 | &:focus ~ .custom-control-label::before { | 310 | .custom-control-input { |
277 | border: none !important; | 311 | &:checked ~ .custom-control-label::before { |
278 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; | 312 | border: none !important; |
279 | } | 313 | color: $primary !important; |
280 | &:focus:not(:checked) ~ .custom-control-label::before { | 314 | background-color: $primary !important; |
281 | border: none !important; | 315 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; |
282 | } | 316 | } |
283 | &:not(:disabled):active ~ .custom-control-label::before { | 317 | &:active ~ .custom-control-label::before { |
284 | border: none !important; | 318 | border: none !important; |
285 | color: $primary !important; | 319 | color: $primary !important; |
286 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; | 320 | background-color: $primary !important; |
287 | } | 321 | } |
288 | &:hover ~ .custom-control-label::before { | 322 | &:focus ~ .custom-control-label::before { |
289 | border: none !important; | 323 | border: none !important; |
290 | background-color: $primaryTransparency; | 324 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; |
291 | } | 325 | } |
292 | } | 326 | &:focus:not(:checked) ~ .custom-control-label::before { |
293 | .disable-selection { | 327 | border: none !important; |
294 | user-select: none; | 328 | } |
295 | -moz-user-select: none; /* Firefox */ | 329 | &:not(:disabled):active ~ .custom-control-label::before { |
296 | -ms-user-select: none; /* Internet Explorer */ | 330 | border: none !important; |
297 | -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */ | 331 | color: $primary !important; |
298 | -webkit-user-select: none; /* Chrome, Safari, and Opera */ | 332 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; |
299 | -webkit-touch-callout: none; /* Disable Android and iOS callouts*/ | 333 | } |
300 | } | 334 | &:hover ~ .custom-control-label::before { |
301 | .foca-text-success { | 335 | border: none !important; |
302 | color: $textSuccess !important; | 336 | background-color: $primaryTransparency; |
303 | } | 337 | } |
304 | .foca-text-danger { | 338 | } |
305 | color: $textDanger !important; | 339 | .disable-selection { |
306 | } | 340 | user-select: none; |
307 | 341 | -moz-user-select: none; /* Firefox */ | |
342 | -ms-user-select: none; /* Internet Explorer */ | ||
343 | -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */ | ||
344 | -webkit-user-select: none; /* Chrome, Safari, and Opera */ | ||
345 | -webkit-touch-callout: none; /* Disable Android and iOS callouts*/ | ||
346 | } | ||
347 | .foca-text-success { | ||
348 | color: $textSuccess !important; | ||
349 | } | ||
350 | .foca-text-danger { | ||
351 | color: $textDanger !important; | ||
352 | } | ||
353 |