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,59 @@
1
+ $md-radio-checked-color: $presences-orange;
2
+ $md-radio-border-color: $presences-orange;
3
+ $md-radio-size: 20px;
4
+ $md-radio-checked-size: 10px;
5
+ $md-radio-ripple-size: 15px;
6
+
7
+
8
+ .md-radio {
9
+
10
+ &.md-radio-inline {
11
+ display: inline-block;
12
+ }
13
+
14
+ input[type="radio"] {
15
+ display: none;
16
+ &:checked + label:before {
17
+ border-color: $md-radio-checked-color;
18
+ }
19
+ &:checked + label:after {
20
+ transform: scale(1);
21
+ }
22
+ }
23
+
24
+ label {
25
+ display: inline-block;
26
+ height:$md-radio-size;
27
+ position: relative;
28
+ padding: 0 ($md-radio-size + 10px);
29
+ margin-bottom: 0;
30
+ cursor: pointer;
31
+ vertical-align: bottom;
32
+ &:before, &:after {
33
+ position: absolute;
34
+ content: '';
35
+ border-radius: 50%;
36
+ transition: all .3s ease;
37
+ }
38
+ &:before {
39
+ left: 0;
40
+ top: 0;
41
+ width: $md-radio-size;
42
+ height: $md-radio-size;
43
+ border: 2px solid $md-radio-border-color;
44
+ }
45
+ &:after {
46
+ top: $md-radio-size / 2 - $md-radio-checked-size / 2 - 0.2;
47
+ left: $md-radio-size / 2 - $md-radio-checked-size / 2 - 0.2;
48
+ width:$md-radio-checked-size;
49
+ height:$md-radio-checked-size;
50
+ transform: scale(0);
51
+ background:$md-radio-checked-color;
52
+ }
53
+ }
54
+
55
+ *, *:before, *:after {
56
+ box-sizing: border-box;
57
+ }
58
+ }
59
+
@@ -0,0 +1,195 @@
1
+ .collectiveAbsencesLightbox {
2
+
3
+ .content {
4
+
5
+ width: 750px;
6
+
7
+ .body {
8
+ h3 {
9
+ color: $presences-heavy-black;
10
+ }
11
+ }
12
+
13
+ .form-context {
14
+ background: $presences-grey-smoke;
15
+
16
+ .timeslots {
17
+ margin-bottom: 7px;
18
+
19
+ time-picker {
20
+ background-color: $presences-white;
21
+ display: inline-block;
22
+ }
23
+
24
+ select {
25
+ border: none;
26
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
27
+ }
28
+ }
29
+
30
+ .form-row-2 {
31
+
32
+ display: flex;
33
+ flex-direction: row;
34
+
35
+ &-col-1 {
36
+
37
+ padding-left: 0 !important;
38
+
39
+ .timeslot-choice {
40
+ margin-bottom: 16px;
41
+ }
42
+
43
+ .table-reason {
44
+ background: $presences-white;
45
+ margin-bottom: 16px;
46
+
47
+ select {
48
+ border: none;
49
+ height: 30px;
50
+ }
51
+ }
52
+
53
+ .regularisation-check {
54
+ margin-bottom: 16px;
55
+ }
56
+ }
57
+
58
+ &-col-2 {
59
+
60
+ display: flex;
61
+ flex-direction: column;
62
+ margin-top: 5px;
63
+
64
+ .comment-info {
65
+ margin-bottom: 12px;
66
+ }
67
+
68
+ .comment-input {
69
+ height: 40px;
70
+ background: $presences-white;
71
+ }
72
+ }
73
+ }
74
+ }
75
+
76
+ .form-absents {
77
+
78
+ min-height: 155px;
79
+
80
+ &-header {
81
+ display: flex;
82
+ flex-direction: row;
83
+
84
+ h3 {
85
+ margin-right: 30px;
86
+ }
87
+
88
+ }
89
+
90
+ .count-issues {
91
+ color: $presences-red;
92
+ float: right;
93
+ margin-bottom: 5px;
94
+ }
95
+
96
+ .list-audiences {
97
+ max-height: 185px;
98
+ overflow-y: auto;
99
+
100
+ &-item {
101
+
102
+
103
+ &-audience {
104
+
105
+ &-header {
106
+
107
+ .audience-collapse-icon {
108
+ font-size: 20pt;
109
+ }
110
+
111
+ .audience-name {
112
+ font-weight: bold;
113
+ text-align: center;
114
+ }
115
+
116
+ .audience-counts {
117
+ font-weight: bold;
118
+ }
119
+ }
120
+
121
+ &-student {
122
+ background-color: $presences-grey-smoke !important;
123
+ align-items: center;
124
+
125
+ .student-photo {
126
+ margin-right: 5px;
127
+ img {
128
+ border-radius: 50%;
129
+ }
130
+ }
131
+
132
+ .student-issue {
133
+ color: $presences-red;
134
+ }
135
+
136
+ .flex-col {
137
+ padding: 0;
138
+ }
139
+
140
+ }
141
+
142
+ .flex-row {
143
+ width: 98%;
144
+ height: 40px;
145
+ line-height: 40px;
146
+ padding: 0 5px;
147
+ background-color: $presences-white;
148
+ white-space: nowrap;
149
+ overflow: hidden;
150
+
151
+ > div {
152
+ display: inline-block;
153
+ }
154
+ }
155
+
156
+ .student-row {
157
+
158
+ &-active {
159
+ &:hover {
160
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
161
+ background-color: $presences-grey-clear;
162
+ font-weight: bold;
163
+ }
164
+ }
165
+
166
+ &-inactive {
167
+ background-color: $presences-grey-light !important;
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+ .nb-students {
175
+ float: right;
176
+ margin: 10px 15px 10px 0;
177
+ font-weight: bold;
178
+ }
179
+ }
180
+
181
+ .confirm-context {
182
+ padding: 40px 20px;
183
+
184
+ &-text {
185
+ .nb-absences {
186
+ font-weight: bold;
187
+ }
188
+
189
+ .nb-issues {
190
+ font-weight: bold;
191
+ }
192
+ }
193
+ }
194
+
195
+ }
@@ -0,0 +1,65 @@
1
+ .forgotten-notebook-form {
2
+ .content {
3
+ width: 600px;
4
+ }
5
+
6
+ &-body {
7
+ &.lightbox-form {
8
+ padding: 0 20px !important;
9
+
10
+ h3 {
11
+ color: $presences-black;
12
+ text-align: end;
13
+ font-weight: bold;
14
+ margin-bottom: 0;
15
+ }
16
+ }
17
+
18
+ &-dateTitle {
19
+ padding-bottom: 8px;
20
+ }
21
+
22
+ &-date {
23
+ padding-bottom: 8px;
24
+
25
+ .date-picker {
26
+ margin-left: 8px;
27
+ }
28
+ }
29
+
30
+ &-forgottenNotebook {
31
+ padding: 16px 0;
32
+
33
+ ul {
34
+ display: flex;
35
+ align-content: center;
36
+ justify-content: center;
37
+ align-items: center;
38
+ padding: 0;
39
+ }
40
+ }
41
+ }
42
+
43
+ &-footer {
44
+ padding: 0 20px 8px 18px;
45
+
46
+ button {
47
+ margin-right: 8px;
48
+ padding: 8px 12px;
49
+ }
50
+ }
51
+ }
52
+
53
+ .forgotten-notebook-node {
54
+ width: 28px;
55
+ height: 28px;
56
+ display: inline-block;
57
+ border-radius: 50%;
58
+ background: $presences-grey;
59
+ margin: 0 8px;
60
+
61
+ &.active {
62
+ background: $presences-water-green;
63
+ box-shadow: $box-shadow-2;
64
+ }
65
+ }
@@ -0,0 +1,10 @@
1
+ @import 'presences-manage';
2
+ @import 'presences-manage-absence';
3
+ @import 'forgotten-notebook-form';
4
+ @import 'presences-statistics-manage';
5
+ @import 'presences-manage-multiple-slots';
6
+ @import 'presences-manage-alert';
7
+ @import 'presences-manage-action';
8
+ @import 'presence-form';
9
+ @import 'presences-manage-punishment';
10
+ @import 'collective-absence-form';
@@ -0,0 +1,167 @@
1
+ .presenceLightbox {
2
+
3
+ /* Body part */
4
+ &-body {
5
+ padding: 1px 20px;
6
+ background: $presences-grey-smoke;
7
+
8
+ &-title {
9
+ color: $black;
10
+ }
11
+
12
+ &-info {
13
+ &-date {
14
+ display: flex;
15
+ align-items: center;
16
+ margin: 16px 0;
17
+
18
+ &-datepicker {
19
+ margin: 0 40px 0 8px;
20
+ }
21
+ }
22
+
23
+ &-choice {
24
+ margin-bottom: 16px;
25
+
26
+ .follow-checkbox {
27
+ margin-left: 16px;
28
+ }
29
+ }
30
+
31
+ &-time {
32
+ margin-left: 40px;
33
+
34
+ &-start {
35
+ margin-right: 16px;
36
+ }
37
+
38
+ &-end {
39
+ margin-left: 16px;
40
+ }
41
+ }
42
+
43
+ &-timeslot {
44
+ /* Select css */
45
+ @include select-timeslot(0, $box-shadow-1);
46
+
47
+ .select {
48
+ height: unset;
49
+ }
50
+ }
51
+
52
+ &-discipline {
53
+ display: flex;
54
+ align-items: center;
55
+
56
+ &-select {
57
+ width: 172px;
58
+ margin-right: 40px;
59
+
60
+ select {
61
+ margin: 16px 0;
62
+ border: unset !important;
63
+ }
64
+ }
65
+
66
+ &-owner {
67
+ display: flex;
68
+ flex-direction: column;
69
+
70
+ &-info {
71
+ margin: 24px 0;
72
+ font-weight: bolder;
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ /* Footer part */
80
+ &-footer {
81
+ padding: 8px 8px 0 8px;
82
+
83
+ &-body {
84
+ &-search {
85
+ display: flex;
86
+ align-items: center;
87
+
88
+ &-title {
89
+ color: $presences-black;
90
+ flex: 1;
91
+ }
92
+
93
+ &-global {
94
+ flex: 3;
95
+
96
+ input {
97
+ margin: auto;
98
+ }
99
+ }
100
+
101
+ &-space {
102
+ flex: 2;
103
+ visibility: collapse;
104
+ }
105
+ }
106
+
107
+ .list-students {
108
+ max-height: 252px;
109
+ overflow-y: auto;
110
+
111
+ /* Comment */
112
+
113
+ &-comment {
114
+ position: relative;
115
+
116
+ &-markedStudentComment {
117
+ background: none;
118
+ border: 0 solid rgba(170, 170, 170, 0.2);
119
+ box-sizing: unset;
120
+ padding: 0;
121
+ margin: 0;
122
+ height: auto;
123
+
124
+ &:focus {
125
+ outline: none;
126
+ }
127
+ }
128
+
129
+ &-icon {
130
+ position: absolute;
131
+ }
132
+ }
133
+ }
134
+ }
135
+
136
+ &-submit {
137
+ display: flex;
138
+ align-items: center;
139
+ flex-wrap: wrap;
140
+ justify-content: space-between;
141
+ padding-top: 16px;
142
+
143
+ &-right {
144
+ display: flex;
145
+ align-items: center;
146
+ justify-content: center;
147
+
148
+ &-students {
149
+ font-weight: bold;
150
+ padding-right: 16px;
151
+ }
152
+ }
153
+
154
+ &.create {
155
+ justify-content: flex-end;
156
+ }
157
+
158
+ .button {
159
+ padding: 8px;
160
+ }
161
+ }
162
+ }
163
+ }
164
+
165
+ .markedStudents-displayName {
166
+ justify-content: start !important;
167
+ }