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.
Files changed (139) hide show
  1. package/assets/fonts/generic-icons/generic-icons.svg +2 -0
  2. package/assets/fonts/generic-icons/generic-icons.ttf +0 -0
  3. package/assets/fonts/generic-icons/generic-icons.woff +0 -0
  4. package/dist/fonts/generic-icons/generic-icons.svg +2 -0
  5. package/dist/fonts/generic-icons/generic-icons.ttf +0 -0
  6. package/dist/fonts/generic-icons/generic-icons.woff +0 -0
  7. package/dist/index.css +1 -1
  8. package/dist/index.css.map +1 -1
  9. package/dist/version.txt +1 -1
  10. package/package.json +1 -1
  11. package/scss/specifics/_.scss +4 -0
  12. package/scss/specifics/incidents/_incidents.scss +30 -0
  13. package/scss/specifics/incidents/components/_arrow-triangle.scss +19 -0
  14. package/scss/specifics/incidents/components/_index.scss +6 -0
  15. package/scss/specifics/incidents/components/_mixins.scss +56 -0
  16. package/scss/specifics/incidents/components/_seriousness.scss +116 -0
  17. package/scss/specifics/incidents/components/incidents/_content.scss +97 -0
  18. package/scss/specifics/incidents/components/incidents/_filters.scss +12 -0
  19. package/scss/specifics/incidents/components/incidents/_index.scss +4 -0
  20. package/scss/specifics/incidents/components/incidents/_lightbox.scss +179 -0
  21. package/scss/specifics/incidents/components/incidents/_sniplets.scss +30 -0
  22. package/scss/specifics/incidents/components/punishments/_board.scss +23 -0
  23. package/scss/specifics/incidents/components/punishments/_index.scss +4 -0
  24. package/scss/specifics/incidents/components/punishments/_punishment-form.scss +87 -0
  25. package/scss/specifics/incidents/components/punishments/_type.scss +14 -0
  26. package/scss/specifics/incidents/components/punishments/form/_index.scss +3 -0
  27. package/scss/specifics/incidents/components/punishments/form/_punishment-detention-form.scss +38 -0
  28. package/scss/specifics/incidents/components/punishments/form/_punishment-duty-form.scss +14 -0
  29. package/scss/specifics/incidents/components/punishments/form/_punishment-exclude-form.scss +55 -0
  30. package/scss/specifics/incidents/memento/_incidents.scss +77 -0
  31. package/scss/specifics/massmailing/_massmailing.scss +105 -0
  32. package/scss/specifics/massmailing/_variables.scss +34 -0
  33. package/scss/specifics/massmailing/components/_anomalies.scss +6 -0
  34. package/scss/specifics/massmailing/components/_card.scss +106 -0
  35. package/scss/specifics/massmailing/components/_index.scss +6 -0
  36. package/scss/specifics/massmailing/components/_prefetch.scss +65 -0
  37. package/scss/specifics/massmailing/components/_status.scss +48 -0
  38. package/scss/specifics/massmailing/components/history/_header.scss +11 -0
  39. package/scss/specifics/massmailing/components/history/_history-lightbox.scss +15 -0
  40. package/scss/specifics/massmailing/components/history/_history-list.scss +66 -0
  41. package/scss/specifics/massmailing/components/history/_index.scss +3 -0
  42. package/scss/specifics/massmailing/components/sniplets/_index.scss +1 -0
  43. package/scss/specifics/massmailing/components/sniplets/_massmailing-manage.scss +61 -0
  44. package/scss/specifics/presences/_presences.scss +399 -0
  45. package/scss/specifics/presences/components/_app-title.scss +20 -0
  46. package/scss/specifics/presences/components/_arrow-triangle.scss +19 -0
  47. package/scss/specifics/presences/components/_buttons.scss +14 -0
  48. package/scss/specifics/presences/components/_card-slider.scss +149 -0
  49. package/scss/specifics/presences/components/_chips.scss +13 -0
  50. package/scss/specifics/presences/components/_editor.scss +7 -0
  51. package/scss/specifics/presences/components/_empty-content.scss +41 -0
  52. package/scss/specifics/presences/components/_events-card.scss +192 -0
  53. package/scss/specifics/presences/components/_events-legend.scss +105 -0
  54. package/scss/specifics/presences/components/_events-table.scss +98 -0
  55. package/scss/specifics/presences/components/_icons.scss +326 -0
  56. package/scss/specifics/presences/components/_index.scss +25 -0
  57. package/scss/specifics/presences/components/_lightbox.scss +26 -0
  58. package/scss/specifics/presences/components/_loader.scss +55 -0
  59. package/scss/specifics/presences/components/_navbar.scss +161 -0
  60. package/scss/specifics/presences/components/_panel.scss +143 -0
  61. package/scss/specifics/presences/components/_picker.scss +83 -0
  62. package/scss/specifics/presences/components/_side-widget.scss +86 -0
  63. package/scss/specifics/presences/components/_statements-absence-form.scss +162 -0
  64. package/scss/specifics/presences/components/_table.scss +74 -0
  65. package/scss/specifics/presences/components/_user-card.scss +106 -0
  66. package/scss/specifics/presences/components/containers/_calendar.scss +612 -0
  67. package/scss/specifics/presences/components/containers/_exemptions.scss +80 -0
  68. package/scss/specifics/presences/components/containers/_index.scss +8 -0
  69. package/scss/specifics/presences/components/containers/_register.scss +349 -0
  70. package/scss/specifics/presences/components/containers/collective-absences/_content.scss +12 -0
  71. package/scss/specifics/presences/components/containers/collective-absences/_index.scss +1 -0
  72. package/scss/specifics/presences/components/containers/dashboard/_dashboard-student.scss +32 -0
  73. package/scss/specifics/presences/components/containers/dashboard/_dashboard.scss +134 -0
  74. package/scss/specifics/presences/components/containers/dashboard/_index.scss +2 -0
  75. package/scss/specifics/presences/components/containers/events/_action-lightbox.scss +67 -0
  76. package/scss/specifics/presences/components/containers/events/_bar-history.scss +94 -0
  77. package/scss/specifics/presences/components/containers/events/_content.scss +26 -0
  78. package/scss/specifics/presences/components/containers/events/_event-form-sniplet-lightbox.scss +110 -0
  79. package/scss/specifics/presences/components/containers/events/_filter-lightbox.scss +8 -0
  80. package/scss/specifics/presences/components/containers/events/_index.scss +7 -0
  81. package/scss/specifics/presences/components/containers/events/_planned-absences.scss +29 -0
  82. package/scss/specifics/presences/components/containers/events/_table.scss +234 -0
  83. package/scss/specifics/presences/components/containers/registry/_event-card.scss +63 -0
  84. package/scss/specifics/presences/components/containers/registry/_header.scss +33 -0
  85. package/scss/specifics/presences/components/containers/registry/_index.scss +3 -0
  86. package/scss/specifics/presences/components/containers/registry/_table.scss +160 -0
  87. package/scss/specifics/presences/components/containers/statement-absence/_content.scss +56 -0
  88. package/scss/specifics/presences/components/containers/statement-absence/_index.scss +1 -0
  89. package/scss/specifics/presences/components/material/_index.scss +1 -0
  90. package/scss/specifics/presences/components/material/_radio.scss +59 -0
  91. package/scss/specifics/presences/components/sniplets/_collective-absence-form.scss +195 -0
  92. package/scss/specifics/presences/components/sniplets/_forgotten-notebook-form.scss +65 -0
  93. package/scss/specifics/presences/components/sniplets/_index.scss +10 -0
  94. package/scss/specifics/presences/components/sniplets/_presence-form.scss +167 -0
  95. package/scss/specifics/presences/components/sniplets/_presences-manage-absence.scss +291 -0
  96. package/scss/specifics/presences/components/sniplets/_presences-manage-action.scss +7 -0
  97. package/scss/specifics/presences/components/sniplets/_presences-manage-alert.scss +45 -0
  98. package/scss/specifics/presences/components/sniplets/_presences-manage-multiple-slots.scss +22 -0
  99. package/scss/specifics/presences/components/sniplets/_presences-manage-punishment.scss +17 -0
  100. package/scss/specifics/presences/components/sniplets/_presences-manage.scss +30 -0
  101. package/scss/specifics/presences/components/sniplets/_presences-statistics-manage.scss +11 -0
  102. package/scss/specifics/presences/components/widgets/_absences.scss +68 -0
  103. package/scss/specifics/presences/components/widgets/_alerts.scss +133 -0
  104. package/scss/specifics/presences/components/widgets/_forgotten_register.scss +60 -0
  105. package/scss/specifics/presences/components/widgets/_index.scss +7 -0
  106. package/scss/specifics/presences/components/widgets/_presences.scss +24 -0
  107. package/scss/specifics/presences/components/widgets/_register.scss +89 -0
  108. package/scss/specifics/presences/components/widgets/_remarks.scss +23 -0
  109. package/scss/specifics/presences/components/widgets/_statements.scss +81 -0
  110. package/scss/specifics/presences/generic/_async-autocomplete.scss +60 -0
  111. package/scss/specifics/presences/generic/_ellipsis.scss +23 -0
  112. package/scss/specifics/presences/generic/_flex.scss +92 -0
  113. package/scss/specifics/presences/generic/_index.scss +7 -0
  114. package/scss/specifics/presences/generic/_select-timeslots.scss +29 -0
  115. package/scss/specifics/presences/generic/_switch.scss +58 -0
  116. package/scss/specifics/presences/generic/_toasts.scss +102 -0
  117. package/scss/specifics/presences/generic/_tooltip.scss +36 -0
  118. package/scss/specifics/presences/memento/_absences.scss +83 -0
  119. package/scss/specifics/presences/memento/_index.scss +1 -0
  120. package/scss/specifics/presences-common/common.scss +16 -0
  121. package/scss/specifics/presences-common/components/_export-form.scss +5 -0
  122. package/scss/specifics/presences-common/components/_menu.scss +36 -0
  123. package/scss/specifics/presences-common/components/_pagination.scss +66 -0
  124. package/scss/specifics/presences-common/components/_presences-nav-bar.scss +33 -0
  125. package/scss/specifics/presences-common/components/_select-children.scss +7 -0
  126. package/scss/specifics/presences-common/components/_select.scss +3 -0
  127. package/scss/specifics/presences-common/components/index.scss +6 -0
  128. package/scss/specifics/statistics-presences/_statistics-presences.scss +18 -0
  129. package/scss/specifics/statistics-presences/components/_chart-statistics.scss +103 -0
  130. package/scss/specifics/statistics-presences/components/_display-statistics-mode.scss +19 -0
  131. package/scss/specifics/statistics-presences/components/_export-csv-lightbox.scss +19 -0
  132. package/scss/specifics/statistics-presences/components/_filters.scss +57 -0
  133. package/scss/specifics/statistics-presences/components/_index.scss +7 -0
  134. package/scss/specifics/statistics-presences/components/_monthly-table.scss +72 -0
  135. package/scss/specifics/statistics-presences/components/_tooltip.scss +36 -0
  136. package/scss/specifics/statistics-presences/components/containers/_calendar.scss +66 -0
  137. package/scss/specifics/statistics-presences/components/containers/_index.scss +1 -0
  138. package/scss/specifics/statistics-presences/indicators/_global.scss +63 -0
  139. package/scss/specifics/statistics-presences/indicators/_index.scss +1 -0
@@ -0,0 +1,291 @@
1
+ &.sniplet-presence-form {
2
+ .sniplet-form {
3
+
4
+ /* title */
5
+ .sniplet-header {
6
+ display: flex;
7
+ align-items: center;
8
+ padding: 32px 16px;
9
+
10
+ &-icon {
11
+ font-size: 40px;
12
+ padding-right: 24px;
13
+
14
+ i::before {
15
+ color: $presences-black;
16
+ }
17
+ }
18
+
19
+ &-title {
20
+ color: $presences-black;
21
+ }
22
+ }
23
+
24
+ /* input */
25
+ .sniplet-input {
26
+ padding: 0 16px 24px 16px;
27
+ display: flex;
28
+ flex-direction: column;
29
+
30
+ &-alert-rule {
31
+ input[type=checkbox]:checked+span::before {
32
+ background-color: unset !important;
33
+ border-color: $presences-orange !important;
34
+ content: "" !important;
35
+ }
36
+ input[type=checkbox]+span::before {
37
+ border-color: $presences-orange !important;
38
+ background-color: $presences-orange !important;
39
+ transform: rotate(0deg);
40
+ content: "\e871";
41
+ }
42
+ }
43
+
44
+ &-title {
45
+ padding-bottom: 16px;
46
+
47
+ &-large {
48
+ font-size: 24px;
49
+ }
50
+ }
51
+
52
+ &-color {
53
+ display: flex;
54
+ flex-direction: row;
55
+ list-style-type: none;
56
+ padding: 0;
57
+ align-items: center;
58
+
59
+ li {
60
+ margin-right: 24px;
61
+ }
62
+
63
+ li.active {
64
+ border-color: $presences-black;
65
+ border-style: solid;
66
+ }
67
+ }
68
+
69
+ &-flex {
70
+ display: flex;
71
+ }
72
+ }
73
+
74
+ /* add / lists */
75
+ .sniplet-addList {
76
+ padding: 0 16px 32px 16px;
77
+ display: flex;
78
+ flex-direction: column;
79
+
80
+ button {
81
+ width: 97px;
82
+ margin-bottom: 24px;
83
+ background-color: $presences-orange;
84
+
85
+ &:disabled {
86
+ background: $disabled-color;
87
+ }
88
+ }
89
+
90
+ &-content {
91
+ &-list {
92
+ list-style-type: none;
93
+ padding: 0;
94
+ font-weight: bold;
95
+ display: flex;
96
+ flex-flow: wrap;
97
+
98
+ &-item {
99
+ list-style: none;
100
+ display: flex;
101
+ width: 50%;
102
+ line-height: 25px;
103
+ justify-content: space-between;
104
+
105
+ &-icon {
106
+
107
+ &-orange {
108
+ color: $presences-orange;
109
+ }
110
+
111
+ &-yellow {
112
+ color: $presences-main;
113
+ }
114
+ }
115
+
116
+ &-title {
117
+ align-self: center;
118
+ display: flex;
119
+
120
+ .presence-edit {
121
+ visibility: hidden;
122
+ opacity: 0;
123
+ transition: visibility 0.3s linear, opacity 0.3s linear;
124
+ }
125
+
126
+ &:hover .presence-edit {
127
+ visibility: visible;
128
+ opacity: 1;
129
+ }
130
+
131
+ &-color {
132
+ margin: 0 8px;
133
+ }
134
+
135
+ }
136
+
137
+ &-icons {
138
+ width: 100px;
139
+ }
140
+ }
141
+
142
+ &-punishment-item {
143
+ list-style: none;
144
+ display: flex;
145
+ width: 500px;
146
+ line-height: 25px;
147
+ justify-content: space-between;
148
+ }
149
+ }
150
+
151
+ &-punishment-list {
152
+ list-style-type: none;
153
+ padding: 0;
154
+ font-weight: bold;
155
+ }
156
+ }
157
+ }
158
+
159
+ .codeMassmailing {
160
+ position: relative;
161
+ display: inline-block;
162
+ }
163
+
164
+ .codeMassmailing .tooltiptext {
165
+ font-family: Roboto;
166
+ visibility: hidden;
167
+ min-width: 120px;
168
+ font-size: 12px;
169
+ box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26);
170
+ position: absolute;
171
+ background-color: $presences-white;
172
+ color: $presences-black;
173
+ padding: 5px;
174
+ text-align: center;
175
+ border-radius: 5px;
176
+ z-index: 1;
177
+ bottom: 140%;
178
+ left: -5%;
179
+ opacity: 0;
180
+ transition: opacity 0.3s;
181
+
182
+ &.tooltipDoubleLine {
183
+ bottom: 120% !important;
184
+ }
185
+ }
186
+
187
+ .codeMassmailing .tooltiptext::after {
188
+ content: "";
189
+ position: absolute;
190
+ top: 100%;
191
+ left: 50%;
192
+ margin-left: -5px;
193
+ border-left: 5px solid transparent;
194
+ border-right: 5px solid transparent;
195
+ border-top: 10px solid $presences-white;
196
+ }
197
+
198
+ .codeMassmailing:hover .tooltiptext {
199
+ visibility: visible;
200
+ opacity: 1;
201
+ }
202
+ }
203
+
204
+ .sniplet-form-lightbox {
205
+
206
+ .content {
207
+ padding: 0;
208
+ }
209
+
210
+ &-head {
211
+ background: $presences-blue !important;
212
+ margin-bottom: 8px;
213
+ }
214
+
215
+ &-body {
216
+ display: flex;
217
+ flex-direction: column;
218
+
219
+ &-warning {
220
+ color: $presences-red;
221
+ }
222
+
223
+ &-input {
224
+ margin: 16px 0;
225
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
226
+ }
227
+
228
+ &-color {
229
+ ul {
230
+ display: flex;
231
+ flex-direction: row;
232
+ list-style-type: none;
233
+ padding: 0;
234
+ }
235
+
236
+ li {
237
+ margin-right: 24px;
238
+ }
239
+
240
+ li.active {
241
+ border-color: $presences-black;
242
+ border-style: solid;
243
+ }
244
+ }
245
+
246
+ &-regularisable, &-compliance, &-alert-rule {
247
+ display: flex;
248
+ margin: 16px 0;
249
+ }
250
+ &-alert-rule {
251
+ input[type=checkbox]:checked+span::before {
252
+ background-color: unset !important;
253
+ border-color: $presences-orange !important;
254
+ content: "" !important;
255
+ }
256
+ input[type=checkbox]+span::before {
257
+ border-color: $presences-orange !important;
258
+ background-color: $presences-orange !important;
259
+ transform: rotate(0deg);
260
+ content: "\e871";
261
+ }
262
+ }
263
+ }
264
+ }
265
+
266
+ editor {
267
+ lightbox {
268
+ .flex-row {
269
+ text-align: unset;
270
+ width: 80%;
271
+ }
272
+
273
+ .content {
274
+ padding: 15px;
275
+ }
276
+
277
+ .close-lightbox {
278
+ color: unset;
279
+ }
280
+ }
281
+
282
+ .mathjax {
283
+ lightbox {
284
+ .close-lightbox {
285
+ display: none;
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ }
@@ -0,0 +1,7 @@
1
+ .sniplet-manage-action {
2
+ .sniplet-header-icon {
3
+ .add:before {
4
+ font-size: 40px;
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,45 @@
1
+ .flex-column {
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+
6
+ i {
7
+ &.minus-sign {
8
+ font-size: 30px;
9
+ }
10
+
11
+ &.plus-sign{
12
+ font-size: 30px;
13
+ }
14
+ }
15
+
16
+ .format-input {
17
+ width: 60px;
18
+ height: 30px;
19
+ text-align: center;
20
+ border-bottom: 1px solid $presences-grey-incident;
21
+ border-bottom-width: thin;
22
+ border-top: none;
23
+ border-right: none;
24
+ border-left: none;
25
+ }
26
+
27
+ .flex-center-input {
28
+ display: flex;
29
+ align-items: center;
30
+ }
31
+
32
+ .flex-center-text-input {
33
+ display: flex;
34
+ align-items: center;
35
+ }
36
+
37
+ input::-webkit-outer-spin-button,
38
+ input::-webkit-inner-spin-button {
39
+ -webkit-appearance: none;
40
+ margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
41
+ }
42
+
43
+ input[type=number] {
44
+ -moz-appearance:textfield; /* Firefox */
45
+ }
@@ -0,0 +1,22 @@
1
+ .sniplet-manage-multiple-slots {
2
+
3
+ .sniplet-input {
4
+ display: flex;
5
+ flex-direction: row !important;
6
+
7
+ switch {
8
+ margin-left: 16px;
9
+
10
+ .switch {
11
+
12
+ input[type=checkbox]:checked + .tick {
13
+ background: $presences-orange;
14
+ }
15
+ input[type=checkbox]:checked + .tick:before {
16
+ background: $presences-orange;
17
+ }
18
+ }
19
+ }
20
+
21
+ }
22
+ }
@@ -0,0 +1,17 @@
1
+ .sniplet-manage-punishment {
2
+ .sniplet-flex {
3
+ display: flex;
4
+ }
5
+
6
+ .sniplet-select-width {
7
+ width: 300px;
8
+ }
9
+
10
+ .sniplet-input-margin {
11
+ margin: 25px 0 30px;
12
+ }
13
+
14
+ .sniplet-punishment-margin-top-xlg {
15
+ margin-top: 50px;
16
+ }
17
+ }
@@ -0,0 +1,30 @@
1
+ &.presences-manage {
2
+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
3
+ padding: 5px;
4
+
5
+ .presence-navigation-item {
6
+ color: $presences-black;
7
+ flex-direction: column;
8
+
9
+ &:hover {
10
+ color: $presences-orange;
11
+ transition: color 250ms ease;
12
+ }
13
+
14
+ .flex-row {
15
+ justify-content: center;
16
+ align-content: center;
17
+ }
18
+
19
+ .presence-icon {
20
+ font-size: 30px;
21
+ min-height: 0;
22
+ justify-content: center;
23
+
24
+ .add:before {
25
+ font-size: 30px;
26
+ }
27
+ }
28
+ }
29
+
30
+ }
@@ -0,0 +1,11 @@
1
+ .sniplet-statistics {
2
+ .values-row {
3
+ .four {
4
+ flex: 0 0 20%;
5
+ }
6
+
7
+ .eight {
8
+ flex: 0 0 80%;
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,68 @@
1
+ .absences-widget {
2
+ .absence-widget-student-list {
3
+ height: 51px;
4
+ overflow-y: auto;
5
+ }
6
+
7
+ .widget-filters {
8
+ background: $presences-main;
9
+ color: $white;
10
+ padding: 0 15px 15px 15px;
11
+ text-transform: capitalize;
12
+ font-size: 14px;
13
+
14
+ .date-picker {
15
+ width: 85%;
16
+ box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
17
+ }
18
+ }
19
+
20
+ .search-field {
21
+ height: 90px;
22
+ }
23
+
24
+ .absence-list {
25
+ overflow-y: scroll;
26
+ height: calc(100% - 90px - 71px - 54px);
27
+ display: block;
28
+
29
+ &.empty {
30
+ display: flex;
31
+ flex-direction: column;
32
+ align-items: center;
33
+ justify-content: center;
34
+
35
+ .tick-color {
36
+ &:first-child {
37
+ margin-bottom: 50px;
38
+ }
39
+
40
+ &:last-child {
41
+ margin-top: 50px;
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ .event {
48
+ width: 100%;
49
+ display: flex;
50
+ flex-direction: column;
51
+ padding: 5px 10px;
52
+ box-sizing: border-box;
53
+
54
+ &:nth-child(odd) {
55
+ background: $presences-grey-light;
56
+ }
57
+
58
+ > div {
59
+ display: flex;
60
+ justify-content: space-between;
61
+ }
62
+
63
+ .regularized-absence {
64
+ display: inline-block;
65
+ }
66
+ }
67
+ }
68
+
@@ -0,0 +1,133 @@
1
+ $alert-height: 117px;
2
+
3
+ .widget-alerts {
4
+ .grid {
5
+ display: grid;
6
+ grid-template-columns: auto auto auto auto;
7
+ grid-column-gap: 25px;
8
+ grid-template-rows: $alert-height;
9
+ }
10
+
11
+ .widget-alert {
12
+ border-radius: 7px;
13
+ background-color: $white;
14
+ position: relative;
15
+ box-shadow: 0 5px 5px rgba(0, 0, 0, 0.21);
16
+ display: flex;
17
+ flex-direction: column;
18
+ justify-content: space-around;
19
+ align-items: center;
20
+
21
+ &:after {
22
+ content: ' ';
23
+ width: 100%;
24
+ height: 10px;
25
+ position: absolute;
26
+ border-bottom-left-radius: 7px;
27
+ border-bottom-right-radius: 7px;
28
+ display: block;
29
+ bottom: 0;
30
+ right: 0;
31
+ }
32
+
33
+ &.absences:after, &.UNJUSTIFIED:after, &.ABSENCE:after {
34
+ background-color: $presences-red;
35
+ }
36
+
37
+ &.JUSTIFIED:after {
38
+ background-color: $presences-pink;
39
+ }
40
+
41
+ &.lateness:after, &.LATENESS:after {
42
+ background-color: $presences-purple;
43
+ }
44
+
45
+ &.incidents:after, &.INCIDENT:after {
46
+ background-color: $presences-grey;
47
+ }
48
+
49
+ &.textbooks:after, &.FORGOTTEN_NOTEBOOK:after {
50
+ background-color: $presences-water-green;
51
+ }
52
+
53
+ &.bold {
54
+ font-weight: bold;
55
+ }
56
+
57
+ .value {
58
+ font-size: 50px;
59
+ font-weight: bold;
60
+ margin-top: 25px;
61
+ }
62
+
63
+ .subtitle {
64
+ font-size: 14px;
65
+ margin-bottom: 10px;
66
+ }
67
+ }
68
+
69
+
70
+ .grid-block {
71
+ display: block;
72
+ }
73
+
74
+ .flex {
75
+ display: flex;
76
+ }
77
+
78
+ .padding-10 {
79
+ padding: 10px;
80
+ }
81
+
82
+ .padding-13 {
83
+ padding: 13px;
84
+ }
85
+
86
+ .margin-top-5 {
87
+ margin-top: 5px;
88
+ }
89
+
90
+ .margin-right-5 {
91
+ margin-right: 5px;
92
+ }
93
+
94
+ .card-alert {
95
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
96
+ width: 245px;
97
+ height: 90px;
98
+ display: inline-table;
99
+ margin: 10px;
100
+
101
+ &:hover {
102
+ box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
103
+ }
104
+ }
105
+
106
+ .space-between {
107
+ justify-content: space-between;
108
+ }
109
+
110
+ .selected {
111
+ box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
112
+ &:after {
113
+ border-bottom-left-radius: 0;
114
+ border-bottom-right-radius: 0;
115
+ }
116
+ &.ABSENCE {
117
+ box-shadow: 0 0 0 5px $presences-red;
118
+ }
119
+
120
+ &.LATENESS {
121
+ box-shadow: 0 0 0 5px $presences-purple;
122
+ }
123
+
124
+ &.INCIDENT {
125
+ box-shadow: 0 0 0 5px $presences-grey;
126
+ }
127
+
128
+ &.FORGOTTEN_NOTEBOOK {
129
+ box-shadow: 0 0 0 5px $presences-water-green;
130
+ }
131
+ }
132
+
133
+ }
@@ -0,0 +1,60 @@
1
+ .forgotten-registers-widget {
2
+ &-tooltip {
3
+ display: flex;
4
+ align-items: center;
5
+ padding: 8px 0;
6
+
7
+ i {
8
+ position: relative;
9
+
10
+ &:hover .tooltip-top {
11
+ @include tooltipVisible();
12
+ }
13
+
14
+ .tooltip-top {
15
+ @include tooltipTemplate();
16
+ bottom: 30px;
17
+ margin-left: -43px;
18
+
19
+ &:after {
20
+ @include tooltipBottomArrow();
21
+ top: 100%;
22
+ left: 15%;
23
+ }
24
+ }
25
+ }
26
+
27
+ &-text {
28
+ padding: 0 8px;
29
+ }
30
+
31
+ .switch input[type=checkbox]:checked + .tick {
32
+ background: $presences-light-green;
33
+
34
+ &:before {
35
+ background: $presences-dark-green;
36
+ }
37
+ }
38
+ }
39
+ .card-slider.empty {
40
+ display: flex;
41
+ align-items: center;
42
+ flex-direction: row;
43
+ width: 100%;
44
+ justify-content: center;
45
+
46
+ .empty-title {
47
+ width: auto !important;
48
+ }
49
+
50
+ .tick-color {
51
+ &:first-child {
52
+ margin-right: 50px;
53
+ }
54
+
55
+ &:last-child {
56
+ margin-left: 50px;
57
+ }
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,7 @@
1
+ @import "alerts";
2
+ @import "statements";
3
+ @import "remarks";
4
+ @import "absences";
5
+ @import "register";
6
+ @import "presences";
7
+ @import "forgotten_register";
@@ -0,0 +1,24 @@
1
+ .presences-widget {
2
+ .presence {
3
+ display: flex;
4
+ font-size: 18px;
5
+ font-weight: bold;
6
+ justify-content: center;
7
+ align-items: center;
8
+ text-align: center;
9
+ color: $presences-grey;
10
+ }
11
+
12
+
13
+ .empty-state {
14
+ display: flex;
15
+ justify-content: center;
16
+ text-align: center;
17
+ align-items: center;
18
+
19
+ .empty-title {
20
+ width: auto;
21
+ margin: 0 50px;
22
+ }
23
+ }
24
+ }