ode-bootstrap 1.0.0-framework.202111050849 → 1.0.0-framework.202111051001

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= 05/11/2021 09:49:53
1
+ ode-bootstrap= 05/11/2021 11:01:41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.0.0-framework.202111050849",
3
+ "version": "1.0.0-framework.202111051001",
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",
@@ -0,0 +1,104 @@
1
+ popover {
2
+ position: relative;
3
+ z-index: 100;
4
+ display: inline-block;
5
+
6
+ popover-content.hidden {
7
+ pointer-events: none;
8
+ opacity: 0;
9
+ }
10
+
11
+ popover-content {
12
+ position: absolute;
13
+ top: 100%;
14
+ left: 50%;
15
+ width: 250px;
16
+ text-align: center;
17
+ background: $white;
18
+ border: 1px solid $gray-300;
19
+ border-radius: 2px;
20
+ box-shadow: 0 .1rem 2rem rgba(0, 0, 0, .1);
21
+ transform: translate(-50%, 4%);
22
+
23
+ &::before {
24
+ content: "\25b2";
25
+ position: absolute;
26
+ top: -2rem;
27
+ left: 50%;
28
+ z-index: 0;
29
+ display: block;
30
+ width: 40px;
31
+ font-family: none;
32
+ font-size: 2rem;
33
+ color: $white;
34
+ transform: translateX(-50%);
35
+ }
36
+
37
+ .widget-applications {
38
+ .widget-body {
39
+ padding: 1.5rem;
40
+ max-height: 22rem;
41
+ overflow: auto;
42
+ }
43
+
44
+ .widget-footer-action & {
45
+ color: $gray-600;
46
+ }
47
+ }
48
+
49
+ .bookmarked-app {
50
+ padding: .5rem;
51
+ flex: 1 1 33%;
52
+ text-align: center;
53
+ border: 1px solid transparent;
54
+ border-radius: $border-radius;
55
+
56
+ @include add-transitions(border-color) {
57
+ border-color: $gray-200;
58
+ };
59
+
60
+ /* &:hover {
61
+ border-color: $gray-200;
62
+ } */
63
+
64
+ .application {
65
+ font-size: 3rem;
66
+ }
67
+ }
68
+
69
+ /* .more {
70
+ padding: 1rem;
71
+ text-align: center;
72
+ background-color: $gray-500;
73
+ transition: background-color 250ms ease;
74
+
75
+ &:hover {
76
+ background-color: $primary;
77
+ }
78
+ } */
79
+
80
+ .search-text {
81
+ .searchInput {
82
+ height: 30px;
83
+ margin: 1rem -0.2rem 1rem 0;
84
+ width: 80%;
85
+ border: 1px solid $gray-200;
86
+ }
87
+ .searchButton {
88
+ @extend .btn-primary;
89
+ width: 30px;
90
+ height: 30px;
91
+ padding: 0;
92
+ margin-top: 1rem;
93
+ line-height: 30px;
94
+ font-weight: 700;
95
+ text-transform: uppercase;
96
+ text-align: center;
97
+ border: none;
98
+ border-top-left-radius: 0;
99
+ border-top-right-radius: 0;
100
+ box-shadow: none;
101
+ }
102
+ }
103
+ }
104
+ }
@@ -47,13 +47,17 @@
47
47
  text-align: center;
48
48
  text-decoration: none;
49
49
  background: rgba($white, .10);
50
- border-radius: 18px;
50
+ border-radius: 10px;
51
51
  overflow: hidden;
52
52
 
53
53
  @include background-color-to($primary);
54
54
 
55
55
  &.selected {
56
56
  background: $primary;
57
+
58
+ &:hover {
59
+ background: rgba($white, .10);
60
+ }
57
61
  }
58
62
  }
59
63
 
package/scss/index.scss CHANGED
@@ -39,3 +39,4 @@
39
39
  @import "components/table-lists";
40
40
  @import "components/tree-structure";
41
41
  @import "components/widget/";
42
+ @import "components/popover";