@natec/mef-dev-ui-kit 20.1.21 → 20.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,38 +0,0 @@
1
- .dropdown-language {
2
- /* position: relative; */
3
- margin-right: 10px;
4
- display: inline-block;
5
- height: 32px;
6
- width: 33px;
7
- border-radius: 16px;
8
- border: 1px solid rgba(50, 59, 69, 0.54);
9
- -moz-user-select: none;
10
- -ms-user-select: none;
11
- cursor: pointer;
12
- font-size: 13px;
13
- font-weight: 600;
14
- color: rgba(50, 59, 69, 0.87);
15
- //: ;
16
- transition: background-color 0.1s, border-color 0.1s;
17
- white-space: nowrap;
18
- max-width: 100px;
19
- text-align: center;
20
- }
21
-
22
- .default-lang {
23
- text-overflow: ellipsis;
24
- overflow: hidden;
25
- padding: 4px 0 4px;
26
- }
27
-
28
- .request_item {
29
- font-weight: 500;
30
- display: flex;
31
- padding: 3px;
32
- font-size: 14px;
33
- flex-direction: row-reverse;
34
- margin: 5px;
35
- background-color: #8a7dbe;
36
- border-color: #8a7dbe;
37
- color: #fff;
38
- }
@@ -1,489 +0,0 @@
1
-
2
- @mixin clearfix() {
3
- &:before,
4
- &:after {
5
- content: " "; /* 1 */
6
- display: table; /* 2 */
7
- }
8
- &:after {
9
- clear: both;
10
- }
11
- }
12
-
13
- // Webkit-style focus
14
- @mixin tab-focus() {
15
- // Default
16
- outline: thin dotted #000;
17
- // Webkit
18
- outline: 5px auto -webkit-focus-ring-color;
19
- outline-offset: -2px;
20
- }
21
-
22
- // Center-align a block level element
23
- @mixin center-block() {
24
- display: block;
25
- margin-left: auto;
26
- margin-right: auto;
27
- }
28
-
29
- // Sizing shortcuts
30
- @mixin size($width, $height) {
31
- width: $width;
32
- height: $height;
33
- }
34
- @mixin square($size) {
35
- @include size($size, $size);
36
- }
37
-
38
- @mixin flexbox(){
39
- display: -webkit-box;
40
- display: -webkit-flex;
41
- display: -ms-flexbox;
42
- display: flex;
43
- }
44
-
45
- @mixin flex-inline(){
46
- display: -webkit-inline-box;
47
- display: -webkit-inline-flex;
48
- display: -ms-inline-flexbox;
49
- display: inline-flex;
50
- }
51
-
52
- @mixin align-items($argument){
53
- -webkit-box-align: $argument;
54
- -webkit-align-items: $argument;
55
- -ms-flex-align: $argument;
56
- align-items: $argument;
57
- }
58
-
59
- @mixin flex-column{
60
- -webkit-box-orient: vertical;
61
- -webkit-box-direction: normal;
62
- -webkit-flex-direction: column;
63
- -ms-flex-direction: column;
64
- flex-direction: column;
65
- }
66
-
67
- @mixin flex-row{
68
- -webkit-box-orient: horizontal;
69
- -webkit-box-direction: normal;
70
- -webkit-flex-direction: row;
71
- -ms-flex-direction: row;
72
- flex-direction: row;
73
- }
74
-
75
-
76
- // Placeholder text
77
- @mixin placeholder($color: $input-color-placeholder) {
78
- &:-moz-placeholder { color: $color; } // Firefox 4-18
79
- &::-moz-placeholder { color: $color; opacity: 1; } // Firefox 19+
80
- &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
81
- &::-webkit-input-placeholder { color: $color; } // Safari and Chrome
82
- &.placeholder { color: $color; } // Fallback
83
- }
84
-
85
- // Placeholder text
86
- @mixin selected($color, $background) {
87
- &::selection {
88
- background: $background; /* Safari */
89
- color: $color;
90
- }
91
- &::-moz-selection {
92
- background: $background; /* Safari */
93
- color: $color;
94
- }
95
- }
96
-
97
- @mixin placeholder-height($height) {
98
- &:-moz-placeholder {
99
- line-height: $height;
100
- }
101
- &::-webkit-input-placeholder {
102
- line-height: $height;
103
- }
104
- &.placeholder {
105
- line-height: $height;
106
- }
107
- }
108
-
109
- // Text overflow
110
- // Requires inline-block or block for proper styling
111
- @mixin text-overflow() {
112
- overflow: hidden;
113
- text-overflow: ellipsis;
114
- white-space: nowrap;
115
- }
116
-
117
- // CSS image replacement
118
- @mixin text-hide() {
119
- font: 0/0 a;
120
- color: transparent;
121
- text-shadow: none;
122
- background-color: transparent;
123
- border: 0;
124
- }
125
-
126
- @mixin invisible() {
127
- visibility:hidden;
128
- }
129
-
130
- //Padding Helper Classes
131
- @mixin generate-paddings-options-prefix($prefix,$n, $j: 0) {
132
- @if $j <= $n {
133
- @for $i from $j through $n {
134
- $step : $i*5;
135
- .#{$prefix}-p-t-#{$step} {
136
- padding-top: ($step*1px) !important;
137
- }
138
- .#{$prefix}-p-r-#{$step} {
139
- padding-right: ($step*1px) !important;
140
- }
141
- .#{$prefix}-p-l-#{$step} {
142
- padding-left: ($step*1px) !important;
143
- }
144
- .#{$prefix}-p-b-#{$step} {
145
- padding-bottom: ($step*1px) !important;
146
- }
147
- //@include generate-margin-options($n, ($i + 1));
148
- }
149
- }
150
- }
151
- //Margins Helper Classes
152
- @mixin generate-margin-options-prefix($prefix,$n, $j: 0) {
153
- @if $j <= $n {
154
- @for $i from $j through $n {
155
- $step : $i*5;
156
- .#{$prefix}-m-t-#{$step} {
157
- margin-top: ($step*1px) !important;
158
- }
159
- .#{$prefix}-m-r-#{$step} {
160
- margin-right: ($step*1px) !important;
161
- }
162
- .#{$prefix}-m-l-#{$step} {
163
- margin-left: ($step*1px) !important;
164
- }
165
- .#{$prefix}-m-b-#{$step} {
166
- margin-bottom: ($step*1px) !important;
167
- }
168
- //@include generate-margin-options($n, ($i + 1));
169
- }
170
- }
171
- }
172
- // CSS3 PROPERTIES
173
- // --------------------------------------------------
174
-
175
- @mixin mask($arguments) {
176
- -webkit-mask: $arguments;
177
- mask: $arguments;
178
- }
179
- @mixin box_scale($scale) {
180
- -webkit-transform: scale($scale);
181
- -ms-transform: scale($scale);
182
- -moz-transform: scale($scale);
183
- transform: scale($scale);
184
- }
185
- // Single side border-radius
186
- @mixin border-top-radius($radius) {
187
- border-top-right-radius: $radius;
188
- border-top-left-radius: $radius;
189
- }
190
- @mixin border-right-radius($radius) {
191
- border-bottom-right-radius: $radius;
192
- border-top-right-radius: $radius;
193
- }
194
- @mixin border-bottom-radius($radius) {
195
- border-bottom-right-radius: $radius;
196
- border-bottom-left-radius: $radius;
197
- }
198
- @mixin border-left-radius($radius) {
199
- border-bottom-left-radius: $radius;
200
- border-top-left-radius: $radius;
201
- }
202
- @mixin border-radius($radius) {
203
- border-radius: $radius;
204
- -webkit-border-radius:$radius;
205
- -moz-border-radius: $radius;
206
- }
207
- // Drop shadows
208
- @mixin box-shadow($shadow) {
209
- -webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
210
- box-shadow: $shadow;
211
- }
212
-
213
- @mixin animation($properties) {
214
- -webkit-animation: $properties;
215
- -moz-animation: $properties;
216
- -o-animation: $properties;
217
- animation: $properties;
218
- }
219
-
220
- // Transitions
221
- @mixin transition($transition) {
222
- -webkit-transition: $transition;
223
- transition: $transition;
224
- }
225
- @mixin transition-property($transition-property) {
226
- -webkit-transition-property: $transition-property;
227
- transition-property: $transition-property;
228
- }
229
- @mixin transition-delay($transition-delay) {
230
- -webkit-transition-delay: $transition-delay;
231
- transition-delay: $transition-delay;
232
- }
233
- @mixin transition-duration($transition-duration) {
234
- -webkit-transition-duration: $transition-duration;
235
- transition-duration: $transition-duration;
236
- }
237
- @mixin transition-transform($transition) {
238
- -webkit-transition: -webkit-transform $transition;
239
- -moz-transition: -moz-transform $transition;
240
- -o-transition: -o-transform $transition;
241
- transition: transform $transition;
242
- }
243
-
244
- // Transformations
245
- @mixin rotate($degrees) {
246
- -webkit-transform: rotate($degrees);
247
- -ms-transform: rotate($degrees); // IE9+
248
- transform: rotate($degrees);
249
- }
250
- @mixin scale($ratio) {
251
- -webkit-transform: scale($ratio);
252
- -ms-transform: scale($ratio); // IE9+
253
- transform: scale($ratio);
254
- }
255
- @mixin translate($x, $y) {
256
- -webkit-transform: translate($x, $y);
257
- -ms-transform: translate($x, $y); // IE9+
258
- transform: translate($x, $y);
259
- }
260
- @mixin translateY($y) {
261
- -webkit-transform: translateY($y);
262
- -ms-transform: translateY($y); // IE9+
263
- transform: translateY($y);
264
- }
265
- @mixin translateX($x) {
266
- -webkit-transform: translateX($x);
267
- -ms-transform: translateX($x); // IE9+
268
- transform: translateX($x);
269
- }
270
- @mixin skew($x, $y) {
271
- -webkit-transform: skew($x, $y);
272
- -ms-transform: skewX($x) skewY($y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
273
- transform: skew($x, $y);
274
- }
275
- @mixin translate3d($x, $y, $z) {
276
- -webkit-transform: translate3d($x, $y, $z);
277
- transform: translate3d($x, $y, $z);
278
- -ms-transform:translate($x, $y);
279
- }
280
-
281
- @mixin rotateX($degrees) {
282
- -webkit-transform: rotateX($degrees);
283
- -ms-transform: rotateX($degrees); // IE9+
284
- transform: rotateX($degrees);
285
- }
286
- @mixin rotateY($degrees) {
287
- -webkit-transform: rotateY($degrees);
288
- -ms-transform: rotateY($degrees); // IE9+
289
- transform: rotateY($degrees);
290
- }
291
- @mixin perspective($perspective) {
292
- -webkit-perspective: $perspective;
293
- -moz-perspective: $perspective;
294
- perspective: $perspective;
295
- }
296
- @mixin perspective-origin($perspective) {
297
- -webkit-perspective-origin: $perspective;
298
- -moz-perspective-origin: $perspective;
299
- perspective-origin: $perspective;
300
- }
301
- @mixin transform-origin($origin) {
302
- -webkit-transform-origin: $origin;
303
- -moz-transform-origin: $origin;
304
- transform-origin: $origin;
305
- }
306
- @mixin transform-style($style) {
307
- -webkit-transform-style: $style;
308
- -moz-transform-style: $style;
309
- transform-style: $style;
310
- }
311
-
312
- // Backface visibility
313
- // Prevent browsers from flickering when using CSS 3D transforms.
314
- // Default value is `visible`, but can be changed to `hidden`
315
- // See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
316
- @mixin backface-visibility($visibility) {
317
- -webkit-backface-visibility: $visibility;
318
- -moz-backface-visibility: $visibility;
319
- backface-visibility: $visibility;
320
- }
321
-
322
- // Background clip
323
- @mixin background-clip($clip: border-box) {
324
- -webkit-background-clip: $clip;
325
- -moz-background-clip: $clip;
326
- background-clip: $clip;
327
- }
328
-
329
- // Box sizing
330
- @mixin box-sizing($boxmodel) {
331
- -webkit-box-sizing: $boxmodel;
332
- -moz-box-sizing: $boxmodel;
333
- box-sizing: $boxmodel;
334
- }
335
-
336
- // User select
337
- // For selecting text on the page
338
- @mixin user-select($select) {
339
- -webkit-user-select: $select;
340
- -moz-user-select: $select;
341
- -ms-user-select: $select; // IE10+
342
- -o-user-select: $select;
343
- user-select: $select;
344
- }
345
-
346
- // Resize anything
347
- @mixin resizable($direction) {
348
- resize: $direction; // Options: horizontal, vertical, both
349
- overflow: auto; // Safari fix
350
- }
351
-
352
- // CSS3 Content Columns
353
- @mixin content-columns($column-count, $column-gap: $grid-gutter-width) {
354
- -webkit-column-count: $column-count;
355
- -moz-column-count: $column-count;
356
- column-count: $column-count;
357
- -webkit-column-gap: $column-gap;
358
- -moz-column-gap: $column-gap;
359
- column-gap: $column-gap;
360
- }
361
-
362
- // Optional hyphenation
363
- @mixin hyphens($mode: auto) {
364
- word-wrap: break-word;
365
- -webkit-hyphens: $mode;
366
- -moz-hyphens: $mode;
367
- -ms-hyphens: $mode; // IE10+
368
- -o-hyphens: $mode;
369
- hyphens: $mode;
370
- }
371
-
372
- // Opacity
373
- @mixin opacity($opacity) {
374
- opacity: $opacity;
375
- // IE8 filter
376
- $opacity-ie: ($opacity * 100);
377
- filter: alpha(opacity=$opacity-ie);
378
- }
379
-
380
-
381
-
382
- // GRADIENTS
383
- // --------------------------------------------------
384
-
385
- #gradient {
386
-
387
- // Horizontal gradient, from left to right
388
- //
389
- // Creates two color stops, start and end, by specifying a color and position for each color stop.
390
- // Color stops are not available in IE9 and below.
391
- @mixin horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
392
- background-image: -webkit-gradient(linear, $start-percent top, $end-percent top, from($start-color), to($end-color)); // Safari 4+, Chrome 2+
393
- background-image: -webkit-linear-gradient(left, color-stop($start-color $start-percent), color-stop($end-color $end-percent)); // Safari 5.1+, Chrome 10+
394
- background-image: -moz-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // FF 3.6+
395
- background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10
396
- background-repeat: repeat-x;
397
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down
398
- }
399
-
400
- // Vertical gradient, from top to bottom
401
- //
402
- // Creates two color stops, start and end, by specifying a color and position for each color stop.
403
- // Color stops are not available in IE9 and below.
404
- @mixin vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
405
- background-image: -webkit-gradient(linear, left $start-percent, left $end-percent, from($start-color), to($end-color)); // Safari 4+, Chrome 2+
406
- background-image: -webkit-linear-gradient(top, $start-color, $start-percent, $end-color, $end-percent); // Safari 5.1+, Chrome 10+
407
- background-image: -moz-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // FF 3.6+
408
- background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10
409
- background-repeat: repeat-x;
410
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down
411
- }
412
-
413
- @mixin directional($start-color: #555, $end-color: #333, $deg: 45deg) {
414
- background-repeat: repeat-x;
415
- background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1+, Chrome 10+
416
- background-image: -moz-linear-gradient($deg, $start-color, $end-color); // FF 3.6+
417
- background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10
418
- }
419
- @mixin horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
420
- background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from($start-color), color-stop($color-stop, $mid-color), to($end-color));
421
- background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
422
- background-image: -moz-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
423
- background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
424
- background-repeat: no-repeat;
425
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
426
- }
427
- @mixin vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
428
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from($start-color), color-stop($color-stop, $mid-color), to($end-color));
429
- background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
430
- background-image: -moz-linear-gradient(top, $start-color, $mid-color $color-stop, $end-color);
431
- background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
432
- background-repeat: no-repeat;
433
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
434
- }
435
- @mixin radial($inner-color: #555, $outer-color: #333) {
436
- background-image: -webkit-gradient(radial, center center, 0, center center, 460, from($inner-color), to($outer-color));
437
- background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
438
- background-image: -moz-radial-gradient(circle, $inner-color, $outer-color);
439
- background-image: radial-gradient(circle, $inner-color, $outer-color);
440
- background-repeat: no-repeat;
441
- }
442
- @mixin striped($color: rgba(255,255,255,.15), $angle: 45deg) {
443
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, $color), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, $color), color-stop(.75, $color), color-stop(.75, transparent), to(transparent));
444
- background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
445
- background-image: -moz-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
446
- background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
447
- }
448
- }
449
-
450
- // Reset filters for IE
451
- //
452
- // When you need to remove a gradient background, do not forget to use this to reset
453
- // the IE filter for IE9 and below.
454
- @mixin reset-filter() {
455
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
456
- }
457
-
458
-
459
-
460
- // Retina images
461
- //
462
- // Short retina mixin for setting background-image and -size
463
-
464
- @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
465
- background-image: url("#{file-1x}");
466
-
467
- @media
468
- only screen and (-webkit-min-device-pixel-ratio: 2),
469
- only screen and ( min--moz-device-pixel-ratio: 2),
470
- only screen and ( -o-min-device-pixel-ratio: 2/1),
471
- only screen and ( min-device-pixel-ratio: 2),
472
- only screen and ( min-resolution: 192dpi),
473
- only screen and ( min-resolution: 2dppx) {
474
- background-image: url("#{file-2x}");
475
- background-size: $width-1x $height-1x;
476
- }
477
- }
478
-
479
-
480
- // Responsive image
481
- //
482
- // Keep images from scaling beyond the width of their parents.
483
-
484
- @mixin img-responsive($display: block) {
485
- display: $display;
486
- max-width: 100%; // Part 1: Set a maximum relative to the parent
487
- height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
488
- }
489
-