Commit 7dafbafc9c52041eeb64b26e0dbd3b8d640a07ad

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master

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