ode-bootstrap 1.3.8-develop-mozo.202408081713 → 1.3.8-develop-mozo.202409182239

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
- ode-bootstrap 08/08/2024 17:13:32
1
+ ode-bootstrap 18/09/2024 22:40:01
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.3.8-develop-mozo.202408081713",
3
+ "version": "1.3.8-develop-mozo.202409182239",
4
4
  "description": "Open Digital Education CSS framework based on bootstrap",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,6 +39,12 @@ $widget-flash-colors: (
39
39
  margin: 32px 4px 36px 0;
40
40
  left: 4px;
41
41
  bottom: 4px;
42
+
43
+ display: grid;
44
+ grid-template-columns: 1fr auto;
45
+ grid-column-gap: 12px;
46
+ grid-row-gap: 12px;
47
+
42
48
  &:last-child {
43
49
  margin-bottom: 28px;
44
50
  }
@@ -56,19 +62,6 @@ $widget-flash-colors: (
56
62
  border-color: map.get($value, "shadow");
57
63
  box-shadow: 0 0 0 4px map.get($value, "background");
58
64
  }
59
-
60
- .btn-expand-inner {
61
- background-color: map.get($value, "background");
62
- }
63
-
64
- .flash-content:not(.flash-content-is-expandable) .btn-expand-inner::before {
65
- background: linear-gradient(to right,
66
- rgba(map.get($value, "background"), 0),
67
- rgba(map.get($value, "background"), 0.5) 30%,
68
- rgba(map.get($value, "background"), 0.8) 50%,
69
- rgba(map.get($value, "background"), 0.95) 75%,
70
- map.get($value, "background") 100%);
71
- }
72
65
  }
73
66
  }
74
67
 
@@ -100,6 +93,18 @@ $widget-flash-colors: (
100
93
  transform: translateY(-1px);
101
94
  }
102
95
 
96
+ .flash-content-footer {
97
+ display: flex;
98
+ flex-direction: row;
99
+ justify-content: space-between;
100
+ align-items: flex-end;
101
+ margin-top: 12px;
102
+
103
+ &:not(:has(*)) {
104
+ display: none;
105
+ }
106
+ }
107
+
103
108
  .btn {
104
109
  &-close {
105
110
  position: absolute;
@@ -131,33 +136,27 @@ $widget-flash-colors: (
131
136
  }
132
137
 
133
138
  &-expand {
139
+ padding-left: 8px;
140
+ padding-right: 8px;
141
+
134
142
  cursor: pointer;
143
+ flex-shrink: 0;
144
+ margin-left: auto;
145
+
146
+ grid-area: 2 / 2 / 3 / 3;
147
+ align-self: flex-end;
135
148
 
136
149
  &-inner {
137
- position: absolute;
138
- z-index: 2;
139
- bottom: 24px;
140
- right: 18px;
141
150
  display: block;
142
- padding-right: 16px;
143
151
  text-align: center;
144
152
  font-weight: bold;
145
-
146
- &::before {
147
- content: '';
148
- display: block;
149
- position: absolute;
150
- width: 64px;
151
- height: 100%;
152
- // background: linear-gradient(to right, rgba($flash-red, 0), rgba($flash-red, 0.5) 30%, rgba($flash-red, 0.8) 50%, rgba($flash-red, 0.95) 75%, $flash-red 100%);
153
- left: -64px;
154
- }
155
153
  }
156
154
  }
157
155
  }
158
156
 
159
157
  .flash-content {
160
158
  padding-right: 1rem;
159
+ grid-area: 1 / 1 / 2 / 3;
161
160
 
162
161
  // Merge multiple <br> into one and delete the first empty line if present
163
162
  p, p>div {
@@ -183,7 +182,7 @@ $widget-flash-colors: (
183
182
  &.can-be-truncated {
184
183
  &:not(.flash-content-is-expandable) {
185
184
  p {
186
- @include has-text-truncated(4);
185
+ @include has-text-truncated(2);
187
186
  padding-bottom: 0;
188
187
  }
189
188
 
@@ -192,16 +191,6 @@ $widget-flash-colors: (
192
191
  display: none;
193
192
  }
194
193
  }
195
-
196
- .flash-content-signature {
197
- display: none;
198
- }
199
- }
200
-
201
- .flash-content-signature {
202
- font-style: italic;
203
- margin-top: 22px !important;
204
- margin-right: 12em;
205
194
  }
206
195
  }
207
196
 
@@ -209,4 +198,11 @@ $widget-flash-colors: (
209
198
  margin-bottom: 0;
210
199
  }
211
200
  }
201
+
202
+ .flash-content-signature {
203
+ grid-area: 2 / 1 / 3 / 2;
204
+ font-weight: bold;
205
+ margin-right: 2em !important;
206
+ color: $gray-700;
207
+ }
212
208
  }