ode-bootstrap 1.1.4-feat-produit.202306051653 → 1.2.1-dev.202307171643
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/assets/images/screen-loading.gif +0 -0
- package/dist/images/screen-loading.gif +0 -0
- package/dist/version.txt +1 -1
- package/package.json +1 -1
- package/scss/components/_avatar.scss +2 -46
- package/scss/components/_buttons.scss +20 -16
- package/scss/components/_emptyscreen.scss +4 -0
- package/scss/components/_select-list.scss +2 -2
- package/scss/tokens/_.scss +1 -1
- package/scss/tokens/_type.scss +1 -0
- package/scss/utilities/_containers.scss +1 -1
- package/scss/variables/_bootstrap.scss +33 -33
- package/scss/vendors/_reboot.scss +0 -4
- /package/assets/images/emptyscreen/{illu-noContentInFolder.svg → illu-no-content-in-folder.svg} +0 -0
- /package/assets/images/onboarding/{corbeille-delete.svg → illu-trash-delete.svg} +0 -0
- /package/assets/images/onboarding/{corbeille-menu.svg → illu-trash-menu.svg} +0 -0
- /package/assets/images/onboarding/{corbeille-notif.svg → illu-trash-notif.svg} +0 -0
- /package/dist/images/emptyscreen/{illu-noContentInFolder.svg → illu-no-content-in-folder.svg} +0 -0
- /package/dist/images/onboarding/{corbeille-delete.svg → illu-trash-delete.svg} +0 -0
- /package/dist/images/onboarding/{corbeille-menu.svg → illu-trash-menu.svg} +0 -0
- /package/dist/images/onboarding/{corbeille-notif.svg → illu-trash-notif.svg} +0 -0
|
Binary file
|
|
Binary file
|
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ode-bootstrap=1.1
|
|
1
|
+
ode-bootstrap=1.2.1-dev-SNAPSHOT 17/07/2023 16:43:45
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-bootstrap",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1-dev.202307171643",
|
|
4
4
|
"description": "Open Digital Education CSS framework based on bootstrap",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"copy-fonts": "cpr node_modules/entcore-generic-icons/fonts/ assets/fonts/generic-icons/ -o",
|
|
@@ -18,6 +18,8 @@ $avatar-size: 65px !default;
|
|
|
18
18
|
> img {
|
|
19
19
|
object-fit: cover;
|
|
20
20
|
margin: 0 auto;
|
|
21
|
+
height: 100%;
|
|
22
|
+
width: 100%;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
> svg {
|
|
@@ -74,25 +76,6 @@ body:not(.app-react) {
|
|
|
74
76
|
vertical-align: middle;
|
|
75
77
|
border-radius: 50%;
|
|
76
78
|
|
|
77
|
-
/*&--20 {
|
|
78
|
-
width: 20px;
|
|
79
|
-
height: 20px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&--25 {
|
|
83
|
-
width: 25px;
|
|
84
|
-
height: 25px;
|
|
85
|
-
}
|
|
86
|
-
&--50 {
|
|
87
|
-
width: 50px;
|
|
88
|
-
height: 50px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&--100 {
|
|
92
|
-
width: 100px;
|
|
93
|
-
height: 100px;
|
|
94
|
-
}*/
|
|
95
|
-
|
|
96
79
|
&-social {
|
|
97
80
|
position: relative;
|
|
98
81
|
|
|
@@ -115,32 +98,5 @@ body:not(.app-react) {
|
|
|
115
98
|
transform: translate(20%, 20%);
|
|
116
99
|
}
|
|
117
100
|
}
|
|
118
|
-
|
|
119
|
-
/*&-link {
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
overflow: hidden;
|
|
122
|
-
@include avatar-image($avatar-size);
|
|
123
|
-
|
|
124
|
-
img {
|
|
125
|
-
background: $white;
|
|
126
|
-
}
|
|
127
|
-
}*/
|
|
128
101
|
}
|
|
129
|
-
|
|
130
|
-
/*.navbar.no-1d {
|
|
131
|
-
.avatar {
|
|
132
|
-
margin-top: -0.3rem;
|
|
133
|
-
width: 3rem;
|
|
134
|
-
max-width: 3rem;
|
|
135
|
-
height: 3rem;
|
|
136
|
-
background-color: $white;
|
|
137
|
-
|
|
138
|
-
@include media-breakpoint-down(md) {
|
|
139
|
-
display: inline-block;
|
|
140
|
-
width: 2rem;
|
|
141
|
-
max-width: 2rem;
|
|
142
|
-
height: 2rem;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}*/
|
|
146
102
|
}
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
width: $btn-svg-size;
|
|
36
36
|
min-width: $btn-svg-size;
|
|
37
37
|
|
|
38
|
-
path {
|
|
38
|
+
/* path {
|
|
39
39
|
fill: currentColor;
|
|
40
|
-
}
|
|
40
|
+
} */
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&:first-child:active:focus-visible {
|
|
@@ -68,16 +68,18 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
&:hover
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
box-shadow: 0 0.2rem 0 0 var(--#{$prefix}btn-hover-border-color);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:is(.btn-search) {
|
|
79
|
-
span {
|
|
71
|
+
&:not(.disabled-hover) {
|
|
72
|
+
&:hover,
|
|
73
|
+
&.hover {
|
|
74
|
+
&:not(.btn-search) {
|
|
80
75
|
transform: translateY(-0.2rem);
|
|
76
|
+
box-shadow: 0 0.2rem 0 0 var(--#{$prefix}btn-hover-border-color);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:is(.btn-search) {
|
|
80
|
+
span {
|
|
81
|
+
transform: translateY(-0.2rem);
|
|
82
|
+
}
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
85
|
}
|
|
@@ -95,11 +97,13 @@
|
|
|
95
97
|
box-shadow: inset 0 0 0 0.1rem var(--#{$prefix}btn-focus-border-color);
|
|
96
98
|
}
|
|
97
99
|
} @else {
|
|
98
|
-
&:hover
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
&:not(.disabled-hover) {
|
|
101
|
+
&:hover,
|
|
102
|
+
&.hover,
|
|
103
|
+
&:focus-visible {
|
|
104
|
+
> span {
|
|
105
|
+
transform: translateY(-0.2rem);
|
|
106
|
+
}
|
|
103
107
|
}
|
|
104
108
|
}
|
|
105
109
|
|
package/scss/tokens/_.scss
CHANGED
package/scss/tokens/_type.scss
CHANGED
|
@@ -19,29 +19,13 @@ $link-decoration: none !default;
|
|
|
19
19
|
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
|
20
20
|
$min-contrast-ratio: 1.75 !default;
|
|
21
21
|
|
|
22
|
-
//
|
|
23
|
-
$
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
xxl: 1400px,
|
|
30
|
-
) !default;
|
|
31
|
-
|
|
32
|
-
// Container Max Widths
|
|
33
|
-
$container-max-widths: (
|
|
34
|
-
sm: 540px,
|
|
35
|
-
md: 720px,
|
|
36
|
-
lg: 960px,
|
|
37
|
-
xl: 1140px,
|
|
38
|
-
xxl: 1352px,
|
|
39
|
-
) !default;
|
|
40
|
-
|
|
41
|
-
$container-padding-x: 3.2rem;
|
|
42
|
-
|
|
43
|
-
// Gutter Grid CSS
|
|
44
|
-
$grid-gutter-width: 2.4rem;
|
|
22
|
+
// Radius
|
|
23
|
+
$border-radius: 0.8rem !default;
|
|
24
|
+
$border-radius-sm: 0.4rem !default;
|
|
25
|
+
$border-radius-lg: 1.2rem !default;
|
|
26
|
+
$border-radius-xl: 1.6rem !default;
|
|
27
|
+
$border-radius-2xl: 2.4rem !default;
|
|
28
|
+
$border-radius-pill: 50rem !default;
|
|
45
29
|
|
|
46
30
|
// Spacers for margins, paddings and gaps
|
|
47
31
|
$spacer-0: 0 !default;
|
|
@@ -54,7 +38,7 @@ $spacer-24: 2.4rem !default;
|
|
|
54
38
|
$spacer-32: 3.2rem !default;
|
|
55
39
|
$spacer-48: 4.8rem !default;
|
|
56
40
|
$spacer-64: 6.4rem !default;
|
|
57
|
-
$spacer-120: 12rem !default;
|
|
41
|
+
// $spacer-120: 12rem !default;
|
|
58
42
|
|
|
59
43
|
$spacers: (
|
|
60
44
|
0: $spacer-0,
|
|
@@ -67,18 +51,34 @@ $spacers: (
|
|
|
67
51
|
32: $spacer-32,
|
|
68
52
|
48: $spacer-48,
|
|
69
53
|
64: $spacer-64,
|
|
70
|
-
|
|
54
|
+
// 128: $spacer-128,
|
|
71
55
|
) !default;
|
|
72
56
|
|
|
73
|
-
|
|
57
|
+
// Grid breakpoints
|
|
58
|
+
$grid-breakpoints: (
|
|
59
|
+
xs: 0,
|
|
60
|
+
sm: 375px,
|
|
61
|
+
md: 768px,
|
|
62
|
+
lg: 1024px,
|
|
63
|
+
xl: 1280px,
|
|
64
|
+
xxl: 1400px,
|
|
65
|
+
) !default;
|
|
74
66
|
|
|
75
|
-
//
|
|
76
|
-
$
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
67
|
+
// Container Max Widths
|
|
68
|
+
$container-max-widths: (
|
|
69
|
+
sm: 540px,
|
|
70
|
+
md: 720px,
|
|
71
|
+
lg: 960px,
|
|
72
|
+
xl: 1140px,
|
|
73
|
+
xxl: 1352px,
|
|
74
|
+
) !default;
|
|
75
|
+
|
|
76
|
+
$container-padding-x: 3.2rem;
|
|
77
|
+
|
|
78
|
+
// Gutter Grid CSS
|
|
79
|
+
$grid-gutter-width: 2.4rem;
|
|
80
|
+
|
|
81
|
+
$enable-negative-margins: true;
|
|
82
82
|
|
|
83
83
|
// Buttons
|
|
84
84
|
$btn-align-items: center !default;
|
/package/assets/images/emptyscreen/{illu-noContentInFolder.svg → illu-no-content-in-folder.svg}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/images/emptyscreen/{illu-noContentInFolder.svg → illu-no-content-in-folder.svg}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|