ode-bootstrap 1.1.4-feat-explorer.202306051652 → 1.2.0

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.
Binary file
Binary file
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-bootstrap=1.1.4-feat-explorer-SNAPSHOT 05/06/2023 16:53:05
1
+ ode-bootstrap=1.2.0 17/07/2023 16:39:50
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.1.4-feat-explorer.202306051652",
3
+ "version": "1.2.0",
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
- &.hover {
73
- &:not(.btn-search) {
74
- transform: translateY(-0.2rem);
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
- &.hover,
100
- &:focus-visible {
101
- > span {
102
- transform: translateY(-0.2rem);
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
 
@@ -10,3 +10,7 @@
10
10
  max-width: 200px;
11
11
  }
12
12
  }
13
+
14
+ .emptyscreen-image__mini {
15
+ margin: 20px auto;
16
+ }
@@ -1,8 +1,8 @@
1
1
  .select-list {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- max-height: 316px;
5
- overflow-y: scroll;
4
+ max-height: 320px;
5
+ overflow-y: auto;
6
6
  //min-width: 250px;
7
7
  }
8
8
 
@@ -1,4 +1,4 @@
1
1
  @import "display";
2
2
  @import "icons";
3
- @import "type";
4
3
  @import "shadows";
4
+ @import "type";
@@ -49,6 +49,7 @@ body {
49
49
  font-family: $font-family-sans-serif;
50
50
  font-size: 1.6rem;
51
51
  line-height: 2.4rem;
52
+ text-transform: none;
52
53
 
53
54
  &:first-letter {
54
55
  text-transform: uppercase;
@@ -31,7 +31,7 @@ main {
31
31
  --#{$prefix}gap: 2.4rem;
32
32
  }
33
33
 
34
- @include media-breakpoint-up(lg) {
34
+ @include media-breakpoint-up(xl) {
35
35
  --#{$prefix}columns: 12;
36
36
  }
37
37
  }
@@ -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
- // Grid breakpoints
23
- $grid-breakpoints: (
24
- xs: 0,
25
- sm: 375px,
26
- md: 768px,
27
- lg: 1024px,
28
- xl: 1280px,
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
- 120: $spacer-120,
54
+ // 128: $spacer-128,
71
55
  ) !default;
72
56
 
73
- $enable-negative-margins: true;
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
- // Radius
76
- $border-radius: 0.8rem !default;
77
- $border-radius-sm: 0.4rem !default;
78
- $border-radius-lg: 1.2rem !default;
79
- $border-radius-xl: 1.6rem !default;
80
- $border-radius-2xl: 2.4rem !default;
81
- $border-radius-pill: 50rem !default;
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;
@@ -12,10 +12,6 @@ img {
12
12
  height: auto;
13
13
  }
14
14
 
15
- /* ul > li:not(:last-child) {
16
- margin-bottom: $spacer-12;
17
- } */
18
-
19
15
  p {
20
16
  margin-bottom: 0;
21
17
  }