@oruga-ui/theme-oruga 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -14
- package/dist/oruga.css +1728 -206
- package/dist/oruga.min.css +1 -1
- package/dist/scss/components/_autocomplete.scss +1 -54
- package/dist/scss/components/_button.scss +56 -88
- package/dist/scss/components/_carousel.scss +70 -97
- package/dist/scss/components/_checkbox.scss +57 -83
- package/dist/scss/components/_datepicker.scss +141 -242
- package/dist/scss/components/_dropdown.scss +71 -157
- package/dist/scss/components/_field.scss +16 -38
- package/dist/scss/components/_icon.scss +6 -8
- package/dist/scss/components/_input.scss +41 -52
- package/dist/scss/components/_loading.scss +5 -13
- package/dist/scss/components/_menu.scss +28 -64
- package/dist/scss/components/_modal.scss +25 -34
- package/dist/scss/components/_notification.scss +35 -72
- package/dist/scss/components/_pagination.scss +43 -86
- package/dist/scss/components/_radio.scss +45 -60
- package/dist/scss/components/_select.scss +45 -73
- package/dist/scss/components/_sidebar.scss +34 -108
- package/dist/scss/components/_skeleton.scss +10 -23
- package/dist/scss/components/_slider.scss +56 -110
- package/dist/scss/components/_steps.scss +138 -310
- package/dist/scss/components/_switch.scss +52 -87
- package/dist/scss/components/_table.scss +77 -139
- package/dist/scss/components/_tabs.scss +93 -151
- package/dist/scss/components/_taginput.scss +34 -103
- package/dist/scss/components/_timepicker.scss +26 -50
- package/dist/scss/components/_tooltip.scss +120 -216
- package/dist/scss/components/_upload.scss +17 -22
- package/dist/scss/oruga-build.scss +9 -0
- package/dist/scss/oruga.scss +39 -190
- package/dist/scss/utils/_animations.scss +11 -9
- package/dist/scss/utils/_base.scss +4 -4
- package/dist/scss/utils/_helpers.scss +4 -104
- package/dist/scss/utils/_root.scss +34 -18
- package/dist/scss/utils/_variables.scss +5 -7
- package/package.json +35 -37
- package/src/assets/scss/components/_autocomplete.scss +1 -54
- package/src/assets/scss/components/_button.scss +56 -88
- package/src/assets/scss/components/_carousel.scss +70 -97
- package/src/assets/scss/components/_checkbox.scss +57 -83
- package/src/assets/scss/components/_datepicker.scss +141 -242
- package/src/assets/scss/components/_dropdown.scss +71 -157
- package/src/assets/scss/components/_field.scss +16 -38
- package/src/assets/scss/components/_icon.scss +6 -8
- package/src/assets/scss/components/_input.scss +41 -52
- package/src/assets/scss/components/_loading.scss +5 -13
- package/src/assets/scss/components/_menu.scss +28 -64
- package/src/assets/scss/components/_modal.scss +25 -34
- package/src/assets/scss/components/_notification.scss +35 -72
- package/src/assets/scss/components/_pagination.scss +43 -86
- package/src/assets/scss/components/_radio.scss +45 -60
- package/src/assets/scss/components/_select.scss +45 -73
- package/src/assets/scss/components/_sidebar.scss +34 -108
- package/src/assets/scss/components/_skeleton.scss +10 -23
- package/src/assets/scss/components/_slider.scss +56 -110
- package/src/assets/scss/components/_steps.scss +138 -310
- package/src/assets/scss/components/_switch.scss +52 -87
- package/src/assets/scss/components/_table.scss +77 -139
- package/src/assets/scss/components/_tabs.scss +93 -151
- package/src/assets/scss/components/_taginput.scss +34 -103
- package/src/assets/scss/components/_timepicker.scss +26 -50
- package/src/assets/scss/components/_tooltip.scss +120 -216
- package/src/assets/scss/components/_upload.scss +17 -22
- package/src/assets/scss/oruga-build.scss +9 -0
- package/src/assets/scss/oruga.scss +39 -190
- package/src/assets/scss/utils/_animations.scss +11 -9
- package/src/assets/scss/utils/_base.scss +4 -4
- package/src/assets/scss/utils/_helpers.scss +4 -104
- package/src/assets/scss/utils/_root.scss +34 -18
- package/src/assets/scss/utils/_variables.scss +5 -7
- package/dist/oruga-full.css +0 -3919
- package/dist/oruga-full.min.css +0 -1
- package/dist/scss/oruga-common.scss +0 -37
- package/dist/scss/oruga-full.scss +0 -9
- package/src/App.vue +0 -105
- package/src/assets/scss/oruga-common.scss +0 -37
- package/src/assets/scss/oruga-full.scss +0 -9
- package/src/components/Autocomplete.vue +0 -606
- package/src/components/Button.vue +0 -80
- package/src/components/Carousel.vue +0 -295
- package/src/components/Checkbox.vue +0 -135
- package/src/components/Collapse.vue +0 -134
- package/src/components/Datepicker.vue +0 -282
- package/src/components/Datetimepicker.vue +0 -127
- package/src/components/Dropdown.vue +0 -329
- package/src/components/Field.vue +0 -235
- package/src/components/Icon.vue +0 -66
- package/src/components/Input.vue +0 -129
- package/src/components/Loading.vue +0 -70
- package/src/components/Menu.vue +0 -42
- package/src/components/Modal.vue +0 -230
- package/src/components/Notification.vue +0 -136
- package/src/components/Pagination.vue +0 -96
- package/src/components/Radio.vue +0 -111
- package/src/components/Select.vue +0 -155
- package/src/components/Sidebar.vue +0 -73
- package/src/components/Skeleton.vue +0 -75
- package/src/components/Slider.vue +0 -226
- package/src/components/Steps.vue +0 -233
- package/src/components/Switch.vue +0 -137
- package/src/components/Table.vue +0 -278
- package/src/components/Tabs.vue +0 -209
- package/src/components/Taginput.vue +0 -507
- package/src/components/Timepicker.vue +0 -122
- package/src/components/Tooltip.vue +0 -187
- package/src/components/Upload.vue +0 -66
- package/src/main.ts +0 -29
- package/src/plugins/theme.ts +0 -1
- package/src/router/index.ts +0 -39
- package/src/views/Home.vue +0 -24
- package/types/index.d.ts +0 -1
|
@@ -15,17 +15,11 @@ $loading-fullpage-zindex: 999 !default;
|
|
|
15
15
|
display: flex;
|
|
16
16
|
justify-content: center;
|
|
17
17
|
overflow: hidden;
|
|
18
|
-
|
|
19
|
-
@include avariable("z-index", "loading-zindex", $loading-zindex);
|
|
18
|
+
z-index: var(--#{$prefix}loading-zindex, $loading-zindex);
|
|
20
19
|
|
|
21
20
|
&--fullpage {
|
|
22
21
|
position: fixed;
|
|
23
|
-
|
|
24
|
-
@include avariable(
|
|
25
|
-
"z-index",
|
|
26
|
-
"loading-fullpage-zindex",
|
|
27
|
-
$loading-fullpage-zindex
|
|
28
|
-
);
|
|
22
|
+
z-index: var(--#{$prefix}loading-fullpage-zindex, $loading-fullpage-zindex);
|
|
29
23
|
}
|
|
30
24
|
|
|
31
25
|
&__overlay {
|
|
@@ -34,12 +28,10 @@ $loading-fullpage-zindex: 999 !default;
|
|
|
34
28
|
left: 0;
|
|
35
29
|
right: 0;
|
|
36
30
|
top: 0;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"background",
|
|
40
|
-
"loading-overlay-legacy",
|
|
31
|
+
background: var(
|
|
32
|
+
--#{$prefix}loading-overlay-legacy,
|
|
41
33
|
$loading-overlay-legacy
|
|
42
34
|
);
|
|
43
|
-
|
|
35
|
+
background: var(--#{$prefix}loading-overlay, $loading-overlay);
|
|
44
36
|
}
|
|
45
37
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* @docs */
|
|
2
|
-
$menu-item-color: $grey-dark !default;
|
|
3
|
-
$menu-item-hover-color: $black !default;
|
|
4
|
-
$menu-item-hover-background-color: $grey-light !default;
|
|
5
|
-
$menu-item-active-color: $primary-invert !default;
|
|
6
|
-
$menu-item-active-background-color: $primary !default;
|
|
7
|
-
$menu-item-disabled-color: $grey-light !default;
|
|
8
|
-
$menu-list-border-left: 1px solid $primary !default;
|
|
2
|
+
$menu-item-color: var(--#{$prefix}grey-dark) !default;
|
|
3
|
+
$menu-item-hover-color: var(--#{$prefix}black) !default;
|
|
4
|
+
$menu-item-hover-background-color: var(--#{$prefix}grey-light) !default;
|
|
5
|
+
$menu-item-active-color: var(--#{$prefix}primary-invert) !default;
|
|
6
|
+
$menu-item-active-background-color: var(--#{$prefix}primary) !default;
|
|
7
|
+
$menu-item-disabled-color: var(--#{$prefix}grey-light) !default;
|
|
8
|
+
$menu-list-border-left: 1px solid var(--#{$prefix}primary) !default;
|
|
9
9
|
$menu-list-line-height: 1.25em !default;
|
|
10
10
|
$menu-item-padding: 0.5em 0.75em !default;
|
|
11
11
|
$menu-nested-list-margin: 0.75em !default;
|
|
@@ -16,11 +16,11 @@ $menu-label-spacing: 1em !default;
|
|
|
16
16
|
/* @docs */
|
|
17
17
|
|
|
18
18
|
.o-menu {
|
|
19
|
-
|
|
19
|
+
font-size: var(--#{$prefix}base-font-size, $base-font-size);
|
|
20
20
|
|
|
21
21
|
@each $name, $value in $sizes {
|
|
22
22
|
&--#{$name} {
|
|
23
|
-
|
|
23
|
+
font-size: var(--#{$prefix}menu-font-size-#{$name}, $value);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -30,93 +30,57 @@ $menu-label-spacing: 1em !default;
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&__list {
|
|
33
|
-
|
|
34
|
-
"line-height",
|
|
35
|
-
("menu-list-line-height"),
|
|
36
|
-
$menu-list-line-height
|
|
37
|
-
);
|
|
33
|
+
line-height: var(--#{$prefix}menu-list-line-height, $menu-list-line-height);
|
|
38
34
|
}
|
|
39
35
|
|
|
40
36
|
&__item__submenu {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
$menu-list-border-left
|
|
45
|
-
);
|
|
46
|
-
@include avariable(
|
|
47
|
-
"padding-left",
|
|
48
|
-
("menu-nested-list-padding-left"),
|
|
37
|
+
border-left: var(--#{$prefix}menu-list-border-left, $menu-list-border-left);
|
|
38
|
+
padding-left: var(
|
|
39
|
+
--#{$prefix}menu-nested-list-padding-left,
|
|
49
40
|
$menu-nested-list-padding-left
|
|
50
41
|
);
|
|
51
|
-
|
|
52
|
-
"margin",
|
|
53
|
-
("menu-nested-list-margin"),
|
|
54
|
-
$menu-nested-list-margin
|
|
55
|
-
);
|
|
42
|
+
margin: var(--#{$prefix}menu-nested-list-margin, $menu-nested-list-margin);
|
|
56
43
|
}
|
|
57
44
|
|
|
58
45
|
&__label {
|
|
59
|
-
@include avariable("color", ("menu-label-color"), $menu-label-color);
|
|
60
|
-
@include avariable(
|
|
61
|
-
"font-size",
|
|
62
|
-
("menu-label-font-size"),
|
|
63
|
-
$menu-label-font-size
|
|
64
|
-
);
|
|
65
46
|
text-transform: uppercase;
|
|
47
|
+
color: var(--#{$prefix}menu-label-color, $menu-label-color);
|
|
48
|
+
font-size: var(--#{$prefix}menu-label-font-size, $menu-label-font-size);
|
|
66
49
|
|
|
67
50
|
&:not(:first-child) {
|
|
68
|
-
|
|
69
|
-
"margin-top",
|
|
70
|
-
("menu-label-spacing"),
|
|
71
|
-
$menu-label-spacing
|
|
72
|
-
);
|
|
51
|
+
margin-top: var(--#{$prefix}menu-label-spacing, $menu-label-spacing);
|
|
73
52
|
}
|
|
74
53
|
|
|
75
54
|
&:not(:last-child) {
|
|
76
|
-
|
|
77
|
-
"margin-bottom",
|
|
78
|
-
("menu-label-spacing"),
|
|
79
|
-
$menu-label-spacing
|
|
80
|
-
);
|
|
55
|
+
margin-bottom: var(--#{$prefix}menu-label-spacing, $menu-label-spacing);
|
|
81
56
|
}
|
|
82
57
|
}
|
|
83
58
|
|
|
84
59
|
&__item {
|
|
85
|
-
@include avariable("color", ("menu-item-color"), $menu-item-color);
|
|
86
|
-
@include avariable("padding", ("menu-item-padding"), $menu-item-padding);
|
|
87
60
|
display: block;
|
|
88
61
|
list-style: none;
|
|
62
|
+
color: var(--#{$prefix}menu-item-color, $menu-item-color);
|
|
63
|
+
padding: var(--#{$prefix}menu-item-padding, $menu-item-padding);
|
|
89
64
|
|
|
90
65
|
&:hover:not(&--active):not(&--disabled) {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
$menu-item-hover-color
|
|
95
|
-
);
|
|
96
|
-
@include avariable(
|
|
97
|
-
"background-color",
|
|
98
|
-
("menu-item-hover-background-color"),
|
|
66
|
+
color: var(--#{$prefix}menu-item-hover-color, $menu-item-hover-color);
|
|
67
|
+
background-color: var(
|
|
68
|
+
--#{$prefix}menu-item-hover-background-color,
|
|
99
69
|
$menu-item-hover-background-color
|
|
100
70
|
);
|
|
101
71
|
}
|
|
102
72
|
|
|
103
73
|
&--active {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
$menu-item-active-color
|
|
108
|
-
);
|
|
109
|
-
@include avariable(
|
|
110
|
-
"background-color",
|
|
111
|
-
("menu-item-active-background-color"),
|
|
74
|
+
color: var(--#{$prefix}menu-item-active-color, $menu-item-active-color);
|
|
75
|
+
background-color: var(
|
|
76
|
+
--#{$prefix}menu-item-active-background-color,
|
|
112
77
|
$menu-item-active-background-color
|
|
113
78
|
);
|
|
114
79
|
}
|
|
115
80
|
|
|
116
81
|
&--disabled {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
("menu-item-disabled-color"),
|
|
82
|
+
color: var(
|
|
83
|
+
--#{$prefix}menu-item-disabled-color,
|
|
120
84
|
$menu-item-disabled-color
|
|
121
85
|
);
|
|
122
86
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/* @docs */
|
|
2
|
-
$modal-content-background-color: $white !default;
|
|
3
|
-
$modal-content-border-radius: $base-border-radius !default;
|
|
2
|
+
$modal-content-background-color: var(--#{$prefix}white) !default;
|
|
3
|
+
$modal-content-border-radius: var(--#{$prefix}base-border-radius) !default;
|
|
4
4
|
$modal-overlay-background-color: hsla(0, 0%, 4%, 0.86) !default;
|
|
5
|
-
$modal-close-border-radius:
|
|
5
|
+
$modal-close-border-radius: var(
|
|
6
|
+
--#{$prefix}base-border-radius-rounded
|
|
7
|
+
) !default;
|
|
6
8
|
$modal-close-right: 20px !default;
|
|
7
9
|
$modal-close-top: 20px !default;
|
|
8
10
|
$modal-close-size: 32px !default;
|
|
9
|
-
$modal-close-color: $white !default;
|
|
11
|
+
$modal-close-color: var(--#{$prefix}white) !default;
|
|
10
12
|
$modal-content-fullscreen-background-color: #f5f5f5 !default;
|
|
11
13
|
$modal-content-max-height: calc(100vh - 160px) !default;
|
|
12
14
|
$modal-content-margin: 0 auto !default;
|
|
@@ -24,8 +26,7 @@ $modal-zindex: 40 !default;
|
|
|
24
26
|
left: 0;
|
|
25
27
|
right: 0;
|
|
26
28
|
top: 0;
|
|
27
|
-
|
|
28
|
-
@include avariable("z-index", "modal-zindex", $modal-zindex);
|
|
29
|
+
z-index: var(--#{$prefix}modal-zindex, $modal-zindex);
|
|
29
30
|
|
|
30
31
|
&__overlay {
|
|
31
32
|
bottom: 0;
|
|
@@ -33,10 +34,8 @@ $modal-zindex: 40 !default;
|
|
|
33
34
|
position: absolute;
|
|
34
35
|
right: 0;
|
|
35
36
|
top: 0;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"background-color",
|
|
39
|
-
"modal-overlay-background-color",
|
|
37
|
+
background-color: var(
|
|
38
|
+
--#{$prefix}modal-overlay-background-color,
|
|
40
39
|
$modal-overlay-background-color
|
|
41
40
|
);
|
|
42
41
|
}
|
|
@@ -44,21 +43,17 @@ $modal-zindex: 40 !default;
|
|
|
44
43
|
&__content {
|
|
45
44
|
overflow: auto;
|
|
46
45
|
position: relative;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"max-height",
|
|
51
|
-
"modal-content-max-height",
|
|
46
|
+
margin: var(--#{$prefix}modal-content-margin, $modal-content-margin);
|
|
47
|
+
max-height: var(
|
|
48
|
+
--#{$prefix}modal-content-max-height,
|
|
52
49
|
$modal-content-max-height
|
|
53
50
|
);
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"modal-content-background-color",
|
|
51
|
+
background-color: var(
|
|
52
|
+
--#{$prefix}modal-content-background-color,
|
|
57
53
|
$modal-content-background-color
|
|
58
54
|
);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"modal-content-border-radius",
|
|
55
|
+
border-radius: var(
|
|
56
|
+
--#{$prefix}modal-content-border-radius,
|
|
62
57
|
$modal-content-border-radius
|
|
63
58
|
);
|
|
64
59
|
|
|
@@ -67,10 +62,8 @@ $modal-zindex: 40 !default;
|
|
|
67
62
|
height: 100%;
|
|
68
63
|
max-height: 100vh;
|
|
69
64
|
margin: 0;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"background-color",
|
|
73
|
-
"modal-content-fullscreen-background-color",
|
|
65
|
+
background-color: var(
|
|
66
|
+
--#{$prefix}modal-content-fullscreen-background-color,
|
|
74
67
|
$modal-content-fullscreen-background-color
|
|
75
68
|
);
|
|
76
69
|
}
|
|
@@ -82,17 +75,15 @@ $modal-zindex: 40 !default;
|
|
|
82
75
|
border: none;
|
|
83
76
|
display: inline-block;
|
|
84
77
|
vertical-align: top;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"border-radius",
|
|
88
|
-
"modal-close-border-radius",
|
|
78
|
+
border-radius: var(
|
|
79
|
+
--#{$prefix}modal-close-border-radius,
|
|
89
80
|
$modal-close-border-radius
|
|
90
81
|
);
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
right: var(--#{$prefix}modal-close-right, $modal-close-right);
|
|
83
|
+
top: var(--#{$prefix}modal-close-top, $modal-close-top);
|
|
84
|
+
height: var(--#{$prefix}modal-close-size, $modal-close-size);
|
|
85
|
+
width: var(--#{$prefix}modal-close-size, $modal-close-size);
|
|
86
|
+
color: var(--#{$prefix}modal-close-color, $modal-close-color);
|
|
96
87
|
}
|
|
97
88
|
|
|
98
89
|
&--mobile {
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
@use "sass:list";
|
|
2
2
|
|
|
3
3
|
/* @docs */
|
|
4
|
-
$notification-background-color: $primary !default;
|
|
4
|
+
$notification-background-color: var(--#{$prefix}primary) !default;
|
|
5
5
|
$notification-border-radius: 4px !default;
|
|
6
6
|
$notification-padding: 1.75em 1.75em !default;
|
|
7
7
|
$notification-margin-bottom: 1.5rem !default;
|
|
8
8
|
$notification-animantion: append-animate 0.3s linear !default;
|
|
9
|
-
$notification-color: $white !default;
|
|
10
|
-
$notification-close-border-radius:
|
|
9
|
+
$notification-color: var(--#{$prefix}white) !default;
|
|
10
|
+
$notification-close-border-radius: var(
|
|
11
|
+
--#{$prefix}base-border-radius-rounded
|
|
12
|
+
) !default;
|
|
11
13
|
$notification-close-right: 0.5rem !default;
|
|
12
14
|
$notification-close-top: 0.5rem !default;
|
|
13
15
|
$notification-close-size: 20px !default;
|
|
14
|
-
$notification-close-color: $white !default;
|
|
16
|
+
$notification-close-color: var(--#{$prefix}white) !default;
|
|
15
17
|
$notification-close-background-color: hsla(0, 0%, 4%, 0.2) !default;
|
|
16
18
|
$notification-icon-margin-right: 1rem !default;
|
|
17
19
|
$notification-notices-padding: 2em !default;
|
|
@@ -19,28 +21,24 @@ $notification-notices-zindex: 1000 !default;
|
|
|
19
21
|
/* @docs */
|
|
20
22
|
|
|
21
23
|
.o-notification {
|
|
24
|
+
position: relative;
|
|
25
|
+
transform-origin: 50% 0;
|
|
22
26
|
// Modifiers
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"notification-background-color",
|
|
27
|
+
background-color: var(
|
|
28
|
+
--#{$prefix}notification-background-color,
|
|
26
29
|
$notification-background-color
|
|
27
30
|
);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"notification-border-radius",
|
|
31
|
+
color: var(--#{$prefix}notification-color, $notification-color);
|
|
32
|
+
border-radius: var(
|
|
33
|
+
--#{$prefix}notification-border-radius,
|
|
32
34
|
$notification-border-radius
|
|
33
35
|
);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"notification-margin-bottom",
|
|
36
|
+
padding: var(--#{$prefix}notification-padding, $notification-padding);
|
|
37
|
+
margin-bottom: var(
|
|
38
|
+
--#{$prefix}notification-margin-bottom,
|
|
38
39
|
$notification-margin-bottom
|
|
39
40
|
);
|
|
40
41
|
|
|
41
|
-
position: relative;
|
|
42
|
-
transform-origin: 50% 0;
|
|
43
|
-
|
|
44
42
|
&__content {
|
|
45
43
|
flex-basis: auto;
|
|
46
44
|
flex-grow: 1;
|
|
@@ -62,10 +60,8 @@ $notification-notices-zindex: 1000 !default;
|
|
|
62
60
|
flex-basis: auto;
|
|
63
61
|
flex-grow: 0;
|
|
64
62
|
flex-shrink: 0;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"margin-right",
|
|
68
|
-
"notification-icon-margin-right",
|
|
63
|
+
margin-right: var(
|
|
64
|
+
--#{$prefix}notification-icon-margin-right,
|
|
69
65
|
$notification-icon-margin-right
|
|
70
66
|
);
|
|
71
67
|
}
|
|
@@ -81,42 +77,19 @@ $notification-notices-zindex: 1000 !default;
|
|
|
81
77
|
flex-grow: 0;
|
|
82
78
|
flex-shrink: 0;
|
|
83
79
|
vertical-align: top;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"background-color",
|
|
87
|
-
"notification-close-background-color",
|
|
80
|
+
background-color: var(
|
|
81
|
+
--#{$prefix}notification-close-background-color,
|
|
88
82
|
$notification-close-background-color
|
|
89
83
|
);
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"notification-close-border-radius",
|
|
84
|
+
border-radius: var(
|
|
85
|
+
--#{$prefix}notification-close-border-radius,
|
|
93
86
|
$notification-close-border-radius
|
|
94
87
|
);
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
);
|
|
100
|
-
@include avariable(
|
|
101
|
-
"top",
|
|
102
|
-
"notification-close-top",
|
|
103
|
-
$notification-close-top
|
|
104
|
-
);
|
|
105
|
-
@include avariable(
|
|
106
|
-
"height",
|
|
107
|
-
"notification-close-size",
|
|
108
|
-
$notification-close-size
|
|
109
|
-
);
|
|
110
|
-
@include avariable(
|
|
111
|
-
"width",
|
|
112
|
-
"notification-close-size",
|
|
113
|
-
$notification-close-size
|
|
114
|
-
);
|
|
115
|
-
@include avariable(
|
|
116
|
-
"color",
|
|
117
|
-
"notification-close-color",
|
|
118
|
-
$notification-close-color
|
|
119
|
-
);
|
|
88
|
+
right: var(--#{$prefix}notification-close-right, $notification-close-right);
|
|
89
|
+
top: var(--#{$prefix}notification-close-top, $notification-close-top);
|
|
90
|
+
height: var(--#{$prefix}notification-close-size, $notification-close-size);
|
|
91
|
+
width: var(--#{$prefix}notification-close-size, $notification-close-size);
|
|
92
|
+
color: var(--#{$prefix}notification-close-color, $notification-close-color);
|
|
120
93
|
}
|
|
121
94
|
|
|
122
95
|
@each $name, $pair in $colors {
|
|
@@ -124,13 +97,8 @@ $notification-notices-zindex: 1000 !default;
|
|
|
124
97
|
$color-invert: list.nth($pair, 2);
|
|
125
98
|
&--#{$name} {
|
|
126
99
|
border-color: transparent;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
@include avariable(
|
|
130
|
-
"color",
|
|
131
|
-
("variant-invert-" + #{$name}),
|
|
132
|
-
$color-invert
|
|
133
|
-
);
|
|
100
|
+
background-color: var(--#{$prefix}variant-#{$name}, $color);
|
|
101
|
+
color: var(--#{$prefix}variant-invert-#{$name}, $color-invert);
|
|
134
102
|
|
|
135
103
|
&:hover {
|
|
136
104
|
// background-color: darken($color, 2.5%)
|
|
@@ -150,25 +118,20 @@ $notification-notices-zindex: 1000 !default;
|
|
|
150
118
|
right: 0;
|
|
151
119
|
overflow: hidden;
|
|
152
120
|
pointer-events: none;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
"padding",
|
|
156
|
-
"notification-notices-padding",
|
|
121
|
+
padding: var(
|
|
122
|
+
--#{$prefix}notification-notices-padding,
|
|
157
123
|
$notification-notices-padding
|
|
158
124
|
);
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"notification-notices-zindex",
|
|
125
|
+
z-index: var(
|
|
126
|
+
--#{$prefix}notification-notices-zindex,
|
|
162
127
|
$notification-notices-zindex
|
|
163
128
|
);
|
|
164
129
|
|
|
165
130
|
.o-notification {
|
|
166
131
|
pointer-events: stroke;
|
|
167
132
|
max-width: 600px;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"animation",
|
|
171
|
-
"notification-animantion",
|
|
133
|
+
animation: var(
|
|
134
|
+
--#{$prefix}notification-animantion,
|
|
172
135
|
$notification-animantion
|
|
173
136
|
);
|
|
174
137
|
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
/* @docs */
|
|
2
|
-
$pagination-disabled-opacity: $base-disabled-opacity !default;
|
|
3
|
-
$pagination-ellipsis-color: $grey-light !default;
|
|
4
|
-
$pagination-link-border-color: $grey-lighter !default;
|
|
5
|
-
$pagination-link-border-radius: $base-border-radius !default;
|
|
2
|
+
$pagination-disabled-opacity: var(--#{$prefix}base-disabled-opacity) !default;
|
|
3
|
+
$pagination-ellipsis-color: var(--#{$prefix}grey-light) !default;
|
|
4
|
+
$pagination-link-border-color: var(--#{$prefix}grey-lighter) !default;
|
|
5
|
+
$pagination-link-border-radius: var(--#{$prefix}base-border-radius) !default;
|
|
6
6
|
$pagination-link-border: 1px solid transparent !default;
|
|
7
7
|
$pagination-link-color: #363636 !default;
|
|
8
|
-
$pagination-link-current-background-color: $primary !default;
|
|
9
|
-
$pagination-link-current-border-color: $primary !default;
|
|
8
|
+
$pagination-link-current-background-color: var(--#{$prefix}primary) !default;
|
|
9
|
+
$pagination-link-current-border-color: var(--#{$prefix}primary) !default;
|
|
10
10
|
$pagination-link-current-color: #fff !default;
|
|
11
11
|
$pagination-link-height: 2.25em !default;
|
|
12
|
-
$pagination-link-hover-border-color: $grey-light !default;
|
|
13
|
-
$pagination-link-line-height: $base-line-height !default;
|
|
12
|
+
$pagination-link-hover-border-color: var(--#{$prefix}grey-light) !default;
|
|
13
|
+
$pagination-link-line-height: var(--#{$prefix}base-line-height) !default;
|
|
14
14
|
$pagination-link-margin: 0.25rem !default;
|
|
15
15
|
$pagination-link-min-width: 2.25em !default;
|
|
16
16
|
$pagination-link-padding: 0.5em 0.5em !default;
|
|
17
17
|
$pagination-margin: -0.25rem !default;
|
|
18
|
-
$pagination-rounded-border-radius:
|
|
18
|
+
$pagination-rounded-border-radius: var(
|
|
19
|
+
--#{$prefix}base-border-radius-rounded
|
|
20
|
+
) !default;
|
|
19
21
|
/* @docs */
|
|
20
22
|
|
|
21
23
|
.o-pag {
|
|
@@ -23,21 +25,17 @@ $pagination-rounded-border-radius: $base-rounded-border-radius !default;
|
|
|
23
25
|
display: flex;
|
|
24
26
|
text-align: center;
|
|
25
27
|
justify-content: space-between;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@include avariable("margin", "pagination-margin", $pagination-margin);
|
|
28
|
+
font-size: var(--#{$prefix}base-font-size, $base-font-size);
|
|
29
|
+
margin: var(--#{$prefix}pagination-margin, $pagination-margin);
|
|
29
30
|
|
|
30
31
|
@each $name, $value in $sizes {
|
|
31
32
|
&--#{$name} {
|
|
32
|
-
|
|
33
|
-
"font-size",
|
|
34
|
-
("pagination-font-size-" + #{$name}),
|
|
35
|
-
$value
|
|
36
|
-
);
|
|
33
|
+
font-size: var(--#{$prefix}pagination-font-size-#{$name}, $value);
|
|
37
34
|
}
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
&__link {
|
|
38
|
+
@include unselectable;
|
|
41
39
|
-moz-appearance: none;
|
|
42
40
|
-webkit-appearance: none;
|
|
43
41
|
align-items: center;
|
|
@@ -49,98 +47,63 @@ $pagination-rounded-border-radius: $base-rounded-border-radius !default;
|
|
|
49
47
|
text-align: center;
|
|
50
48
|
text-decoration: none;
|
|
51
49
|
cursor: pointer;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
@include avariable(
|
|
55
|
-
"line-height",
|
|
56
|
-
"pagination-link-line-height",
|
|
50
|
+
line-height: var(
|
|
51
|
+
--#{$prefix}pagination-link-line-height,
|
|
57
52
|
$pagination-link-line-height
|
|
58
53
|
);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$pagination-link-border
|
|
63
|
-
);
|
|
64
|
-
@include avariable(
|
|
65
|
-
"border-radius",
|
|
66
|
-
"pagination-link-border-radius",
|
|
54
|
+
border: var(--#{$prefix}pagination-link-border, $pagination-link-border);
|
|
55
|
+
border-radius: var(
|
|
56
|
+
--#{$prefix}pagination-link-border-radius,
|
|
67
57
|
$pagination-link-border-radius
|
|
68
58
|
);
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"pagination-link-border-color",
|
|
59
|
+
border-color: var(
|
|
60
|
+
--#{$prefix}pagination-link-border-color,
|
|
72
61
|
$pagination-link-border-color
|
|
73
62
|
);
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
$pagination-link-color
|
|
78
|
-
);
|
|
79
|
-
@include avariable(
|
|
80
|
-
"min-width",
|
|
81
|
-
"pagination-link-min-width",
|
|
63
|
+
color: var(--#{$prefix}pagination-link-color, $pagination-link-color);
|
|
64
|
+
min-width: var(
|
|
65
|
+
--#{$prefix}pagination-link-min-width,
|
|
82
66
|
$pagination-link-min-width
|
|
83
67
|
);
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
$pagination-link-height
|
|
88
|
-
);
|
|
89
|
-
@include avariable(
|
|
90
|
-
"padding",
|
|
91
|
-
"pagination-link-padding",
|
|
92
|
-
$pagination-link-padding
|
|
93
|
-
);
|
|
94
|
-
@include avariable(
|
|
95
|
-
"margin",
|
|
96
|
-
"pagination-link-margin",
|
|
97
|
-
$pagination-link-margin
|
|
98
|
-
);
|
|
68
|
+
height: var(--#{$prefix}pagination-link-height, $pagination-link-height);
|
|
69
|
+
padding: var(--#{$prefix}pagination-link-padding, $pagination-link-padding);
|
|
70
|
+
margin: var(--#{$prefix}pagination-link-margin, $pagination-link-margin);
|
|
99
71
|
|
|
100
72
|
&:hover {
|
|
101
73
|
text-decoration: none;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"border-color",
|
|
105
|
-
"pagination-link-hover-border-color",
|
|
74
|
+
border-color: var(
|
|
75
|
+
--#{$prefix}pagination-link-hover-border-color,
|
|
106
76
|
$pagination-link-hover-border-color
|
|
107
77
|
);
|
|
108
78
|
}
|
|
109
79
|
|
|
110
80
|
&--rounded {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"pagination-rounded-border-radius",
|
|
81
|
+
border-radius: var(
|
|
82
|
+
--#{$prefix}pagination-rounded-border-radius,
|
|
114
83
|
$pagination-rounded-border-radius
|
|
115
84
|
);
|
|
116
85
|
}
|
|
117
86
|
|
|
118
87
|
&--disabled {
|
|
119
88
|
pointer-events: none;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"opacity",
|
|
123
|
-
"pagination-disabled-opacity",
|
|
89
|
+
opacity: var(
|
|
90
|
+
--#{$prefix}pagination-disabled-opacity,
|
|
124
91
|
$pagination-disabled-opacity
|
|
125
92
|
);
|
|
126
93
|
}
|
|
127
94
|
|
|
128
95
|
&--current {
|
|
129
96
|
pointer-events: none;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"background-color",
|
|
133
|
-
"pagination-link-current-background-color",
|
|
97
|
+
background-color: var(
|
|
98
|
+
--#{$prefix}pagination-link-current-background-color,
|
|
134
99
|
$pagination-link-current-background-color
|
|
135
100
|
);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"pagination-link-current-border-color",
|
|
101
|
+
border-color: var(
|
|
102
|
+
--#{$prefix}pagination-link-current-border-color,
|
|
139
103
|
$pagination-link-current-border-color
|
|
140
104
|
);
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"pagination-link-current-color",
|
|
105
|
+
color: var(
|
|
106
|
+
--#{$prefix}pagination-link-current-color,
|
|
144
107
|
$pagination-link-current-color
|
|
145
108
|
);
|
|
146
109
|
}
|
|
@@ -150,15 +113,9 @@ $pagination-rounded-border-radius: $base-rounded-border-radius !default;
|
|
|
150
113
|
justify-content: center;
|
|
151
114
|
text-align: center;
|
|
152
115
|
pointer-events: none;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"pagination-link-margin",
|
|
157
|
-
$pagination-link-margin
|
|
158
|
-
);
|
|
159
|
-
@include avariable(
|
|
160
|
-
"color",
|
|
161
|
-
"pagination-ellipsis-color",
|
|
116
|
+
margin: var(--#{$prefix}pagination-link-margin, $pagination-link-margin);
|
|
117
|
+
color: var(
|
|
118
|
+
--#{$prefix}pagination-ellipsis-color,
|
|
162
119
|
$pagination-ellipsis-color
|
|
163
120
|
);
|
|
164
121
|
}
|