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
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
entcore-css-lib=4.0.
|
|
1
|
+
entcore-css-lib=4.0.1 01/12/2022 16:05:16
|
package/package.json
CHANGED
package/scss/specifics/_.scss
CHANGED
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
@import "./forum/forum";
|
|
26
26
|
@import "./support/support";
|
|
27
27
|
@import "./scrap-book/scrap-book";
|
|
28
|
+
@import "./presences/presences";
|
|
29
|
+
@import "./incidents/incidents";
|
|
30
|
+
@import "./massmailing/massmailing";
|
|
31
|
+
@import "./statistics-presences/statistics-presences";
|
|
28
32
|
|
|
29
33
|
// TO DO: Remove these specifics rules for calendar (WB-870)
|
|
30
34
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
body.presences, .sniplet.presences {
|
|
2
|
+
@import "components/index";
|
|
3
|
+
@import "../presences-common/common";
|
|
4
|
+
|
|
5
|
+
.pagination {
|
|
6
|
+
float: right;
|
|
7
|
+
|
|
8
|
+
&.lightbox {
|
|
9
|
+
float: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.playdown {
|
|
14
|
+
font-size: 16px !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
i.seriousness:before {
|
|
18
|
+
content: '\e903';
|
|
19
|
+
font-size: 24px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
i.edit:before {
|
|
23
|
+
font-size: 24px;
|
|
24
|
+
color: $grey-light;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
section.lightbox {
|
|
28
|
+
overflow: unset;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.arrow-up {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
width: 0;
|
|
4
|
+
height: 0;
|
|
5
|
+
border-left: 6px solid transparent;
|
|
6
|
+
border-right: 6px solid transparent;
|
|
7
|
+
border-bottom: 10px solid #aaa;
|
|
8
|
+
margin-left: 5px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.arrow-down {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
width: 0;
|
|
14
|
+
height: 0;
|
|
15
|
+
border-left: 6px solid transparent;
|
|
16
|
+
border-right: 6px solid transparent;
|
|
17
|
+
border-top: 10px solid #aaa;
|
|
18
|
+
margin-left: 5px;
|
|
19
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* ----------------------------
|
|
2
|
+
Colors
|
|
3
|
+
---------------------------- */
|
|
4
|
+
$white: #fff;
|
|
5
|
+
$whitesmoke: #F5F5F5;
|
|
6
|
+
$incident-grey: #FBFBFB;
|
|
7
|
+
$incidents-grey-average: #aaaaaa;
|
|
8
|
+
$incident-light-grey: #f7f7f7;
|
|
9
|
+
$incident-select-color: #aaaaaa26;
|
|
10
|
+
$orange: #FF8500;
|
|
11
|
+
$grey-light: #7a7a7a;
|
|
12
|
+
$grey: #929292;
|
|
13
|
+
$purple: #9c29b7;
|
|
14
|
+
$green: #98dfd6;
|
|
15
|
+
$deep-green: #46bfaf;
|
|
16
|
+
$yellow-main: #ffb600;
|
|
17
|
+
$yellow-sand: #d68227;
|
|
18
|
+
$incident-light-green: #98dfd6;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* ----------------------------
|
|
22
|
+
Seriousness type colors
|
|
23
|
+
---------------------------- */
|
|
24
|
+
|
|
25
|
+
$dark-red: #b70f0a;
|
|
26
|
+
$deep-red: #e61610;
|
|
27
|
+
$severe-red: #ff3823;
|
|
28
|
+
$red: #fc2727;
|
|
29
|
+
$medium-red: #fc4f4f;
|
|
30
|
+
$light-red: #ff8a84;
|
|
31
|
+
|
|
32
|
+
$level-one: #ffdad8;
|
|
33
|
+
$level-two: #ffb4ad;
|
|
34
|
+
$level-three: #ff8a84;
|
|
35
|
+
$level-four: #ff5d55;
|
|
36
|
+
$level-five: #ff3823;
|
|
37
|
+
$level-six: #e61610;
|
|
38
|
+
$level-seven: #b70f0a;
|
|
39
|
+
$level-height: #840705;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/* ----------------------------
|
|
43
|
+
Spacing
|
|
44
|
+
---------------------------- */
|
|
45
|
+
$select-size: 172px;
|
|
46
|
+
$space-collapsible-protagonist: 78px;
|
|
47
|
+
$spacing-XXL: 68px;
|
|
48
|
+
$spacing-XML: 60px;
|
|
49
|
+
$spacing-XM: 48px;
|
|
50
|
+
$spacing-XL: 42px;
|
|
51
|
+
$spacing-L: 24px;
|
|
52
|
+
$spacing-M: 16px;
|
|
53
|
+
$spacing-S: 12px;
|
|
54
|
+
$spacing-XLXS: 10px;
|
|
55
|
+
$spacing-LXS: 8px;
|
|
56
|
+
$spacing-XXS: 4px;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
.seriousness {
|
|
2
|
+
&-0 {
|
|
3
|
+
color: $white;
|
|
4
|
+
background: $level-one;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&-1 {
|
|
8
|
+
color: $white;
|
|
9
|
+
background: $level-two;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-2 {
|
|
13
|
+
color: $white;
|
|
14
|
+
background: $level-three;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-3 {
|
|
18
|
+
color: $white;
|
|
19
|
+
background: $level-four;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-4 {
|
|
23
|
+
color: $white;
|
|
24
|
+
background: $level-five;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-5 {
|
|
28
|
+
color: $white;
|
|
29
|
+
background: $level-six;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-6 {
|
|
33
|
+
color: $white;
|
|
34
|
+
background: $level-seven;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&-7 {
|
|
38
|
+
color: $white;
|
|
39
|
+
background: $level-height;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.seriousness-form {
|
|
44
|
+
|
|
45
|
+
&-0 {
|
|
46
|
+
background-color: $level-one;
|
|
47
|
+
width: 24px;
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
height: 24px;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
border: solid 2px $level-one;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&-1 {
|
|
55
|
+
background-color: $level-two;
|
|
56
|
+
width: 24px;
|
|
57
|
+
border-radius: 50%;
|
|
58
|
+
height: 24px;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
border: solid 2px $level-two;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&-2 {
|
|
64
|
+
background-color: $level-three;
|
|
65
|
+
width: 24px;
|
|
66
|
+
border-radius: 50%;
|
|
67
|
+
height: 24px;
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
border: solid 2px $level-three;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&-3 {
|
|
73
|
+
background-color: $level-four;
|
|
74
|
+
width: 24px;
|
|
75
|
+
border-radius: 50%;
|
|
76
|
+
height: 24px;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
border: solid 2px $level-four;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&-4 {
|
|
82
|
+
background-color: $level-five;
|
|
83
|
+
width: 24px;
|
|
84
|
+
border-radius: 50%;
|
|
85
|
+
height: 24px;
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
border: solid 2px $level-five;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&-5 {
|
|
91
|
+
background-color: $level-six;
|
|
92
|
+
width: 24px;
|
|
93
|
+
border-radius: 50%;
|
|
94
|
+
height: 24px;
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
border: solid 2px $level-six;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-6 {
|
|
100
|
+
background-color: $level-seven;
|
|
101
|
+
width: 24px;
|
|
102
|
+
border-radius: 50%;
|
|
103
|
+
height: 24px;
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
border: solid 2px $level-seven;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-7 {
|
|
109
|
+
background-color: $level-height;
|
|
110
|
+
width: 24px;
|
|
111
|
+
border-radius: 50%;
|
|
112
|
+
height: 24px;
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
border: solid 2px $level-height;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* content */
|
|
2
|
+
.incident-content {
|
|
3
|
+
&-empty {
|
|
4
|
+
text-align: center;
|
|
5
|
+
|
|
6
|
+
&-description {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
padding-bottom: $spacing-L;
|
|
11
|
+
|
|
12
|
+
&-title {
|
|
13
|
+
color: $grey;
|
|
14
|
+
padding: 0 $spacing-S;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
img {
|
|
19
|
+
width: 32%;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-table {
|
|
24
|
+
&-body {
|
|
25
|
+
&-row {
|
|
26
|
+
display: none;
|
|
27
|
+
background: $incident-grey;
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
background: $incident-light-grey !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.open {
|
|
34
|
+
display: table-row;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&-collapsible {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-content: center;
|
|
40
|
+
|
|
41
|
+
&-edit {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
align-self: center;
|
|
44
|
+
text-align: center;
|
|
45
|
+
flex: 0.04;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-protagonist {
|
|
49
|
+
flex: 0.61;
|
|
50
|
+
padding-left: 0;
|
|
51
|
+
|
|
52
|
+
li {
|
|
53
|
+
list-style-type: none;
|
|
54
|
+
|
|
55
|
+
&:hover {
|
|
56
|
+
background: $incident-light-grey !important;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-description {
|
|
62
|
+
flex: 1;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-seriousness {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
|
|
71
|
+
&-label {
|
|
72
|
+
flex: 0.9;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-treated {
|
|
77
|
+
switch {
|
|
78
|
+
.switch {
|
|
79
|
+
float: none;
|
|
80
|
+
|
|
81
|
+
input[type=checkbox]:checked + .tick {
|
|
82
|
+
background: $green;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
input[type=checkbox]:checked + .tick:before {
|
|
86
|
+
background: $deep-green;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&-bold {
|
|
95
|
+
font-weight: bold;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/* lightbox */
|
|
2
|
+
.incident-lightbox {
|
|
3
|
+
&.editMode {
|
|
4
|
+
.content {
|
|
5
|
+
width: 740px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// body part
|
|
10
|
+
&-body {
|
|
11
|
+
background: $whitesmoke;
|
|
12
|
+
|
|
13
|
+
&-title {
|
|
14
|
+
color: $black;
|
|
15
|
+
margin-top: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-dateAndPlace {
|
|
19
|
+
display: flex;
|
|
20
|
+
|
|
21
|
+
&.row:after {
|
|
22
|
+
width: unset;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-date {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
flex: 0.6;
|
|
29
|
+
|
|
30
|
+
&-content {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
|
|
34
|
+
&-timePicker {
|
|
35
|
+
background-color: $white;
|
|
36
|
+
display: inline-block;
|
|
37
|
+
|
|
38
|
+
input {
|
|
39
|
+
font-family: Roboto;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-place {
|
|
46
|
+
padding-left: $spacing-L;
|
|
47
|
+
flex: 1;
|
|
48
|
+
align-self: flex-end;
|
|
49
|
+
|
|
50
|
+
select {
|
|
51
|
+
margin-top: $spacing-XLXS;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
&-parameter {
|
|
58
|
+
display: flex;
|
|
59
|
+
|
|
60
|
+
&.row:after {
|
|
61
|
+
width: unset;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
select {
|
|
65
|
+
margin-top: $spacing-XLXS;
|
|
66
|
+
width: $select-size;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&-responsible {
|
|
71
|
+
label {
|
|
72
|
+
overflow: inherit;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-descriptionTreated {
|
|
77
|
+
&-content {
|
|
78
|
+
margin-top: $spacing-XLXS;
|
|
79
|
+
display: flex;
|
|
80
|
+
|
|
81
|
+
&.row:after {
|
|
82
|
+
width: unset;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-description {
|
|
86
|
+
background: $white;
|
|
87
|
+
flex: 5;
|
|
88
|
+
|
|
89
|
+
textarea {
|
|
90
|
+
height: 50px;
|
|
91
|
+
resize: none;
|
|
92
|
+
border: none;
|
|
93
|
+
font-family: Roboto;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&-treated {
|
|
98
|
+
align-self: flex-end;
|
|
99
|
+
flex: 2;
|
|
100
|
+
|
|
101
|
+
switch {
|
|
102
|
+
.switch {
|
|
103
|
+
float: none;
|
|
104
|
+
|
|
105
|
+
input[type=checkbox]:checked + .tick {
|
|
106
|
+
background: $green;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
input[type=checkbox]:checked + .tick:before {
|
|
110
|
+
background: $deep-green;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// footer part
|
|
120
|
+
&-footer {
|
|
121
|
+
&-protagonist {
|
|
122
|
+
&-search {
|
|
123
|
+
align-items: center;
|
|
124
|
+
display: flex;
|
|
125
|
+
padding-bottom: $spacing-LXS;
|
|
126
|
+
|
|
127
|
+
&-title {
|
|
128
|
+
color: $black;
|
|
129
|
+
flex: 2;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&-input {
|
|
133
|
+
flex: 3;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&-space {
|
|
137
|
+
flex: 2;
|
|
138
|
+
visibility: collapse;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&-list {
|
|
143
|
+
&.search-input-ul {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
max-height: 140px;
|
|
147
|
+
overflow-y: auto;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&-item {
|
|
151
|
+
display: block !important;
|
|
152
|
+
|
|
153
|
+
&-content {
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: baseline;
|
|
156
|
+
padding-bottom: $spacing-LXS;
|
|
157
|
+
|
|
158
|
+
select {
|
|
159
|
+
width: $select-size;
|
|
160
|
+
margin: 0 $spacing-L;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
i {
|
|
164
|
+
float: right;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&-submit {
|
|
172
|
+
padding-right: $spacing-S;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.lightbox-form .row.spacing .cell.twelve {
|
|
178
|
+
padding: 5px 10px !important;
|
|
179
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
&.incidents {
|
|
2
|
+
.incident-sniplet {
|
|
3
|
+
&-form {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
button {
|
|
7
|
+
background-color: $orange;
|
|
8
|
+
margin: 0 ($spacing-M + $spacing-M);
|
|
9
|
+
&:disabled{
|
|
10
|
+
background: $disabled-color;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-alert {
|
|
15
|
+
flex-direction: row !important;
|
|
16
|
+
input[type=checkbox]:checked+span::before {
|
|
17
|
+
background-color: unset !important;
|
|
18
|
+
border-color: $orange !important;
|
|
19
|
+
content: "" !important;
|
|
20
|
+
}
|
|
21
|
+
input[type=checkbox]+span::before {
|
|
22
|
+
border-color: $orange !important;
|
|
23
|
+
background-color: $orange !important;
|
|
24
|
+
transform: rotate(0deg);
|
|
25
|
+
content: "\e871";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.punishment-board {
|
|
2
|
+
background: $whitesmoke;
|
|
3
|
+
|
|
4
|
+
&-title {
|
|
5
|
+
background: $white;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.student {
|
|
9
|
+
justify-content: flex-start !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
switch {
|
|
13
|
+
.switch {
|
|
14
|
+
input[type=checkbox]:checked + .tick {
|
|
15
|
+
background: $green;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
input[type=checkbox]:checked + .tick:before {
|
|
19
|
+
background: $deep-green;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.punishment-form-lightbox {
|
|
2
|
+
/* Body part */
|
|
3
|
+
&-body {
|
|
4
|
+
padding: $spacing-M;
|
|
5
|
+
background: $incident-light-grey;
|
|
6
|
+
|
|
7
|
+
&-student {
|
|
8
|
+
font-size: $spacing-M;
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-type {
|
|
13
|
+
display: flex;
|
|
14
|
+
padding-top: $spacing-S;
|
|
15
|
+
|
|
16
|
+
&-select {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-form {
|
|
23
|
+
padding: $spacing-M 0;
|
|
24
|
+
|
|
25
|
+
&-custom-fields {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
|
|
29
|
+
label {
|
|
30
|
+
overflow: inherit;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Footer part */
|
|
37
|
+
&-footer {
|
|
38
|
+
padding: $spacing-LXS $spacing-LXS 0 $spacing-LXS;
|
|
39
|
+
|
|
40
|
+
&-body {
|
|
41
|
+
margin: $spacing-M $spacing-M 0 $spacing-LXS;
|
|
42
|
+
|
|
43
|
+
&-search {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
|
|
47
|
+
&-title {
|
|
48
|
+
margin-top: 0;
|
|
49
|
+
color: $black;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&-submit {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
flex-wrap: wrap;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
padding-top: $spacing-M;
|
|
60
|
+
|
|
61
|
+
&-right {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.create {
|
|
68
|
+
justify-content: flex-end;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.button {
|
|
72
|
+
padding: $spacing-LXS;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
textarea {
|
|
78
|
+
border: none;
|
|
79
|
+
border-bottom: 1px dotted $grey-light;
|
|
80
|
+
padding: 0;
|
|
81
|
+
height: $spacing-L;
|
|
82
|
+
|
|
83
|
+
&:focus {
|
|
84
|
+
border: none;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|