Commit 016950ce1fd6dea80d1abe7cae9f683488fcf524

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master(mpuebla)

See merge request !118
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 {
136 border-color: $primary;
137 box-shadow: 0 0 5px $primary;
138 }
135 } 139 }
136 140
137 .btn-enviar { 141 .btn-enviar {
138 background-color: white; 142 background-color: white;
139 border-color: #cd9035; 143 border-color: #cd9035;
140 &:focus { 144 &:focus {
141 box-shadow: none !important; 145 box-shadow: none !important;
142 } 146 }
143 &:hover { 147 &:hover {
144 border-color: $primaryTransparency !important; 148 border-color: $primaryTransparency !important;
145 background-color: $primaryTransparency !important; 149 background-color: $primaryTransparency !important;
146 } 150 }
147 &:active{ 151 &:active{
148 background-color: $primary !important; 152 background-color: $primary !important;
149 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 153 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
150 } 154 }
151 } 155 }
152 156
153 .btn-primary { 157 .btn-primary {
154 background-color: $primary !important; 158 background-color: $primary !important;
155 border-color: $primary !important; 159 border-color: $primary !important;
156 &:focus { 160 &:focus {
157 box-shadow: none !important; 161 box-shadow: none !important;
158 } 162 }
159 &:hover { 163 &:hover {
160 border-color: $primaryTransparency !important; 164 border-color: $primaryTransparency !important;
161 background-color: $primaryTransparency !important; 165 background-color: $primaryTransparency !important;
162 } 166 }
163 &:active{ 167 &:active{
164 background-color: $primary !important; 168 background-color: $primary !important;
165 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 169 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
166 } 170 }
167 } 171 }
168 172
173 .input-group-text {
174 &:focus {
175 outline: none;
176 border-color: $primary;
177 box-shadow: 0 0 5px $primary;
178 }
179 &:hover {
180 border-color: $primary;
181 box-shadow: 0 0 5px $primary;
182 }
183 &:active{
184 box-shadow: 0 0 5px $primary;
185 }
186 }
187
169 .btn-default { 188 .btn-default {
170 color: #FFF; 189 color: #FFF;
171 background-color: $default !important; 190 background-color: $default !important;
172 border-color: $default !important; 191 border-color: $default !important;
173 &:focus { 192 &:focus {
174 box-shadow: none !important; 193 box-shadow: none !important;
175 } 194 }
176 &:hover { 195 &:hover {
177 color: #FFF; 196 color: #FFF;
178 border-color: $defaultTransparency !important; 197 border-color: $defaultTransparency !important;
179 background-color: $defaultTransparency !important; 198 background-color: $defaultTransparency !important;
180 } 199 }
181 &:active{ 200 &:active{
182 background-color: $default !important; 201 background-color: $default !important;
183 box-shadow: 0px 0px 0px 3px $defaultTransparency !important; 202 box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
184 } 203 }
185 } 204 }
186 205
187 .btn-danger { 206 .btn-danger {
188 &:hover { 207 &:hover {
189 color: #FFF; 208 color: #FFF;
190 border-color: $dangerTransparency !important; 209 border-color: $dangerTransparency !important;
191 background-color: $dangerTransparency !important; 210 background-color: $dangerTransparency !important;
192 } 211 }
193 } 212 }
194 213
195 .table-celda-total { 214 .table-celda-total {
196 background-color: $highlightedArea; 215 background-color: $highlightedArea;
197 } 216 }
198 217
199 marquee { 218 marquee {
200 background-color: $highlightedArea; 219 background-color: $highlightedArea;
201 } 220 }
202 221
203 .front-index{ 222 .front-index{
204 z-index: 9999; 223 z-index: 9999;
205 } 224 }
206 225
207 .uib-daypicker{ 226 .uib-daypicker{
208 outline: 0 227 outline: 0
209 } 228 }
210 229
211 .right-0{ 230 .right-0{
212 right: 0; 231 right: 0;
213 } 232 }
214 233
215 .tabla-factura{ 234 .tabla-factura{
216 word-wrap: break-word; 235 word-wrap: break-word;
217 table-layout: fixed; 236 table-layout: fixed;
218 } 237 }
219 238
220 .ladda-w-100 .ladda-label{ 239 .ladda-w-100 .ladda-label{
221 width: 100%; 240 width: 100%;
222 float: right; 241 float: right;
223 } 242 }
224 243
225 .btn-delete-image{ 244 .btn-delete-image{
226 height: 25px; 245 height: 25px;
227 width: 25px; 246 width: 25px;
228 top: -10px; 247 top: -10px;
229 right: 0; 248 right: 0;
230 } 249 }
231 250
232 button.clear-input{ 251 button.clear-input{
233 cursor: pointer; 252 cursor: pointer;
234 background: transparent; 253 background: transparent;
235 border: none; 254 border: none;
236 margin-left: -24px; 255 margin-left: -24px;
237 z-index: 9; 256 z-index: 9;
238 color: #a3a3a3; 257 color: #a3a3a3;
239 &:focus{ 258 &:focus{
240 outline: none; 259 outline: none;
241 } 260 }
242 } 261 }
243 .custom-control-input { 262 .custom-control-input {
244 &:checked ~ .custom-control-label::before { 263 &:checked ~ .custom-control-label::before {
245 border: none !important; 264 border: none !important;
246 color: $primary !important; 265 color: $primary !important;
247 background-color: $primary !important; 266 background-color: $primary !important;
248 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 267 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
249 } 268 }
250 &:active ~ .custom-control-label::before { 269 &:active ~ .custom-control-label::before {
251 border: none !important; 270 border: none !important;
252 color: $primary !important; 271 color: $primary !important;
253 background-color: $primary !important; 272 background-color: $primary !important;
254 } 273 }
255 &:focus ~ .custom-control-label::before { 274 &:focus ~ .custom-control-label::before {
256 border: none !important; 275 border: none !important;
257 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 276 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
258 } 277 }
259 &:focus:not(:checked) ~ .custom-control-label::before { 278 &:focus:not(:checked) ~ .custom-control-label::before {
260 border: none !important; 279 border: none !important;
261 } 280 }
262 &:not(:disabled):active ~ .custom-control-label::before { 281 &:not(:disabled):active ~ .custom-control-label::before {
263 border: none !important; 282 border: none !important;
264 color: $primary !important; 283 color: $primary !important;
265 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 284 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
266 } 285 }
267 &:hover ~ .custom-control-label::before { 286 &:hover ~ .custom-control-label::before {
268 border: none !important; 287 border: none !important;
269 background-color: $primaryTransparency; 288 background-color: $primaryTransparency;
270 } 289 }
271 } 290 }
272 291