ode-bootstrap 1.1.2-feat-explorer.202302151508 → 1.1.2-feat-explorer.202302171645

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=1.1.2-feat-explorer-SNAPSHOT 15/02/2023 15:08:26
1
+ ode-bootstrap=1.1.2-feat-explorer-SNAPSHOT 17/02/2023 16:45:49
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.1.2-feat-explorer.202302151508",
3
+ "version": "1.1.2-feat-explorer.202302171645",
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",
@@ -1,76 +1,76 @@
1
1
  $avatar-size: 65px !default;
2
2
 
3
- body:is(.app-react) {
4
- .avatar {
5
- --#{$prefix}avatar-size: 8rem;
6
- --#{$prefix}avatar-svg-size: 5rem;
7
- --#{$prefix}avatar-bg-color: #{$white};
8
-
9
- background-color: var(--#{$prefix}avatar-bg-color);
10
- border-radius: 0.8rem;
11
- overflow: clip;
12
- min-width: var(--ode-avatar-size);
13
- height: var(--#{$prefix}avatar-size);
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
17
- aspect-ratio: 1 / 1;
18
-
19
- > img {
20
- object-fit: cover;
21
- margin: 0 auto;
22
- }
3
+ // body:is(.app-react) {
4
+ .avatar {
5
+ --#{$prefix}avatar-size: 8rem;
6
+ --#{$prefix}avatar-svg-size: 5rem;
7
+ --#{$prefix}avatar-bg-color: #{$white};
8
+
9
+ background-color: var(--#{$prefix}avatar-bg-color);
10
+ border-radius: 0.8rem;
11
+ overflow: clip;
12
+ min-width: var(--ode-avatar-size);
13
+ height: var(--#{$prefix}avatar-size);
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ aspect-ratio: 1 / 1;
18
+
19
+ > img {
20
+ object-fit: cover;
21
+ margin: 0 auto;
22
+ }
23
23
 
24
- > svg {
25
- width: var(--#{$prefix}avatar-svg-size);
26
- height: var(--#{$prefix}avatar-svg-size);
27
- }
24
+ > svg {
25
+ width: var(--#{$prefix}avatar-svg-size);
26
+ height: var(--#{$prefix}avatar-svg-size);
27
+ }
28
28
 
29
- &.avatar-square {
30
- border-radius: $border-radius;
31
- }
29
+ &.avatar-square {
30
+ border-radius: $border-radius;
31
+ }
32
32
 
33
- &.avatar-rounded {
34
- border-radius: 50%;
35
- }
33
+ &.avatar-rounded {
34
+ border-radius: 50%;
35
+ }
36
36
 
37
- &.avatar-title {
38
- height: 100%;
39
- }
37
+ &.avatar-title {
38
+ height: 100%;
39
+ }
40
40
 
41
- &.avatar-xs {
42
- --#{$prefix}avatar-size: 2.4rem;
43
- --#{$prefix}avatar-svg-size: 1.25rem;
44
- }
41
+ &.avatar-xs {
42
+ --#{$prefix}avatar-size: 2.4rem;
43
+ --#{$prefix}avatar-svg-size: 1.25rem;
44
+ }
45
45
 
46
- &.avatar-sm {
47
- --#{$prefix}avatar-size: 3.2rem;
48
- --#{$prefix}avatar-svg-size: 2.5rem;
49
- }
46
+ &.avatar-sm {
47
+ --#{$prefix}avatar-size: 3.2rem;
48
+ --#{$prefix}avatar-svg-size: 2.5rem;
49
+ }
50
50
 
51
- &.avatar-md {
52
- --#{$prefix}avatar-size: 4rem;
53
- --#{$prefix}avatar-svg-size: 2.5rem;
54
- }
51
+ &.avatar-md {
52
+ --#{$prefix}avatar-size: 4rem;
53
+ --#{$prefix}avatar-svg-size: 2.5rem;
54
+ }
55
55
 
56
- &.avatar-lg {
57
- --#{$prefix}avatar-size: 8rem;
58
- --#{$prefix}avatar-svg-size: 5rem;
59
- }
56
+ &.avatar-lg {
57
+ --#{$prefix}avatar-size: 8rem;
58
+ --#{$prefix}avatar-svg-size: 5rem;
59
+ }
60
60
 
61
- &.avatar-xl {
62
- --#{$prefix}avatar-size: 16rem;
63
- --#{$prefix}avatar-svg-size: 10rem;
64
- }
61
+ &.avatar-xl {
62
+ --#{$prefix}avatar-size: 16rem;
63
+ --#{$prefix}avatar-svg-size: 10rem;
64
+ }
65
65
 
66
- &.avatar-auto {
67
- --#{$prefix}avatar-size: auto;
68
- --#{$prefix}avatar-svg-size: 100%;
69
- }
66
+ &.avatar-auto {
67
+ --#{$prefix}avatar-size: auto;
68
+ --#{$prefix}avatar-svg-size: 100%;
70
69
  }
71
70
  }
71
+ // }
72
72
 
73
- body:not(.app-react) {
73
+ /* body:not(.app-react) {
74
74
  .avatar {
75
75
  display: inline-block;
76
76
  vertical-align: middle;
@@ -145,4 +145,4 @@ body:not(.app-react) {
145
145
  }
146
146
  }
147
147
  }
148
- }
148
+ } */
@@ -14,6 +14,7 @@
14
14
 
15
15
  img {
16
16
  object-fit: cover;
17
+ aspect-ratio: 1 / 1;
17
18
  }
18
19
 
19
20
  &-actions {
@@ -7,6 +7,8 @@
7
7
  --#{$prefix}popover-header-bg: transparent;
8
8
  --#{$prefix}popover-header-color: #{$body-color};
9
9
 
10
+ display: none;
11
+ opacity: 0;
10
12
  width: var(--#{$prefix}popover-max-width);
11
13
 
12
14
  &::before {
@@ -28,10 +30,17 @@
28
30
  }
29
31
 
30
32
  &-footer {
31
- /* padding: var(--#{$prefix}popover-body-padding-y)
32
- var(--#{$prefix}popover-body-padding-x); */
33
33
  color: var(--ode-popover-footer-color);
34
34
  }
35
+
36
+ &-trigger {
37
+ &:hover {
38
+ .popover {
39
+ display: block;
40
+ opacity: 1;
41
+ }
42
+ }
43
+ }
35
44
  }
36
45
 
37
46
  .bookmarked-app {
@@ -42,6 +51,7 @@
42
51
  flex: 0 1 33.33%;
43
52
  height: 33.33%;
44
53
  aspect-ratio: 1 / 1;
54
+ font-size: 3rem;
45
55
  text-align: center;
46
56
  border: 1px solid transparent;
47
57
  border-radius: $border-radius;