@trilogy-ds/styles 0.0.1-beta.8 → 0.0.1-calendar
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/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 +1 -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 -89
- 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 +79 -0
- package/framework/src/components/_calendar.scss +125 -0
- package/framework/src/components/_card.scss +33 -87
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/{elements → components}/_container.scss +7 -39
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +25 -14
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +457 -0
- package/framework/src/{elements → components}/_icon.scss +4 -4
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +48 -0
- package/framework/src/components/_link.scss +58 -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/_radio.scss +82 -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 +42 -222
- package/framework/src/{elements → components}/_sticker.scss +25 -28
- package/framework/src/components/_switch.scss +97 -191
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +101 -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/_title.scss +151 -0
- package/framework/src/{elements → components/alert}/_alert.scss +13 -10
- 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 +34 -23
- 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 +2 -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 +293 -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 +84 -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 +85 -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 +3 -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/_dropdown.scss +0 -128
- 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
|
@@ -1,67 +1,56 @@
|
|
|
1
|
-
$control-radius: $radius !default;
|
|
2
|
-
$control-radius-small: $radius-small !default;
|
|
3
|
-
|
|
4
1
|
$control-border-width: 1px !default;
|
|
5
2
|
|
|
6
3
|
$control-padding-vertical: calc(0.375em - #{$control-border-width}) !default;
|
|
7
|
-
$control-padding-horizontal:
|
|
8
|
-
|
|
9
|
-
%control {
|
|
10
|
-
-moz-appearance: none;
|
|
11
|
-
-webkit-appearance: none;
|
|
12
|
-
align-items: center;
|
|
13
|
-
border: $control-border-width solid transparent;
|
|
14
|
-
border-radius: $control-radius-small;
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
font-size: $size-normal;
|
|
17
|
-
height: 2.25em;
|
|
18
|
-
justify-content: flex-start;
|
|
19
|
-
line-height: 1.5;
|
|
20
|
-
padding-bottom: $control-padding-vertical;
|
|
21
|
-
padding-left: $control-padding-horizontal;
|
|
22
|
-
padding-right: $control-padding-horizontal;
|
|
23
|
-
padding-top: $control-padding-vertical;
|
|
24
|
-
position: relative;
|
|
25
|
-
vertical-align: top;
|
|
4
|
+
$control-padding-horizontal: 16px;
|
|
26
5
|
|
|
27
|
-
|
|
6
|
+
@mixin control {
|
|
7
|
+
-moz-appearance: none;
|
|
8
|
+
-webkit-appearance: none;
|
|
9
|
+
align-items: center;
|
|
10
|
+
border: $control-border-width solid transparent;
|
|
11
|
+
border-radius: var(--radius-small);
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
font-size: $size-normal;
|
|
14
|
+
height: 46px;
|
|
15
|
+
justify-content: flex-start;
|
|
16
|
+
line-height: 1.4;
|
|
17
|
+
padding-bottom: $control-padding-vertical;
|
|
18
|
+
padding-left: $control-padding-horizontal;
|
|
19
|
+
padding-right: $control-padding-horizontal;
|
|
20
|
+
padding-top: $control-padding-vertical;
|
|
21
|
+
position: relative;
|
|
22
|
+
vertical-align: top;
|
|
23
|
+
|
|
24
|
+
// bug fix pour iOS qui zoom sur le champ si la police ne fait pas 16px
|
|
25
|
+
@supports (-webkit-overflow-scrolling: touch) {
|
|
26
|
+
font-size: $text-16;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus,
|
|
30
|
+
&:active {
|
|
31
|
+
outline: none;
|
|
32
|
+
|
|
33
|
+
// répétition nécessaire : bug fix pour iOS qui zoom sur le champ si la police ne fait pas 16px
|
|
28
34
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:focus,
|
|
33
|
-
&.is-focused,
|
|
34
|
-
&:active,
|
|
35
|
-
&.is-active {
|
|
36
|
-
outline: none;
|
|
37
|
-
|
|
38
|
-
// répétition nécessaire : bug fix pour iOS qui zoom sur le champ si la police ne fait pas 16px
|
|
39
|
-
@supports (-webkit-overflow-scrolling: touch) {
|
|
40
|
-
font-size: $text-16;
|
|
41
|
-
}
|
|
35
|
+
font-size: $text-16;
|
|
42
36
|
}
|
|
37
|
+
}
|
|
43
38
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@mixin control {
|
|
50
|
-
@extend %control;
|
|
39
|
+
&[disabled] {
|
|
40
|
+
cursor: not-allowed;
|
|
41
|
+
}
|
|
51
42
|
|
|
52
|
-
height: 46px;
|
|
53
|
-
line-height: 1.4;
|
|
54
43
|
}
|
|
55
44
|
|
|
56
45
|
@mixin control-small {
|
|
57
|
-
|
|
58
|
-
|
|
46
|
+
border-radius: var(--radius-small);
|
|
47
|
+
font-size: $size-small;
|
|
59
48
|
}
|
|
60
49
|
|
|
61
50
|
@mixin control-medium {
|
|
62
|
-
|
|
51
|
+
font-size: $size-medium;
|
|
63
52
|
}
|
|
64
53
|
|
|
65
54
|
@mixin control-large {
|
|
66
|
-
|
|
55
|
+
font-size: $size-large;
|
|
67
56
|
}
|
|
@@ -1,104 +1 @@
|
|
|
1
1
|
@import './initial-variables';
|
|
2
|
-
|
|
3
|
-
// Typography
|
|
4
|
-
$family-primary: $family-sans-serif !default;
|
|
5
|
-
$family-secondary: $family-serif !default;
|
|
6
|
-
$family-code: $family-monospace !default;
|
|
7
|
-
|
|
8
|
-
$size-xsmall: $text-10 !default;
|
|
9
|
-
$size-small: $text-13 !default;
|
|
10
|
-
$size-normal: $text-16 !default;
|
|
11
|
-
$size-medium: $text-16 !default;
|
|
12
|
-
$size-large: $text-24 !default;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// Brand Color
|
|
16
|
-
$colors-brand: (
|
|
17
|
-
'background', 'main', 'font'
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
// Brand Color Functionnal
|
|
21
|
-
$colors-brand-funcionnal: (
|
|
22
|
-
'background', 'main', 'alternate', 'font', 'info', 'success', 'error', 'warning'
|
|
23
|
-
);
|
|
24
|
-
|
|
25
|
-
$colors-feedback: (
|
|
26
|
-
'success': (
|
|
27
|
-
'bg-success',
|
|
28
|
-
),
|
|
29
|
-
'error': (
|
|
30
|
-
'bg-error',
|
|
31
|
-
),
|
|
32
|
-
'warning': (
|
|
33
|
-
'bg-warning',
|
|
34
|
-
),
|
|
35
|
-
'info': (
|
|
36
|
-
'bg-info',
|
|
37
|
-
),
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
// Gestion des z-index
|
|
41
|
-
$zindex: (
|
|
42
|
-
subzero: -1,
|
|
43
|
-
void: 0,
|
|
44
|
-
tiny: 1,
|
|
45
|
-
small: 10,
|
|
46
|
-
medium: 100,
|
|
47
|
-
large: 1000,
|
|
48
|
-
dropdown: 5000,
|
|
49
|
-
sticky: 6000,
|
|
50
|
-
fixed: 7000,
|
|
51
|
-
modal: 8000,
|
|
52
|
-
popover: 9000,
|
|
53
|
-
tooltip: 9999,
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
// Gestion des tailles de police
|
|
57
|
-
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 $size-8;
|
|
58
|
-
$sizes-desktop: $size-1-desktop $size-2-desktop $size-3-desktop $size-4-desktop $size-5-desktop $size-6-desktop $size-7-desktop $size-8-desktop;
|
|
59
|
-
$sizes-fluid: (
|
|
60
|
-
($size-1, $size-1-desktop),
|
|
61
|
-
($size-2, $size-2-desktop),
|
|
62
|
-
($size-3, $size-3-desktop),
|
|
63
|
-
($size-4, $size-4-desktop),
|
|
64
|
-
($size-5, $size-5-desktop),
|
|
65
|
-
($size-6, $size-6-desktop),
|
|
66
|
-
($size-7, $size-7-desktop),
|
|
67
|
-
($size-8, $size-8-desktop)
|
|
68
|
-
);
|
|
69
|
-
$sizes-desktop-interim: $size-7-desktop $size-6-desktop $size-5-desktop $size-4-desktop $size-3-desktop $size-2-desktop $size-1-desktop;
|
|
70
|
-
$sizes-fluid-interim: (
|
|
71
|
-
($size-7, $size-7-desktop),
|
|
72
|
-
($size-6, $size-6-desktop),
|
|
73
|
-
($size-5, $size-5-desktop),
|
|
74
|
-
($size-4, $size-4-desktop),
|
|
75
|
-
($size-3, $size-3-desktop),
|
|
76
|
-
($size-2, $size-2-desktop),
|
|
77
|
-
($size-1, $size-1-desktop)
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
// Gestion des déclinaisons de tailles utilisables par les composants (préfixées par is-)
|
|
81
|
-
$dimension-xxsmall: 'xxsmall';
|
|
82
|
-
$dimension-xsmall: 'xsmall';
|
|
83
|
-
$dimension-small: 'small';
|
|
84
|
-
$dimension-medium: 'medium';
|
|
85
|
-
$dimension-large: 'large';
|
|
86
|
-
$dimension-xlarge: 'xlarge';
|
|
87
|
-
$dimension-xxlarge: 'xxlarge';
|
|
88
|
-
|
|
89
|
-
$dimensions-limited: $dimension-small $dimension-medium $dimension-large;
|
|
90
|
-
$dimensions-extended: $dimension-xsmall $dimension-small $dimension-medium $dimension-large $dimension-xlarge;
|
|
91
|
-
$dimensions-all: $dimension-xxsmall $dimension-xsmall $dimension-small $dimension-medium $dimension-large $dimension-xlarge $dimension-xxlarge;
|
|
92
|
-
|
|
93
|
-
$shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
|
94
|
-
$focus-shadow: 0 1px 3px 0 rgba(69, 69, 69, 0.15),
|
|
95
|
-
0 2px 20px -3px rgba(69, 69, 69, 0.3);
|
|
96
|
-
|
|
97
|
-
$box-padding-mobile: 15px !default;
|
|
98
|
-
$box-padding: 12.5px !default;
|
|
99
|
-
$column-gap-mobile: 8px !default;
|
|
100
|
-
$column-gap-tablet-desktop: 12px !default;
|
|
101
|
-
$row-gap-mobile: 8px !default;
|
|
102
|
-
$row-gap-tablet-desktop: 12px !default;
|
|
103
|
-
|
|
104
|
-
$control-border-width: 1px !default;
|
|
@@ -1,150 +1,10 @@
|
|
|
1
|
-
@import
|
|
2
|
-
$suffix: '';
|
|
1
|
+
@import './variables';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
All color have a
|
|
6
|
-
@string slug name used in classname (You can use your brand name)
|
|
7
|
-
@color A valid css color value
|
|
8
|
-
@invert The slug name of the best inverted color
|
|
9
|
-
@hover A valid css color value (a variant color for the hover case) -- optional
|
|
10
|
-
@visited A valid css color value (a variant color for the pressed case) -- optional
|
|
11
|
-
@background A valid css color value (a variant color for background) -- optional
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
$colors: (
|
|
15
|
-
'background': ['white', #fff, 'tertiary', #E9E9E9, #F4F4F4],
|
|
16
|
-
'main':['primary', #1A688A, 'white', #134960, #0c7b91],
|
|
17
|
-
'alternate':['secondary', #D44A4A, 'white', #b64508, #ec5353, #e3bcbc, #912b2b, #601212],
|
|
18
|
-
'font':['tertiary', #333, 'white', #222, #646464],
|
|
19
|
-
'aside':['hue42', hsl(42,100%,50%), 'tertiary'],
|
|
20
|
-
'success':['success', #007B52, 'white'],
|
|
21
|
-
'info':['info', #1A688A, 'white'],
|
|
22
|
-
'warning':['warning', #FFBB33, 'tertiary'],
|
|
23
|
-
'error':['error', #D42D02, 'white'],
|
|
24
|
-
'grey':['grey', #707070, 'white' ],
|
|
25
|
-
'grey-dark':['grey-dark', #646464, 'white' ],
|
|
26
|
-
'grey-light':['grey-light', #E9E9E9, 'white' ],
|
|
27
|
-
'grey-lighter':['grey-lighter', #F4F4F4, 'white' ],
|
|
28
|
-
'grey-disabled':['grey-disabled', #D1D1D1, 'white' ],
|
|
29
|
-
'bg-disabled': ['bg-disabled', hsl(0, 0%, 80%), 'disabled'],
|
|
30
|
-
'bg-success': ['bg-success', #cae8ca, 'success'],
|
|
31
|
-
'bg-info': ['bg-info', #c8dbec, 'info'],
|
|
32
|
-
'bg-warning': ['bg-warning', #ecdbc6, 'warning'],
|
|
33
|
-
'bg-error': ['bg-error', #eecccc, 'error'],
|
|
34
|
-
) !default ;
|
|
35
|
-
|
|
36
|
-
// Typography OS-regular
|
|
37
|
-
$family-sans-serif: 'Poppins Read', BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
|
|
38
|
-
$family-serif: 'Poppins Speak', 'Poppins', 'Arial Black', 'Arial Bold', serif !default;
|
|
39
|
-
$family-monospace: monospace !default;
|
|
40
|
-
$render-mode: optimizeLegibility !default;
|
|
41
|
-
|
|
42
|
-
$font-ratio: 1 !default;
|
|
43
|
-
$font-convert-to-px: false !default;
|
|
44
|
-
|
|
45
|
-
$text-8: 8px !default;
|
|
46
|
-
$text-9: 9px !default;
|
|
47
|
-
$text-10: 10px !default;
|
|
48
|
-
$text-11: 11px !default;
|
|
49
|
-
$text-12: 12px !default;
|
|
50
|
-
$text-13: 13px !default;
|
|
51
|
-
$text-14: 14px !default;
|
|
52
|
-
$text-15: 15px !default;
|
|
53
|
-
$text-16: 16px !default;
|
|
54
|
-
$text-17: 17px !default;
|
|
55
|
-
$text-18: 18px !default;
|
|
56
|
-
$text-19: 19px !default;
|
|
57
|
-
$text-20: 20px !default;
|
|
58
|
-
$text-22: 22px !default;
|
|
59
|
-
$text-24: 24px !default;
|
|
60
|
-
$text-26: 26px !default;
|
|
61
|
-
$text-27: 27px !default;
|
|
62
|
-
$text-28: 28px !default;
|
|
63
|
-
$text-29: 29px !default;
|
|
64
|
-
$text-32: 32px !default;
|
|
65
|
-
$text-34: 34px !default;
|
|
66
|
-
$text-35: 35px !default;
|
|
67
|
-
$text-36: 36px !default;
|
|
68
|
-
$text-38: 38px !default;
|
|
69
|
-
$text-39: 39px !default;
|
|
70
|
-
$text-40: 40px !default;
|
|
71
|
-
$text-42: 42px !default;
|
|
72
|
-
$text-44: 44px !default;
|
|
73
|
-
$text-46: 46px !default;
|
|
74
|
-
$text-48: 48px !default;
|
|
75
|
-
$text-50: 50px !default;
|
|
76
|
-
$text-54: 54px !default;
|
|
77
|
-
$text-56: 56px !default;
|
|
78
|
-
$text-58: 58px !default;
|
|
79
|
-
$text-60: 60px !default;
|
|
80
|
-
$text-64: 64px !default;
|
|
81
|
-
$text-80: 80px !default;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
$size-1: $text-32;
|
|
85
|
-
$size-2: $text-28;
|
|
86
|
-
$size-3: $text-24;
|
|
87
|
-
$size-4: $text-20;
|
|
88
|
-
$size-5: $text-18;
|
|
89
|
-
$size-6: 14px !default;
|
|
90
|
-
$size-7: $text-12;
|
|
91
|
-
$size-8: $text-11;
|
|
92
|
-
|
|
93
|
-
$size-1-desktop: $text-48;
|
|
94
|
-
$size-2-desktop: $text-38;
|
|
95
|
-
$size-3-desktop: $text-28;
|
|
96
|
-
$size-4-desktop: $text-24;
|
|
97
|
-
$size-5-desktop: $text-18;
|
|
98
|
-
$size-6-desktop: 14px !default;
|
|
99
|
-
$size-7-desktop: $text-12;
|
|
100
|
-
$size-8-desktop: $text-11;
|
|
101
|
-
|
|
102
|
-
$weight-extrathin: 400 !default;
|
|
103
|
-
$weight-thin: 400 !default;
|
|
104
|
-
$weight-light: 400 !default;
|
|
105
|
-
$weight-normal: 400 !default;
|
|
106
|
-
$weight-medium: 500 !default;
|
|
107
|
-
$weight-semibold: 600 !default;
|
|
108
|
-
$weight-bold: 600 !default;
|
|
109
|
-
$weight-extrabold: 600 !default;
|
|
110
|
-
$weight-black: 600 !default;
|
|
111
|
-
|
|
112
|
-
// Responsiveness
|
|
113
|
-
// The container horizontal gap, which acts as the offset for breakpoints
|
|
114
|
-
$gap: 20px !default;
|
|
115
|
-
|
|
116
|
-
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
|
117
|
-
$tablet: 768px !default;
|
|
118
|
-
|
|
119
|
-
// 960px container + 3rem
|
|
120
|
-
//$desktop: 960px + 2 * $gap !default;
|
|
121
|
-
$desktop: 984px + 2 * $gap !default;
|
|
122
|
-
|
|
123
|
-
// 1152px container + 3rem
|
|
124
|
-
$widescreen: 1200px + 2 * $gap !default;
|
|
125
|
-
$widescreen-enabled: true !default;
|
|
126
|
-
|
|
127
|
-
// 1348px container + 3rem
|
|
128
|
-
$fullhd: 1348px + 2 * $gap !default;
|
|
129
|
-
$fullhd-enabled: true !default;
|
|
130
|
-
|
|
131
|
-
// Miscellaneous
|
|
132
|
-
$easing: ease-out !default;
|
|
133
|
-
$speed: 86ms !default;
|
|
3
|
+
$hoverSelector: "&:hover:not([disabled]):not([aria-disabled=true])";
|
|
134
4
|
|
|
135
5
|
// Radius
|
|
136
6
|
$radius-small: 4px !default;
|
|
137
7
|
$radius: 8px !default;
|
|
138
|
-
$radius-large: 9px !default;
|
|
139
|
-
$radius-rounded: 6685px !default;
|
|
140
|
-
|
|
141
|
-
// Flags
|
|
142
|
-
$variable-columns: true !default;
|
|
143
|
-
|
|
144
|
-
// Animations
|
|
145
|
-
$animation-duration: 0.3s;
|
|
146
|
-
$animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
147
8
|
|
|
148
|
-
//
|
|
149
|
-
$
|
|
150
|
-
$logo-width-desktop: 200px;
|
|
9
|
+
// Arrow size
|
|
10
|
+
$arrow-size: 15px;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "./../initial-variables";
|
|
2
|
+
|
|
3
|
+
@mixin arrow( $direction: 'down') {
|
|
4
|
+
background-color: currentColor;
|
|
5
|
+
content: "";
|
|
6
|
+
mask-image: url('./assets/icons/all/arrow-down.svg');
|
|
7
|
+
|
|
8
|
+
@if $direction == 'up' {
|
|
9
|
+
rotate: 180deg;
|
|
10
|
+
} @else if $direction == 'left' {
|
|
11
|
+
rotate: 90deg;
|
|
12
|
+
} @else if $direction == 'right' {
|
|
13
|
+
rotate: 270deg;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
min-width: $arrow-size;
|
|
17
|
+
min-height: $arrow-size;
|
|
18
|
+
mask-size: $arrow-size;
|
|
19
|
+
position: absolute;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
%delete {
|
|
2
|
+
@extend %unselectable;
|
|
3
|
+
|
|
4
|
+
-moz-appearance: none;
|
|
5
|
+
-webkit-appearance: none;
|
|
6
|
+
background-color: rgba(black, 0.2);
|
|
7
|
+
border: none;
|
|
8
|
+
border-radius: 9999px;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
flex-grow: 0;
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
font-size: 0;
|
|
14
|
+
height: 20px;
|
|
15
|
+
max-height: 20px;
|
|
16
|
+
max-width: 20px;
|
|
17
|
+
min-height: 20px;
|
|
18
|
+
min-width: 20px;
|
|
19
|
+
outline: none;
|
|
20
|
+
position: relative;
|
|
21
|
+
vertical-align: top;
|
|
22
|
+
width: 20px;
|
|
23
|
+
|
|
24
|
+
&::before,
|
|
25
|
+
&::after {
|
|
26
|
+
background-color: #fff;
|
|
27
|
+
content: '';
|
|
28
|
+
display: block;
|
|
29
|
+
left: 50%;
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 50%;
|
|
32
|
+
transform: translateX(-50%) translateY(-50%) rotate(45deg);
|
|
33
|
+
transform-origin: center center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::before {
|
|
37
|
+
height: 2px;
|
|
38
|
+
width: 50%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&::after {
|
|
42
|
+
height: 50%;
|
|
43
|
+
width: 2px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover,
|
|
47
|
+
&:focus {
|
|
48
|
+
background-color: rgba(black, 0.3);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:active {
|
|
52
|
+
background-color: rgba(black, 0.4);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Sizes
|
|
56
|
+
&.is-small {
|
|
57
|
+
height: 16px;
|
|
58
|
+
max-height: 16px;
|
|
59
|
+
max-width: 16px;
|
|
60
|
+
min-height: 16px;
|
|
61
|
+
min-width: 16px;
|
|
62
|
+
width: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.is-medium {
|
|
66
|
+
height: 24px;
|
|
67
|
+
max-height: 24px;
|
|
68
|
+
max-width: 24px;
|
|
69
|
+
min-height: 24px;
|
|
70
|
+
min-width: 24px;
|
|
71
|
+
width: 24px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.is-large {
|
|
75
|
+
height: 32px;
|
|
76
|
+
max-height: 32px;
|
|
77
|
+
max-width: 32px;
|
|
78
|
+
min-height: 32px;
|
|
79
|
+
min-width: 32px;
|
|
80
|
+
width: 32px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin delete {
|
|
85
|
+
@extend %delete;
|
|
86
|
+
}
|