ode-csslib 4.0.0 → 4.0.1
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/assets/fonts/generic-icons/generic-icons.svg +2 -0
- package/assets/fonts/generic-icons/generic-icons.ttf +0 -0
- package/assets/fonts/generic-icons/generic-icons.woff +0 -0
- package/dist/fonts/generic-icons/generic-icons.svg +2 -0
- package/dist/fonts/generic-icons/generic-icons.ttf +0 -0
- package/dist/fonts/generic-icons/generic-icons.woff +0 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/version.txt +1 -1
- package/package.json +1 -1
- package/scss/specifics/_.scss +4 -0
- package/scss/specifics/incidents/_incidents.scss +30 -0
- package/scss/specifics/incidents/components/_arrow-triangle.scss +19 -0
- package/scss/specifics/incidents/components/_index.scss +6 -0
- package/scss/specifics/incidents/components/_mixins.scss +56 -0
- package/scss/specifics/incidents/components/_seriousness.scss +116 -0
- package/scss/specifics/incidents/components/incidents/_content.scss +97 -0
- package/scss/specifics/incidents/components/incidents/_filters.scss +12 -0
- package/scss/specifics/incidents/components/incidents/_index.scss +4 -0
- package/scss/specifics/incidents/components/incidents/_lightbox.scss +179 -0
- package/scss/specifics/incidents/components/incidents/_sniplets.scss +30 -0
- package/scss/specifics/incidents/components/punishments/_board.scss +23 -0
- package/scss/specifics/incidents/components/punishments/_index.scss +4 -0
- package/scss/specifics/incidents/components/punishments/_punishment-form.scss +87 -0
- package/scss/specifics/incidents/components/punishments/_type.scss +14 -0
- package/scss/specifics/incidents/components/punishments/form/_index.scss +3 -0
- package/scss/specifics/incidents/components/punishments/form/_punishment-detention-form.scss +38 -0
- package/scss/specifics/incidents/components/punishments/form/_punishment-duty-form.scss +14 -0
- package/scss/specifics/incidents/components/punishments/form/_punishment-exclude-form.scss +55 -0
- package/scss/specifics/incidents/memento/_incidents.scss +77 -0
- package/scss/specifics/massmailing/_massmailing.scss +105 -0
- package/scss/specifics/massmailing/_variables.scss +34 -0
- package/scss/specifics/massmailing/components/_anomalies.scss +6 -0
- package/scss/specifics/massmailing/components/_card.scss +106 -0
- package/scss/specifics/massmailing/components/_index.scss +6 -0
- package/scss/specifics/massmailing/components/_prefetch.scss +65 -0
- package/scss/specifics/massmailing/components/_status.scss +48 -0
- package/scss/specifics/massmailing/components/history/_header.scss +11 -0
- package/scss/specifics/massmailing/components/history/_history-lightbox.scss +15 -0
- package/scss/specifics/massmailing/components/history/_history-list.scss +66 -0
- package/scss/specifics/massmailing/components/history/_index.scss +3 -0
- package/scss/specifics/massmailing/components/sniplets/_index.scss +1 -0
- package/scss/specifics/massmailing/components/sniplets/_massmailing-manage.scss +61 -0
- package/scss/specifics/presences/_presences.scss +399 -0
- package/scss/specifics/presences/components/_app-title.scss +20 -0
- package/scss/specifics/presences/components/_arrow-triangle.scss +19 -0
- package/scss/specifics/presences/components/_buttons.scss +14 -0
- package/scss/specifics/presences/components/_card-slider.scss +149 -0
- package/scss/specifics/presences/components/_chips.scss +13 -0
- package/scss/specifics/presences/components/_editor.scss +7 -0
- package/scss/specifics/presences/components/_empty-content.scss +41 -0
- package/scss/specifics/presences/components/_events-card.scss +192 -0
- package/scss/specifics/presences/components/_events-legend.scss +105 -0
- package/scss/specifics/presences/components/_events-table.scss +98 -0
- package/scss/specifics/presences/components/_icons.scss +326 -0
- package/scss/specifics/presences/components/_index.scss +25 -0
- package/scss/specifics/presences/components/_lightbox.scss +26 -0
- package/scss/specifics/presences/components/_loader.scss +55 -0
- package/scss/specifics/presences/components/_navbar.scss +161 -0
- package/scss/specifics/presences/components/_panel.scss +143 -0
- package/scss/specifics/presences/components/_picker.scss +83 -0
- package/scss/specifics/presences/components/_side-widget.scss +86 -0
- package/scss/specifics/presences/components/_statements-absence-form.scss +162 -0
- package/scss/specifics/presences/components/_table.scss +74 -0
- package/scss/specifics/presences/components/_user-card.scss +106 -0
- package/scss/specifics/presences/components/containers/_calendar.scss +612 -0
- package/scss/specifics/presences/components/containers/_exemptions.scss +80 -0
- package/scss/specifics/presences/components/containers/_index.scss +8 -0
- package/scss/specifics/presences/components/containers/_register.scss +349 -0
- package/scss/specifics/presences/components/containers/collective-absences/_content.scss +12 -0
- package/scss/specifics/presences/components/containers/collective-absences/_index.scss +1 -0
- package/scss/specifics/presences/components/containers/dashboard/_dashboard-student.scss +32 -0
- package/scss/specifics/presences/components/containers/dashboard/_dashboard.scss +134 -0
- package/scss/specifics/presences/components/containers/dashboard/_index.scss +2 -0
- package/scss/specifics/presences/components/containers/events/_action-lightbox.scss +67 -0
- package/scss/specifics/presences/components/containers/events/_bar-history.scss +94 -0
- package/scss/specifics/presences/components/containers/events/_content.scss +26 -0
- package/scss/specifics/presences/components/containers/events/_event-form-sniplet-lightbox.scss +110 -0
- package/scss/specifics/presences/components/containers/events/_filter-lightbox.scss +8 -0
- package/scss/specifics/presences/components/containers/events/_index.scss +7 -0
- package/scss/specifics/presences/components/containers/events/_planned-absences.scss +29 -0
- package/scss/specifics/presences/components/containers/events/_table.scss +234 -0
- package/scss/specifics/presences/components/containers/registry/_event-card.scss +63 -0
- package/scss/specifics/presences/components/containers/registry/_header.scss +33 -0
- package/scss/specifics/presences/components/containers/registry/_index.scss +3 -0
- package/scss/specifics/presences/components/containers/registry/_table.scss +160 -0
- package/scss/specifics/presences/components/containers/statement-absence/_content.scss +56 -0
- package/scss/specifics/presences/components/containers/statement-absence/_index.scss +1 -0
- package/scss/specifics/presences/components/material/_index.scss +1 -0
- package/scss/specifics/presences/components/material/_radio.scss +59 -0
- package/scss/specifics/presences/components/sniplets/_collective-absence-form.scss +195 -0
- package/scss/specifics/presences/components/sniplets/_forgotten-notebook-form.scss +65 -0
- package/scss/specifics/presences/components/sniplets/_index.scss +10 -0
- package/scss/specifics/presences/components/sniplets/_presence-form.scss +167 -0
- package/scss/specifics/presences/components/sniplets/_presences-manage-absence.scss +291 -0
- package/scss/specifics/presences/components/sniplets/_presences-manage-action.scss +7 -0
- package/scss/specifics/presences/components/sniplets/_presences-manage-alert.scss +45 -0
- package/scss/specifics/presences/components/sniplets/_presences-manage-multiple-slots.scss +22 -0
- package/scss/specifics/presences/components/sniplets/_presences-manage-punishment.scss +17 -0
- package/scss/specifics/presences/components/sniplets/_presences-manage.scss +30 -0
- package/scss/specifics/presences/components/sniplets/_presences-statistics-manage.scss +11 -0
- package/scss/specifics/presences/components/widgets/_absences.scss +68 -0
- package/scss/specifics/presences/components/widgets/_alerts.scss +133 -0
- package/scss/specifics/presences/components/widgets/_forgotten_register.scss +60 -0
- package/scss/specifics/presences/components/widgets/_index.scss +7 -0
- package/scss/specifics/presences/components/widgets/_presences.scss +24 -0
- package/scss/specifics/presences/components/widgets/_register.scss +89 -0
- package/scss/specifics/presences/components/widgets/_remarks.scss +23 -0
- package/scss/specifics/presences/components/widgets/_statements.scss +81 -0
- package/scss/specifics/presences/generic/_async-autocomplete.scss +60 -0
- package/scss/specifics/presences/generic/_ellipsis.scss +23 -0
- package/scss/specifics/presences/generic/_flex.scss +92 -0
- package/scss/specifics/presences/generic/_index.scss +7 -0
- package/scss/specifics/presences/generic/_select-timeslots.scss +29 -0
- package/scss/specifics/presences/generic/_switch.scss +58 -0
- package/scss/specifics/presences/generic/_toasts.scss +102 -0
- package/scss/specifics/presences/generic/_tooltip.scss +36 -0
- package/scss/specifics/presences/memento/_absences.scss +83 -0
- package/scss/specifics/presences/memento/_index.scss +1 -0
- package/scss/specifics/presences-common/common.scss +16 -0
- package/scss/specifics/presences-common/components/_export-form.scss +5 -0
- package/scss/specifics/presences-common/components/_menu.scss +36 -0
- package/scss/specifics/presences-common/components/_pagination.scss +66 -0
- package/scss/specifics/presences-common/components/_presences-nav-bar.scss +33 -0
- package/scss/specifics/presences-common/components/_select-children.scss +7 -0
- package/scss/specifics/presences-common/components/_select.scss +3 -0
- package/scss/specifics/presences-common/components/index.scss +6 -0
- package/scss/specifics/statistics-presences/_statistics-presences.scss +18 -0
- package/scss/specifics/statistics-presences/components/_chart-statistics.scss +103 -0
- package/scss/specifics/statistics-presences/components/_display-statistics-mode.scss +19 -0
- package/scss/specifics/statistics-presences/components/_export-csv-lightbox.scss +19 -0
- package/scss/specifics/statistics-presences/components/_filters.scss +57 -0
- package/scss/specifics/statistics-presences/components/_index.scss +7 -0
- package/scss/specifics/statistics-presences/components/_monthly-table.scss +72 -0
- package/scss/specifics/statistics-presences/components/_tooltip.scss +36 -0
- package/scss/specifics/statistics-presences/components/containers/_calendar.scss +66 -0
- package/scss/specifics/statistics-presences/components/containers/_index.scss +1 -0
- package/scss/specifics/statistics-presences/indicators/_global.scss +63 -0
- package/scss/specifics/statistics-presences/indicators/_index.scss +1 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.register-widget {
|
|
2
|
+
margin: 16px;
|
|
3
|
+
|
|
4
|
+
.search-field {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
|
|
8
|
+
.search-input {
|
|
9
|
+
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.21);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
margin-bottom: 8px;
|
|
12
|
+
|
|
13
|
+
input {
|
|
14
|
+
color: $presences-black-light;
|
|
15
|
+
width: 100%;
|
|
16
|
+
background: transparent;
|
|
17
|
+
height: 25px;
|
|
18
|
+
padding-left: 5px;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
border: none;
|
|
21
|
+
border-bottom: 1px solid $presences-grey-incident;
|
|
22
|
+
|
|
23
|
+
&:focus {
|
|
24
|
+
outline: 0;
|
|
25
|
+
border-bottom: 2px solid $presences-main;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.search-input-ul {
|
|
31
|
+
padding: 0;
|
|
32
|
+
margin: 0;
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.students {
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
height: calc(100% - 130px);
|
|
40
|
+
overflow-x: hidden;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.student {
|
|
44
|
+
height: 38px;
|
|
45
|
+
background: $presences-grey-smoke;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
color: $presences-black;
|
|
49
|
+
font-size: 15px;
|
|
50
|
+
margin: 4px 0;
|
|
51
|
+
padding-left: 8px;
|
|
52
|
+
line-height: 16px;
|
|
53
|
+
|
|
54
|
+
&-info {
|
|
55
|
+
flex: 0.7;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-state {
|
|
59
|
+
flex: 0.3;
|
|
60
|
+
display: flex;
|
|
61
|
+
height: 100%;
|
|
62
|
+
align-items: center;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
justify-content: space-around;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-submit {
|
|
68
|
+
position: sticky;
|
|
69
|
+
bottom: 100px;
|
|
70
|
+
left: 50%;
|
|
71
|
+
transform: translate(-50%);
|
|
72
|
+
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.21);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.empty-state {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
text-align: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
height: inherit;
|
|
83
|
+
|
|
84
|
+
.empty-title {
|
|
85
|
+
width: 70%;
|
|
86
|
+
margin: 24px 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.remarks-widgets {
|
|
2
|
+
.remark {
|
|
3
|
+
display: flex;
|
|
4
|
+
padding: 15px;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
height: 74px;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
|
|
10
|
+
> div {
|
|
11
|
+
color: $presences-grey;
|
|
12
|
+
font-size: 18px;
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
img {
|
|
20
|
+
height: 57px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.statements-widgets {
|
|
2
|
+
&-content {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-flow: row wrap;
|
|
5
|
+
justify-content: left;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* content each card css */
|
|
9
|
+
.statement {
|
|
10
|
+
display: flex;
|
|
11
|
+
height: 110px;
|
|
12
|
+
border-radius: 7px;
|
|
13
|
+
box-shadow: $box-shadow;
|
|
14
|
+
margin: 0 16px 16px 0;
|
|
15
|
+
width: 30%;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
background: $presences-main;
|
|
20
|
+
color: $presences-white;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-description {
|
|
24
|
+
padding: 8px 16px;
|
|
25
|
+
flex: 2;
|
|
26
|
+
|
|
27
|
+
&-title {
|
|
28
|
+
margin-bottom: 8px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* description */
|
|
32
|
+
&-inside {
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-date {
|
|
37
|
+
flex: 1;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
margin: 7px;
|
|
43
|
+
border-left: 1px solid $presences-grey-incident;
|
|
44
|
+
|
|
45
|
+
&.same {
|
|
46
|
+
justify-content: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&-time {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* empty state css */
|
|
57
|
+
.empty-state {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
width: 100%;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
|
|
64
|
+
&-title {
|
|
65
|
+
width: auto;
|
|
66
|
+
color: $presences-middle-grey;
|
|
67
|
+
font-size: 18px;
|
|
68
|
+
text-align: center;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.tick-color {
|
|
72
|
+
&:first-child {
|
|
73
|
+
margin-right: 50px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:last-child {
|
|
77
|
+
margin-left: 50px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.async-autocomplete {
|
|
2
|
+
.input-async-autocomplete {
|
|
3
|
+
input[type="text"]:focus {
|
|
4
|
+
border-bottom: 2px solid $presences-main !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&.loading {
|
|
8
|
+
@include fonticon();
|
|
9
|
+
|
|
10
|
+
&::after {
|
|
11
|
+
content: '\e85a';
|
|
12
|
+
position: absolute;
|
|
13
|
+
right: 10px;
|
|
14
|
+
color: $primary;
|
|
15
|
+
animation: spinner 1.25s linear infinite;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.scroll.drop-down {
|
|
21
|
+
overflow-y: scroll;
|
|
22
|
+
display: block;
|
|
23
|
+
|
|
24
|
+
li:hover {
|
|
25
|
+
background-color: $presences-main;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.drop-down.empty {
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.drop-down {
|
|
34
|
+
top: 80%;
|
|
35
|
+
max-height: 200px;
|
|
36
|
+
width: 100%;
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin keyframes($animationName) {
|
|
42
|
+
@-webkit-keyframes #{$animationName} {
|
|
43
|
+
@content;
|
|
44
|
+
}
|
|
45
|
+
@-moz-keyframes #{$animationName} {
|
|
46
|
+
@content;
|
|
47
|
+
}
|
|
48
|
+
@-o-keyframes #{$animationName} {
|
|
49
|
+
@content;
|
|
50
|
+
}
|
|
51
|
+
@keyframes #{$animationName} {
|
|
52
|
+
@content;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@include keyframes(spinner) {
|
|
57
|
+
to {
|
|
58
|
+
transform: rotate(360deg);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@mixin ellipsis-multiline($multiline) {
|
|
2
|
+
display: block;
|
|
3
|
+
display: -webkit-box;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
-webkit-line-clamp: $multiline;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
text-overflow: ellipsis;
|
|
8
|
+
/*! autoprefixer: off */
|
|
9
|
+
-webkit-box-orient: vertical;
|
|
10
|
+
/* autoprefixer: on */
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ellipsis {
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ellipsis-multiline {
|
|
20
|
+
&-three {
|
|
21
|
+
@include ellipsis-multiline(3);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.flex-row {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: row wrap;
|
|
4
|
+
width: 100%;
|
|
5
|
+
flex-grow: 1;
|
|
6
|
+
text-align: center;
|
|
7
|
+
min-height: 42px;
|
|
8
|
+
|
|
9
|
+
.flex-col {
|
|
10
|
+
display: flex;
|
|
11
|
+
padding-top: 5px;
|
|
12
|
+
padding-bottom: 5px;
|
|
13
|
+
justify-content: left;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@for $i from 1 through 16 {
|
|
18
|
+
&.row__#{$i} {
|
|
19
|
+
.flex-col {
|
|
20
|
+
@for $j from 1 through 16 {
|
|
21
|
+
&.col__#{$j} {
|
|
22
|
+
width: percentage($j / $i);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-content, .flex-collapse {
|
|
31
|
+
flex: 1;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.flex-collapse {
|
|
38
|
+
.flex-content {
|
|
39
|
+
visibility: hidden;
|
|
40
|
+
opacity: 0;
|
|
41
|
+
max-height: 0;
|
|
42
|
+
transition: visibility 0.25s, opacity 0.25s ease-out, max-height 0.2s;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.open-details {
|
|
46
|
+
.flex-content {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
visibility: visible;
|
|
49
|
+
max-height: 100%;
|
|
50
|
+
transition: visibility 0.25s, opacity 0.25s ease-in;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.flex-table {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-flow: row wrap;
|
|
58
|
+
width: 100%;
|
|
59
|
+
background-color: $presences-grey-smoke;
|
|
60
|
+
|
|
61
|
+
.flex-row {
|
|
62
|
+
.flex-col {
|
|
63
|
+
justify-content: center;
|
|
64
|
+
align-items: center;
|
|
65
|
+
text-align: start;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.flex-head {
|
|
70
|
+
display: flex;
|
|
71
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
|
|
72
|
+
color: rgba($presences-grey, 0.7);
|
|
73
|
+
align-items: center;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.flex-body {
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
display: flex;
|
|
80
|
+
width: 100%;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
|
|
83
|
+
.flex-row {
|
|
84
|
+
box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.08);
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
background-color: rgba($presences-grey, 0.2);
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@mixin select-timeslot($padding-value, $box-shadow-value) {
|
|
2
|
+
padding-top: 8px;
|
|
3
|
+
|
|
4
|
+
.timeslot-select {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
padding: $padding-value;
|
|
7
|
+
margin: 0 24px 8px 0;
|
|
8
|
+
text-align: center;
|
|
9
|
+
box-shadow: $box-shadow-value;
|
|
10
|
+
background: $presences-white;
|
|
11
|
+
border: none;
|
|
12
|
+
-webkit-appearance: none;
|
|
13
|
+
-moz-appearance: none;
|
|
14
|
+
|
|
15
|
+
.time-picker {
|
|
16
|
+
padding-left: 8px;
|
|
17
|
+
text-indent: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
select {
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
-moz-appearance: none;
|
|
23
|
+
border: none;
|
|
24
|
+
margin: 0;
|
|
25
|
+
min-width: 0;
|
|
26
|
+
padding: 0 8px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
switch {
|
|
2
|
+
.switch {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
|
|
5
|
+
.tick {
|
|
6
|
+
width: 40px;
|
|
7
|
+
height: 12px;
|
|
8
|
+
display: block;
|
|
9
|
+
border-radius: 10px;
|
|
10
|
+
background: $grey;
|
|
11
|
+
position: relative;
|
|
12
|
+
overflow: visible;
|
|
13
|
+
margin: 5px;
|
|
14
|
+
|
|
15
|
+
&:before {
|
|
16
|
+
content: ' ';
|
|
17
|
+
width: 20px;
|
|
18
|
+
height: 20px !important;
|
|
19
|
+
left: 0;
|
|
20
|
+
display: block;
|
|
21
|
+
background: $white;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: -4px;
|
|
25
|
+
box-shadow: 0 1px 1px $shadow;
|
|
26
|
+
margin-right: 0;
|
|
27
|
+
margin-top: 0 !important;
|
|
28
|
+
border: none !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
input[type=checkbox]:checked + .tick {
|
|
33
|
+
background: $primary-light;
|
|
34
|
+
|
|
35
|
+
&:before {
|
|
36
|
+
left: 20px;
|
|
37
|
+
background: $primary-dark;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
input[type=checkbox]:disabled + .tick {
|
|
42
|
+
background: $disabled-color;
|
|
43
|
+
|
|
44
|
+
&:before {
|
|
45
|
+
background: $disabled-color;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
input[type=checkbox]:disabled:checked + .tick {
|
|
50
|
+
background: $primary-lighter;
|
|
51
|
+
|
|
52
|
+
&:before {
|
|
53
|
+
background: $primary-lighter;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.toasts {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 74px;
|
|
4
|
+
right: 25px;
|
|
5
|
+
width: 350px;
|
|
6
|
+
z-index: 1000;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
|
|
9
|
+
.toast-content {
|
|
10
|
+
//@include material-card();
|
|
11
|
+
margin-bottom: 10px;
|
|
12
|
+
position: relative;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
margin-top: 40px;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
font-size: 16px !important;
|
|
17
|
+
border-left: none !important;
|
|
18
|
+
height: 0 !important;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
transition: all 0.25s ease;
|
|
21
|
+
|
|
22
|
+
.content {
|
|
23
|
+
padding: 15px 10px;
|
|
24
|
+
line-height: 28px;
|
|
25
|
+
|
|
26
|
+
&:before {
|
|
27
|
+
@include fonticon();
|
|
28
|
+
margin-right: 10px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.show {
|
|
33
|
+
margin-top: 10px !important;
|
|
34
|
+
opacity: 1;
|
|
35
|
+
height: auto !important;
|
|
36
|
+
overflow: auto !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.confirm {
|
|
40
|
+
color: darken($green, 35%);
|
|
41
|
+
background-color: lighten($green, 30%);
|
|
42
|
+
|
|
43
|
+
.content:before {
|
|
44
|
+
content: '\e871';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.timer {
|
|
48
|
+
background-color: darken($green, 15%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.info {
|
|
53
|
+
color: darken($cyan, 35%);
|
|
54
|
+
background-color: lighten($cyan, 30%);
|
|
55
|
+
|
|
56
|
+
.content:before {
|
|
57
|
+
content: '\e84b';
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.timer {
|
|
61
|
+
background-color: darken($cyan, 15%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.warning {
|
|
66
|
+
color: darken($warning-color, 35%);
|
|
67
|
+
background-color: lighten($warning-color, 30%);
|
|
68
|
+
|
|
69
|
+
.content:before {
|
|
70
|
+
content: '\e903';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.timer {
|
|
74
|
+
background-color: darken($warning-color, 15%);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.info, &.warning {
|
|
79
|
+
.content:before {
|
|
80
|
+
font-size: 20px !important;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.timer {
|
|
85
|
+
width: 100%;
|
|
86
|
+
position: absolute;
|
|
87
|
+
bottom: 0;
|
|
88
|
+
left: 0;
|
|
89
|
+
height: 4px;
|
|
90
|
+
border-bottom-left-radius: 2px;
|
|
91
|
+
border-bottom-right-radius: 2px;
|
|
92
|
+
transition-timing-function: linear;
|
|
93
|
+
transition-property: all;
|
|
94
|
+
transition-duration: 3s;
|
|
95
|
+
|
|
96
|
+
&.animation {
|
|
97
|
+
width: 0;
|
|
98
|
+
border-bottom-right-radius: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@mixin tooltipTemplate() {
|
|
2
|
+
font-family: Roboto;
|
|
3
|
+
visibility: hidden;
|
|
4
|
+
width: 180px;
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26);
|
|
7
|
+
position: absolute;
|
|
8
|
+
background-color: $presences-white;
|
|
9
|
+
color: $presences-black;
|
|
10
|
+
padding: 10px;
|
|
11
|
+
border-radius: 5px;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin tooltipVisible() {
|
|
17
|
+
visibility: visible;
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transition: opacity .6s;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin tooltipBottomArrow() {
|
|
23
|
+
content: ' ';
|
|
24
|
+
position: absolute;
|
|
25
|
+
border-left: 5px solid transparent;
|
|
26
|
+
border-right: 5px solid transparent;
|
|
27
|
+
border-top: 10px solid $presences-white;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin tooltipTopArrow() {
|
|
31
|
+
content: ' ';
|
|
32
|
+
position: absolute;
|
|
33
|
+
border-left: 5px solid transparent;
|
|
34
|
+
border-right: 5px solid transparent;
|
|
35
|
+
border-bottom: 10px solid $presences-white;
|
|
36
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
#memento-absence-sniplet {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
.disabled {
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
14
|
+
z-index: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.content {
|
|
18
|
+
display: flex;
|
|
19
|
+
|
|
20
|
+
.absence-rate {
|
|
21
|
+
font-size: 15px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
> div {
|
|
25
|
+
flex: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.summary {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
|
|
32
|
+
> div {
|
|
33
|
+
flex: 1;
|
|
34
|
+
max-width: 24%;
|
|
35
|
+
height: 96px;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
border-radius: 7px;
|
|
40
|
+
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.21);
|
|
41
|
+
position: relative;
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
|
|
44
|
+
&:after {
|
|
45
|
+
content: ' ';
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 10px;
|
|
48
|
+
position: absolute;
|
|
49
|
+
border-bottom-left-radius: 7px;
|
|
50
|
+
border-bottom-right-radius: 7px;
|
|
51
|
+
display: block;
|
|
52
|
+
bottom: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.UNJUSTIFIED:after {
|
|
56
|
+
background-color: $presences-red;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.JUSTIFIED:after {
|
|
60
|
+
background-color: $presences-pink;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.REGULARIZED:after {
|
|
64
|
+
background-color: $presences-green;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.LATENESS:after {
|
|
68
|
+
background-color: $presences-purple;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.DEPARTURE:after {
|
|
72
|
+
background-color: $presences-light-purple;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.number {
|
|
76
|
+
font-size: 40px;
|
|
77
|
+
margin-bottom: 5px;
|
|
78
|
+
font-weight: bold;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "absences";
|