@trilogy-ds/styles 0.0.1-beta-1
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/framework/src/_all.scss +8 -0
- package/framework/src/base/_all.scss +9 -0
- package/framework/src/base/_color.scss +58 -0
- package/framework/src/base/_elements.scss +34 -0
- package/framework/src/base/_fonts.scss +2 -0
- package/framework/src/base/_generic.scss +68 -0
- package/framework/src/base/_helpers.scss +880 -0
- package/framework/src/base/_loading.scss +102 -0
- package/framework/src/base/_reset.scss +138 -0
- package/framework/src/components/_accordion.scss +178 -0
- package/framework/src/components/_all.scss +30 -0
- package/framework/src/components/_autolayout2.scss +38 -0
- package/framework/src/components/_breadcrumb.scss +45 -0
- package/framework/src/components/_card.scss +298 -0
- package/framework/src/components/_countdown.scss +55 -0
- package/framework/src/components/_disclaimer.scss +84 -0
- package/framework/src/components/_divider.scss +18 -0
- package/framework/src/components/_dropdown.scss +128 -0
- package/framework/src/components/_fab.scss +60 -0
- package/framework/src/components/_level.scss +120 -0
- package/framework/src/components/_media.scss +64 -0
- package/framework/src/components/_menu.scss +213 -0
- package/framework/src/components/_modal.scss +201 -0
- package/framework/src/components/_otp.scss +92 -0
- package/framework/src/components/_pagination.scss +182 -0
- package/framework/src/components/_plus-symbol.scss +32 -0
- package/framework/src/components/_popover.scss +340 -0
- package/framework/src/components/_price.scss +209 -0
- package/framework/src/components/_product-tour.scss +131 -0
- package/framework/src/components/_progress-radial.scss +23 -0
- package/framework/src/components/_range.scss +84 -0
- package/framework/src/components/_scroll-view.scss +19 -0
- package/framework/src/components/_search-modal.scss +197 -0
- package/framework/src/components/_segmented-control.scss +60 -0
- package/framework/src/components/_slices.scss +316 -0
- package/framework/src/components/_slider.scss +92 -0
- package/framework/src/components/_stepper.scss +397 -0
- package/framework/src/components/_switch.scss +209 -0
- package/framework/src/components/_tabs.scss +212 -0
- package/framework/src/components/_timeline.scss +367 -0
- package/framework/src/elements/_alert.scss +91 -0
- package/framework/src/elements/_all.scss +35 -0
- package/framework/src/elements/_badge.scss +81 -0
- package/framework/src/elements/_box.scss +267 -0
- package/framework/src/elements/_button.scss +192 -0
- package/framework/src/elements/_checkbox.scss +39 -0
- package/framework/src/elements/_checkradio.scss +173 -0
- package/framework/src/elements/_chips.scss +100 -0
- package/framework/src/elements/_container.scss +108 -0
- package/framework/src/elements/_dot.scss +6 -0
- package/framework/src/elements/_entry.scss +109 -0
- package/framework/src/elements/_form.scss +593 -0
- package/framework/src/elements/_icon.scss +384 -0
- package/framework/src/elements/_image.scss +59 -0
- package/framework/src/elements/_input-gauge.scss +37 -0
- package/framework/src/elements/_input-icons.scss +41 -0
- package/framework/src/elements/_link.scss +79 -0
- package/framework/src/elements/_list.scss +61 -0
- package/framework/src/elements/_loader.scss +126 -0
- package/framework/src/elements/_notification.scss +151 -0
- package/framework/src/elements/_options.scss +146 -0
- package/framework/src/elements/_other.scss +44 -0
- package/framework/src/elements/_paragraph.scss +101 -0
- package/framework/src/elements/_progress.scss +212 -0
- package/framework/src/elements/_radio.scss +67 -0
- package/framework/src/elements/_select.scss +315 -0
- package/framework/src/elements/_sticker.scss +151 -0
- package/framework/src/elements/_switch.scss +108 -0
- package/framework/src/elements/_table.scss +298 -0
- package/framework/src/elements/_tag.scss +131 -0
- package/framework/src/elements/_textarea.scss +125 -0
- package/framework/src/elements/_timeline.scss +283 -0
- package/framework/src/elements/_title.scss +139 -0
- package/framework/src/elements/_toaster.scss +128 -0
- package/framework/src/grid/_all.scss +3 -0
- package/framework/src/grid/_columns.scss +952 -0
- package/framework/src/grid/_rows.scss +47 -0
- package/framework/src/grid/_tiles.scss +78 -0
- package/framework/src/layout/_all.scss +6 -0
- package/framework/src/layout/_hero.scss +268 -0
- package/framework/src/layout/_main.scss +36 -0
- package/framework/src/layout/_section.scss +65 -0
- package/framework/src/layout/_toolbar.scss +100 -0
- package/framework/src/trilogy-core.scss +16 -0
- package/framework/src/trilogy-mangled.scss +14 -0
- package/framework/src/trilogy-namespaced.scss +14 -0
- package/framework/src/trilogy.scss +8 -0
- package/framework/src/utilities/_all.scss +9 -0
- package/framework/src/utilities/_animations.scss +71 -0
- package/framework/src/utilities/_controls.scss +67 -0
- package/framework/src/utilities/_derived-variables.scss +104 -0
- package/framework/src/utilities/_functions.scss +94 -0
- package/framework/src/utilities/_initial-variables.scss +150 -0
- package/framework/src/utilities/_mixins.scss +745 -0
- package/framework/src/utilities/_post.scss +6 -0
- package/framework/src/utilities/_pre.scss +5 -0
- package/framework/src/utilities/_spacing.scss +10 -0
- package/framework/src/utilities/_tools.scss +3 -0
- package/package.json +22 -0
- package/themes/default/src/_all.scss +1 -0
- package/themes/default/src/assets.scss +11 -0
- package/themes/default/src/utilities/_all.scss +0 -0
- package/themes/default/src/utilities/_post.scss +0 -0
- package/themes/default/src/utilities/_pre.scss +3 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
.pagination {
|
|
2
|
+
font-size: $size-normal;
|
|
3
|
+
margin: -2.5px;
|
|
4
|
+
|
|
5
|
+
&.is-rounded {
|
|
6
|
+
.pagination-previous,
|
|
7
|
+
.pagination-next {
|
|
8
|
+
padding-left: 1em;
|
|
9
|
+
padding-right: 1em;
|
|
10
|
+
height: 35px;
|
|
11
|
+
width: 35px;
|
|
12
|
+
border-radius: $radius-rounded;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.pagination-link {
|
|
16
|
+
height: 35px;
|
|
17
|
+
border-radius: $radius-rounded;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.pagination-list {
|
|
21
|
+
flex: 0 0 auto;
|
|
22
|
+
|
|
23
|
+
.pagination-link {
|
|
24
|
+
&.is-current {
|
|
25
|
+
background: getColor('alternate');
|
|
26
|
+
border-color: currentColor;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.pagination,
|
|
34
|
+
.pagination-list {
|
|
35
|
+
align-items: center;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
text-align: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pagination-previous,
|
|
42
|
+
.pagination-next,
|
|
43
|
+
.pagination-link,
|
|
44
|
+
.pagination-ellipsis {
|
|
45
|
+
@include control;
|
|
46
|
+
@include unselectable;
|
|
47
|
+
|
|
48
|
+
font-size: 1em;
|
|
49
|
+
padding-left: 0.5em;
|
|
50
|
+
padding-right: 0.5em;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
margin: 2.5px;
|
|
53
|
+
text-align: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.pagination-previous,
|
|
57
|
+
.pagination-next,
|
|
58
|
+
.pagination-link {
|
|
59
|
+
border-color: transparent;
|
|
60
|
+
color: getColor('grey-dark');
|
|
61
|
+
min-width: 2.25em;
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
border-color: getColor('alternate');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:focus {
|
|
68
|
+
border-color: getVariantColor('alternate',2);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:active {
|
|
72
|
+
box-shadow: inset 0 1px 2px getColor('grey-dark');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&[disabled] {
|
|
76
|
+
background-color: getColor('grey-lighter');
|
|
77
|
+
border-color: currentColor;
|
|
78
|
+
box-shadow: none;
|
|
79
|
+
color: getColor('grey');
|
|
80
|
+
opacity: 0.5;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.pagination-previous,
|
|
85
|
+
.pagination-next {
|
|
86
|
+
padding-left: 0.75em;
|
|
87
|
+
padding-right: 0.75em;
|
|
88
|
+
white-space: nowrap;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.pagination-link {
|
|
92
|
+
&.is-current {
|
|
93
|
+
background-color: getColor('alternate');
|
|
94
|
+
border-color: currentColor;
|
|
95
|
+
color: getColor('background');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.pagination-ellipsis {
|
|
100
|
+
color: getColor('grey-light');
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.pagination-list {
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include mobile {
|
|
109
|
+
.pagination {
|
|
110
|
+
flex-wrap: wrap;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.pagination-previous,
|
|
114
|
+
.pagination-next {
|
|
115
|
+
flex-grow: 1;
|
|
116
|
+
flex-shrink: 1;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.pagination-list {
|
|
120
|
+
li {
|
|
121
|
+
flex-grow: 1;
|
|
122
|
+
flex-shrink: 1;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@include tablet {
|
|
128
|
+
.pagination-list {
|
|
129
|
+
flex-grow: 1;
|
|
130
|
+
flex-shrink: 1;
|
|
131
|
+
justify-content: flex-start;
|
|
132
|
+
order: 1;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.pagination-previous {
|
|
136
|
+
order: 2;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.pagination-next {
|
|
140
|
+
order: 3;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.pagination {
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
|
|
146
|
+
&.is-centered {
|
|
147
|
+
.pagination-previous {
|
|
148
|
+
order: 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.pagination-list {
|
|
152
|
+
justify-content: center;
|
|
153
|
+
order: 2;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.pagination-next {
|
|
157
|
+
order: 3;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.is-right {
|
|
162
|
+
.pagination-previous {
|
|
163
|
+
order: 1;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.pagination-next {
|
|
167
|
+
order: 2;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.pagination-list {
|
|
171
|
+
justify-content: flex-end;
|
|
172
|
+
order: 3;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@include desktop {
|
|
179
|
+
.pagination {
|
|
180
|
+
justify-content: center;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
$plus-symbol-size: 40px;
|
|
2
|
+
|
|
3
|
+
@mixin plus-symbol($color: getColor('grey-light'), $text-color: getColor('grey-dark')) {
|
|
4
|
+
&::after {
|
|
5
|
+
content: "+";
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: $plus-symbol-size;
|
|
8
|
+
height: $plus-symbol-size;
|
|
9
|
+
border-radius: $plus-symbol-size;
|
|
10
|
+
font-size: 24px;
|
|
11
|
+
text-align: center;
|
|
12
|
+
line-height: $plus-symbol-size;
|
|
13
|
+
background-color: $color;
|
|
14
|
+
color: $text-color;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.plus-symbol {
|
|
19
|
+
@include plus-symbol();
|
|
20
|
+
|
|
21
|
+
display: inline-block;
|
|
22
|
+
|
|
23
|
+
@each $name in $colors-brand {
|
|
24
|
+
$brandName: getColorBrandName($name);
|
|
25
|
+
$color: getColor($name);
|
|
26
|
+
$color-invert: invertColor($name);
|
|
27
|
+
|
|
28
|
+
&.is-#{$brandName} {
|
|
29
|
+
@include plus-symbol($color, $color-invert);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
@mixin position-top {
|
|
2
|
+
top: auto;
|
|
3
|
+
bottom: 100%;
|
|
4
|
+
left: 50%;
|
|
5
|
+
right: auto;
|
|
6
|
+
transform: translate(-50%, 2.5px);
|
|
7
|
+
margin-bottom: 8px;
|
|
8
|
+
|
|
9
|
+
&::before {
|
|
10
|
+
bottom: auto;
|
|
11
|
+
right: auto;
|
|
12
|
+
top: 100%;
|
|
13
|
+
left: 50%;
|
|
14
|
+
transform: rotate(-45deg);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin position-right {
|
|
19
|
+
top: auto;
|
|
20
|
+
bottom: 50%;
|
|
21
|
+
left: 100%;
|
|
22
|
+
right: auto;
|
|
23
|
+
transform: translate(7px, 50%);
|
|
24
|
+
|
|
25
|
+
// flèche sur le contour de la popover
|
|
26
|
+
&::before {
|
|
27
|
+
top: 50%;
|
|
28
|
+
bottom: auto;
|
|
29
|
+
left: 0;
|
|
30
|
+
right: auto;
|
|
31
|
+
transform: rotate(45deg);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin position-bottom {
|
|
36
|
+
top: 100%;
|
|
37
|
+
bottom: auto;
|
|
38
|
+
left: 50%;
|
|
39
|
+
right: auto;
|
|
40
|
+
transform: translate(-50%, 7px);
|
|
41
|
+
|
|
42
|
+
// flèche sur le contour de la popover
|
|
43
|
+
&::before {
|
|
44
|
+
top: 0;
|
|
45
|
+
bottom: auto;
|
|
46
|
+
right: auto;
|
|
47
|
+
left: 50%;
|
|
48
|
+
transform: rotate(135deg);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@mixin position-left {
|
|
53
|
+
top: auto;
|
|
54
|
+
bottom: 50%;
|
|
55
|
+
left: auto;
|
|
56
|
+
right: 100%;
|
|
57
|
+
transform: translate(-7px, 50%);
|
|
58
|
+
|
|
59
|
+
// flèche sur le contour de la popover
|
|
60
|
+
&::before {
|
|
61
|
+
top: 50%;
|
|
62
|
+
bottom: auto;
|
|
63
|
+
left: 100%;
|
|
64
|
+
right: auto;
|
|
65
|
+
transform: rotate(-135deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.popover {
|
|
70
|
+
position: relative;
|
|
71
|
+
display: inline-block;
|
|
72
|
+
|
|
73
|
+
.popover-content {
|
|
74
|
+
@include position-top();
|
|
75
|
+
|
|
76
|
+
background-color: getColor('font');
|
|
77
|
+
border-radius: $radius-small;
|
|
78
|
+
box-shadow: $shadow;
|
|
79
|
+
color: getColor('background');
|
|
80
|
+
display: inline-block;
|
|
81
|
+
font-size: 12px;
|
|
82
|
+
opacity: 0.95;
|
|
83
|
+
visibility: hidden;
|
|
84
|
+
padding: $spacing-2;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
position: absolute;
|
|
87
|
+
text-align: center;
|
|
88
|
+
max-width: 210px;
|
|
89
|
+
width: max-content;
|
|
90
|
+
z-index: zindex('popover');
|
|
91
|
+
|
|
92
|
+
ul {
|
|
93
|
+
padding-left: 14px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// dessine la flèche sur le contour de la popover
|
|
97
|
+
&::before {
|
|
98
|
+
content: '';
|
|
99
|
+
border-color: transparent;
|
|
100
|
+
border-bottom-color: getColor('font');
|
|
101
|
+
border-left-color: getColor('font');
|
|
102
|
+
border-style: solid;
|
|
103
|
+
border-width: 4px;
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
position: absolute;
|
|
106
|
+
margin-left: -4px;
|
|
107
|
+
margin-top: -4px;
|
|
108
|
+
transform-origin: center;
|
|
109
|
+
height: 0;
|
|
110
|
+
width: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.title,
|
|
114
|
+
.suptitle,
|
|
115
|
+
.paragraph,
|
|
116
|
+
.text,
|
|
117
|
+
p {
|
|
118
|
+
color: getColor('background');
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&.is-popover-right .popover-content {
|
|
123
|
+
@include position-right();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.is-popover-bottom .popover-content {
|
|
127
|
+
@include position-bottom();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.is-popover-left .popover-content {
|
|
131
|
+
@include position-left();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include mobile {
|
|
135
|
+
&.is-popover-top-mobile .popover-content {
|
|
136
|
+
@include position-top();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.is-popover-right-mobile .popover-content {
|
|
140
|
+
@include position-right();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.is-popover-bottom-mobile .popover-content {
|
|
144
|
+
@include position-bottom();
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.is-popover-left-mobile .popover-content {
|
|
148
|
+
@include position-left();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@include tablet {
|
|
153
|
+
&.is-popover-top-tablet .popover-content {
|
|
154
|
+
@include position-top();
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.is-popover-right-tablet .popover-content {
|
|
158
|
+
@include position-right();
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.is-popover-bottom-tablet .popover-content {
|
|
162
|
+
@include position-bottom();
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.is-popover-left-tablet .popover-content {
|
|
166
|
+
@include position-left();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@include tablet-only {
|
|
171
|
+
&.is-popover-top-tablet-only .popover-content {
|
|
172
|
+
@include position-top();
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&.is-popover-right-tablet-only .popover-content {
|
|
176
|
+
@include position-right();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&.is-popover-bottom-tablet-only .popover-content {
|
|
180
|
+
@include position-bottom();
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&.is-popover-left-tablet-only .popover-content {
|
|
184
|
+
@include position-left();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@include touch {
|
|
189
|
+
&.is-popover-top-touch .popover-content {
|
|
190
|
+
@include position-top();
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&.is-popover-right-touch .popover-content {
|
|
194
|
+
@include position-right();
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.is-popover-bottom-touch .popover-content {
|
|
198
|
+
@include position-bottom();
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.is-popover-left-touch .popover-content {
|
|
202
|
+
@include position-left();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@include desktop {
|
|
207
|
+
&.is-popover-top-desktop .popover-content {
|
|
208
|
+
@include position-top();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.is-popover-right-desktop .popover-content {
|
|
212
|
+
@include position-right();
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&.is-popover-bottom-desktop .popover-content {
|
|
216
|
+
@include position-bottom();
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&.is-popover-left-desktop .popover-content {
|
|
220
|
+
@include position-left();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
@include desktop-only {
|
|
225
|
+
&.is-popover-top-desktop-only .popover-content {
|
|
226
|
+
@include position-top();
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.is-popover-right-desktop-only .popover-content {
|
|
230
|
+
@include position-right();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.is-popover-bottom-desktop-only .popover-content {
|
|
234
|
+
@include position-bottom();
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.is-popover-left-desktop-only .popover-content {
|
|
238
|
+
@include position-left();
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@include widescreen {
|
|
243
|
+
&.is-popover-top-widescreen .popover-content {
|
|
244
|
+
@include position-top();
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&.is-popover-right-widescreen .popover-content {
|
|
248
|
+
@include position-right();
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&.is-popover-bottom-widescreen .popover-content {
|
|
252
|
+
@include position-bottom();
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&.is-popover-left-widescreen .popover-content {
|
|
256
|
+
@include position-left();
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@include widescreen-only {
|
|
261
|
+
&.is-popover-top-widescreen-only .popover-content {
|
|
262
|
+
@include position-top();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
&.is-popover-right-widescreen-only .popover-content {
|
|
266
|
+
@include position-right();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&.is-popover-bottom-widescreen-only .popover-content {
|
|
270
|
+
@include position-bottom();
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&.is-popover-left-widescreen-only .popover-content {
|
|
274
|
+
@include position-left();
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@include fullhd {
|
|
279
|
+
&.is-popover-top-fullhd .popover-content {
|
|
280
|
+
@include position-top();
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&.is-popover-right-fullhd .popover-content {
|
|
284
|
+
@include position-right();
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
&.is-popover-bottom-fullhd .popover-content {
|
|
288
|
+
@include position-bottom();
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
&.is-popover-left-fullhd .popover-content {
|
|
292
|
+
@include position-left();
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// ajustement des flèches en fonction de la position
|
|
297
|
+
&.is-popover-right,
|
|
298
|
+
&.is-popover-left {
|
|
299
|
+
&.is-arrow-start .popover-content::before {
|
|
300
|
+
top: 20%;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&.is-arrow-end .popover-content::before {
|
|
304
|
+
top: 80%;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&.is-popover-right {
|
|
309
|
+
&.is-arrow-start .popover-content::before,
|
|
310
|
+
&.is-arrow-end .popover-content::before {
|
|
311
|
+
left: 0;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&.is-popover-left {
|
|
316
|
+
&.is-arrow-start .popover-content::before,
|
|
317
|
+
&.is-arrow-end .popover-content::before {
|
|
318
|
+
left: 100%;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&.is-arrow-start .popover-content::before {
|
|
323
|
+
left: 10%;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&.is-arrow-end .popover-content::before {
|
|
327
|
+
left: 90%;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&.is-popover-active .popover-content,
|
|
331
|
+
&:hover .popover-content {
|
|
332
|
+
opacity: 1;
|
|
333
|
+
visibility: visible;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.popover-trigger:focus ~ .popover-content {
|
|
337
|
+
opacity: 1;
|
|
338
|
+
visibility: visible;
|
|
339
|
+
}
|
|
340
|
+
}
|