ode-bootstrap 3.13.0-dev.202107191426 → 4.0.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.
- package/.gradle/4.5.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.5.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/4.5.1/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.stylelintrc.json +57 -0
- package/?/.gradle/caches/4.5.1/fileHashes/fileHashes.bin +0 -0
- package/?/.gradle/caches/4.5.1/fileHashes/fileHashes.lock +0 -0
- package/?/.gradle/caches/4.5.1/scripts/awiddsfwbjzij8a23811obf58/cp_proj/cp_proj4a3ff7b7cd19e4638e29712cae02e796/cache.properties +1 -1
- package/?/.gradle/caches/4.5.1/scripts/awiddsfwbjzij8a23811obf58/cp_proj/cp_proj4a3ff7b7cd19e4638e29712cae02e796/cp_proj4a3ff7b7cd19e4638e29712cae02e796.lock +0 -0
- package/?/.gradle/caches/4.5.1/scripts/awiddsfwbjzij8a23811obf58/proj/proj4a3ff7b7cd19e4638e29712cae02e796/cache.properties +1 -1
- package/?/.gradle/caches/4.5.1/scripts/awiddsfwbjzij8a23811obf58/proj/proj4a3ff7b7cd19e4638e29712cae02e796/proj4a3ff7b7cd19e4638e29712cae02e796.lock +0 -0
- package/?/.gradle/caches/4.5.1/scripts-remapped/build_7ism5ojjxvkfld9af7wo33yib/awiddsfwbjzij8a23811obf58/cp_proj4a3ff7b7cd19e4638e29712cae02e796/cache.properties +1 -1
- package/?/.gradle/caches/4.5.1/scripts-remapped/build_7ism5ojjxvkfld9af7wo33yib/awiddsfwbjzij8a23811obf58/cp_proj4a3ff7b7cd19e4638e29712cae02e796/cp_proj4a3ff7b7cd19e4638e29712cae02e796.lock +0 -0
- package/?/.gradle/caches/4.5.1/scripts-remapped/build_7ism5ojjxvkfld9af7wo33yib/awiddsfwbjzij8a23811obf58/proj4a3ff7b7cd19e4638e29712cae02e796/cache.properties +1 -1
- package/?/.gradle/caches/4.5.1/scripts-remapped/build_7ism5ojjxvkfld9af7wo33yib/awiddsfwbjzij8a23811obf58/proj4a3ff7b7cd19e4638e29712cae02e796/proj4a3ff7b7cd19e4638e29712cae02e796.lock +0 -0
- package/?/.gradle/caches/transforms-1/transforms-1.lock +0 -0
- package/?/.gradle/daemon/4.5.1/daemon-35.out.log +73 -76
- package/?/.gradle/daemon/4.5.1/registry.bin +0 -0
- package/?/.gradle/daemon/4.5.1/registry.bin.lock +0 -0
- package/README.md +30 -3
- package/assets/fonts/dyslexic/OpenDyslexic.woff +0 -0
- package/assets/fonts/fa/fa-brands-400.eot +0 -0
- package/assets/fonts/fa/fa-brands-400.svg +41 -41
- package/assets/fonts/fa/fa-brands-400.ttf +0 -0
- package/assets/fonts/fa/fa-brands-400.woff +0 -0
- package/assets/fonts/fa/fa-brands-400.woff2 +0 -0
- package/assets/fonts/fa/fa-regular-400.eot +0 -0
- package/assets/fonts/fa/fa-regular-400.svg +2 -2
- package/assets/fonts/fa/fa-regular-400.ttf +0 -0
- package/assets/fonts/fa/fa-regular-400.woff +0 -0
- package/assets/fonts/fa/fa-regular-400.woff2 +0 -0
- package/assets/fonts/fa/fa-solid-900.eot +0 -0
- package/assets/fonts/fa/fa-solid-900.svg +2 -2
- package/assets/fonts/fa/fa-solid-900.ttf +0 -0
- package/assets/fonts/fa/fa-solid-900.woff +0 -0
- package/assets/fonts/fa/fa-solid-900.woff2 +0 -0
- package/assets/fonts/generic-icons/generic-icons.svg +1 -0
- package/assets/fonts/generic-icons/generic-icons.ttf +0 -0
- package/assets/fonts/generic-icons/generic-icons.woff +0 -0
- package/assets/js/theme.js +4 -4
- package/dist/fonts/dyslexic/OpenDyslexic.woff +0 -0
- package/dist/fonts/fa/fa-brands-400.eot +0 -0
- package/dist/fonts/fa/fa-brands-400.svg +41 -41
- package/dist/fonts/fa/fa-brands-400.ttf +0 -0
- package/dist/fonts/fa/fa-brands-400.woff +0 -0
- package/dist/fonts/fa/fa-brands-400.woff2 +0 -0
- package/dist/fonts/fa/fa-regular-400.eot +0 -0
- package/dist/fonts/fa/fa-regular-400.svg +2 -2
- package/dist/fonts/fa/fa-regular-400.ttf +0 -0
- package/dist/fonts/fa/fa-regular-400.woff +0 -0
- package/dist/fonts/fa/fa-regular-400.woff2 +0 -0
- package/dist/fonts/fa/fa-solid-900.eot +0 -0
- package/dist/fonts/fa/fa-solid-900.svg +2 -2
- package/dist/fonts/fa/fa-solid-900.ttf +0 -0
- package/dist/fonts/fa/fa-solid-900.woff +0 -0
- package/dist/fonts/fa/fa-solid-900.woff2 +0 -0
- package/dist/fonts/generic-icons/generic-icons.svg +1 -0
- package/dist/fonts/generic-icons/generic-icons.ttf +0 -0
- package/dist/fonts/generic-icons/generic-icons.woff +0 -0
- package/dist/index.css +6 -11
- package/dist/js/theme.js +4 -4
- package/dist/version.txt +1 -1
- package/gradle.properties +1 -1
- package/package.json +9 -4
- package/package.json.template +8 -3
- package/scss/_bootstrap.scss +41 -0
- package/scss/_custom-utilities.scss +10 -0
- package/scss/atoms/_.scss +4 -0
- package/scss/atoms/_display.scss +17 -0
- package/scss/{_fonts.scss → atoms/_fonts.scss} +11 -5
- package/scss/atoms/_icons.scss +78 -0
- package/scss/atoms/_typography.scss +27 -0
- package/scss/components/_.scss +21 -0
- package/scss/components/_alerts.scss +30 -0
- package/scss/components/_avatar.scss +74 -0
- package/scss/components/_buttons.scss +78 -0
- package/scss/components/_container-advanced.scss +141 -0
- package/scss/components/_dominos.scss +182 -0
- package/scss/components/_dragndrop.scss +21 -0
- package/scss/components/_dropdowns.scss +6 -0
- package/scss/components/_emptyscreen.scss +48 -0
- package/scss/components/_explorer.scss +38 -0
- package/scss/components/_feed.scss +193 -0
- package/scss/components/_filters.scss +76 -0
- package/scss/components/_forms.scss +28 -0
- package/scss/components/_media-library.scss +23 -0
- package/scss/components/_modal.scss +25 -0
- package/scss/components/_popover.scss +100 -0
- package/scss/components/_sticky-toolbox.scss +162 -0
- package/scss/components/_table-lists.scss +140 -0
- package/scss/components/_tables.scss +19 -0
- package/scss/components/_toast.scss +45 -0
- package/scss/components/_tree-structure.scss +143 -0
- package/scss/components/widget/_.scss +14 -0
- package/scss/components/widget/_applications.scss +48 -0
- package/scss/components/widget/_base.scss +133 -0
- package/scss/components/widget/_bookmarks.scss +23 -0
- package/scss/components/widget/_calendar.scss +57 -0
- package/scss/components/widget/_dashboard.scss +95 -0
- package/scss/components/widget/_featured-news.scss +60 -0
- package/scss/components/widget/_flash.scss +101 -0
- package/scss/components/widget/_news.scss +35 -0
- package/scss/components/widget/_recently-viewed.scss +65 -0
- package/scss/components/widget/_record.scss +37 -0
- package/scss/components/widget/_rss.scss +33 -0
- package/scss/components/widget/_school.scss +93 -0
- package/scss/index.scss +15 -13
- package/scss/mixins/_.scss +7 -0
- package/scss/mixins/_align.scss +5 -0
- package/scss/mixins/_avatar.scss +8 -0
- package/scss/mixins/_icon.scss +73 -0
- package/scss/mixins/_layer.scss +41 -0
- package/scss/mixins/_shape.scss +16 -0
- package/scss/mixins/_text-truncate.scss +33 -0
- package/scss/mixins/_transition.scss +105 -0
- package/scss/variables/_.scss +4 -0
- package/scss/variables/_colors.scss +51 -0
- package/scss/variables/_icons.scss +184 -0
- package/scss/variables/_variables-bootstrap.scss +107 -0
- package/scss/variables/_variables-ode.scss +12 -0
- package/?/.gradle/daemon/4.5.1/daemon-36.out.log +0 -76
- package/scss/_emptyscreen.scss +0 -45
- package/scss/_image-contextual-menu.scss +0 -97
- package/scss/_mixins.scss +0 -15
- package/scss/_notifications.scss +0 -108
- package/scss/_variables-ode.scss +0 -8
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Initialize good style and good font on all icons
|
|
2
|
+
[class*="ic-"] {
|
|
3
|
+
font-family: "generic-icons";
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Icons list
|
|
9
|
+
.ic {
|
|
10
|
+
@each $icon, $data in $icons-interface {
|
|
11
|
+
&-#{$icon} {
|
|
12
|
+
&::before {
|
|
13
|
+
content: map-get($data, "glyph");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Classes utilitaires par application
|
|
20
|
+
.color-app {
|
|
21
|
+
//applications
|
|
22
|
+
@each $app, $data in $icons-applications {
|
|
23
|
+
&-#{$app} {
|
|
24
|
+
color: map-get($data, "color");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//connectors
|
|
28
|
+
@each $app, $data in $icons-connectors {
|
|
29
|
+
&-#{$app} {
|
|
30
|
+
color: map-get($data, "color");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.bg-app {
|
|
36
|
+
//applications
|
|
37
|
+
@each $app, $data in $icons-applications {
|
|
38
|
+
&-#{$app} {
|
|
39
|
+
background-color: map-get($data, "color");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//connectors
|
|
43
|
+
@each $app, $data in $icons-connectors {
|
|
44
|
+
&-#{$app} {
|
|
45
|
+
background-color: map-get($data, "color");
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ic-app {
|
|
51
|
+
//applications
|
|
52
|
+
@each $app, $data in $icons-applications {
|
|
53
|
+
&-#{$app}, &-#{$app}-large {
|
|
54
|
+
&::before {
|
|
55
|
+
content: map-get($data, "glyph");
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//connectors
|
|
60
|
+
@each $app, $data in $icons-connectors {
|
|
61
|
+
&-#{$app}, &-#{$app}-large {
|
|
62
|
+
&::before {
|
|
63
|
+
content: map-get($data, "glyph");
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Classes des icones pour les widgets
|
|
70
|
+
.ic-widget {
|
|
71
|
+
@each $app, $data in $icons-widgets {
|
|
72
|
+
&-#{$app}, &-#{$app}-large {
|
|
73
|
+
&::before {
|
|
74
|
+
content: map-get($data, "glyph");
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.link,
|
|
2
|
+
.link a {
|
|
3
|
+
|
|
4
|
+
@include color-to($primary);
|
|
5
|
+
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
color: $third;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.link-discret,
|
|
12
|
+
.link-discret a {
|
|
13
|
+
|
|
14
|
+
@include color-to($third);
|
|
15
|
+
|
|
16
|
+
font-weight: 400;
|
|
17
|
+
color: currentColor;
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.subtitle {
|
|
23
|
+
font-size: 1.4rem;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
text-transform: uppercase;
|
|
26
|
+
// cursor: pointer;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "container-advanced";
|
|
2
|
+
@import "avatar";
|
|
3
|
+
@import "buttons";
|
|
4
|
+
@import "modal";
|
|
5
|
+
@import "toast";
|
|
6
|
+
@import "dominos";
|
|
7
|
+
@import "dragndrop";
|
|
8
|
+
@import "dropdowns";
|
|
9
|
+
@import "emptyscreen";
|
|
10
|
+
@import "explorer";
|
|
11
|
+
@import "feed";
|
|
12
|
+
@import "filters";
|
|
13
|
+
@import "forms";
|
|
14
|
+
@import "media-library";
|
|
15
|
+
@import "sticky-toolbox";
|
|
16
|
+
@import "tables";
|
|
17
|
+
@import "table-lists";
|
|
18
|
+
@import "tree-structure";
|
|
19
|
+
@import "popover";
|
|
20
|
+
|
|
21
|
+
@import "widget/";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.alert {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
|
|
5
|
+
i {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex: none;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
width: 50px;
|
|
11
|
+
font-size: 2rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.alert-dismissible .btn-close {
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
opacity: 0.25;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.feedback {
|
|
21
|
+
.alert {
|
|
22
|
+
position: fixed;
|
|
23
|
+
top: 75px;
|
|
24
|
+
right: 10px;
|
|
25
|
+
width: 350px;
|
|
26
|
+
font-size: 1.4rem;
|
|
27
|
+
border-width: 1px;
|
|
28
|
+
box-shadow: 3px 2px 5px rgba($gray-700, 0.15);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
$avatar-size: 65px !default;
|
|
2
|
+
|
|
3
|
+
.avatar {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
vertical-align: middle;
|
|
6
|
+
border-radius: 50%;
|
|
7
|
+
|
|
8
|
+
&--20 {
|
|
9
|
+
width: 20px;
|
|
10
|
+
height: 20px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&--25 {
|
|
14
|
+
width: 25px;
|
|
15
|
+
height: 25px;
|
|
16
|
+
}
|
|
17
|
+
&--50 {
|
|
18
|
+
width: 50px;
|
|
19
|
+
height: 50px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--100 {
|
|
23
|
+
width: 100px;
|
|
24
|
+
height: 100px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-social {
|
|
28
|
+
position: relative;
|
|
29
|
+
|
|
30
|
+
@include circle($avatar-size);
|
|
31
|
+
|
|
32
|
+
.photo {
|
|
33
|
+
img {
|
|
34
|
+
@include avatar-image($avatar-size);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.circle {
|
|
39
|
+
@include have-child-in-middle();
|
|
40
|
+
@include circle($avatar-size / 1.8);
|
|
41
|
+
|
|
42
|
+
position: absolute;
|
|
43
|
+
right: 0;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
font-size: $avatar-size / 3.5;
|
|
46
|
+
color: $white;
|
|
47
|
+
transform: translate(20%, 20%);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-link {
|
|
52
|
+
display: inline-block;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
|
|
55
|
+
img {
|
|
56
|
+
@include avatar-image($avatar-size);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.navbar.no-1d & {
|
|
61
|
+
margin-top: -0.3rem;
|
|
62
|
+
width: 3rem;
|
|
63
|
+
max-width: 3rem;
|
|
64
|
+
height: 3rem;
|
|
65
|
+
background-color: $white;
|
|
66
|
+
|
|
67
|
+
@include media-breakpoint-down(md) {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
width: 2rem;
|
|
70
|
+
max-width: 2rem;
|
|
71
|
+
height: 2rem;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
%btn-alt-base {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: 2;
|
|
4
|
+
padding: 0 15px;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
line-height: 2.4em;
|
|
7
|
+
color: #fff;
|
|
8
|
+
letter-spacing: 1.08px;
|
|
9
|
+
border: 1px solid currentColor;
|
|
10
|
+
border-radius: 30px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.btn {
|
|
14
|
+
&.btn-alt {
|
|
15
|
+
@extend %btn-alt-base;
|
|
16
|
+
|
|
17
|
+
background-color: $third;
|
|
18
|
+
border-color: $third;
|
|
19
|
+
|
|
20
|
+
@include add-transitions(border-color, background-color) {
|
|
21
|
+
background-color: $orange;
|
|
22
|
+
border-color: $orange;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.btn-alt-outline {
|
|
27
|
+
@extend %btn-alt-base;
|
|
28
|
+
|
|
29
|
+
@include add-transitions(border-color, color) {
|
|
30
|
+
color: $orange;
|
|
31
|
+
border-color: $orange;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
color: $third;
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
border: 1px solid $third;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-light {
|
|
40
|
+
background-color: $gray-200;
|
|
41
|
+
|
|
42
|
+
@include add-transitions(color, background-color) {
|
|
43
|
+
color: $primary;
|
|
44
|
+
text-decoration: none;
|
|
45
|
+
background-color: $gray-200;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&-circle {
|
|
50
|
+
@include circle(2.5em);
|
|
51
|
+
@include have-child-in-middle ();
|
|
52
|
+
|
|
53
|
+
@include add-transitions(color, background-color) {
|
|
54
|
+
color: #fff;
|
|
55
|
+
text-decoration: none;
|
|
56
|
+
background-color: $cyan;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
position: relative;
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
// margin-bottom: 1.5em;
|
|
62
|
+
font-size: 2em;
|
|
63
|
+
color: #fff;
|
|
64
|
+
background: $third;
|
|
65
|
+
|
|
66
|
+
.label {
|
|
67
|
+
position: absolute;
|
|
68
|
+
bottom: -2em;
|
|
69
|
+
font-size: 0.8em;
|
|
70
|
+
color: $gray-700;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
// A réécrire, mais le btn-circle de Julien ne colle pas à mon cas (les width en em, la font-size, la couleur, etc)
|
|
74
|
+
|
|
75
|
+
&-circular {
|
|
76
|
+
@include circle(32px);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
$breakpoint-up: "lg";
|
|
2
|
+
$breakpoint-down: "lg";
|
|
3
|
+
|
|
4
|
+
.container-advanced {
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
&-wrapper {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
margin: 20px auto;
|
|
13
|
+
|
|
14
|
+
@include media-breakpoint-down($breakpoint-down) {
|
|
15
|
+
width: 300vw;
|
|
16
|
+
max-width: unset;
|
|
17
|
+
|
|
18
|
+
@include add-transitions(transform);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@include media-breakpoint-up($breakpoint-up) {
|
|
22
|
+
padding: 0 2rem;
|
|
23
|
+
max-width: 1700px;
|
|
24
|
+
gap: 4rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-left,
|
|
29
|
+
&-center,
|
|
30
|
+
&-right {
|
|
31
|
+
flex: 1;
|
|
32
|
+
|
|
33
|
+
@include media-breakpoint-down($breakpoint-down) {
|
|
34
|
+
margin: 2rem;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-left,
|
|
39
|
+
&-right {
|
|
40
|
+
@include media-breakpoint-up($breakpoint-up) {
|
|
41
|
+
max-width: 25%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-left {
|
|
46
|
+
order: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&-center {
|
|
50
|
+
order: 2;
|
|
51
|
+
|
|
52
|
+
@include media-breakpoint-up($breakpoint-up) {
|
|
53
|
+
max-width: 50%;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&-right {
|
|
58
|
+
order: 3;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@include media-breakpoint-down($breakpoint-down) {
|
|
62
|
+
&.focus-left {
|
|
63
|
+
.container-advanced-wrapper {
|
|
64
|
+
transform: translateX(0);
|
|
65
|
+
}
|
|
66
|
+
&.hide {
|
|
67
|
+
.container-advanced-center > *,
|
|
68
|
+
.container-advanced-right > * {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.focus-right {
|
|
75
|
+
.container-advanced-wrapper {
|
|
76
|
+
transform: translateX(100 / 3 * 2% * -1);
|
|
77
|
+
}
|
|
78
|
+
&.hide {
|
|
79
|
+
.container-advanced-center > *,
|
|
80
|
+
.container-advanced-left > * {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.focus-center {
|
|
87
|
+
.container-advanced-wrapper {
|
|
88
|
+
transform: translateX(100 / 3 * 1% * -1);
|
|
89
|
+
}
|
|
90
|
+
&.hide {
|
|
91
|
+
.container-advanced-left > *,
|
|
92
|
+
.container-advanced-right > * {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-nav {
|
|
100
|
+
color: $white;
|
|
101
|
+
background-color: $third;
|
|
102
|
+
|
|
103
|
+
@include media-breakpoint-up($breakpoint-up) {
|
|
104
|
+
display: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.list-trigger {
|
|
108
|
+
display: flex;
|
|
109
|
+
justify-content: space-around;
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
|
|
112
|
+
.trigger {
|
|
113
|
+
@include add-before-layer() {
|
|
114
|
+
@include add-transitions(opacity, transform);
|
|
115
|
+
|
|
116
|
+
top: 50%;
|
|
117
|
+
z-index: -1;
|
|
118
|
+
height: auto;
|
|
119
|
+
padding-top: 100%;
|
|
120
|
+
background: $cyan;
|
|
121
|
+
border-radius: 50%;
|
|
122
|
+
opacity: 0;
|
|
123
|
+
transform: translateY(-50%) scale(1.1);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
z-index: 2;
|
|
127
|
+
flex: 1;
|
|
128
|
+
align-self: center;
|
|
129
|
+
padding: 15px;
|
|
130
|
+
font-size: 1.1rem;
|
|
131
|
+
text-align: center;
|
|
132
|
+
|
|
133
|
+
&.on {
|
|
134
|
+
&::before {
|
|
135
|
+
opacity: 1;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/* VARIABLES */
|
|
2
|
+
$domino-width: 240px;
|
|
3
|
+
$overlay-width: $domino-width / 1.5;
|
|
4
|
+
|
|
5
|
+
/* COMPONENT */
|
|
6
|
+
.dominos {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
align-content: flex-start;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.domino {
|
|
14
|
+
position: relative;
|
|
15
|
+
margin: 10px;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
background-color: $white;
|
|
18
|
+
border: 1px solid $gray-300;
|
|
19
|
+
border-radius: $border-radius-lg;
|
|
20
|
+
|
|
21
|
+
@extend .transition-hover;
|
|
22
|
+
|
|
23
|
+
&-image {
|
|
24
|
+
position: relative;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
height: 120px;
|
|
29
|
+
border-radius: $border-radius-lg $border-radius-lg 0 0;
|
|
30
|
+
|
|
31
|
+
&::before {
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 0;
|
|
34
|
+
top: 0;
|
|
35
|
+
content: '';
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
background: currentColor;
|
|
39
|
+
opacity: 0.1;
|
|
40
|
+
border-radius: $border-radius-lg $border-radius-lg 0 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
img {
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: 100%;
|
|
46
|
+
border-radius: $border-radius-lg $border-radius-lg 0 0;
|
|
47
|
+
object-fit: cover;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-overlay {
|
|
52
|
+
position: absolute;
|
|
53
|
+
top: 0;
|
|
54
|
+
left: 0;
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: flex-start;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
padding: 5px 10px;
|
|
61
|
+
color: $white;
|
|
62
|
+
border-radius: $border-radius-lg $border-radius-lg 0 0;
|
|
63
|
+
|
|
64
|
+
span {
|
|
65
|
+
font-size: 1.2rem;
|
|
66
|
+
font-weight: bold;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
i {
|
|
70
|
+
margin: 3px;
|
|
71
|
+
font-weight: normal;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
& .left,
|
|
75
|
+
& .right {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.folder .domino-image,
|
|
81
|
+
&.file .domino-image {
|
|
82
|
+
align-items: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
|
|
85
|
+
> i {
|
|
86
|
+
font-size: 5rem;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.folder .domino-image {
|
|
91
|
+
color: $gray-600;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&-infos {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
height: calc(#{$domino-width} - #{$overlay-width});
|
|
99
|
+
padding: 10px;
|
|
100
|
+
|
|
101
|
+
.domino-title {
|
|
102
|
+
margin-bottom: 5px;
|
|
103
|
+
font-size: 1.4rem;
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
color: $gray-700;
|
|
106
|
+
|
|
107
|
+
@extend .text-truncate;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.domino-info {
|
|
111
|
+
font-size: 1.2rem;
|
|
112
|
+
color: $gray-600;
|
|
113
|
+
|
|
114
|
+
@extend .text-truncate;
|
|
115
|
+
|
|
116
|
+
a {
|
|
117
|
+
font-weight: bold;
|
|
118
|
+
color: $secondary;
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
|
|
121
|
+
&:hover {
|
|
122
|
+
color: $primary;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
border-color: $secondary;
|
|
130
|
+
|
|
131
|
+
@extend .transition-hover-slow;
|
|
132
|
+
|
|
133
|
+
.domino-overlay {
|
|
134
|
+
background-color: rgba($black, 0.4);
|
|
135
|
+
|
|
136
|
+
& .left,
|
|
137
|
+
& .right {
|
|
138
|
+
opacity: 1;
|
|
139
|
+
|
|
140
|
+
@extend .transition-hover;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&:active,
|
|
146
|
+
&.active {
|
|
147
|
+
background-color: rgba($secondary, 0.1);
|
|
148
|
+
border-color: $secondary;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.active {
|
|
152
|
+
.domino-overlay {
|
|
153
|
+
background-color: rgba($black, 0.5);
|
|
154
|
+
|
|
155
|
+
& .left,
|
|
156
|
+
& .right {
|
|
157
|
+
opacity: 1;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.dominos .domino {
|
|
164
|
+
width: calc(16.667% - 20px);
|
|
165
|
+
max-width: $domino-width;
|
|
166
|
+
@media (max-width: 992px) {
|
|
167
|
+
margin: 5px;
|
|
168
|
+
&:hover,
|
|
169
|
+
&.active {
|
|
170
|
+
.domino-overlay {
|
|
171
|
+
background-color: transparent;
|
|
172
|
+
|
|
173
|
+
& .left,
|
|
174
|
+
& .right {
|
|
175
|
+
opacity: 0;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.drag-n-drop {
|
|
2
|
+
&-item {
|
|
3
|
+
.draggable {} // élement déplacable
|
|
4
|
+
.no-draggable {} // élément non déplacable
|
|
5
|
+
}
|
|
6
|
+
&-area {
|
|
7
|
+
.draggable {} // Reçoit le drag
|
|
8
|
+
.no-draggable {} // Ne peux pas recevoir le drag
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.drop-zone {
|
|
13
|
+
padding: 50px;
|
|
14
|
+
border: 2px dashed $gray-300;
|
|
15
|
+
background-color: rgba($gray-100, 0.25);
|
|
16
|
+
border-radius: $border-radius-lg;
|
|
17
|
+
@include media-breakpoint-down(md) {
|
|
18
|
+
padding: 25px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.emptyscreen {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
text-align: center;
|
|
8
|
+
padding: 50px;
|
|
9
|
+
|
|
10
|
+
@include media-breakpoint-down(md) {
|
|
11
|
+
padding: 25px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-header {
|
|
15
|
+
color: $gray-800;
|
|
16
|
+
font-size: 3rem;
|
|
17
|
+
|
|
18
|
+
@include media-breakpoint-down(md) {
|
|
19
|
+
font-size: 2rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-body {
|
|
24
|
+
color: $gray-700;
|
|
25
|
+
margin: 15px;
|
|
26
|
+
|
|
27
|
+
@include media-breakpoint-down(md) {
|
|
28
|
+
font-size: 1.4rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-image {
|
|
33
|
+
max-height: 300px;
|
|
34
|
+
margin-top: 25px;
|
|
35
|
+
|
|
36
|
+
@include media-breakpoint-down(md) {
|
|
37
|
+
max-height: 200px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.mini {
|
|
41
|
+
max-height: 200px;
|
|
42
|
+
|
|
43
|
+
@include media-breakpoint-down(md) {
|
|
44
|
+
max-height: 150px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|