activeadmin_blaze_theme 0.5.16 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +28 -24
- data/app/assets/stylesheets/activeadmin_blaze_theme/_base.scss +197 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +42 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_footer.scss +15 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_form.scss +381 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_header.scss +140 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_navigation.scss +69 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_sidebars.scss +64 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_tables.scss +96 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_variables.scss +46 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.addresses.scss +11 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.alerts.scss +78 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.avatars.scss +38 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.back-to-top.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.badges.scss +71 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.breadcrumbs.scss +24 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.buttons.scss +91 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.calendars.scss +80 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.cards.scss +195 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.divider.scss +39 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.file-upload.scss +24 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.github-buttons.scss +131 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.headings.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.hints.scss +21 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.input-groups.scss +164 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.inputs.scss +128 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.links.scss +72 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.lists.scss +64 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.navs.scss +83 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.overlays.scss +23 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.pagination.scss +31 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.progress.scss +83 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.ranges.scss +176 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tables.scss +86 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tabs.scss +68 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tags.scss +39 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.timelines.scss +113 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.toggles.scss +89 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{components.tooltips.scss → _components.tooltips.scss} +28 -30
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.trees.scss +48 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_generics.global.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.containers.scss +37 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.drawers.scss +91 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.forms.scss +25 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.grid.responsive.scss → _objects.grid.responsive.scss} +14 -14
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.grid.scss → _objects.grid.scss} +2 -2
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.images.scss → _objects.images.scss} +1 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.media.scss → _objects.media.scss} +3 -3
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss +70 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.panels.scss → _objects.panels.scss} +1 -11
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{utilities.alignment.scss → _utilities.alignment.scss} +13 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.boxing.scss +111 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.elevation.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.radius.scss +11 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.sizes.scss +23 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.typography.scss +160 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss +54 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_variables.scss +93 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +49 -41
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.buttons.scss +82 -43
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.inputs.scss +2 -40
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +35 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_tools.mediaqueries.scss +13 -34
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.alignment.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.states.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.visibility.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +10 -988
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- metadata +61 -57
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss +0 -30
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss +0 -12
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.alerts.scss +0 -59
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.avatars.scss +0 -36
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.badges.scss +0 -60
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.breadcrumbs.scss +0 -20
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.bubbles.scss +0 -49
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.buttons.scss +0 -77
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.calendars.scss +0 -69
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.cards.scss +0 -213
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.headings.scss +0 -14
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.hints.scss +0 -27
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.input-groups.scss +0 -163
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +0 -144
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.links.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss +0 -60
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.navs.scss +0 -126
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +0 -26
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.pagination.scss +0 -42
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.progress.scss +0 -51
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.ranges.scss +0 -114
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tables.scss +0 -88
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tabs.scss +0 -72
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tags.scss +0 -42
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.toggles.scss +0 -74
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.trees.scss +0 -47
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +0 -94
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/generics.global.scss +0 -13
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.alerts.scss +0 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.badges.scss +0 -8
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.links.scss +0 -22
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.lists.scss +0 -10
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.navs.scss +0 -29
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.ranges.scss +0 -89
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.tabs.scss +0 -5
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.toggles.scss +0 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.typography.scss +0 -25
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.containers.scss +0 -10
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_settings.global.scss +0 -864
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.boxing.scss +0 -125
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +0 -88
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.forms.scss +0 -25
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss +0 -58
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/themes/blaze.example.scss +0 -7
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss +0 -101
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss +0 -19
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss +0 -25
@@ -0,0 +1,86 @@
|
|
1
|
+
@import 'mixins/objects.grid';
|
2
|
+
|
3
|
+
.c-table {
|
4
|
+
@include grid;
|
5
|
+
@include grid--wrap;
|
6
|
+
width: 100%;
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
border: 0;
|
10
|
+
border-collapse: collapse;
|
11
|
+
border-spacing: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
.c-table__caption {
|
15
|
+
@include grid;
|
16
|
+
@include grid__cell--full;
|
17
|
+
max-width: 100%;
|
18
|
+
padding: var(--spacing-small) 0;
|
19
|
+
color: var(--color-default);
|
20
|
+
font-size: var(--text-font-size-small);
|
21
|
+
text-align: left;
|
22
|
+
}
|
23
|
+
|
24
|
+
.c-table__row,
|
25
|
+
.c-table__head,
|
26
|
+
.c-table__body {
|
27
|
+
display: flex;
|
28
|
+
flex: 0 0 100%;
|
29
|
+
flex-wrap: wrap;
|
30
|
+
max-width: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.c-table--striped :not(.c-table__row--heading).c-table__row:nth-of-type(odd) {
|
34
|
+
color: initial;
|
35
|
+
background-color: var(--color-background);
|
36
|
+
}
|
37
|
+
|
38
|
+
.c-table__cell {
|
39
|
+
display: flex;
|
40
|
+
flex: 1;
|
41
|
+
padding: var(--spacing-small);
|
42
|
+
overflow: auto;
|
43
|
+
text-align: left;
|
44
|
+
}
|
45
|
+
|
46
|
+
.c-table__row--heading .c-table__cell {
|
47
|
+
display: flex;
|
48
|
+
flex: 1;
|
49
|
+
color: inherit;
|
50
|
+
font-weight: var(--text-font-weight-heavy);
|
51
|
+
font-size: var(--text-font-size-medium);
|
52
|
+
background-color: var(--color-background);
|
53
|
+
}
|
54
|
+
|
55
|
+
.c-table--striped .c-table__row--heading .c-table__cell {
|
56
|
+
color: initial;
|
57
|
+
background-color: #fff;
|
58
|
+
border-bottom: var(--border-width) var(--border-style) var(--border-color);
|
59
|
+
}
|
60
|
+
|
61
|
+
.c-table--clickable :not(.c-table__row--heading).c-table__row:hover .c-table__cell,
|
62
|
+
.c-table__row--clickable:hover .c-table__cell {
|
63
|
+
color: var(--link-color);
|
64
|
+
background-color: initial;
|
65
|
+
}
|
66
|
+
|
67
|
+
.c-table__row--disabled {
|
68
|
+
color: var(--color-disabled);
|
69
|
+
background-color: initial;
|
70
|
+
cursor: default;
|
71
|
+
}
|
72
|
+
|
73
|
+
.c-table--clickable :not(.c-table__row--heading).c-table__row--disabled:hover .c-table__cell,
|
74
|
+
.c-table__row--disabled:hover .c-table__cell {
|
75
|
+
color: var(--color-disabled);
|
76
|
+
background-color: initial;
|
77
|
+
cursor: not-allowed;
|
78
|
+
}
|
79
|
+
|
80
|
+
.c-table--condensed {
|
81
|
+
font-size: var(--text-font-size-small);
|
82
|
+
|
83
|
+
.c-table__cell {
|
84
|
+
padding: var(--spacing-xsmall);
|
85
|
+
}
|
86
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
@import 'mixins/components.buttons';
|
2
|
+
|
3
|
+
.c-tabs[role='tablist'] {
|
4
|
+
display: block;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-tabs__headings {
|
8
|
+
display: flex;
|
9
|
+
text-align: center;
|
10
|
+
}
|
11
|
+
|
12
|
+
.c-tabs__nav {
|
13
|
+
overflow: hidden;
|
14
|
+
|
15
|
+
.c-tabs__headings {
|
16
|
+
margin-bottom: -1em;
|
17
|
+
padding-bottom: 1em;
|
18
|
+
overflow-x: auto;
|
19
|
+
overflow-y: hidden;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-tab-heading[role='tab'] {
|
24
|
+
--tab-heading-border-color: var(--color-default);
|
25
|
+
|
26
|
+
@include button-nude;
|
27
|
+
|
28
|
+
display: block;
|
29
|
+
flex: 1;
|
30
|
+
margin: 0;
|
31
|
+
padding: var(--spacing-medium);
|
32
|
+
white-space: nowrap;
|
33
|
+
border-bottom: var(--spacing-xsmall) solid var(--color-background);
|
34
|
+
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
35
|
+
|
36
|
+
&:not(:disabled):not(.c-tab-heading--active):hover {
|
37
|
+
border-bottom-color: var(--tab-heading-border-color);
|
38
|
+
}
|
39
|
+
|
40
|
+
&.c-tab-heading--active {
|
41
|
+
background-color: var(--color-background);
|
42
|
+
border-bottom-color: var(--tab-heading-border-color);
|
43
|
+
}
|
44
|
+
|
45
|
+
&.c-tab-heading--brand {
|
46
|
+
--tab-heading-border-color: var(--color-brand);
|
47
|
+
}
|
48
|
+
|
49
|
+
&.c-tab-heading--info {
|
50
|
+
--tab-heading-border-color: var(--color-info);
|
51
|
+
}
|
52
|
+
|
53
|
+
&.c-tab-heading--warning {
|
54
|
+
--tab-heading-border-color: var(--color-warning);
|
55
|
+
}
|
56
|
+
|
57
|
+
&.c-tab-heading--success {
|
58
|
+
--tab-heading-border-color: var(--color-success);
|
59
|
+
}
|
60
|
+
|
61
|
+
&.c-tab-heading--error {
|
62
|
+
--tab-heading-border-color: var(--color-error);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
.c-tabs__tab[role='tabpanel'] {
|
67
|
+
padding: var(--spacing-medium);
|
68
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.c-tags {
|
2
|
+
position: relative;
|
3
|
+
width: 100%;
|
4
|
+
text-align: left;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-tags .c-card--menu {
|
8
|
+
position: absolute;
|
9
|
+
width: 100%;
|
10
|
+
}
|
11
|
+
|
12
|
+
.c-tags__container {
|
13
|
+
display: inline-block;
|
14
|
+
max-width: 70%;
|
15
|
+
padding-right: var(--spacing-xsmall);
|
16
|
+
}
|
17
|
+
|
18
|
+
.c-tag {
|
19
|
+
position: relative;
|
20
|
+
display: inline-block;
|
21
|
+
max-width: 70%;
|
22
|
+
margin: var(--spacing-tiny);
|
23
|
+
padding: var(--spacing-small) var(--spacing-large) var(--spacing-small) var(--spacing-small);
|
24
|
+
}
|
25
|
+
|
26
|
+
.c-tag__close {
|
27
|
+
position: absolute;
|
28
|
+
top: 7px;
|
29
|
+
right: 5px;
|
30
|
+
color: #fff;
|
31
|
+
font-weight: var(--text-font-weight-heavy);
|
32
|
+
}
|
33
|
+
|
34
|
+
.c-tags__field-container {
|
35
|
+
position: absolute;
|
36
|
+
display: inline-block;
|
37
|
+
width: 30%;
|
38
|
+
margin: var(--spacing-tiny);
|
39
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
.o-timeline {
|
2
|
+
margin: 0.55em 0 0;
|
3
|
+
padding: 0;
|
4
|
+
|
5
|
+
.c-timeline-item {
|
6
|
+
--timeline-item-color: var(--color-default);
|
7
|
+
|
8
|
+
position: relative;
|
9
|
+
padding: 0 0 1.5em;
|
10
|
+
list-style: none;
|
11
|
+
|
12
|
+
&::before {
|
13
|
+
position: absolute;
|
14
|
+
top: 0;
|
15
|
+
left: 0.25em;
|
16
|
+
height: 100%;
|
17
|
+
margin-left: -1px;
|
18
|
+
border-left: 1px solid var(--color-default);
|
19
|
+
content: '';
|
20
|
+
}
|
21
|
+
|
22
|
+
&--last::before,
|
23
|
+
&--loading::before {
|
24
|
+
border-left-style: none;
|
25
|
+
content: '';
|
26
|
+
}
|
27
|
+
|
28
|
+
&::after {
|
29
|
+
position: absolute;
|
30
|
+
top: 0;
|
31
|
+
width: 0.5em;
|
32
|
+
height: 0.5em;
|
33
|
+
background-color: var(--timeline-item-color);
|
34
|
+
border-radius: 100%;
|
35
|
+
box-shadow: 0 0 0 4px #fff;
|
36
|
+
content: '';
|
37
|
+
}
|
38
|
+
|
39
|
+
&__body {
|
40
|
+
position: relative;
|
41
|
+
top: -0.55em;
|
42
|
+
margin: 0 0 0 1em;
|
43
|
+
}
|
44
|
+
|
45
|
+
&.c-timeline-item--brand::after {
|
46
|
+
--timeline-item-color: var(--color-brand);
|
47
|
+
content: '';
|
48
|
+
}
|
49
|
+
|
50
|
+
&.c-timeline-item--info::after {
|
51
|
+
--timeline-item-color: var(--color-info);
|
52
|
+
content: '';
|
53
|
+
}
|
54
|
+
|
55
|
+
&.c-timeline-item--warning::after {
|
56
|
+
--timeline-item-color: var(--color-warning);
|
57
|
+
content: '';
|
58
|
+
}
|
59
|
+
|
60
|
+
&.c-timeline-item--success::after {
|
61
|
+
--timeline-item-color: var(--color-success);
|
62
|
+
content: '';
|
63
|
+
}
|
64
|
+
|
65
|
+
&.c-timeline-item--error::after {
|
66
|
+
--timeline-item-color: var(--color-error);
|
67
|
+
content: '';
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
&.o-timeline--alternate {
|
72
|
+
.c-timeline-item {
|
73
|
+
&::before,
|
74
|
+
&::after {
|
75
|
+
left: 50%;
|
76
|
+
content: '';
|
77
|
+
}
|
78
|
+
|
79
|
+
&::after {
|
80
|
+
margin: 0 0 0 -0.25em;
|
81
|
+
}
|
82
|
+
|
83
|
+
&__body {
|
84
|
+
left: 50%;
|
85
|
+
width: 50%;
|
86
|
+
}
|
87
|
+
|
88
|
+
&--left .c-timeline-item__body {
|
89
|
+
left: 0;
|
90
|
+
margin: 0 0 0 -1em;
|
91
|
+
text-align: right;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
&.o-timeline--loading {
|
97
|
+
.c-timeline-item--last::before {
|
98
|
+
border-left-style: dashed;
|
99
|
+
content: '';
|
100
|
+
}
|
101
|
+
|
102
|
+
.c-timeline-item--loading::after {
|
103
|
+
background-color: transparent;
|
104
|
+
border: 2px solid var(--color-default);
|
105
|
+
}
|
106
|
+
|
107
|
+
.c-timeline-item--loading {
|
108
|
+
.c-timeline-item__body {
|
109
|
+
color: var(--color-text);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
@import 'mixins/objects.grid';
|
2
|
+
|
3
|
+
.c-toggle {
|
4
|
+
@include grid;
|
5
|
+
@include grid--center;
|
6
|
+
|
7
|
+
width: auto;
|
8
|
+
user-select: none;
|
9
|
+
|
10
|
+
input:not(:checked) + .c-toggle__track {
|
11
|
+
background-color: var(--color-dark);
|
12
|
+
|
13
|
+
.c-toggle__handle {
|
14
|
+
transform: translateZ(0);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
input:disabled + .c-toggle__track {
|
19
|
+
cursor: not-allowed;
|
20
|
+
opacity: var(--disabled-opacity);
|
21
|
+
|
22
|
+
.c-toggle__handle {
|
23
|
+
cursor: not-allowed;
|
24
|
+
opacity: var(--disabled-opacity);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
input:active + .c-toggle__track,
|
29
|
+
input:focus + .c-toggle__track {
|
30
|
+
border-color: var(--border-color-focus);
|
31
|
+
box-shadow: var(--box-shadow-focus);
|
32
|
+
|
33
|
+
.c-toggle__handle {
|
34
|
+
border-color: var(--border-color-focus);
|
35
|
+
box-shadow: var(--box-shadow-focus), 0 1px 3px 1px var(--color-default);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.c-toggle--brand .c-toggle__track {
|
41
|
+
--toggle-track-color: var(--color-brand);
|
42
|
+
}
|
43
|
+
|
44
|
+
.c-toggle--info .c-toggle__track {
|
45
|
+
--toggle-track-color: var(--color-info);
|
46
|
+
}
|
47
|
+
|
48
|
+
.c-toggle--warning .c-toggle__track {
|
49
|
+
--toggle-track-color: var(--color-warning);
|
50
|
+
}
|
51
|
+
|
52
|
+
.c-toggle--success .c-toggle__track {
|
53
|
+
--toggle-track-color: var(--color-success);
|
54
|
+
}
|
55
|
+
|
56
|
+
.c-toggle--error .c-toggle__track {
|
57
|
+
--toggle-track-color: var(--color-error);
|
58
|
+
}
|
59
|
+
|
60
|
+
.c-toggle input {
|
61
|
+
position: absolute;
|
62
|
+
opacity: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
.c-toggle__track {
|
66
|
+
--toggle-track-color: var(--color-default);
|
67
|
+
|
68
|
+
@include grid__cell;
|
69
|
+
@include grid__cell--width-fixed;
|
70
|
+
|
71
|
+
position: relative;
|
72
|
+
width: 1em;
|
73
|
+
height: 0.5em;
|
74
|
+
margin: 0 0.5em;
|
75
|
+
background-color: var(--toggle-track-color);
|
76
|
+
border-radius: var(--border-radius-rounded);
|
77
|
+
}
|
78
|
+
|
79
|
+
.c-toggle__handle {
|
80
|
+
position: absolute;
|
81
|
+
top: -0.25em;
|
82
|
+
left: 0;
|
83
|
+
width: 1em;
|
84
|
+
height: 1em;
|
85
|
+
background-color: #fff;
|
86
|
+
border-radius: var(--border-radius-rounded);
|
87
|
+
box-shadow: 0 1px 3px 1px var(--color-default);
|
88
|
+
transform: translateX(100%);
|
89
|
+
}
|
@@ -1,49 +1,47 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
1
|
.c-tooltip {
|
4
2
|
position: relative;
|
5
3
|
overflow: visible;
|
6
4
|
|
7
|
-
|
8
|
-
|
5
|
+
&::before,
|
6
|
+
&::after {
|
7
|
+
z-index: var(--z-over-page);
|
9
8
|
visibility: hidden;
|
10
|
-
z-index: $z-over-page;
|
11
9
|
}
|
12
10
|
|
13
|
-
|
11
|
+
&::before {
|
14
12
|
position: absolute;
|
15
|
-
border:
|
16
|
-
content:
|
13
|
+
border: 0.6em solid transparent;
|
14
|
+
content: '';
|
17
15
|
}
|
18
16
|
|
19
|
-
|
17
|
+
&::after {
|
20
18
|
position: absolute;
|
21
|
-
padding: .25em .5em;
|
22
|
-
|
23
|
-
|
24
|
-
background-color: $tooltip-body-background-color;
|
25
|
-
color: $tooltip-body-color;
|
26
|
-
line-height: $tooltip-line-height;
|
19
|
+
padding: 0.25em 0.5em;
|
20
|
+
color: #fff;
|
21
|
+
line-height: 1.45;
|
27
22
|
white-space: nowrap;
|
28
|
-
|
23
|
+
background-color: #000;
|
24
|
+
border: 1px solid #000;
|
25
|
+
border-radius: var(--border-radius);
|
29
26
|
visibility: hidden;
|
27
|
+
content: attr(aria-label);
|
30
28
|
}
|
31
29
|
|
32
|
-
&:hover
|
33
|
-
&:hover
|
30
|
+
&:hover::before,
|
31
|
+
&:hover::after {
|
34
32
|
visibility: visible;
|
35
33
|
}
|
36
34
|
}
|
37
35
|
|
38
36
|
.c-tooltip--top {
|
39
|
-
|
37
|
+
&::before {
|
40
38
|
top: 0%;
|
41
39
|
left: 50%;
|
40
|
+
border-top-color: #000;
|
42
41
|
transform: translate(-50%, -1em);
|
43
|
-
border-top-color: $tooltip-body-border-color;
|
44
42
|
}
|
45
43
|
|
46
|
-
|
44
|
+
&::after {
|
47
45
|
top: 0%;
|
48
46
|
left: 50%;
|
49
47
|
transform: translate(-50%, -3em);
|
@@ -51,14 +49,14 @@
|
|
51
49
|
}
|
52
50
|
|
53
51
|
.c-tooltip--right {
|
54
|
-
|
52
|
+
&::before {
|
55
53
|
top: 50%;
|
56
54
|
left: 100%;
|
55
|
+
border-right-color: #000;
|
57
56
|
transform: translate(0, -50%);
|
58
|
-
border-right-color: $tooltip-body-border-color;
|
59
57
|
}
|
60
58
|
|
61
|
-
|
59
|
+
&::after {
|
62
60
|
top: 50%;
|
63
61
|
left: 100%;
|
64
62
|
transform: translate(1em, -50%);
|
@@ -66,14 +64,14 @@
|
|
66
64
|
}
|
67
65
|
|
68
66
|
.c-tooltip--bottom {
|
69
|
-
|
67
|
+
&::before {
|
70
68
|
bottom: 0;
|
71
69
|
left: 50%;
|
70
|
+
border-bottom-color: #000;
|
72
71
|
transform: translate(-50%, 1em);
|
73
|
-
border-bottom-color: $tooltip-body-border-color;
|
74
72
|
}
|
75
73
|
|
76
|
-
|
74
|
+
&::after {
|
77
75
|
bottom: 0;
|
78
76
|
left: 50%;
|
79
77
|
transform: translate(-50%, 3em);
|
@@ -81,14 +79,14 @@
|
|
81
79
|
}
|
82
80
|
|
83
81
|
.c-tooltip--left {
|
84
|
-
|
82
|
+
&::before {
|
85
83
|
top: 50%;
|
86
84
|
right: 100%;
|
85
|
+
border-left-color: #000;
|
87
86
|
transform: translate(0, -50%);
|
88
|
-
border-left-color: $tooltip-body-border-color;
|
89
87
|
}
|
90
88
|
|
91
|
-
|
89
|
+
&::after {
|
92
90
|
top: 50%;
|
93
91
|
right: 100%;
|
94
92
|
transform: translate(-1em, -50%);
|