@itcase/ui 1.0.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/README.md +2 -0
- package/dist/SelectContainer-e2544642.js +7717 -0
- package/dist/components/Accordion.js +249 -0
- package/dist/components/Avatar.js +94 -0
- package/dist/components/Background.js +90 -0
- package/dist/components/Breadcrumbs.js +239 -0
- package/dist/components/Button.js +215 -0
- package/dist/components/Caption.js +65 -0
- package/dist/components/Card.js +112 -0
- package/dist/components/Cell.js +180 -0
- package/dist/components/Checkbox.js +68 -0
- package/dist/components/Chips.js +135 -0
- package/dist/components/ContextMenu.js +149 -0
- package/dist/components/CookiesWarning.js +133 -0
- package/dist/components/Counter.js +99 -0
- package/dist/components/Divider.js +73 -0
- package/dist/components/Dropdown.js +139 -0
- package/dist/components/Emoji.js +124 -0
- package/dist/components/Fader.js +66 -0
- package/dist/components/Flex.js +264 -0
- package/dist/components/FormField.js +289 -0
- package/dist/components/Grid.js +329 -0
- package/dist/components/Group.js +132 -0
- package/dist/components/Icon.js +184 -0
- package/dist/components/Image.js +143 -0
- package/dist/components/Input.js +94 -0
- package/dist/components/Label.js +125 -0
- package/dist/components/LanguageSelector.js +86 -0
- package/dist/components/Link.js +172 -0
- package/dist/components/List.js +143 -0
- package/dist/components/Loader.js +66 -0
- package/dist/components/Logo.js +55 -0
- package/dist/components/Menu.js +86 -0
- package/dist/components/MenuItem.js +209 -0
- package/dist/components/Modal.js +69 -0
- package/dist/components/Notification.js +131 -0
- package/dist/components/Pagination.js +93 -0
- package/dist/components/Popup.js +254 -0
- package/dist/components/Profile.js +99 -0
- package/dist/components/RadioButton.js +71 -0
- package/dist/components/RangeSlider.js +2086 -0
- package/dist/components/Scrollbar.js +3872 -0
- package/dist/components/Search.js +260 -0
- package/dist/components/Segmented.js +77 -0
- package/dist/components/Select.js +49 -0
- package/dist/components/SiteMenu.js +137 -0
- package/dist/components/Swiper.js +927 -0
- package/dist/components/Switch.js +29 -0
- package/dist/components/Text.js +121 -0
- package/dist/components/Textarea.js +90 -0
- package/dist/components/Tile.js +252 -0
- package/dist/components/Title.js +146 -0
- package/dist/components/Tooltip.js +115 -0
- package/dist/components/Video.js +74 -0
- package/dist/components/Wrapper.js +119 -0
- package/dist/constants/componentProps/align.js +5 -0
- package/dist/constants/componentProps/alignDirection.js +5 -0
- package/dist/constants/componentProps/borderColor.js +5 -0
- package/dist/constants/componentProps/borderType.js +5 -0
- package/dist/constants/componentProps/captionPosition.js +5 -0
- package/dist/constants/componentProps/direction.js +5 -0
- package/dist/constants/componentProps/emojiSize.js +5 -0
- package/dist/constants/componentProps/fill.js +5 -0
- package/dist/constants/componentProps/fillGradient.js +5 -0
- package/dist/constants/componentProps/fillType.js +5 -0
- package/dist/constants/componentProps/flexAlign.js +5 -0
- package/dist/constants/componentProps/flexJustifyContent.js +5 -0
- package/dist/constants/componentProps/flexWrap.js +5 -0
- package/dist/constants/componentProps/gridAlign.js +5 -0
- package/dist/constants/componentProps/gridAlignSelf.js +5 -0
- package/dist/constants/componentProps/gridJustifyItems.js +5 -0
- package/dist/constants/componentProps/gridJustifySelf.js +5 -0
- package/dist/constants/componentProps/horizontalContentAlign.js +5 -0
- package/dist/constants/componentProps/horizontalResizeMode.js +5 -0
- package/dist/constants/componentProps/iconSize.js +5 -0
- package/dist/constants/componentProps/position.js +5 -0
- package/dist/constants/componentProps/resizeMode.js +5 -0
- package/dist/constants/componentProps/shape.js +5 -0
- package/dist/constants/componentProps/size.js +5 -0
- package/dist/constants/componentProps/stacking.js +5 -0
- package/dist/constants/componentProps/strokeColor.js +5 -0
- package/dist/constants/componentProps/textAlign.js +5 -0
- package/dist/constants/componentProps/textColor.js +5 -0
- package/dist/constants/componentProps/textColorActive.js +5 -0
- package/dist/constants/componentProps/textColorHover.js +5 -0
- package/dist/constants/componentProps/textGradient.js +5 -0
- package/dist/constants/componentProps/textStyle.js +5 -0
- package/dist/constants/componentProps/textTag.js +5 -0
- package/dist/constants/componentProps/textWeight.js +5 -0
- package/dist/constants/componentProps/titleSize.js +5 -0
- package/dist/constants/componentProps/type.js +5 -0
- package/dist/constants/componentProps/underline.js +5 -0
- package/dist/constants/componentProps/verticalContentAlign.js +5 -0
- package/dist/constants/componentProps/verticalResizeMode.js +5 -0
- package/dist/constants/componentProps/width.js +5 -0
- package/dist/constants/componentProps/wrap.js +5 -0
- package/dist/constants.js +87 -0
- package/dist/context/Notifications.js +121 -0
- package/dist/context/UIContext.js +59 -0
- package/dist/css/components/Accordion/Accordion.css +65 -0
- package/dist/css/components/Avatar/Avatar.css +28 -0
- package/dist/css/components/Background/Background.css +11 -0
- package/dist/css/components/Button/Button.css +362 -0
- package/dist/css/components/Caption/Caption.css +22 -0
- package/dist/css/components/Card/Card.css +19 -0
- package/dist/css/components/Cell/Cell.css +89 -0
- package/dist/css/components/Cell/css/__wrapper/cell__wrapper.css +7 -0
- package/dist/css/components/Cell/css/__wrapper/cell__wrapper_shape.css +15 -0
- package/dist/css/components/Checkbox/Checkbox.css +97 -0
- package/dist/css/components/Chips/Chips.css +47 -0
- package/dist/css/components/ContextMenu/ContextMenu.css +43 -0
- package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +10 -0
- package/dist/css/components/CookiesWarning/CookiesWarning.css +37 -0
- package/dist/css/components/Counter/Counter.css +55 -0
- package/dist/css/components/Divider/Divider.css +78 -0
- package/dist/css/components/Dropdown/Dropdown.css +58 -0
- package/dist/css/components/Emoji/Emoji.css +104 -0
- package/dist/css/components/Emoji/css/__icon/emoji__icon-shape.css +12 -0
- package/dist/css/components/Emoji/css/__icon/emoji__icon.css +5 -0
- package/dist/css/components/Fader/Fader.css +55 -0
- package/dist/css/components/Flex/Flex.css +179 -0
- package/dist/css/components/Flex/css/__item/flex__item.css +5 -0
- package/dist/css/components/Flex/css/__item/flex__item_align.css +15 -0
- package/dist/css/components/Flex/css/__item/flex__item_direction.css +17 -0
- package/dist/css/components/Flex/css/__item/flex__item_grow.css +9 -0
- package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +9 -0
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +12 -0
- package/dist/css/components/Flex/css/__item/flex__item_wrap.css +9 -0
- package/dist/css/components/Grid/Grid.css +208 -0
- package/dist/css/components/Grid/css/__item/grid__item.css +4 -0
- package/dist/css/components/Grid/css/__item/grid__item_align-self.css +9 -0
- package/dist/css/components/Grid/css/__item/grid__item_column.css +17 -0
- package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +9 -0
- package/dist/css/components/Grid/css/__item/grid__item_row.css +17 -0
- package/dist/css/components/Group/Group.css +106 -0
- package/dist/css/components/Icon/Icon.css +149 -0
- package/dist/css/components/Image/Image.css +106 -0
- package/dist/css/components/Input/Input.css +41 -0
- package/dist/css/components/Label/Label.css +33 -0
- package/dist/css/components/Link/Link.css +10 -0
- package/dist/css/components/List/List.css +112 -0
- package/dist/css/components/Loader/Loader.css +42 -0
- package/dist/css/components/Logo/Logo.css +17 -0
- package/dist/css/components/Menu/Menu.css +56 -0
- package/dist/css/components/MenuItem/MenuItem.css +56 -0
- package/dist/css/components/Notification/Notification.css +18 -0
- package/dist/css/components/Pagination/Pagination.css +80 -0
- package/dist/css/components/Pagination/css/__item/pagination__item.css +31 -0
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +16 -0
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +19 -0
- package/dist/css/components/Popup/Popup.css +49 -0
- package/dist/css/components/Profile/Profile.css +19 -0
- package/dist/css/components/RadioButton/RadioButton.css +98 -0
- package/dist/css/components/RangeSlider/RangeSlider.css +396 -0
- package/dist/css/components/Scrollbar/Scrollbar.css +2 -0
- package/dist/css/components/Search/Search.css +113 -0
- package/dist/css/components/Search/css/search-input/search-input.css +81 -0
- package/dist/css/components/Search/css/search-input/search-input_shape.css +8 -0
- package/dist/css/components/Search/css/search-result/search-result.css +6 -0
- package/dist/css/components/Search/css/search-result/search-result_shape.css +8 -0
- package/dist/css/components/Select/Select.css +236 -0
- package/dist/css/components/Select/css/__control/select__control.css +11 -0
- package/dist/css/components/Select/css/__control/select__control_fill.css +15 -0
- package/dist/css/components/Select/css/__control/select__control_shape.css +12 -0
- package/dist/css/components/Select/css/__indicators/select__indicators.css +18 -0
- package/dist/css/components/Select/css/__input-container/select__input-container.css +24 -0
- package/dist/css/components/Select/css/__menu/select__menu-notice.css +7 -0
- package/dist/css/components/Select/css/__menu/select__menu.css +36 -0
- package/dist/css/components/Select/css/__option/select__option.css +56 -0
- package/dist/css/components/Select/css/__single-value/select__single-value.css +5 -0
- package/dist/css/components/Select/css/__value-container/select__value-container.css +12 -0
- package/dist/css/components/SiteMenu/SiteMenu.css +37 -0
- package/dist/css/components/Swiper/Swiper.css +839 -0
- package/dist/css/components/Switch/Switch.css +53 -0
- package/dist/css/components/Text/Text.css +33 -0
- package/dist/css/components/Textarea/Textarea.css +40 -0
- package/dist/css/components/Tile/Tile.css +23 -0
- package/dist/css/components/Title/Title.css +71 -0
- package/dist/css/components/Tooltip/Tooltip.css +4 -0
- package/dist/css/components/Video/Video.css +37 -0
- package/dist/css/components/Wrapper/Wrapper.css +36 -0
- package/dist/css/styles/align/align_horizontal-reverse.css +50 -0
- package/dist/css/styles/align/align_horizontal.css +67 -0
- package/dist/css/styles/align/align_vertical-reverse.css +49 -0
- package/dist/css/styles/align/align_vertical.css +64 -0
- package/dist/css/styles/border/border.css +13 -0
- package/dist/css/styles/border-color/border-color.css +28 -0
- package/dist/css/styles/caret-color/caret-color.css +13 -0
- package/dist/css/styles/constraints/constraints.css +59 -0
- package/dist/css/styles/cursor/cursor.css +9 -0
- package/dist/css/styles/direction/direction.css +10 -0
- package/dist/css/styles/elevation/elevation.css +7 -0
- package/dist/css/styles/elevation/elevation_hover.css +11 -0
- package/dist/css/styles/fill/fill.css +28 -0
- package/dist/css/styles/fill/fill_active.css +22 -0
- package/dist/css/styles/fill/fill_active_hover.css +24 -0
- package/dist/css/styles/fill/fill_disabled.css +22 -0
- package/dist/css/styles/fill/fill_hover.css +34 -0
- package/dist/css/styles/fill-gradient/fill-gradient.css +15 -0
- package/dist/css/styles/height/height.css +9 -0
- package/dist/css/styles/hover/hover-fill-color.css +13 -0
- package/dist/css/styles/hover/hover-item-color.css +15 -0
- package/dist/css/styles/hover/hover-text-color.css +15 -0
- package/dist/css/styles/mediaqueries.css +66 -0
- package/dist/css/styles/mixin_elevation.css +33 -0
- package/dist/css/styles/mixin_fill-gradient.css +23 -0
- package/dist/css/styles/mixin_global.css +54 -0
- package/dist/css/styles/opacity/opacity.css +7 -0
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +15 -0
- package/dist/css/styles/position/position.css +14 -0
- package/dist/css/styles/resize-horizontal/resize-horizontal.css +12 -0
- package/dist/css/styles/resize-vertical/resize-vertical.css +10 -0
- package/dist/css/styles/shape/shape.css +8 -0
- package/dist/css/styles/text-align/text-align.css +7 -0
- package/dist/css/styles/text-color/text-color.css +13 -0
- package/dist/css/styles/text-color/text-color_active.css +15 -0
- package/dist/css/styles/text-color/text-color_hover.css +17 -0
- package/dist/css/styles/text-color-hover/text-color-hover.css +15 -0
- package/dist/css/styles/text-decoration/text-decoration.css +9 -0
- package/dist/css/styles/text-gradient/text-gradient.css +24 -0
- package/dist/css/styles/text-style/text-style.css +9 -0
- package/dist/css/styles/text-truncate/text-truncate.css +7 -0
- package/dist/css/styles/text-weight/text-weight.css +40 -0
- package/dist/css/styles/width/width.css +9 -0
- package/dist/css/styles/word-wrap/word-wrap.css +8 -0
- package/dist/hooks/styleAttributes.js +33 -0
- package/dist/hooks/useDeviceTargetClass.js +60 -0
- package/dist/hooks/useMediaQueries.js +134 -0
- package/dist/hooks/useStyles.js +16 -0
- package/dist/index-f1505c84.js +86 -0
- package/dist/objectWithoutProperties-ea190611.js +188 -0
- package/dist/useStyles-77c3b520.js +153 -0
- package/package.json +123 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.switch {
|
|
2
|
+
position: relative;
|
|
3
|
+
min-width: 52px;
|
|
4
|
+
height: 100%;
|
|
5
|
+
border-radius: 50px;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
transition: 0.4s;
|
|
8
|
+
min-height: 32px;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
display: flex;
|
|
11
|
+
&__checkbox {
|
|
12
|
+
position: absolute;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
left: 0;
|
|
16
|
+
top: 0;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
appearance: none;
|
|
19
|
+
border: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
z-index: 2;
|
|
22
|
+
&:checked {
|
|
23
|
+
& + .switch__bg {
|
|
24
|
+
background: var(--color-accent-primary);
|
|
25
|
+
}
|
|
26
|
+
& ~ .switch__toggle {
|
|
27
|
+
left: 100%;
|
|
28
|
+
margin: 0 0 0 -3px;
|
|
29
|
+
background: var(--color-accent-item-primary);
|
|
30
|
+
transform: translate(-100%, -50%);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&__bg {
|
|
35
|
+
width: 100%;
|
|
36
|
+
flex: 1;
|
|
37
|
+
background: var(--color-surface-tertiary);
|
|
38
|
+
transition: all 0.25s;
|
|
39
|
+
}
|
|
40
|
+
&__toggle {
|
|
41
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
42
|
+
height: calc(100% - 6px);
|
|
43
|
+
position: absolute;
|
|
44
|
+
aspect-ratio: 1/1;
|
|
45
|
+
top: 50%;
|
|
46
|
+
transform: translate(3px, -50%);
|
|
47
|
+
left: 0;
|
|
48
|
+
background: #fff;
|
|
49
|
+
border-radius: 50%;
|
|
50
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
|
|
51
|
+
transition: all 0.25s;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.text {}
|
|
2
|
+
.text_size {
|
|
3
|
+
@each $sizeText in xxs, xs, s, m, l, xl, xxl {
|
|
4
|
+
&_$(sizeText) {
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
@mixin text-$(sizeText);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
@each $size in h1, h2, h3, h4, h5, h6 {
|
|
11
|
+
&_$(size) {
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
@mixin $(size);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@each $sizeP in p {
|
|
18
|
+
&_$(sizeP) {
|
|
19
|
+
@mixin $(sizeP);
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.text {
|
|
26
|
+
&&_type {
|
|
27
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
28
|
+
&_$(type) {
|
|
29
|
+
color: var(--color-$(type)-text-$(type));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.textarea {
|
|
2
|
+
width: 100%;
|
|
3
|
+
min-width: 100%;
|
|
4
|
+
min-height: 160px;
|
|
5
|
+
max-height: 160px;
|
|
6
|
+
padding: 16px 16px;
|
|
7
|
+
z-index: 1;
|
|
8
|
+
outline: 0;
|
|
9
|
+
resize: none;
|
|
10
|
+
border: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
&:read-only {
|
|
15
|
+
color: var(--color-surface-text-tertiary);
|
|
16
|
+
}
|
|
17
|
+
&:focus {
|
|
18
|
+
background: var(--color-surface-primary-hover);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.textarea {
|
|
22
|
+
&_shape {
|
|
23
|
+
&_rounded {
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.textarea {
|
|
30
|
+
&&_size {
|
|
31
|
+
@each $sizeValue in xs, s, m, l, xl, xxl {
|
|
32
|
+
&_$(sizeValue) {
|
|
33
|
+
padding-top: var(--textarea-size-$(sizeValue)-padding-top);
|
|
34
|
+
padding-right: var(--textarea-size-$(sizeValue)-padding-right);
|
|
35
|
+
padding-bottom: var(--textarea-size-$(sizeValue)-padding-bottom);
|
|
36
|
+
padding-left: var(--textarea-size-$(sizeValue)-padding-left);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.tile {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
.tile {
|
|
5
|
+
&_type {
|
|
6
|
+
&_icon {
|
|
7
|
+
padding: 16px;
|
|
8
|
+
^^&__icon {
|
|
9
|
+
margin: 0 0 16px 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.tile {
|
|
15
|
+
&_shape {
|
|
16
|
+
&_rounded {
|
|
17
|
+
border-radius: 12px;
|
|
18
|
+
}
|
|
19
|
+
&_circular {
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
.title {}
|
|
2
|
+
.title {
|
|
3
|
+
&_size_h1 {
|
|
4
|
+
@mixin h1;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.title {
|
|
10
|
+
&_size_h2 {
|
|
11
|
+
@mixin h2;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.title {
|
|
17
|
+
&_size_h3 {
|
|
18
|
+
@mixin h3;
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.title {
|
|
24
|
+
&_size_h4 {
|
|
25
|
+
@mixin h4;
|
|
26
|
+
padding: 0;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.title {
|
|
31
|
+
&_size_h5 {
|
|
32
|
+
@mixin h5;
|
|
33
|
+
padding: 0;
|
|
34
|
+
margin: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.title {
|
|
38
|
+
&_size_h6 {
|
|
39
|
+
@mixin h6;
|
|
40
|
+
padding: 0;
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.title {
|
|
45
|
+
&&_type {
|
|
46
|
+
&_accent {
|
|
47
|
+
color: var(--color-accent-text-secondary);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.title {
|
|
52
|
+
&&_type {
|
|
53
|
+
&_primary {
|
|
54
|
+
color: var(--color-primary-text-secondary);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.title {
|
|
59
|
+
&&_type {
|
|
60
|
+
&_secondary {
|
|
61
|
+
color: var(--color-secondary-text-secondary);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.title {
|
|
66
|
+
&&_type {
|
|
67
|
+
&_tertiary {
|
|
68
|
+
color: var(--color-tertiary-text-tertiary);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.video {
|
|
2
|
+
}
|
|
3
|
+
.video {
|
|
4
|
+
&&_position {
|
|
5
|
+
&_center {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.video {
|
|
13
|
+
&&_type_cover {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
position: relative;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
^&__wrapper {
|
|
19
|
+
min-width: 100%;
|
|
20
|
+
min-height: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.video {
|
|
25
|
+
&&_type_full {
|
|
26
|
+
position: relative;
|
|
27
|
+
^&__wrapper {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.video {
|
|
33
|
+
&&_type_grid-item {
|
|
34
|
+
position: relative;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.wrapper {
|
|
2
|
+
width: 100%;
|
|
3
|
+
&__inner {
|
|
4
|
+
width: 100%;
|
|
5
|
+
max-width: var(--max);
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.wrapper {
|
|
10
|
+
&_resize-horizontal {
|
|
11
|
+
&_hug {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
}
|
|
14
|
+
&_fill {
|
|
15
|
+
min-height: 100%;
|
|
16
|
+
flex: 1;
|
|
17
|
+
}
|
|
18
|
+
&__inner {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.wrapper {
|
|
24
|
+
&_resize-vertical {
|
|
25
|
+
&_hug {
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
}
|
|
28
|
+
&_fill {
|
|
29
|
+
flex: 1;
|
|
30
|
+
display: flex;
|
|
31
|
+
^^&__inner {
|
|
32
|
+
flex: 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.align {
|
|
2
|
+
&_horizontal-reverse {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: row-reverse;
|
|
5
|
+
&^&_top {
|
|
6
|
+
&-left {
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
}
|
|
9
|
+
&-center {
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
text-align: center;
|
|
13
|
+
}
|
|
14
|
+
&-right {
|
|
15
|
+
justify-content: flex-end;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
text-align: right;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&^&_left {
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
&^&_center {
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
text-align: center;
|
|
27
|
+
}
|
|
28
|
+
&^&_right {
|
|
29
|
+
justify-content: flex-end;
|
|
30
|
+
align-items: center;
|
|
31
|
+
text-align: right;
|
|
32
|
+
}
|
|
33
|
+
&^&_bottom {
|
|
34
|
+
&-left {
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
align-items: flex-end;
|
|
37
|
+
}
|
|
38
|
+
&-center {
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: flex-end;
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
&-right {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
align-items: flex-end;
|
|
46
|
+
text-align: right;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.align {
|
|
2
|
+
&_horizontal {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
&^&_top {
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
&-left {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
}
|
|
10
|
+
&-center {
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
&-right {
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
align-items: flex-start;
|
|
18
|
+
text-align: right;
|
|
19
|
+
}
|
|
20
|
+
&-auto {
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
text-align: right;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&^&_left {
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
&^&_center {
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
32
|
+
text-align: center;
|
|
33
|
+
&-auto {
|
|
34
|
+
align-items: center;
|
|
35
|
+
text-align: center;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&^&_right {
|
|
40
|
+
justify-content: flex-end;
|
|
41
|
+
align-items: center;
|
|
42
|
+
text-align: right;
|
|
43
|
+
}
|
|
44
|
+
&^&_bottom {
|
|
45
|
+
align-items: flex-end;
|
|
46
|
+
&-left {
|
|
47
|
+
flex-direction: row;
|
|
48
|
+
align-items: flex-end;
|
|
49
|
+
}
|
|
50
|
+
&-center {
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: flex-end;
|
|
53
|
+
text-align: center;
|
|
54
|
+
}
|
|
55
|
+
&-right {
|
|
56
|
+
justify-content: flex-end;
|
|
57
|
+
align-items: flex-end;
|
|
58
|
+
text-align: right;
|
|
59
|
+
}
|
|
60
|
+
&-auto {
|
|
61
|
+
align-items: flex-end;
|
|
62
|
+
text-align: right;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.align {
|
|
2
|
+
&_vertical-reverse {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
&^&_top {
|
|
6
|
+
&-left {
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
}
|
|
9
|
+
&-center {
|
|
10
|
+
align-items: center;
|
|
11
|
+
text-align: center;
|
|
12
|
+
}
|
|
13
|
+
&-right {
|
|
14
|
+
align-items: flex-end;
|
|
15
|
+
text-align: right;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
&^&_left {
|
|
19
|
+
justify-content: center;
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
}
|
|
22
|
+
&^&_center {
|
|
23
|
+
justify-content: center;
|
|
24
|
+
align-items: center;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
&^&_right {
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: flex-end;
|
|
30
|
+
text-align: right;
|
|
31
|
+
}
|
|
32
|
+
&^&_bottom {
|
|
33
|
+
&-left {
|
|
34
|
+
justify-content: flex-end;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
}
|
|
37
|
+
&-center {
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
align-items: center;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
&-right {
|
|
43
|
+
justify-content: flex-end;
|
|
44
|
+
align-items: flex-end;
|
|
45
|
+
text-align: right;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.align {
|
|
2
|
+
&_vertical {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
&^&_top {
|
|
6
|
+
&-left {
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
}
|
|
9
|
+
&-center {
|
|
10
|
+
align-items: center;
|
|
11
|
+
text-align: center;
|
|
12
|
+
}
|
|
13
|
+
&-right {
|
|
14
|
+
align-items: flex-end;
|
|
15
|
+
text-align: right;
|
|
16
|
+
}
|
|
17
|
+
&-auto {
|
|
18
|
+
align-items: center;
|
|
19
|
+
text-align: center;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&^&_left {
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
}
|
|
27
|
+
&^&_center {
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
text-align: center;
|
|
31
|
+
&-auto {
|
|
32
|
+
align-items: center;
|
|
33
|
+
text-align: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&^&_right {
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: flex-end;
|
|
40
|
+
text-align: right;
|
|
41
|
+
}
|
|
42
|
+
&^&_bottom {
|
|
43
|
+
&-left {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
}
|
|
47
|
+
&-center {
|
|
48
|
+
justify-content: flex-end;
|
|
49
|
+
align-items: center;
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
&-right {
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
align-items: flex-end;
|
|
55
|
+
text-align: right;
|
|
56
|
+
}
|
|
57
|
+
&-auto {
|
|
58
|
+
align-items: center;
|
|
59
|
+
text-align: center;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.border-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-border {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
border-width: 1px;
|
|
8
|
+
border-style: solid;
|
|
9
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
&_hover {
|
|
15
|
+
&_$(type) {
|
|
16
|
+
&-border {
|
|
17
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
18
|
+
&-$(color) {
|
|
19
|
+
&:hover {
|
|
20
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.caret-color {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-item {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
caret-color: var(--color-$(type)-item-$(color));
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.constraints {
|
|
2
|
+
&_top-left,
|
|
3
|
+
&_left-top {
|
|
4
|
+
left: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
}
|
|
7
|
+
&_bottom-left,
|
|
8
|
+
&_left-bottom {
|
|
9
|
+
left: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
}
|
|
12
|
+
&_bottom-right,
|
|
13
|
+
&_right-bottom {
|
|
14
|
+
right: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
&_top-right,
|
|
18
|
+
&_right-top {
|
|
19
|
+
right: 0;
|
|
20
|
+
top: 0;
|
|
21
|
+
}
|
|
22
|
+
&_left-right-top {
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
top: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&_left-right-bottom {
|
|
29
|
+
left: 0;
|
|
30
|
+
right: 0;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
}
|
|
33
|
+
&_left-right-top-bottom {
|
|
34
|
+
left: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
top: 0;
|
|
38
|
+
}
|
|
39
|
+
&_center {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 50%;
|
|
42
|
+
left: 50%;
|
|
43
|
+
transform: translate(-50%, -50%);
|
|
44
|
+
}
|
|
45
|
+
&_center-top {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 0%;
|
|
48
|
+
left: 50%;
|
|
49
|
+
right: 0;
|
|
50
|
+
transform: translate(-50%, 0);
|
|
51
|
+
}
|
|
52
|
+
&_center-bottom {
|
|
53
|
+
position: absolute;
|
|
54
|
+
bottom: 0;
|
|
55
|
+
left: 50%;
|
|
56
|
+
right: 0;
|
|
57
|
+
transform: translate(-50%, 0);
|
|
58
|
+
}
|
|
59
|
+
}
|