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,162 @@
1
+ .statements-absence-form {
2
+ // margin space handling
3
+ margin: -18px -35px 0 0;
4
+ @include mobile {
5
+ margin: -8px -15px;
6
+ }
7
+
8
+ background: $presences-white;
9
+ box-shadow: 0 5px 5px rgba(0, 0, 0, 0.21);
10
+
11
+ &-title {
12
+ display: flex;
13
+ background: $presences-main;
14
+ color: $presences-white;
15
+ padding: 16px;
16
+ justify-content: space-between;
17
+
18
+ &-content {
19
+ display: flex;
20
+ flex-direction: column;
21
+
22
+ &-name {
23
+ font-size: 24px;
24
+ margin-bottom: 8px;
25
+ }
26
+ }
27
+
28
+ img {
29
+ border-radius: 50%;
30
+ }
31
+ }
32
+
33
+ &-content {
34
+ padding: 8px 16px;
35
+
36
+ &-title {
37
+ color: $presences-black;
38
+ }
39
+
40
+ &-date {
41
+ display: flex;
42
+ flex-direction: column;
43
+ justify-content: space-between
44
+ }
45
+
46
+ &-time {
47
+ display: flex;
48
+ justify-content: space-between;
49
+
50
+ &-start, &-end {
51
+ display: flex;
52
+ flex-direction: column;
53
+
54
+ time-picker {
55
+ input {
56
+ width: 62%;
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ &-description {
63
+ display: flex;
64
+ flex-direction: column;
65
+
66
+ input {
67
+ border: none;
68
+ background: none;
69
+ border-bottom: 1px dotted $presences-grey-heavy-light;
70
+ margin: 16px 0;
71
+
72
+ &:focus {
73
+ outline: none;
74
+ }
75
+ }
76
+
77
+ &-upload {
78
+ margin: 16px 0;
79
+ font-size: 1.25rem;
80
+ position: relative;
81
+ padding: 100px 20px;
82
+
83
+ outline: 2px dashed $presences-transparent-white;
84
+
85
+ &-box {
86
+ text-align: center;
87
+
88
+ input {
89
+ display: none;
90
+ }
91
+
92
+ label {
93
+ color: $presences-transparent-white;
94
+ cursor: pointer;
95
+ }
96
+ }
97
+ }
98
+ }
99
+
100
+ &-valid {
101
+ display: flex;
102
+ justify-content: flex-end;
103
+ }
104
+ }
105
+
106
+ .statements-history {
107
+
108
+ &-title {
109
+ color: $presences-black;
110
+ padding: 16px;
111
+ }
112
+
113
+ &-list {
114
+ max-height: 650px;
115
+ overflow-y: auto;
116
+ overflow-x: hidden;
117
+
118
+ &-item {
119
+ &:nth-child(odd) {
120
+ background: $presences-grey-light;
121
+ }
122
+ &-content {
123
+ padding: 16px;
124
+ &-student {
125
+ &-audience {
126
+ font-size: 12px;
127
+ }
128
+ }
129
+
130
+ &-infos {
131
+ display: flex;
132
+
133
+ &-absence {
134
+ width: 100%;
135
+
136
+ &-line {
137
+ display: flex;
138
+ font-size: 12px;
139
+ &-title {
140
+ width: 24%;
141
+ font-weight: bold;
142
+ }
143
+ }
144
+ }
145
+
146
+ &-download {
147
+ display: flex;
148
+ height: fit-content;
149
+ i {
150
+ transform: rotate(-90deg);
151
+ &:before {
152
+ font-size: 32px;
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+ }
161
+ }
162
+ }
@@ -0,0 +1,74 @@
1
+ table, .table {
2
+ width: 100%;
3
+ font-size: 15px;
4
+ text-align: left;
5
+ background-color: $white;
6
+
7
+ .text-center {
8
+ text-align: center;
9
+ }
10
+
11
+ .padding-sm {
12
+ padding: 5px;
13
+ }
14
+
15
+ .tr {
16
+ display: flex;
17
+ flex-direction: row;
18
+ justify-content: space-evenly;
19
+ align-items: center;
20
+ }
21
+
22
+ .td, .th {
23
+ padding: 10px;
24
+ width: 100%;
25
+ height: 100%;
26
+ flex: 1;
27
+ }
28
+
29
+ .tbody .tr {
30
+ border-bottom: solid 1px $presences-grey-incident;
31
+ }
32
+
33
+ thead tr, .thead .tr {
34
+ background: $presences-white;
35
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
36
+
37
+ th, .th {
38
+ color: $presences-grey;
39
+ text-align: center;
40
+ font-weight: normal;
41
+ font-size: 17px;
42
+ }
43
+ }
44
+
45
+ tbody tr, .body .tr {
46
+ &:first-child {
47
+ border-top: none;
48
+ }
49
+
50
+ th {
51
+ padding: 5px 20px;
52
+ font-weight: normal;
53
+ font-size: 15px;
54
+
55
+ &.uppercase {
56
+ text-transform: uppercase;
57
+ }
58
+
59
+ &.highlight {
60
+ color: $presences-white;;
61
+ background: $presences-main;
62
+ }
63
+
64
+ &.playdown {
65
+ padding: 5px 10px;
66
+ font-size: 12px;
67
+ }
68
+
69
+ span.right {
70
+ float: right;
71
+ }
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,106 @@
1
+ $avatar-size: 50px;
2
+
3
+ @keyframes slideIn {
4
+ 0% {
5
+ transform: translateY(1rem);
6
+ opacity: 0;
7
+ }
8
+ 100% {
9
+ transform: translateY(0rem);
10
+ opacity: 1;
11
+ }
12
+ 0% {
13
+ transform: translateY(1rem);
14
+ opacity: 0;
15
+ }
16
+ }
17
+
18
+ .user-cards {
19
+ position: fixed;
20
+ right: 0;
21
+ top: $portal-header-height;
22
+ z-index: 90001;
23
+
24
+ .users {
25
+ margin-top: 5px;
26
+ display: none;
27
+ opacity: 0;
28
+ animation-duration: 0.3s;
29
+ animation-fill-mode: both;
30
+
31
+ &.displayed {
32
+ display: block;
33
+ animation-name: slideIn;
34
+ }
35
+
36
+ .user-card {
37
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
38
+ background-color: $presences-white !important;
39
+ border-bottom: solid 1px $presences-grey;
40
+
41
+ h2 {
42
+ color: $presences-black !important;
43
+ }
44
+
45
+ &:first-child {
46
+ border-bottom: none;
47
+ }
48
+ }
49
+ }
50
+
51
+ .user-card {
52
+ background-color: $presences-main;
53
+ padding: 15px;
54
+ display: flex;
55
+ align-items: center;
56
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
57
+
58
+ .notify {
59
+ margin-left: 15px;
60
+
61
+ .notify-bell {
62
+ font-size: 32px;
63
+ color: $presences-white;
64
+ }
65
+ }
66
+
67
+ .avatar {
68
+ width: $avatar-size;
69
+ height: $avatar-size;
70
+ background-size: 100%;
71
+ background-position: center center;
72
+ border-radius: 50%;
73
+ margin-right: 10px;
74
+ }
75
+
76
+ h2 {
77
+ color: $presences-white;
78
+ margin-bottom: 0;
79
+ margin-top: 0;
80
+ line-height: inherit;
81
+
82
+
83
+ i.arrow {
84
+ margin-left: 10px;
85
+
86
+ &:before {
87
+ font-size: 16px;
88
+ }
89
+ }
90
+ }
91
+
92
+ .functions {
93
+ color: $presences-white;
94
+
95
+ .function {
96
+ &::after {
97
+ content: ' / ';
98
+ }
99
+
100
+ &:last-child::after {
101
+ content: ''
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }