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