ode-bootstrap 1.3.5 → 1.3.31

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 29/05/2024 12:39:18
1
+ ode-bootstrap 29/05/2024 15:24:02
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.3.5",
3
+ "version": "1.3.31",
4
4
  "description": "Open Digital Education CSS framework based on bootstrap",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,6 +17,7 @@
17
17
  @import "form-text";
18
18
  @import "loading-screen";
19
19
  @import "media-library";
20
+ @import "help";
20
21
  @import "input-group";
21
22
  @import "image-picker";
22
23
  @import "modal";
@@ -0,0 +1,82 @@
1
+ #help-modal {
2
+ .section {
3
+ grid-row: 1 / 1;
4
+ grid-column: 2 / 2;
5
+ background: #fff;
6
+
7
+ &:target {
8
+ display: block !important;
9
+ }
10
+ }
11
+
12
+ .modal-body {
13
+ padding-top: $spacer-48;
14
+ display: grid;
15
+ background: white;
16
+ }
17
+
18
+ #TOC {
19
+ position: absolute;
20
+ top: 0;
21
+ z-index: 2;
22
+ left: 0;
23
+ right: 0;
24
+ }
25
+
26
+ #TOC > #TOC-list {
27
+ /* display: none; */
28
+ position: absolute;
29
+ left: 0;
30
+ right: 0;
31
+ z-index: 1;
32
+ background-color: #fff;
33
+ }
34
+
35
+ #TOC > .btn {
36
+ display: block;
37
+ }
38
+
39
+ #TOC + p {
40
+ display: none;
41
+ }
42
+
43
+ #TOC > #TOC-list {
44
+ list-style: none;
45
+ border-left: 5px solid #ff8500;
46
+ }
47
+
48
+ #TOC li {
49
+ display: block;
50
+ margin-block-start: 1em;
51
+ margin-block-end: 1em;
52
+ margin-inline-start: 0px;
53
+ margin-inline-end: 0px;
54
+
55
+ &:first-child {
56
+ margin-top: 0;
57
+ }
58
+ }
59
+
60
+ @include media-breakpoint-up(lg) {
61
+ #TOC {
62
+ position: relative;
63
+
64
+ > ul {
65
+ display: block;
66
+ }
67
+ > .btn {
68
+ display: none;
69
+ }
70
+ }
71
+
72
+ #TOC-list {
73
+ display: block !important;
74
+ }
75
+
76
+ .modal-body {
77
+ display: grid;
78
+ grid-template-columns: 10em 1fr;
79
+ gap: 3.2rem;
80
+ }
81
+ }
82
+ }