@natec/mef-dev-ui-kit 20.1.15 → 20.1.17

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,383 +1,90 @@
1
1
  /* Main Menu Sidebar
2
2
  ------------------------------------
3
3
  */
4
- @use "sass:color";
4
+ @use 'sass:color';
5
5
  @use '../../vars.scss' as *;
6
6
  @use '../_mixins.scss' as mix;
7
7
 
8
- body{
9
- &.mobile{
8
+ body {
9
+ &.mobile {
10
10
  .sidebar-menu {
11
11
  overflow: scroll;
12
- -webkit-overflow-scrolling: touch;
12
+ -webkit-overflow-scrolling: touch;
13
13
  }
14
14
  .sidebar-menu > ul {
15
15
  height: auto !important;
16
16
  overflow: visible !important;
17
17
  -webkit-overflow-scrolling: touch !important;
18
18
  }
19
- .page-sidebar .sidebar-menu .menu-items {
20
- li{
21
- &:hover{
22
- a{
23
- color:$color-menu-light;
24
- }
25
- .icon-thumbnail{
26
- color:$color-menu-light !important;
27
- }
28
- }
29
- &.active, &.open{
30
- & > a{
31
- color:#fff;
32
- }
33
- & > .icon-thumbnail{
34
- color:#fff;
35
- }
36
- }
37
- }
38
- }
39
- .drager{
19
+ .drager {
40
20
  overflow: auto;
41
21
  -webkit-overflow-scrolling: touch;
42
22
  }
43
23
  }
44
- &.sidebar-visible{
45
- .page-sidebar{
46
- .scroll-element{
47
- visibility: visible;
48
- }
49
- .menu-items {
50
- .icon-thumbnail{
51
- @include mix.translate3d(-14px,0,0);
52
- }
53
- }
54
- .sidebar-header .sidebar-header-controls{
55
- @include mix.translate3d(48px,0,0);
56
- }
57
- }
58
-
59
- }
60
24
  }
61
25
 
62
- .page-sidebar{
26
+ .page-sidebar {
63
27
  width: $layout-sidepanel-width;
64
- background-color:$color-menu;
28
+ background-color: $color-menu;
65
29
  z-index: $zIndex-sidebar;
66
- left:$layout-sidepanel-width-collapsed - $layout-sidepanel-width;
67
30
  position: fixed;
68
31
  bottom: 0;
69
32
  top: 0;
70
33
  right: auto;
71
34
  overflow: hidden;
72
- -webkit-transition: -webkit-transform 400ms cubic-bezier($menu-bezier);
73
- -moz-transition: -moz-transform 400ms cubic-bezier($menu-bezier);
74
- -o-transition: -o-transform 400ms cubic-bezier($menu-bezier);
75
- transition: transform 400ms cubic-bezier($menu-bezier);
76
- -webkit-backface-visibility: hidden;
35
+ -webkit-transition: -webkit-transform 400ms cubic-bezier($menu-bezier);
36
+ -moz-transition: -moz-transform 400ms cubic-bezier($menu-bezier);
37
+ -o-transition: -o-transform 400ms cubic-bezier($menu-bezier);
38
+ transition: transform 400ms cubic-bezier($menu-bezier);
39
+ -webkit-backface-visibility: hidden;
77
40
  -webkit-perspective: 1000px;
78
- a,button {
79
- color:$color-menu-light;
80
- &:hover,&:active{
81
- color:$color-menu-link-hover;
41
+ a,
42
+ button {
43
+ color: $color-menu-light;
44
+ &:hover,
45
+ &:active {
46
+ color: $color-menu-link-hover;
82
47
  background-color: transparent !important;
83
- &:focus{
84
- color:$color-menu-link-hover;
48
+ &:focus {
49
+ color: $color-menu-link-hover;
85
50
  }
86
51
  }
87
- &:visited,&:focus{
88
- color:$color-menu-light;
52
+ &:visited,
53
+ &:focus {
54
+ color: $color-menu-light;
89
55
  }
90
56
  }
91
- button.sidebar-slide-toggle{
57
+ button.sidebar-slide-toggle {
92
58
  //BS 4 fixes
93
- &.active{
94
- color:$color-menu-light;
95
- &:focus{
59
+ &.active {
60
+ color: $color-menu-light;
61
+ &:focus {
96
62
  background: transparent;
97
63
  }
98
64
  }
99
65
  }
100
- .scroll-element{
66
+ .scroll-element {
101
67
  visibility: hidden;
102
68
  }
103
- .sidebar-header{
69
+ .sidebar-header {
104
70
  /* Side-bar header */
105
71
  display: flex;
106
72
  align-content: center;
107
73
  justify-content: center;
108
74
  height: $layout-header-height;
109
- line-height:$layout-header-height;
110
- background-color:$color-menu-darker;
111
- border-bottom: 1px solid color.mix($color-menu-darker, #000, 90%);
75
+ line-height: $layout-header-height;
112
76
  color: $color-white;
113
77
  width: 100%;
114
- padding: 0 20px;
115
- padding-left: 30px;
116
- clear: both;
117
78
  z-index: 10;
118
- .sidebar-header-controls{
119
- display: inline-block;
120
- -webkit-transition: -webkit-transform 0.4s cubic-bezier($menu-bezier);
121
- transition: transform 0.4s cubic-bezier($menu-bezier);
122
- -webkit-backface-visibility: hidden;
123
- }
124
- .sidebar-slide-toggle i{
125
- @include mix.transition(all 0.12s ease);
126
- }
127
- .sidebar-slide-toggle.active i{
128
- @include mix.rotate(-180deg);
129
- }
130
- }
131
- .close-sidebar{
132
- position: absolute;
133
- right: 19px;
134
- top: 14px;
135
- padding: 9px;
136
- z-index: 1;
137
- & > i{
138
- color: rgba(255,255,255,0.57);
139
- }
140
- }
141
- .sidebar-overlay-slide{
142
- /* Side-bar Top Slider */
143
- width: 100%;
144
- height: 100%;
145
- background-color:$color-menu-darker;
146
- display:block;
147
- z-index: 9;
148
- padding: $layout-header-height+20 20px 20px 20px;
149
- &.from-top{
150
- top:-100%;
151
- position: absolute;
152
- @include mix.transition(all .2s ease);
153
- &.show{
154
- @include mix.translate(0,100%);
155
- }
156
- }
157
79
  }
158
- .sidebar-menu{
80
+
81
+ .sidebar-menu {
159
82
  /* Side-bar Menu */
160
83
  position: relative;
161
84
  width: 100%;
162
- .outer-tab-nav-section {
163
- display: inline-block;
164
- width: 45px;
165
- position: absolute;
166
- height: 100%;
167
- background-color: #0aa699 !important;
168
- }
169
- .menu-items {
170
- /* Side-bar Menut Items */
171
- list-style: none;
172
- margin: 0;
173
- padding: 0;
174
- margin: 0;
175
- padding: 0;
176
- position: relative;
177
- overflow: auto;
178
- -webkit-overflow-scrolling: touch;
179
- height: calc(100% - 10px);
180
- width: 100%;
181
- li{
182
- &:hover, &.open, &.active{
183
- & > .icon-thumbnail{
184
- color: $color-menu-link-hover;
185
- }
186
- & > a{
187
- color: $color-menu-link-hover;
188
- }
189
- }
190
- & > a{
191
- white-space: nowrap;
192
- overflow: hidden;
193
- text-overflow: ellipsis;
194
- width: 65%;
195
- }
196
- }
197
- & > li {
198
- display: block;
199
- padding:0;
200
- clear: right;
201
-
202
- &:after, &:before{
203
- display: table;
204
- content: " ";
205
- clear: both;
206
- }
207
-
208
- & > a {
209
- font-family: Arial, sans-serif;
210
- display: inline-block;
211
- padding-left: 32px;
212
- min-height: $menu-icon-size;
213
- line-height: $menu-icon-size;
214
- font-size: 14px;
215
- clear: both;
216
- &.open {
217
- background: #313131;
218
- }
219
- & > .arrow {
220
- float: right;
221
- padding-right: 30px;
222
- &:before {
223
- float: right;
224
- display: inline;
225
- font-size: 16px;
226
- font-family: FontAwesome;
227
- height: auto;
228
- content: "\f104";
229
- font-weight: 300;
230
- text-shadow: none;
231
- @include mix.transition(all 0.12s ease);
232
- }
233
- &.open {
234
- &:before {
235
- @include mix.rotate(-90deg);
236
- }
237
- }
238
- }
239
- & > .badge {
240
- margin-top: 12px;
241
- }
242
- & > .title{
243
- float: left;
244
- white-space: nowrap;
245
- text-overflow: ellipsis;
246
- overflow: hidden;
247
- width: 65%;
248
- }
249
- & > .details{
250
- font-size: 12px;
251
- opacity: 0.4;
252
- display: block;
253
- clear: both;
254
- }
255
- &.detailed{
256
- & > .title{
257
- line-height: 28px;
258
- }
259
- & > .details{
260
- line-height: 16px;
261
- }
262
- }
263
- }
264
- &.active {
265
- & > ul {
266
- &.sub-menu {
267
- display: block;
268
- }
269
- }
270
- }
271
- & > .icon-thumbnail{
272
- &:first-letter {
273
- text-transform: uppercase;
274
- }
275
- }
276
- & > ul {
277
- &.sub-menu {
278
- & > li {
279
- ul {
280
- &.sub-menu {
281
- li {
282
- padding-left: 10px;
283
- padding-right: 3px
284
- }
285
- .icon-thumbnail {
286
- width: 25px;
287
- height: 25px;
288
- line-height: 25px;
289
- font-size: 10px;
290
- }
291
- }
292
- }
293
- }
294
- li {
295
- & > a {
296
- & > .arrow {
297
- &:before {
298
- float: right;
299
- margin-top: 1px;
300
- margin-right: 20px;
301
- display: inline;
302
- font-size: 16px;
303
- font-family: FontAwesome;
304
- height: auto;
305
- content: "\f104";
306
- font-weight: 300;
307
- text-shadow: none;
308
- @include mix.transition(all 0.12s ease);
309
- }
310
- &.open {
311
- &:before {
312
- float: right;
313
- margin-top: 1px;
314
- margin-right: 18px;
315
- display: inline;
316
- font-family: FontAwesome;
317
- height: auto;
318
- font-size: 16px;
319
- @include mix.rotate(-90deg);
320
- font-weight: 300;
321
- text-shadow: none;
322
- }
323
- }
324
- }
325
- }
326
-
327
- }
328
- }
329
- }
330
- ul {
331
- &.sub-menu {
332
- //display: none;
333
- list-style: none;
334
- clear: both;
335
- margin: 0 0 10px 0;
336
- background-color: $color-menu-dark;
337
- padding: 18px 0 10px 0;
338
- & > li {
339
- background: none;
340
- padding: 0px 20px 0 40px;
341
- margin-top: 1px;
342
- &:hover{
343
- & > .icon-thumbnail{
344
- color: $color-menu-link-hover;
345
- }
346
- }
347
- & > a {
348
- display: inline-block;
349
- padding: 5px 0px;
350
- font-size: 13px;
351
- font-family: Arial, sans-serif;
352
- white-space: normal;
353
- }
354
- .icon-thumbnail {
355
- width: 30px;
356
- height: 30px;
357
- line-height: 30px;
358
- margin: 0;
359
- background-color: $color-menu;
360
- font-size: 14px;
361
- }
362
- }
363
- }
364
- }
365
- }
366
- }
367
- .muted {
368
- color: #576775;
369
- opacity:.45;
370
- }
371
- }
372
- .icon-thumbnail [class^="bg-"], [class*="bg-"]{
373
- color: #fff;
374
- }
375
- }
376
- [data-toggle-pin="sidebar"]{
377
- & > i:before{
378
- content: "\f10c";
379
85
  }
380
86
  }
87
+
381
88
  /* Sidebar icon holder
382
89
  ------------------------------------
383
90
  */
@@ -393,32 +100,28 @@ body{
393
100
  left: 0;
394
101
  float: right;
395
102
  margin-right: 14px;
396
- color:$color-menu-light;
103
+ color: $color-menu-light;
397
104
  font-size: 16px;
398
105
  -webkit-transition: -webkit-transform 0.4s cubic-bezier($menu-bezier);
399
106
  transition: transform 0.4s cubic-bezier($menu-bezier);
400
107
  -webkit-backface-visibility: hidden;
401
108
  -webkit-perspective: 1000px;
402
109
  font-family: $base-font-family;
403
- -webkit-font-smoothing:antialiased;
404
- -webkit-text-size-adjust:100%;
405
- -ms-text-size-adjust:100%;
110
+ -webkit-font-smoothing: antialiased;
111
+ -webkit-text-size-adjust: 100%;
112
+ -ms-text-size-adjust: 100%;
406
113
  font-weight: bold;
407
- & > i{
114
+ & > i {
408
115
  font-size: 14px;
409
116
  }
410
- & > svg{
117
+ & > svg {
411
118
  width: auto;
412
119
  height: auto;
413
120
  display: inline;
414
121
  }
415
122
  }
416
123
 
417
- .page-sidebar {
418
- background-color: #4d4d4d;
419
- }
420
-
421
124
  .icon-thumbnail {
422
125
  color: white;
423
126
  background: #4d4d4d;
424
- }
127
+ }
@@ -2,7 +2,7 @@
2
2
  @use '../../vars.scss' as *;
3
3
  @use '../_mixins.scss' as mix;
4
4
 
5
- $disabled-color:$color-master-lighter;
5
+ $disabled-color_:$color-master-lighter;
6
6
  $font-size-base:14px;
7
7
  $component-background:#fff;
8
8
  $switch-duration:200ms;
@@ -141,7 +141,7 @@ $ease-in-out-circ:ease;
141
141
  }
142
142
 
143
143
  .switch-toggle-inner {
144
- color: $disabled-color;
144
+ color: $disabled-color_;
145
145
  }
146
146
  }
147
147
  }