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
@@ -1,114 +0,0 @@
|
|
1
|
-
@import "mixins/components.ranges";
|
2
|
-
|
3
|
-
.c-range {
|
4
|
-
@include range--color;
|
5
|
-
width: $range-width;
|
6
|
-
padding: $range-padding;
|
7
|
-
outline: 0;
|
8
|
-
-webkit-appearance: none;
|
9
|
-
}
|
10
|
-
|
11
|
-
.c-range--brand {
|
12
|
-
@include range--color($range-brand-background-color);
|
13
|
-
}
|
14
|
-
|
15
|
-
.c-range--info {
|
16
|
-
@include range--color($range-info-background-color);
|
17
|
-
}
|
18
|
-
|
19
|
-
.c-range--warning {
|
20
|
-
@include range--color($range-warning-background-color);
|
21
|
-
}
|
22
|
-
|
23
|
-
.c-range--success {
|
24
|
-
@include range--color($range-success-background-color);
|
25
|
-
}
|
26
|
-
|
27
|
-
.c-range--error {
|
28
|
-
@include range--color($range-error-background-color);
|
29
|
-
}
|
30
|
-
|
31
|
-
.c-range::-webkit-slider-runnable-track {
|
32
|
-
@include range__track;
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-range::-webkit-slider-thumb {
|
36
|
-
@include range__thumb;
|
37
|
-
@include range__thumb--webkit;
|
38
|
-
}
|
39
|
-
|
40
|
-
.c-range::-moz-range-track {
|
41
|
-
@include range__track;
|
42
|
-
}
|
43
|
-
|
44
|
-
.c-range::-moz-range-thumb {
|
45
|
-
@include range__thumb;
|
46
|
-
}
|
47
|
-
|
48
|
-
.c-range::-ms-track {
|
49
|
-
@include range__track;
|
50
|
-
@include range__track--ms;
|
51
|
-
}
|
52
|
-
|
53
|
-
.c-range::-ms-fill-lower,
|
54
|
-
.c-range::-ms-fill-upper {
|
55
|
-
@include range__fill--ms;
|
56
|
-
}
|
57
|
-
|
58
|
-
.c-range::-ms-thumb {
|
59
|
-
@include range__thumb;
|
60
|
-
}
|
61
|
-
|
62
|
-
.c-range:not(:disabled):active {
|
63
|
-
&::-webkit-slider-thumb {
|
64
|
-
@include range__thumb--active;
|
65
|
-
}
|
66
|
-
|
67
|
-
&::-moz-range-thumb {
|
68
|
-
@include range__thumb--active;
|
69
|
-
}
|
70
|
-
|
71
|
-
&::-ms-thumb {
|
72
|
-
@include range__thumb--active;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
.c-range:focus {
|
77
|
-
&::-webkit-slider-thumb {
|
78
|
-
@include range__thumb--focus;
|
79
|
-
}
|
80
|
-
|
81
|
-
&::-moz-range-thumb {
|
82
|
-
@include range__thumb--focus;
|
83
|
-
}
|
84
|
-
|
85
|
-
&::-ms-thumb {
|
86
|
-
@include range__thumb--focus;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
.c-range:disabled {
|
91
|
-
&::-webkit-slider-thumb {
|
92
|
-
@include range--disabled;
|
93
|
-
}
|
94
|
-
|
95
|
-
&::-webkit-slider-runnable-track {
|
96
|
-
@include range--disabled;
|
97
|
-
}
|
98
|
-
|
99
|
-
&::-moz-range-thumb {
|
100
|
-
@include range--disabled;
|
101
|
-
}
|
102
|
-
|
103
|
-
&::-moz-range-track {
|
104
|
-
@include range--disabled;
|
105
|
-
}
|
106
|
-
|
107
|
-
&::-ms-thumb {
|
108
|
-
@include range--disabled;
|
109
|
-
}
|
110
|
-
|
111
|
-
&::-ms-track {
|
112
|
-
@include range--disabled;
|
113
|
-
}
|
114
|
-
}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
@import "mixins/objects.grid";
|
3
|
-
|
4
|
-
.c-table {
|
5
|
-
@include grid;
|
6
|
-
@include grid--wrap;
|
7
|
-
width: $table-width;
|
8
|
-
margin: $table-margin;
|
9
|
-
padding: $table-padding;
|
10
|
-
border: $table-border;
|
11
|
-
border-collapse: collapse;
|
12
|
-
border-spacing: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.c-table__caption {
|
16
|
-
@include grid;
|
17
|
-
@include grid__cell--full;
|
18
|
-
max-width: $table-caption-max-width;
|
19
|
-
padding: $table-caption-padding;
|
20
|
-
color: $table-caption-color;
|
21
|
-
font-size: $table-caption-font-size;
|
22
|
-
text-align: $table-caption-text-align;
|
23
|
-
}
|
24
|
-
|
25
|
-
.c-table__row,
|
26
|
-
.c-table__head,
|
27
|
-
.c-table__body {
|
28
|
-
display: flex;
|
29
|
-
flex: 0 0 100%;
|
30
|
-
flex-wrap: wrap;
|
31
|
-
max-width: 100%;
|
32
|
-
}
|
33
|
-
|
34
|
-
.c-table--striped :not(.c-table__row--heading).c-table__row:nth-of-type(odd) {
|
35
|
-
background-color: $table-row-striped-background-color;
|
36
|
-
color: $table-row-striped-color;
|
37
|
-
}
|
38
|
-
|
39
|
-
.c-table__cell {
|
40
|
-
display: flex;
|
41
|
-
flex: 1;
|
42
|
-
padding: $table-cell-padding;
|
43
|
-
text-align: $table-cell-text-align;
|
44
|
-
overflow: auto;
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-table__row--heading .c-table__cell {
|
48
|
-
display: flex;
|
49
|
-
flex: 1;
|
50
|
-
border-bottom: $table-heading-border;
|
51
|
-
background-color: $table-heading-background-color;
|
52
|
-
color: $table-heading-color;
|
53
|
-
font-size: $text-font-size-medium;
|
54
|
-
font-weight: $table-heading-font-weight;
|
55
|
-
}
|
56
|
-
|
57
|
-
.c-table--striped .c-table__row--heading .c-table__cell {
|
58
|
-
background-color: $table-heading-striped-background-color;
|
59
|
-
color: $table-heading-striped-color;
|
60
|
-
}
|
61
|
-
|
62
|
-
.c-table--clickable :not(.c-table__row--heading).c-table__row:hover .c-table__cell,
|
63
|
-
.c-table__row--clickable:hover .c-table__cell {
|
64
|
-
background-color: $table-row-clickable-background-color;
|
65
|
-
color: $table-row-clickable-color;
|
66
|
-
cursor: pointer;
|
67
|
-
}
|
68
|
-
|
69
|
-
.c-table__row--disabled {
|
70
|
-
background-color: $table-row-disabled-background-color;
|
71
|
-
color: $table-row-disabled-color;
|
72
|
-
cursor: default;
|
73
|
-
}
|
74
|
-
|
75
|
-
.c-table--clickable :not(.c-table__row--heading).c-table__row--disabled:hover .c-table__cell,
|
76
|
-
.c-table__row--disabled:hover .c-table__cell {
|
77
|
-
background-color: $table-row-disabled-background-color;
|
78
|
-
color: $table-row-disabled-color;
|
79
|
-
cursor: not-allowed;
|
80
|
-
}
|
81
|
-
|
82
|
-
.c-table--condensed {
|
83
|
-
font-size: $table-condensed-font-size;
|
84
|
-
|
85
|
-
.c-table__cell {
|
86
|
-
padding: $table-condensed-cell-padding;
|
87
|
-
}
|
88
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
@import "mixins/components.tabs";
|
2
|
-
|
3
|
-
.c-tabs {
|
4
|
-
display: block;
|
5
|
-
}
|
6
|
-
|
7
|
-
.c-tabs__headings {
|
8
|
-
display: flex;
|
9
|
-
text-align: $tab-headings-text-align;
|
10
|
-
cursor: pointer;
|
11
|
-
}
|
12
|
-
|
13
|
-
.c-tab-heading {
|
14
|
-
flex: 1;
|
15
|
-
margin: $tab-heading-margin;
|
16
|
-
padding: $tab-heading-padding;
|
17
|
-
box-shadow: 0 -.2em 0 0 $tab-heading-box-shadow-color inset;
|
18
|
-
}
|
19
|
-
|
20
|
-
.c-tabs__nav {
|
21
|
-
overflow: hidden;
|
22
|
-
|
23
|
-
.c-tabs__headings {
|
24
|
-
margin-bottom: -1em;
|
25
|
-
padding-bottom: 1em;
|
26
|
-
overflow-y: hidden;
|
27
|
-
overflow-x: auto;
|
28
|
-
}
|
29
|
-
|
30
|
-
.c-tab-heading {
|
31
|
-
white-space: nowrap;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-tab-heading--active {
|
36
|
-
@include tab-heading--color;
|
37
|
-
}
|
38
|
-
|
39
|
-
.c-tabs--brand .c-tab-heading--active {
|
40
|
-
@include tab-heading--color($tab-heading-brand-active-box-shadow-color);
|
41
|
-
}
|
42
|
-
|
43
|
-
.c-tabs--info .c-tab-heading--active {
|
44
|
-
@include tab-heading--color($tab-heading-info-active-box-shadow-color);
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-tabs--warning .c-tab-heading--active {
|
48
|
-
@include tab-heading--color($tab-heading-warning-active-box-shadow-color);
|
49
|
-
}
|
50
|
-
|
51
|
-
.c-tabs--success .c-tab-heading--active {
|
52
|
-
@include tab-heading--color($tab-heading-success-active-box-shadow-color);
|
53
|
-
}
|
54
|
-
|
55
|
-
.c-tabs--error .c-tab-heading--active {
|
56
|
-
@include tab-heading--color($tab-heading-error-active-box-shadow-color);
|
57
|
-
}
|
58
|
-
|
59
|
-
.c-tab-heading--disabled {
|
60
|
-
background-color: $tab-heading-disabled-background-color;
|
61
|
-
color: $tab-heading-disabled-color;
|
62
|
-
cursor: not-allowed;
|
63
|
-
}
|
64
|
-
|
65
|
-
.c-tabs__tab {
|
66
|
-
display: none;
|
67
|
-
padding: $tab-padding;
|
68
|
-
}
|
69
|
-
|
70
|
-
.c-tabs__tab--active {
|
71
|
-
display: block;
|
72
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-tags {
|
4
|
-
position: relative;
|
5
|
-
width: $tags-width;
|
6
|
-
text-align: $tags-text-align;
|
7
|
-
}
|
8
|
-
|
9
|
-
.c-tags .c-card--menu {
|
10
|
-
position: absolute;
|
11
|
-
width: 100%;
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-tags__container {
|
15
|
-
display: inline-block;
|
16
|
-
max-width: $tags-container-width;
|
17
|
-
padding-right: $spacing-xsmall;
|
18
|
-
}
|
19
|
-
|
20
|
-
.c-tag {
|
21
|
-
display: inline-block;
|
22
|
-
position: relative;
|
23
|
-
max-width: $tags-container-width;
|
24
|
-
margin: $tag-margin;
|
25
|
-
padding: $tag-padding;
|
26
|
-
}
|
27
|
-
|
28
|
-
.c-tag__close {
|
29
|
-
position: absolute;
|
30
|
-
top: 7px;
|
31
|
-
right: 5px;
|
32
|
-
color: $tag-close-color;
|
33
|
-
font-weight: $tag-close-font-weight;
|
34
|
-
}
|
35
|
-
|
36
|
-
.c-tags__field-container {
|
37
|
-
display: inline-block;
|
38
|
-
position: absolute;
|
39
|
-
width: $tags-field-container-width;
|
40
|
-
margin: $tags-field-container-margin;
|
41
|
-
cursor: pointer;
|
42
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
@import "mixins/components.toggles";
|
2
|
-
|
3
|
-
.c-toggle {
|
4
|
-
@include grid;
|
5
|
-
@include grid--center;
|
6
|
-
width: auto;
|
7
|
-
cursor: pointer;
|
8
|
-
user-select: none;
|
9
|
-
|
10
|
-
input:not(:checked) + .c-toggle__track {
|
11
|
-
background-color: $toggle-track-unchecked-background-color;
|
12
|
-
|
13
|
-
.c-toggle__handle {
|
14
|
-
transform: translateZ(0);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
input:disabled + .c-toggle__track {
|
19
|
-
background-color: $toggle-track-disabled-background-color;
|
20
|
-
cursor: not-allowed;
|
21
|
-
|
22
|
-
.c-toggle__handle {
|
23
|
-
background-color: $toggle-handle-disabled-background-color;
|
24
|
-
cursor: not-allowed;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
.c-toggle--brand .c-toggle__track {
|
30
|
-
@include toggle__track--background-color($toggle-track-brand-background-color);
|
31
|
-
}
|
32
|
-
|
33
|
-
.c-toggle--info .c-toggle__track {
|
34
|
-
@include toggle__track--background-color($toggle-track-info-background-color);
|
35
|
-
}
|
36
|
-
|
37
|
-
.c-toggle--warning .c-toggle__track {
|
38
|
-
@include toggle__track--background-color($toggle-track-warning-background-color);
|
39
|
-
}
|
40
|
-
|
41
|
-
.c-toggle--success .c-toggle__track {
|
42
|
-
@include toggle__track--background-color($toggle-track-success-background-color);
|
43
|
-
}
|
44
|
-
|
45
|
-
.c-toggle--error .c-toggle__track {
|
46
|
-
@include toggle__track--background-color($toggle-track-error-background-color);
|
47
|
-
}
|
48
|
-
|
49
|
-
.c-toggle input {
|
50
|
-
display: none;
|
51
|
-
}
|
52
|
-
|
53
|
-
.c-toggle__track {
|
54
|
-
@include grid__cell;
|
55
|
-
@include grid__cell--width-fixed;
|
56
|
-
@include toggle__track--background-color;
|
57
|
-
position: relative;
|
58
|
-
width: 1em;
|
59
|
-
height: .5em;
|
60
|
-
margin: $toggle-margin;
|
61
|
-
border-radius: $toggle-track-border-radius;
|
62
|
-
}
|
63
|
-
|
64
|
-
.c-toggle__handle {
|
65
|
-
position: absolute;
|
66
|
-
top: -.25em;
|
67
|
-
left: 0;
|
68
|
-
width: 1em;
|
69
|
-
height: 1em;
|
70
|
-
transform: translateX(100%);
|
71
|
-
border-radius: $toggle-handle-border-radius;
|
72
|
-
background-color: $toggle-handle-background-color;
|
73
|
-
box-shadow: $toggle-handle-box-shadow;
|
74
|
-
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-tree {
|
4
|
-
display: block;
|
5
|
-
margin: $tree-margin;
|
6
|
-
padding: $tree-padding;
|
7
|
-
list-style: none;
|
8
|
-
|
9
|
-
.c-tree {
|
10
|
-
padding: $tree-nested-padding;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-tree__item {
|
15
|
-
padding: $tree-item-padding;
|
16
|
-
|
17
|
-
&:before {
|
18
|
-
display: inline-block;
|
19
|
-
padding: $tree-item-indicator-padding;
|
20
|
-
transform-origin: 30% 50%;
|
21
|
-
color: $tree-item-indicator-color;
|
22
|
-
content: "–";
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
.c-tree__item--expandable {
|
27
|
-
&:before {
|
28
|
-
color: $tree-item-expandable-indicator-color;
|
29
|
-
content: "\276F";
|
30
|
-
}
|
31
|
-
|
32
|
-
.c-tree {
|
33
|
-
display: none;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.c-tree__item--expanded {
|
38
|
-
&:before {
|
39
|
-
transform: rotate(90deg);
|
40
|
-
color: $tree-item-expanded-indicator-color;
|
41
|
-
content: "\276F";
|
42
|
-
}
|
43
|
-
|
44
|
-
.c-tree {
|
45
|
-
display: block;
|
46
|
-
}
|
47
|
-
}
|
@@ -1,94 +0,0 @@
|
|
1
|
-
@import "mixins/components.typography";
|
2
|
-
|
3
|
-
.c-text {
|
4
|
-
color: $text-color;
|
5
|
-
font-family: $text-font-family;
|
6
|
-
font-weight: $text-font-weight;
|
7
|
-
line-height: $text-line-height;
|
8
|
-
}
|
9
|
-
|
10
|
-
.c-text--mono {
|
11
|
-
font-family: $text-font-family-mono;
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-text--highlight {
|
15
|
-
@include text--highlight;
|
16
|
-
}
|
17
|
-
|
18
|
-
.c-text--quiet {
|
19
|
-
color: $color-quiet;
|
20
|
-
}
|
21
|
-
|
22
|
-
.c-text--loud {
|
23
|
-
font-weight: $text-font-weight-heavy;
|
24
|
-
}
|
25
|
-
|
26
|
-
.c-text--help[title] {
|
27
|
-
border-bottom: $help-border-bottom;
|
28
|
-
cursor: help;
|
29
|
-
}
|
30
|
-
|
31
|
-
.c-pre {
|
32
|
-
margin: 0;
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-code {
|
36
|
-
@include code;
|
37
|
-
}
|
38
|
-
|
39
|
-
.c-code--multiline {
|
40
|
-
display: block;
|
41
|
-
padding: $spacing-small $spacing-medium;
|
42
|
-
border-radius: $border-radius;
|
43
|
-
white-space: pre;
|
44
|
-
overflow-x: auto;
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-kbd {
|
48
|
-
@include code($keyboard-color, $keyboard-background-color);
|
49
|
-
border-bottom: $keyboard-border;
|
50
|
-
border-radius: $keyboard-border-radius;
|
51
|
-
}
|
52
|
-
|
53
|
-
.c-blockquote {
|
54
|
-
@include quotation--color;
|
55
|
-
display: block;
|
56
|
-
margin: $quotation-margin;
|
57
|
-
padding: $quotation-padding;
|
58
|
-
font-family: $quotation-font-family;
|
59
|
-
}
|
60
|
-
|
61
|
-
.c-blockquote--brand {
|
62
|
-
@include quotation--color($quotation-brand-border-color);
|
63
|
-
}
|
64
|
-
|
65
|
-
.c-blockquote--info {
|
66
|
-
@include quotation--color($quotation-info-border-color);
|
67
|
-
}
|
68
|
-
|
69
|
-
.c-blockquote--warning {
|
70
|
-
@include quotation--color($quotation-warning-border-color);
|
71
|
-
}
|
72
|
-
|
73
|
-
.c-blockquote--success {
|
74
|
-
@include quotation--color($quotation-success-border-color);
|
75
|
-
}
|
76
|
-
|
77
|
-
.c-blockquote--error {
|
78
|
-
@include quotation--color($quotation-error-border-color);
|
79
|
-
}
|
80
|
-
|
81
|
-
.c-blockquote__body {
|
82
|
-
@include paragraph;
|
83
|
-
font-size: $quotation-font-size;
|
84
|
-
}
|
85
|
-
|
86
|
-
.c-blockquote__footer {
|
87
|
-
@include paragraph;
|
88
|
-
color: $quotation-footer-color;
|
89
|
-
font-style: $quotation-footer-font-style;
|
90
|
-
}
|
91
|
-
|
92
|
-
.c-paragraph {
|
93
|
-
@include paragraph;
|
94
|
-
}
|