ode-csslib 4.0.0-dev.202212011518 → 4.0.0-dev.202212011535
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/index.css +3 -3
- package/dist/version.txt +1 -1
- package/package.json +1 -1
- package/scss/specifics/presences/_presences.scss +1 -1
- package/scss/specifics/presences-common/common.scss +16 -0
- package/scss/specifics/presences-common/components/_export-form.scss +5 -0
- package/scss/specifics/presences-common/components/_menu.scss +36 -0
- package/scss/specifics/presences-common/components/_pagination.scss +66 -0
- package/scss/specifics/presences-common/components/_presences-nav-bar.scss +33 -0
- package/scss/specifics/presences-common/components/_select-children.scss +7 -0
- package/scss/specifics/presences-common/components/_select.scss +3 -0
- package/scss/specifics/presences-common/components/index.scss +6 -0
package/dist/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Error: Can't find stylesheet to import.
|
|
2
2
|
* ,
|
|
3
|
-
* 67 | @import "
|
|
4
|
-
* |
|
|
3
|
+
* 67 | @import "../presences-common/src/main/resources/sass/global/common.scss";
|
|
4
|
+
* | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
5
5
|
* '
|
|
6
6
|
* scss/specifics/presences/_presences.scss 67:11 @import
|
|
7
7
|
* scss/specifics/_.scss 28:9 @import
|
|
@@ -15,5 +15,5 @@ body::before {
|
|
|
15
15
|
padding: 1em;
|
|
16
16
|
margin-bottom: 1em;
|
|
17
17
|
border-bottom: 2px solid black;
|
|
18
|
-
content: "Error: Can't find stylesheet to import.\a \2577 \a 67 \2502 @import \"
|
|
18
|
+
content: "Error: Can't find stylesheet to import.\a \2577 \a 67 \2502 @import \"../presences-common/src/main/resources/sass/global/common.scss\";\a \2502 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\a \2575 \a scss/specifics/presences/_presences.scss 67:11 @import\a scss/specifics/_.scss 28:9 @import\a scss/index.scss 21:9 root stylesheet";
|
|
19
19
|
}
|
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
entcore-css-lib=4.0-dev-SNAPSHOT 01/12/2022 15:
|
|
1
|
+
entcore-css-lib=4.0-dev-SNAPSHOT 01/12/2022 15:36:06
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-csslib",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.202212011535",
|
|
4
4
|
"description": "Open Digital Education Legacy CSS framework",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"copy-fonts": "cpr node_modules/entcore-generic-icons/fonts/ assets/fonts/generic-icons/ -o",
|
|
@@ -64,7 +64,7 @@ $box-shadow-2: 0 3px 3px rgba(0, 0, 0, 0.1);
|
|
|
64
64
|
body.presences, .sniplet.presences {
|
|
65
65
|
@import "generic/index";
|
|
66
66
|
@import "components/index";
|
|
67
|
-
@import "
|
|
67
|
+
@import "../presences-common/src/main/resources/sass/global/common.scss";
|
|
68
68
|
|
|
69
69
|
color: $presences-black;
|
|
70
70
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.menu {
|
|
2
|
+
.menu-item > a {
|
|
3
|
+
color: $black;
|
|
4
|
+
font-size: 18px;
|
|
5
|
+
padding: 0 10px;
|
|
6
|
+
text-align: center;
|
|
7
|
+
margin: 0 5px;
|
|
8
|
+
height: 50px;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
line-height: 50px;
|
|
12
|
+
|
|
13
|
+
&::after {
|
|
14
|
+
content: " ";
|
|
15
|
+
display: block;
|
|
16
|
+
height: 3px;
|
|
17
|
+
background: $yellow-main;
|
|
18
|
+
border-radius: 2px;
|
|
19
|
+
margin-top: -10px;
|
|
20
|
+
width: 0;
|
|
21
|
+
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.current-state {
|
|
25
|
+
color: $yellow-main;
|
|
26
|
+
background-color: $grey-white;
|
|
27
|
+
border-top-right-radius: 7px;
|
|
28
|
+
border-top-left-radius: 7px;
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
|
|
31
|
+
&::after {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
$white: #fff;
|
|
2
|
+
$black: #000000;
|
|
3
|
+
$dark-grey: #7a7a7a;
|
|
4
|
+
$yellow-main: #ffb600;
|
|
5
|
+
|
|
6
|
+
$width-size: 24px;
|
|
7
|
+
|
|
8
|
+
$font-size-item: 16px;
|
|
9
|
+
$font-size-arrow: 24px;
|
|
10
|
+
|
|
11
|
+
$line-heigh-size: 42px;
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.pagination {
|
|
15
|
+
font-size: 0;
|
|
16
|
+
text-align: center;
|
|
17
|
+
|
|
18
|
+
&-item {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
vertical-align: top;
|
|
21
|
+
font-size: $font-size-item;
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
margin: 0 2px;
|
|
24
|
+
|
|
25
|
+
&.arrow > .pagination-item-link {
|
|
26
|
+
font-size: $font-size-arrow;
|
|
27
|
+
color: $black;
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
background-color: $yellow-main;
|
|
31
|
+
border-color: $yellow-main;
|
|
32
|
+
color: $white;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-link {
|
|
37
|
+
position: relative;
|
|
38
|
+
display: block;
|
|
39
|
+
text-align: center;
|
|
40
|
+
min-width: $width-size;
|
|
41
|
+
line-height: $line-heigh-size;
|
|
42
|
+
color: $dark-grey;
|
|
43
|
+
transition: 0.3s;
|
|
44
|
+
|
|
45
|
+
&:hover {
|
|
46
|
+
background-color: $yellow-main;
|
|
47
|
+
border-color: $yellow-main;
|
|
48
|
+
color: $white;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.active > .pagination-item-link {
|
|
53
|
+
background-color: $yellow-main;
|
|
54
|
+
border-color: $yellow-main;
|
|
55
|
+
color: $white;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:nth-child(3), &:nth-child(5) {
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.pagination-item:empty::before {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
$presences-grey-light: #F0F0F0;
|
|
2
|
+
|
|
3
|
+
.presences-nav-bar {
|
|
4
|
+
@include mobile {
|
|
5
|
+
margin-left: 30px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
nav {
|
|
9
|
+
height: 80px !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
nav[side-nav] {
|
|
13
|
+
position: fixed;
|
|
14
|
+
left: 0;
|
|
15
|
+
top: 50px;
|
|
16
|
+
z-index: 10001;
|
|
17
|
+
transition: all 250ms ease;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
width: 0;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
padding: 0;
|
|
22
|
+
background-color: $presences-grey-light;
|
|
23
|
+
border-radius: 2px;
|
|
24
|
+
border-left: none;
|
|
25
|
+
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
|
|
26
|
+
|
|
27
|
+
&.slide {
|
|
28
|
+
width: 155px;
|
|
29
|
+
padding: 0 10px;
|
|
30
|
+
overflow: unset;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|