@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-fix-timepicker
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/default/assets/icons/all/arrow-high.svg +1 -0
- package/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/assets/icons/all/clock.svg +1 -0
- package/dist/default/assets/icons/all/file-attached.svg +1 -0
- package/dist/default/assets/icons/all/micro.svg +1 -0
- package/dist/default/assets/icons/all/paperclip.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/_all.scss +2 -2
- package/framework/src/base/_all.scss +0 -1
- package/framework/src/base/_color.scss +1 -52
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +9 -1
- package/framework/src/base/_helpers.scss +34 -44
- package/framework/src/base/_loading.scss +9 -2
- package/framework/src/base/_reset.scss +11 -1
- package/framework/src/components/_accordion.scss +55 -97
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +332 -0
- package/framework/src/components/_badge.scss +87 -0
- package/framework/src/components/_box.scss +168 -0
- package/framework/src/components/_breadcrumb.scss +29 -38
- package/framework/src/components/_button.scss +86 -0
- package/framework/src/components/_calendar.scss +129 -0
- package/framework/src/components/_card.scss +32 -86
- package/framework/src/components/_checkbox.scss +73 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/{elements → components}/_container.scss +7 -46
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_divider.scss +49 -14
- package/framework/src/components/_dropdown.scss +166 -99
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +1005 -0
- package/framework/src/{elements → components}/_icon.scss +12 -11
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +53 -0
- package/framework/src/components/_link.scss +62 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/{elements → components}/_loader.scss +2 -2
- package/framework/src/components/_modal.scss +182 -158
- package/framework/src/components/_otp.scss +11 -30
- package/framework/src/components/_pagination.scss +60 -159
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +140 -165
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_prompt.scss +156 -0
- package/framework/src/components/_radio.scss +85 -0
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +55 -53
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +81 -224
- package/framework/src/{elements → components}/_sticker.scss +34 -29
- package/framework/src/components/_switch.scss +97 -191
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +114 -98
- package/framework/src/components/_tag.scss +114 -0
- package/framework/src/components/_text.scss +55 -0
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +28 -113
- package/framework/src/components/_timepicker-circular.scss +88 -0
- package/framework/src/components/_timepicker.scss +79 -0
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/{elements → components/alert}/_alert.scss +15 -12
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/{elements → components/input}/_form.scss +42 -33
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/components/input/_input-gauge.scss +44 -0
- package/framework/src/components/input/_input-icons.scss +55 -0
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/progress/_progress-radial.scss +28 -0
- package/framework/src/{elements → components/progress}/_progress.scss +33 -24
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -41
- package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
- package/framework/src/grid/_columns.scss +278 -763
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +92 -214
- package/framework/src/layout/_section.scss +10 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/trilogy-mangled.scss +3 -3
- package/framework/src/trilogy.scss +3 -2
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +0 -103
- package/framework/src/utilities/_initial-variables.scss +4 -144
- package/framework/src/utilities/_pre.scss +4 -1
- package/framework/src/utilities/mixins/_arrow.scss +21 -0
- package/framework/src/utilities/mixins/_delete.scss +86 -0
- package/framework/src/utilities/mixins/_index.scss +11 -0
- package/framework/src/utilities/mixins/_markup-group.scss +27 -0
- package/framework/src/utilities/mixins/_mixins.scss +372 -0
- package/framework/src/utilities/mixins/_overlay.scss +7 -0
- package/framework/src/utilities/mixins/_pattern.scss +10 -0
- package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
- package/framework/src/utilities/mixins/_spinner.scss +12 -0
- package/framework/src/utilities/mixins/_state.scss +25 -0
- package/framework/src/utilities/mixins/_unselectable.scss +10 -0
- package/framework/src/utilities/mixins/_utils.scss +24 -0
- package/framework/src/utilities/variables/_animation.scss +2 -0
- package/framework/src/utilities/variables/_color.scss +86 -0
- package/framework/src/utilities/variables/_font.scss +97 -0
- package/framework/src/utilities/variables/_index.scss +6 -0
- package/framework/src/utilities/variables/_responsiveness.scss +7 -0
- package/framework/src/utilities/variables/_shadow.scss +3 -0
- package/framework/src/utilities/variables/_zindex.scss +14 -0
- package/package.json +8 -3
- package/framework/src/components/_all.scss +0 -30
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_progress-radial.scss +0 -23
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/elements/_all.scss +0 -35
- package/framework/src/elements/_badge.scss +0 -81
- package/framework/src/elements/_box.scss +0 -267
- package/framework/src/elements/_button.scss +0 -192
- package/framework/src/elements/_checkbox.scss +0 -39
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_chips.scss +0 -100
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_entry.scss +0 -109
- package/framework/src/elements/_image.scss +0 -59
- package/framework/src/elements/_input-gauge.scss +0 -37
- package/framework/src/elements/_input-icons.scss +0 -41
- package/framework/src/elements/_link.scss +0 -79
- package/framework/src/elements/_list.scss +0 -61
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_paragraph.scss +0 -101
- package/framework/src/elements/_radio.scss +0 -67
- package/framework/src/elements/_select.scss +0 -315
- package/framework/src/elements/_switch.scss +0 -108
- package/framework/src/elements/_table.scss +0 -298
- package/framework/src/elements/_tag.scss +0 -131
- package/framework/src/elements/_textarea.scss +0 -125
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/elements/_title.scss +0 -139
- package/framework/src/layout/_toolbar.scss +0 -100
- package/framework/src/utilities/_mixins.scss +0 -744
|
@@ -7,20 +7,20 @@ $icon-padding-default: 8px;
|
|
|
7
7
|
$icon-dimensions-default: 15px;
|
|
8
8
|
|
|
9
9
|
$size: (
|
|
10
|
-
'
|
|
11
|
-
container: 20px, icon:
|
|
10
|
+
'smaller': (
|
|
11
|
+
container: 20px, icon:16px, radius: var(--radius-small)
|
|
12
12
|
),
|
|
13
13
|
'small': (
|
|
14
|
-
container: 32px, icon: 20px
|
|
14
|
+
container: 32px, icon: 20px, radius: var(--radius-small)
|
|
15
15
|
),
|
|
16
16
|
'medium': (
|
|
17
|
-
container: 48px, icon: 32px
|
|
17
|
+
container: 48px, icon: 32px, radius: var(--radius-medium)
|
|
18
18
|
),
|
|
19
19
|
'large': (
|
|
20
|
-
container: 66px, icon: 44px
|
|
20
|
+
container: 66px, icon: 44px, radius: var(--radius-medium)
|
|
21
21
|
),
|
|
22
22
|
'huge': (
|
|
23
|
-
container: 99px, icon: 66px
|
|
23
|
+
container: 99px, icon: 66px, radius: var(--radius-large)
|
|
24
24
|
)
|
|
25
25
|
);
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ $size: (
|
|
|
31
31
|
font-size: inherit;
|
|
32
32
|
width: 1.5em;
|
|
33
33
|
height: 1.5em;
|
|
34
|
-
|
|
34
|
+
border-radius: var(--radius-small);
|
|
35
35
|
[class^="tri-"],
|
|
36
36
|
[class*=" tri-"] {
|
|
37
37
|
&::before {
|
|
@@ -53,6 +53,7 @@ $size: (
|
|
|
53
53
|
@each $name, $sizeConfig in $size {
|
|
54
54
|
&.is-#{$name} {
|
|
55
55
|
font-size: map.get($sizeConfig, 'icon');
|
|
56
|
+
border-radius: map.get($sizeConfig, 'radius');
|
|
56
57
|
[class^="tri-picto-"],
|
|
57
58
|
[class*=" tri-picto-"] {
|
|
58
59
|
min-height: 1.5em !important;
|
|
@@ -71,7 +72,7 @@ $size: (
|
|
|
71
72
|
max-width: 100%;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
@each $name, $pair in $colors-brand-
|
|
75
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
75
76
|
$color: getColor($name);
|
|
76
77
|
$brandName: getColorBrandName($name);
|
|
77
78
|
|
|
@@ -85,13 +86,13 @@ $size: (
|
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
&.is-circled {
|
|
88
|
-
border-radius:
|
|
89
|
+
border-radius: 9999px;
|
|
89
90
|
text-align: center;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
&.is-stretched {
|
|
93
94
|
transform: skewX(-#{$icon-stretching-level});
|
|
94
|
-
border-
|
|
95
|
+
border-radius: 0 9px 0 0;
|
|
95
96
|
background-color: getColor('font');
|
|
96
97
|
|
|
97
98
|
[class^="tri-"],
|
|
@@ -240,7 +241,7 @@ $size: (
|
|
|
240
241
|
right: 0;
|
|
241
242
|
width: $icon-dimensions-default;
|
|
242
243
|
height: $icon-dimensions-default;
|
|
243
|
-
border-radius:
|
|
244
|
+
border-radius: 9999px;
|
|
244
245
|
background-color: getColor('main');
|
|
245
246
|
}
|
|
246
247
|
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.image {
|
|
2
|
+
display: block;
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
&.is-justified-start,
|
|
6
|
+
&.is-justified-center,
|
|
7
|
+
&.is-justified-end {
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
img {
|
|
12
|
+
display: block;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
|
|
15
|
+
&.b-loaded {
|
|
16
|
+
height: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.is-circled {
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.b-lazy {
|
|
26
|
+
transition: opacity 250ms ease-in-out;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
|
|
29
|
+
&.b-loaded {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
|
|
32
|
+
&.has-bg-image {
|
|
33
|
+
&.has-bg-gradient {
|
|
34
|
+
&::before {
|
|
35
|
+
opacity: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.has-bg-image {
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
background-position: center center;
|
|
44
|
+
background-size: cover;
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
height: 100%;
|
|
51
|
+
|
|
52
|
+
&.has-bg-gradient {
|
|
53
|
+
z-index: zindex('void');
|
|
54
|
+
opacity: 1;
|
|
55
|
+
|
|
56
|
+
&::before {
|
|
57
|
+
content: '';
|
|
58
|
+
opacity: 1;
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 0;
|
|
61
|
+
left: 0;
|
|
62
|
+
right: 0;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
z-index: zindex('tiny');
|
|
65
|
+
transition: opacity 750ms ease-in-out;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
@import '../utilities/spacing';
|
|
3
|
+
|
|
4
|
+
@import 'accordion';
|
|
5
|
+
@import 'alert';
|
|
6
|
+
@import 'autocomplete';
|
|
7
|
+
@import 'autolayout';
|
|
8
|
+
@import 'badge';
|
|
9
|
+
@import 'box';
|
|
10
|
+
@import 'breadcrumb';
|
|
11
|
+
@import 'button';
|
|
12
|
+
@import 'calendar';
|
|
13
|
+
@import 'card';
|
|
14
|
+
@import 'checkbox';
|
|
15
|
+
@import 'chips';
|
|
16
|
+
@import 'container';
|
|
17
|
+
@import 'countdown';
|
|
18
|
+
@import 'date-picker';
|
|
19
|
+
@import 'dropdown';
|
|
20
|
+
@import 'divider';
|
|
21
|
+
@import 'fab';
|
|
22
|
+
@import 'flex-box';
|
|
23
|
+
@import 'icon';
|
|
24
|
+
@import 'image';
|
|
25
|
+
@import 'input';
|
|
26
|
+
@import 'link';
|
|
27
|
+
@import 'list';
|
|
28
|
+
@import 'loader';
|
|
29
|
+
@import 'modal';
|
|
30
|
+
@import 'otp';
|
|
31
|
+
@import 'pagination';
|
|
32
|
+
@import 'popover';
|
|
33
|
+
@import 'price';
|
|
34
|
+
@import 'product-tour';
|
|
35
|
+
@import 'progress';
|
|
36
|
+
@import 'radio';
|
|
37
|
+
@import 'range';
|
|
38
|
+
@import 'scroll-view';
|
|
39
|
+
@import 'segmented-control';
|
|
40
|
+
@import 'select';
|
|
41
|
+
@import 'stepper';
|
|
42
|
+
@import 'sticker';
|
|
43
|
+
@import 'switch';
|
|
44
|
+
@import 'table';
|
|
45
|
+
@import 'tabs';
|
|
46
|
+
@import 'tag';
|
|
47
|
+
@import 'text';
|
|
48
|
+
@import 'textarea';
|
|
49
|
+
@import 'timeline';
|
|
50
|
+
@import 'title';
|
|
51
|
+
@import 'prompt';
|
|
52
|
+
@import 'timepicker-circular';
|
|
53
|
+
@import 'timepicker'
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.link {
|
|
2
|
+
[disabled] {
|
|
3
|
+
@include disabledRulesWithoutBG;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&.is-small {
|
|
7
|
+
font-size: $size-6;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.link:not([disabled]) {
|
|
12
|
+
@extend %link-states;
|
|
13
|
+
|
|
14
|
+
position: relative;
|
|
15
|
+
font-weight: $weight-normal;
|
|
16
|
+
color: getColor($link-colors);
|
|
17
|
+
box-decoration-break: clone;
|
|
18
|
+
text-decoration: underline;
|
|
19
|
+
text-decoration-thickness : 2px;
|
|
20
|
+
text-underline-offset: 4px;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
|
|
23
|
+
&.has-icon {
|
|
24
|
+
display: inline-block;
|
|
25
|
+
align-items: center;
|
|
26
|
+
|
|
27
|
+
&::after {
|
|
28
|
+
width: calc(100% - 48px);
|
|
29
|
+
bottom: 5.5px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.icon {
|
|
33
|
+
vertical-align: middle;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.is-inverted {
|
|
38
|
+
color: getColor('background');
|
|
39
|
+
|
|
40
|
+
&.has-icon {
|
|
41
|
+
> .icon {
|
|
42
|
+
color: getColor('background');
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include touch {
|
|
48
|
+
white-space: normal !important;
|
|
49
|
+
box-decoration-break: clone;
|
|
50
|
+
display: inline;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.text .link:not([disabled]) {
|
|
55
|
+
text-underline-offset: 2px;
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
text-decoration-thickness : 1px;
|
|
58
|
+
&:hover {
|
|
59
|
+
font-weight: $weight-normal;
|
|
60
|
+
filter: brightness(0.8);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Bullet list classiques
|
|
2
|
+
ol.list {
|
|
3
|
+
counter-reset: customCounter;
|
|
4
|
+
|
|
5
|
+
& > li.list-item {
|
|
6
|
+
counter-increment: customCounter;
|
|
7
|
+
&:not(:has(.icon)) {
|
|
8
|
+
&::before{
|
|
9
|
+
content: counter(customCounter) ". ";
|
|
10
|
+
margin-right:$spacing-4;
|
|
11
|
+
font-weight: $weight-bold;
|
|
12
|
+
font-size: $text-14 !important;
|
|
13
|
+
font-family: $family-secondary;
|
|
14
|
+
line-height: 1.5 !important;
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
ul.list {
|
|
22
|
+
li.list-item {
|
|
23
|
+
&:not(:has(.icon)) {
|
|
24
|
+
&::before{
|
|
25
|
+
content:'.';
|
|
26
|
+
margin-right:$spacing-4;
|
|
27
|
+
font-weight: 900;
|
|
28
|
+
font-size: $text-24;
|
|
29
|
+
line-height: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ul.list,
|
|
36
|
+
ol.list {
|
|
37
|
+
display: grid;
|
|
38
|
+
row-gap: $spacing-3;
|
|
39
|
+
|
|
40
|
+
li.list-item {
|
|
41
|
+
display: flex;
|
|
42
|
+
&:has(.icon) {
|
|
43
|
+
list-style: none;
|
|
44
|
+
display: flex;
|
|
45
|
+
}
|
|
46
|
+
.icon {
|
|
47
|
+
margin-right: $spacing-2;
|
|
48
|
+
justify-content: flex-start;
|
|
49
|
+
align-items: flex-start;
|
|
50
|
+
}
|
|
51
|
+
.list-item-content {
|
|
52
|
+
flex: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.has-divider {
|
|
57
|
+
li {
|
|
58
|
+
border-bottom: var(--border);
|
|
59
|
+
padding-bottom: $spacing-3;
|
|
60
|
+
&:last-child {
|
|
61
|
+
border-bottom: none;
|
|
62
|
+
padding-bottom: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -16,12 +16,12 @@ $loader-items-bottom-offset: -40px;
|
|
|
16
16
|
display: block;
|
|
17
17
|
width: $loader-item-width;
|
|
18
18
|
height: $loader-item-height;
|
|
19
|
-
border-radius:
|
|
19
|
+
border-radius: 9999px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.loader-body {
|
|
23
23
|
visibility: hidden;
|
|
24
|
-
background-color: getColor('
|
|
24
|
+
background-color: getColor('accent');
|
|
25
25
|
animation: 2.5s linear 0s forwards infinite top_item;
|
|
26
26
|
}
|
|
27
27
|
|