ode-csslib 4.0.2 → 4.0.3
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.
- package/dist/index.css +251 -20
- package/dist/index.css.map +1 -0
- package/dist/version.txt +1 -1
- package/package.json +1 -1
- package/scss/specifics/competences/components/_competences.scss +616 -601
- package/scss/specifics/competences/components/_slider.scss +20 -19
- package/scss/specifics/presences/components/containers/_register.scss +15 -19
- package/scss/specifics/presences/components/containers/registry/_table.scss +2 -2
- package/scss/specifics/presences/components/material/_radio.scss +13 -13
- package/scss/specifics/presences/generic/_flex.scss +4 -3
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
19
|
* Angular JS slider directive
|
|
20
20
|
*
|
|
21
21
|
* (c) Rafal Zajac <rzajac$gmail.com>
|
|
@@ -37,7 +37,6 @@ $barDisabledFillColor: $disabled-color;
|
|
|
37
37
|
$barNormalColor: $neutral-grey;
|
|
38
38
|
|
|
39
39
|
body.vsco--global {
|
|
40
|
-
|
|
41
40
|
$ticksColor: $barNormalColor;
|
|
42
41
|
$selectedTicksColor: $barFillColor;
|
|
43
42
|
$ticksWidth: 10px;
|
|
@@ -107,8 +106,8 @@ body.vsco--global {
|
|
|
107
106
|
.rz-bar-wrapper {
|
|
108
107
|
left: 0;
|
|
109
108
|
box-sizing: border-box;
|
|
110
|
-
margin-top:
|
|
111
|
-
padding-top: $handleSize / 2;
|
|
109
|
+
margin-top: calc($handleSize / -2);
|
|
110
|
+
padding-top: calc($handleSize / 2);
|
|
112
111
|
width: 100%;
|
|
113
112
|
height: $handleSize;
|
|
114
113
|
z-index: 1;
|
|
@@ -124,24 +123,24 @@ body.vsco--global {
|
|
|
124
123
|
height: $barDimension;
|
|
125
124
|
z-index: 1;
|
|
126
125
|
background: $barNormalColor;
|
|
127
|
-
@include rounded($barDimension/2);
|
|
126
|
+
@include rounded(calc($barDimension/2));
|
|
128
127
|
}
|
|
129
128
|
|
|
130
129
|
.rz-selection {
|
|
131
130
|
z-index: 2;
|
|
132
131
|
background: $barFillColor;
|
|
133
|
-
@include rounded($barDimension/2);
|
|
132
|
+
@include rounded(calc($barDimension/2));
|
|
134
133
|
}
|
|
135
134
|
|
|
136
135
|
.rz-pointer {
|
|
137
136
|
cursor: pointer;
|
|
138
137
|
width: $handleSize;
|
|
139
138
|
height: $handleSize;
|
|
140
|
-
top:
|
|
139
|
+
top: calc(($handleSize/-2) + ($barDimension/-2));
|
|
141
140
|
background-color: $primary;
|
|
142
141
|
z-index: 3;
|
|
143
|
-
@include rounded($handleSize/2);
|
|
144
|
-
@include box-shadow(rgba(0,0,0,0.26) 0 1px 3px);
|
|
142
|
+
@include rounded(calc($handleSize/2));
|
|
143
|
+
@include box-shadow(rgba(0, 0, 0, 0.26) 0 1px 3px);
|
|
145
144
|
// -webkit-transition:all linear 0.15s;
|
|
146
145
|
// -moz-transition:all linear 0.15s;
|
|
147
146
|
// -o-transition:all linear 0.15s;
|
|
@@ -170,7 +169,7 @@ body.vsco--global {
|
|
|
170
169
|
|
|
171
170
|
.rz-bubble {
|
|
172
171
|
cursor: default;
|
|
173
|
-
bottom: $handleSize/2;
|
|
172
|
+
bottom: calc($handleSize/2);
|
|
174
173
|
padding: $bubblePadding;
|
|
175
174
|
color: $labelTextColor;
|
|
176
175
|
&.rz-limit {
|
|
@@ -184,7 +183,7 @@ body.vsco--global {
|
|
|
184
183
|
height: 0;
|
|
185
184
|
position: absolute;
|
|
186
185
|
left: 0;
|
|
187
|
-
top:
|
|
186
|
+
top: calc(($ticksHeight - $barDimension) / -2);
|
|
188
187
|
margin: 0;
|
|
189
188
|
z-index: 1;
|
|
190
189
|
list-style: none;
|
|
@@ -207,7 +206,9 @@ body.vsco--global {
|
|
|
207
206
|
position: absolute;
|
|
208
207
|
top: 0;
|
|
209
208
|
left: 0;
|
|
210
|
-
margin-left:
|
|
209
|
+
margin-left: calc(
|
|
210
|
+
$handleSize / 2 - $ticksWidth / 2
|
|
211
|
+
); // for centering*padding:
|
|
211
212
|
padding: 0;
|
|
212
213
|
&.rz-selected {
|
|
213
214
|
background: $selectedTicksColor;
|
|
@@ -245,8 +246,8 @@ body.vsco--global {
|
|
|
245
246
|
.rz-bar-wrapper {
|
|
246
247
|
top: auto;
|
|
247
248
|
left: 0;
|
|
248
|
-
margin: 0 0 0
|
|
249
|
-
padding: 0 0 0 $handleSize / 2;
|
|
249
|
+
margin: 0 0 0 calc($handleSize / -2);
|
|
250
|
+
padding: 0 0 0 calc($handleSize / 2);
|
|
250
251
|
height: 100%;
|
|
251
252
|
width: $handleSize;
|
|
252
253
|
}
|
|
@@ -259,13 +260,13 @@ body.vsco--global {
|
|
|
259
260
|
}
|
|
260
261
|
|
|
261
262
|
.rz-pointer {
|
|
262
|
-
left:
|
|
263
|
+
left: calc($handleSize/-2 + $barDimension/2) !important;
|
|
263
264
|
top: auto;
|
|
264
265
|
bottom: 0;
|
|
265
266
|
}
|
|
266
267
|
|
|
267
268
|
.rz-bubble {
|
|
268
|
-
left: $handleSize/2 !important;
|
|
269
|
+
left: calc($handleSize/2) !important;
|
|
269
270
|
margin-left: 3px;
|
|
270
271
|
bottom: 0;
|
|
271
272
|
}
|
|
@@ -273,14 +274,14 @@ body.vsco--global {
|
|
|
273
274
|
.rz-ticks {
|
|
274
275
|
height: 100%;
|
|
275
276
|
width: 0;
|
|
276
|
-
left:
|
|
277
|
+
left: calc($ticksHeight - $barDimension / -2);
|
|
277
278
|
top: 0;
|
|
278
279
|
z-index: 1;
|
|
279
280
|
}
|
|
280
281
|
.rz-tick {
|
|
281
282
|
vertical-align: middle;
|
|
282
283
|
margin-left: auto;
|
|
283
|
-
margin-top: $handleSize / 2 - $ticksWidth / 2; // for centering
|
|
284
|
+
margin-top: calc($handleSize / 2 - $ticksWidth / 2); // for centering
|
|
284
285
|
}
|
|
285
286
|
.rz-tick-value {
|
|
286
287
|
left: $ticksValuePositionOnVertical;
|
|
@@ -303,4 +304,4 @@ body.vsco--global {
|
|
|
303
304
|
}
|
|
304
305
|
}
|
|
305
306
|
}
|
|
306
|
-
}
|
|
307
|
+
}
|
|
@@ -2,7 +2,6 @@ $student-height: 40px;
|
|
|
2
2
|
$absence-button-width: 20px;
|
|
3
3
|
|
|
4
4
|
.register {
|
|
5
|
-
|
|
6
5
|
.card-slider {
|
|
7
6
|
max-width: 100%;
|
|
8
7
|
overflow-x: auto;
|
|
@@ -47,7 +46,8 @@ $absence-button-width: 20px;
|
|
|
47
46
|
opacity: 1 !important;
|
|
48
47
|
transition: all 0.25s ease;
|
|
49
48
|
|
|
50
|
-
&.split-view::before,
|
|
49
|
+
&.split-view::before,
|
|
50
|
+
&.show-list::before {
|
|
51
51
|
position: absolute;
|
|
52
52
|
//top: -2px;
|
|
53
53
|
left: 0;
|
|
@@ -89,7 +89,6 @@ $absence-button-width: 20px;
|
|
|
89
89
|
|
|
90
90
|
/* tooltip hover */
|
|
91
91
|
li {
|
|
92
|
-
|
|
93
92
|
&:hover .tooltip-top {
|
|
94
93
|
@include tooltipVisible();
|
|
95
94
|
}
|
|
@@ -100,7 +99,7 @@ $absence-button-width: 20px;
|
|
|
100
99
|
max-width: 115px;
|
|
101
100
|
padding: 5px;
|
|
102
101
|
line-height: 20px;
|
|
103
|
-
transform: scale(0.
|
|
102
|
+
transform: scale(0.8);
|
|
104
103
|
bottom: 20px;
|
|
105
104
|
margin-left: -23px;
|
|
106
105
|
|
|
@@ -112,7 +111,6 @@ $absence-button-width: 20px;
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
|
|
116
114
|
.student-name.last-course-absent {
|
|
117
115
|
color: $presences-red;
|
|
118
116
|
}
|
|
@@ -151,11 +149,11 @@ $absence-button-width: 20px;
|
|
|
151
149
|
}
|
|
152
150
|
|
|
153
151
|
li {
|
|
154
|
-
width: $absence-button-width -
|
|
155
|
-
height: $absence-button-width -
|
|
152
|
+
width: calc($absence-button-width - 2px);
|
|
153
|
+
height: calc($absence-button-width - 2px);
|
|
156
154
|
display: block;
|
|
157
155
|
background-color: $presences-grey;
|
|
158
|
-
border-radius: ($absence-button-width -
|
|
156
|
+
border-radius: calc(($absence-button-width - 2px) / 2);
|
|
159
157
|
z-index: 1;
|
|
160
158
|
|
|
161
159
|
&.current {
|
|
@@ -201,8 +199,8 @@ $absence-button-width: 20px;
|
|
|
201
199
|
display: block;
|
|
202
200
|
position: absolute;
|
|
203
201
|
top: 50%;
|
|
204
|
-
margin-top:
|
|
205
|
-
border-radius: ($absence-button-width/2)+
|
|
202
|
+
margin-top: calc(($absence-button-width + 1px) / -2);
|
|
203
|
+
border-radius: calc($absence-button-width/2) + 1px;
|
|
206
204
|
border: solid 1px #929292;
|
|
207
205
|
transition: all 0.3s ease;
|
|
208
206
|
background-color: $white;
|
|
@@ -213,7 +211,6 @@ $absence-button-width: 20px;
|
|
|
213
211
|
border-color: $presences-red;
|
|
214
212
|
}
|
|
215
213
|
|
|
216
|
-
|
|
217
214
|
&.disabled::before {
|
|
218
215
|
background-color: $presences-grey !important;
|
|
219
216
|
border-color: $presences-grey !important;
|
|
@@ -251,10 +248,9 @@ $absence-button-width: 20px;
|
|
|
251
248
|
|
|
252
249
|
> div {
|
|
253
250
|
width: 44px;
|
|
254
|
-
height: $student-height/3;
|
|
251
|
+
height: calc($student-height/3);
|
|
255
252
|
background-color: pink;
|
|
256
|
-
border-radius: $student-height/5;
|
|
257
|
-
|
|
253
|
+
border-radius: calc($student-height/5);
|
|
258
254
|
|
|
259
255
|
&.absence {
|
|
260
256
|
background-color: $presences-red;
|
|
@@ -303,8 +299,8 @@ $absence-button-width: 20px;
|
|
|
303
299
|
display: block;
|
|
304
300
|
position: absolute;
|
|
305
301
|
top: 50%;
|
|
306
|
-
margin-top:
|
|
307
|
-
border-radius: ($absence-button-width/2)+
|
|
302
|
+
margin-top: calc(($absence-button-width + 1px) / -2);
|
|
303
|
+
border-radius: calc($absence-button-width/2) + 1px;
|
|
308
304
|
border: solid 1px #929292;
|
|
309
305
|
transition: all 0.3s ease;
|
|
310
306
|
background-color: $white;
|
|
@@ -324,8 +320,8 @@ $absence-button-width: 20px;
|
|
|
324
320
|
/* State color */
|
|
325
321
|
.state {
|
|
326
322
|
width: 44px;
|
|
327
|
-
height: $student-height / 3;
|
|
328
|
-
border-radius: $student-height / 5;
|
|
323
|
+
height: calc($student-height / 3);
|
|
324
|
+
border-radius: calc($student-height / 5);
|
|
329
325
|
|
|
330
326
|
&.absence {
|
|
331
327
|
background-color: $presences-red;
|
|
@@ -346,4 +342,4 @@ $absence-button-width: 20px;
|
|
|
346
342
|
&.incident {
|
|
347
343
|
background-color: $presences-grey;
|
|
348
344
|
}
|
|
349
|
-
}
|
|
345
|
+
}
|
|
@@ -4,9 +4,7 @@ $md-radio-size: 20px;
|
|
|
4
4
|
$md-radio-checked-size: 10px;
|
|
5
5
|
$md-radio-ripple-size: 15px;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
.md-radio {
|
|
9
|
-
|
|
10
8
|
&.md-radio-inline {
|
|
11
9
|
display: inline-block;
|
|
12
10
|
}
|
|
@@ -23,17 +21,18 @@ $md-radio-ripple-size: 15px;
|
|
|
23
21
|
|
|
24
22
|
label {
|
|
25
23
|
display: inline-block;
|
|
26
|
-
height
|
|
24
|
+
height: $md-radio-size;
|
|
27
25
|
position: relative;
|
|
28
26
|
padding: 0 ($md-radio-size + 10px);
|
|
29
27
|
margin-bottom: 0;
|
|
30
28
|
cursor: pointer;
|
|
31
29
|
vertical-align: bottom;
|
|
32
|
-
&:before,
|
|
30
|
+
&:before,
|
|
31
|
+
&:after {
|
|
33
32
|
position: absolute;
|
|
34
|
-
content:
|
|
33
|
+
content: "";
|
|
35
34
|
border-radius: 50%;
|
|
36
|
-
transition: all .3s ease;
|
|
35
|
+
transition: all 0.3s ease;
|
|
37
36
|
}
|
|
38
37
|
&:before {
|
|
39
38
|
left: 0;
|
|
@@ -43,17 +42,18 @@ $md-radio-ripple-size: 15px;
|
|
|
43
42
|
border: 2px solid $md-radio-border-color;
|
|
44
43
|
}
|
|
45
44
|
&:after {
|
|
46
|
-
top: $md-radio-size / 2 - $md-radio-checked-size / 2 - 0.
|
|
47
|
-
left: $md-radio-size / 2 - $md-radio-checked-size / 2 - 0.
|
|
48
|
-
width
|
|
49
|
-
height
|
|
45
|
+
top: calc($md-radio-size / 2 - $md-radio-checked-size / 2 - 0.2px);
|
|
46
|
+
left: calc($md-radio-size / 2 - $md-radio-checked-size / 2 - 0.2px);
|
|
47
|
+
width: $md-radio-checked-size;
|
|
48
|
+
height: $md-radio-checked-size;
|
|
50
49
|
transform: scale(0);
|
|
51
|
-
background
|
|
50
|
+
background: $md-radio-checked-color;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
|
|
55
|
-
*,
|
|
54
|
+
*,
|
|
55
|
+
*:before,
|
|
56
|
+
*:after {
|
|
56
57
|
box-sizing: border-box;
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
|
-
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.flex-col {
|
|
20
20
|
@for $j from 1 through 16 {
|
|
21
21
|
&.col__#{$j} {
|
|
22
|
-
width: percentage($j / $i);
|
|
22
|
+
width: percentage(calc($j / $i));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.flex-content,
|
|
30
|
+
.flex-content,
|
|
31
|
+
.flex-collapse {
|
|
31
32
|
flex: 1;
|
|
32
33
|
display: flex;
|
|
33
34
|
flex-direction: column;
|
|
@@ -89,4 +90,4 @@
|
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
}
|
|
93
|
+
}
|