ode-bootstrap 1.0.0-framework.202110281447 → 1.0.0-framework.202110291007

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= 28/10/2021 16:47:33
1
+ ode-bootstrap= 29/10/2021 12:07:34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.0.0-framework.202110281447",
3
+ "version": "1.0.0-framework.202110291007",
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 && cpr node_modules/@fortawesome/fontawesome-free/webfonts assets/fonts/fa/ -o",
@@ -9,7 +9,7 @@ $application-icon-size: 80px; //110px sur le 1D
9
9
  $application-icon-size-sm: 60px;
10
10
 
11
11
  /* COMPONENT */
12
- .applications-board {
12
+ .applications {
13
13
  &-title {
14
14
  color: $secondary;
15
15
  }
@@ -37,7 +37,7 @@ $application-icon-size-sm: 60px;
37
37
  width: $application-icon-size;
38
38
  height: $application-icon-size;
39
39
  font-size: 5rem;
40
- color: $text-color;
40
+ // color: $text-color;
41
41
  }
42
42
 
43
43
  span {
@@ -71,7 +71,7 @@ $application-icon-size-sm: 60px;
71
71
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
72
72
 
73
73
  i {
74
- font-size: 1rem;
74
+ font-size: 1.5rem;
75
75
  line-height: 30px;
76
76
  color: $white;
77
77
  }
@@ -167,7 +167,7 @@ $application-icon-size-sm: 60px;
167
167
  }
168
168
 
169
169
  @include media-breakpoint-down(sm) {
170
- .applications-board {
170
+ .applications {
171
171
  &-item {
172
172
  width: $application-width-sm;
173
173
  height: $application-height-sm;
@@ -61,6 +61,7 @@ $avatar-size: 65px !default;
61
61
  margin-top: -0.3rem;
62
62
  width: 3rem;
63
63
  max-width: 3rem;
64
+ height: auto;
64
65
  background-color: $white;
65
66
 
66
67
  @include media-breakpoint-down(md) {
@@ -1,9 +1,10 @@
1
1
  .sticky-toolbox {
2
2
  position: fixed;
3
3
  top: 100px;
4
+ bottom: 0;
4
5
  right: 0;
5
6
  z-index: 10;
6
- color: #fff;
7
+ color: $white;
7
8
  transform: translateX(100%);
8
9
 
9
10
  @include add-transitions(transform);
@@ -17,7 +18,7 @@
17
18
  width: 50px;
18
19
  padding: 5px 10px;
19
20
  font-size: 1.5em;
20
- color: #fff;
21
+ color: $white;
21
22
  cursor: pointer;
22
23
  background: $primary;
23
24
  border-top-left-radius: 50%;
@@ -26,6 +27,7 @@
26
27
  }
27
28
 
28
29
  .content {
30
+ overflow: auto;
29
31
  width: 400px;
30
32
  height: 100%;
31
33
  padding: 20px 30px;
@@ -43,7 +45,7 @@
43
45
 
44
46
  .bt {
45
47
  display: block;
46
- color: #fff;
48
+ color: $white;
47
49
  text-align: center;
48
50
  text-decoration: none;
49
51
  background: $cyan;
@@ -95,12 +97,13 @@
95
97
 
96
98
  .bt-lang {
97
99
  margin-bottom: 15px;
98
- color: #fff;
100
+ color: $white;
99
101
  text-align: center;
100
102
  text-decoration: none;
101
103
  cursor: pointer;
102
104
 
103
105
  .flag {
106
+ max-width: 100%;
104
107
  height: auto;
105
108
  margin: 0 auto;
106
109
  filter: saturate(0);
@@ -1,8 +1,32 @@
1
- .toast-container {
2
- position: fixed;
3
- right: 0;
4
- bottom: 0;
5
- z-index: 3;
6
- padding: 10px;
7
- font-size: 2em;
8
- }
1
+ $toast-start-color: #f0f9fc;
2
+ $toast-end-color: #dceff7;
3
+
4
+ .toast {
5
+ &-container {
6
+ position: fixed;
7
+ right: 0;
8
+ bottom: 0;
9
+ z-index: 3;
10
+ padding: 10px;
11
+ font-size: 2em;
12
+ }
13
+
14
+ ode-infotip & {
15
+ background: linear-gradient(to right, $toast-start-color, $toast-end-color);
16
+
17
+ &,
18
+ > *,
19
+ > * > * {
20
+ border: 0;
21
+ }
22
+
23
+ .toast-header {
24
+ padding-bottom: 0;
25
+ margin-bottom: -1rem;
26
+ background-color: transparent;
27
+ }
28
+ .toast-body {
29
+ color: var(--bs-secondary);
30
+ }
31
+ }
32
+ }