ode-csslib 4.2.7-develop-mozo.202409182251 → 4.2.7-develop-mozo.202410081624

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/dist/version.txt CHANGED
@@ -1 +1 @@
1
- entcore-css-lib 18/09/2024 22:51:14
1
+ entcore-css-lib 08/10/2024 16:24:47
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-csslib",
3
- "version": "4.2.7-develop-mozo.202409182251",
3
+ "version": "4.2.7-develop-mozo.202410081624",
4
4
  "description": "Edifice Legacy CSS framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -6,7 +6,7 @@
6
6
  left: 4px;
7
7
  bottom: 4px;
8
8
 
9
- padding: calc(36px - 12px) 24px 24px;
9
+ padding: 36px 24px 24px;
10
10
  color: #4A4A4A;
11
11
  margin: 32px 4px 36px 0;
12
12
 
@@ -63,9 +63,6 @@
63
63
  div.flash-msg-collapsable {
64
64
  grid-area: 1 / 1 / 2 / 3;
65
65
  }
66
- div.flash-msg-collapsable > div {
67
- margin-top:12px;
68
- }
69
66
  div.flash-msg-collapsable.flash-msg-collapsable--collapsable.flash-msg-collapsable--collapsed > div {
70
67
  text-overflow: ellipsis;
71
68
  overflow: hidden;
@@ -137,13 +134,36 @@
137
134
  }
138
135
  }
139
136
 
140
- // Merge multiple <br> into one and delete the first empty line if present
141
- p,
142
- p>div {
143
- &>br:first-child,
144
- &>br:not(:not(br)+br) {
137
+ div[bind-html]>div {
138
+ &>br+br {
139
+ display: none;
140
+ }
141
+
142
+ &>p:empty,
143
+ &>p>br:first-child,
144
+ &>p>br:not(:not(br) + br),
145
+ &>p>div>br:first-child,
146
+ & div:last-child>br:last-child,
147
+ & div:has(+p:last-child:empty)>br:last-child,
148
+ &>p>div>br:not(:not(br) + br) {
145
149
  display: none;
146
150
  }
151
+
152
+ &>p {
153
+ margin-block-start: 1em;
154
+ }
155
+
156
+ &>p:not(:last-child):not(:has(+p:empty)) {
157
+ margin-block-end: 1em;
158
+ }
159
+
160
+ &::before {
161
+ content: '';
162
+ display: block;
163
+ margin-block-end: 1em;
164
+ }
165
+
166
+ margin-block-start: -1em;
147
167
  }
148
168
 
149
169
  .flash-content-signature {
@@ -1,3 +1,4 @@
1
+ @import "./actualites/actualites";
1
2
  @import "./cahier-de-textes/cahier-de-textes";
2
3
  @import "./calendar/calendar";
3
4
  @import "./class-admin/class-admin";
@@ -32,6 +33,8 @@
32
33
  @import "./statistics-presences/statistics-presences";
33
34
  @import "./magneto/magneto";
34
35
  @import "./minibadge/minibadge";
36
+ @import "./rack/rack";
37
+ @import "./workspace-app/workspace-app";
35
38
 
36
39
  // TO DO: Remove these specifics rules for calendar (WB-870)
37
40
 
@@ -0,0 +1,3 @@
1
+ .actualites .rigid-grid .four{
2
+ position: absolute;
3
+ }
@@ -0,0 +1,3 @@
1
+ .rigid-grid .vertical.four{
2
+ position: absolute;
3
+ }
@@ -0,0 +1,3 @@
1
+ .workspace-app .rigid-grid .four{
2
+ position: absolute;
3
+ }