respectre-jekyll-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/footer.html +17 -0
- data/_includes/head.html +11 -0
- data/_includes/header.html +14 -0
- data/_layouts/default.html +13 -0
- data/_layouts/home.html +26 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +21 -0
- data/_sass/spectre.scss +49 -0
- data/_sass/spectre/.csscomb.json +30 -0
- data/_sass/spectre/.gitattributes +1 -0
- data/_sass/spectre/.gitignore +9 -0
- data/_sass/spectre/.hound.yml +2 -0
- data/_sass/spectre/.scss-lint.yml +253 -0
- data/_sass/spectre/_accordions.scss +38 -0
- data/_sass/spectre/_animations.scss +20 -0
- data/_sass/spectre/_asian.scss +33 -0
- data/_sass/spectre/_autocomplete.scss +36 -0
- data/_sass/spectre/_avatars.scss +77 -0
- data/_sass/spectre/_badges.scss +70 -0
- data/_sass/spectre/_bars.scss +71 -0
- data/_sass/spectre/_base.scss +40 -0
- data/_sass/spectre/_breadcrumbs.scss +29 -0
- data/_sass/spectre/_buttons.scss +182 -0
- data/_sass/spectre/_calendars.scss +206 -0
- data/_sass/spectre/_cards.scss +39 -0
- data/_sass/spectre/_carousels.scss +124 -0
- data/_sass/spectre/_chips.scss +26 -0
- data/_sass/spectre/_codes.scss +31 -0
- data/_sass/spectre/_comparison-sliders.scss +114 -0
- data/_sass/spectre/_dropdowns.scss +36 -0
- data/_sass/spectre/_empty.scss +21 -0
- data/_sass/spectre/_filters.scss +37 -0
- data/_sass/spectre/_forms.scss +514 -0
- data/_sass/spectre/_icons.scss +5 -0
- data/_sass/spectre/_labels.scss +34 -0
- data/_sass/spectre/_layout.scss +424 -0
- data/_sass/spectre/_media.scss +75 -0
- data/_sass/spectre/_menus.scss +56 -0
- data/_sass/spectre/_meters.scss +57 -0
- data/_sass/spectre/_mixins.scss +186 -0
- data/_sass/spectre/_modals.scss +82 -0
- data/_sass/spectre/_navbar.scss +29 -0
- data/_sass/spectre/_navs.scss +34 -0
- data/_sass/spectre/_normalize.scss +446 -0
- data/_sass/spectre/_off-canvas.scss +82 -0
- data/_sass/spectre/_pagination.scss +61 -0
- data/_sass/spectre/_panels.scss +23 -0
- data/_sass/spectre/_parallax.scss +129 -0
- data/_sass/spectre/_popovers.scss +70 -0
- data/_sass/spectre/_progress.scss +45 -0
- data/_sass/spectre/_sliders.scss +93 -0
- data/_sass/spectre/_steps.scss +70 -0
- data/_sass/spectre/_tables.scss +45 -0
- data/_sass/spectre/_tabs.scss +66 -0
- data/_sass/spectre/_tiles.scss +38 -0
- data/_sass/spectre/_timelines.scss +54 -0
- data/_sass/spectre/_toasts.scss +42 -0
- data/_sass/spectre/_tooltips.scss +79 -0
- data/_sass/spectre/_typography.scss +128 -0
- data/_sass/spectre/_utilities.scss +8 -0
- data/_sass/spectre/_variables.scss +105 -0
- data/_sass/spectre/icons/_icons-action.scss +316 -0
- data/_sass/spectre/icons/_icons-core.scss +53 -0
- data/_sass/spectre/icons/_icons-navigation.scss +133 -0
- data/_sass/spectre/icons/_icons-object.scss +176 -0
- data/_sass/spectre/spectre-exp.scss +16 -0
- data/_sass/spectre/spectre-icons.scss +10 -0
- data/_sass/spectre/utilities/_colors.scss +29 -0
- data/_sass/spectre/utilities/_cursors.scss +24 -0
- data/_sass/spectre/utilities/_display.scss +44 -0
- data/_sass/spectre/utilities/_divider.scss +50 -0
- data/_sass/spectre/utilities/_loading.scss +34 -0
- data/_sass/spectre/utilities/_position.scss +50 -0
- data/_sass/spectre/utilities/_shapes.scss +8 -0
- data/_sass/spectre/utilities/_text.scss +64 -0
- data/assets/css/main.scss +18 -0
- metadata +212 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
// Steps
|
2
|
+
.step {
|
3
|
+
display: flex;
|
4
|
+
flex-wrap: nowrap;
|
5
|
+
list-style: none;
|
6
|
+
margin: $unit-1 0;
|
7
|
+
width: 100%;
|
8
|
+
|
9
|
+
.step-item {
|
10
|
+
flex: 1 1 0;
|
11
|
+
margin-top: 0;
|
12
|
+
min-height: 1rem;
|
13
|
+
text-align: center;
|
14
|
+
position: relative;
|
15
|
+
|
16
|
+
&:not(:first-child)::before {
|
17
|
+
background: $primary-color;
|
18
|
+
content: "";
|
19
|
+
height: 2px;
|
20
|
+
left: -50%;
|
21
|
+
position: absolute;
|
22
|
+
top: 9px;
|
23
|
+
width: 100%;
|
24
|
+
}
|
25
|
+
|
26
|
+
a {
|
27
|
+
color: $gray-color;
|
28
|
+
display: inline-block;
|
29
|
+
padding: 20px 10px 0;
|
30
|
+
text-decoration: none;
|
31
|
+
|
32
|
+
&::before {
|
33
|
+
background: $primary-color;
|
34
|
+
border: $border-width-lg solid $light-color;
|
35
|
+
border-radius: 50%;
|
36
|
+
content: "";
|
37
|
+
display: block;
|
38
|
+
height: $unit-3;
|
39
|
+
left: 50%;
|
40
|
+
position: absolute;
|
41
|
+
top: $unit-1;
|
42
|
+
transform: translateX(-50%);
|
43
|
+
width: $unit-3;
|
44
|
+
z-index: $zindex-0;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
&.active {
|
49
|
+
a {
|
50
|
+
&::before {
|
51
|
+
background: $light-color;
|
52
|
+
border: $border-width-lg solid $primary-color;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
& ~ .step-item {
|
57
|
+
&::before {
|
58
|
+
background: $border-color;
|
59
|
+
}
|
60
|
+
|
61
|
+
a {
|
62
|
+
|
63
|
+
&::before {
|
64
|
+
background: $gray-color-light;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
// Tables
|
2
|
+
.table {
|
3
|
+
border-collapse: collapse;
|
4
|
+
border-spacing: 0;
|
5
|
+
text-align: left;
|
6
|
+
width: 100%;
|
7
|
+
|
8
|
+
&.table-striped {
|
9
|
+
tbody {
|
10
|
+
tr:nth-of-type(odd) {
|
11
|
+
background: $bg-color;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
&.table-hover {
|
17
|
+
tbody {
|
18
|
+
tr {
|
19
|
+
&:hover {
|
20
|
+
background: $bg-color-dark;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
&,
|
27
|
+
&.table-striped {
|
28
|
+
tbody {
|
29
|
+
tr {
|
30
|
+
&.active {
|
31
|
+
background: $bg-color-dark;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
td,
|
38
|
+
th {
|
39
|
+
border-bottom: $border-width solid $border-color;
|
40
|
+
padding: $unit-3 $unit-2;
|
41
|
+
}
|
42
|
+
th {
|
43
|
+
border-bottom-width: $border-width-lg;
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
// Tabs
|
2
|
+
.tab {
|
3
|
+
align-items: center;
|
4
|
+
border-bottom: $border-width solid $border-color;
|
5
|
+
display: flex;
|
6
|
+
flex-wrap: wrap;
|
7
|
+
list-style: none;
|
8
|
+
margin: $unit-1 0 ($unit-1 - $border-width) 0;
|
9
|
+
|
10
|
+
.tab-item {
|
11
|
+
margin-top: 0;
|
12
|
+
|
13
|
+
a {
|
14
|
+
border-bottom: $border-width-lg solid transparent;
|
15
|
+
color: inherit;
|
16
|
+
display: block;
|
17
|
+
margin: 0 $unit-2 0 0;
|
18
|
+
padding: $unit-2 $unit-1 $unit-2 - $border-width-lg $unit-1;
|
19
|
+
text-decoration: none;
|
20
|
+
&:focus,
|
21
|
+
&:hover {
|
22
|
+
color: $link-color;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
&.active a,
|
26
|
+
a.active {
|
27
|
+
border-bottom-color: $primary-color;
|
28
|
+
color: $link-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
&.tab-action {
|
32
|
+
flex: 1 0 auto;
|
33
|
+
text-align: right;
|
34
|
+
}
|
35
|
+
|
36
|
+
.btn-clear {
|
37
|
+
margin-top: -$unit-1;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&.tab-block {
|
42
|
+
.tab-item {
|
43
|
+
flex: 1 0 0;
|
44
|
+
text-align: center;
|
45
|
+
|
46
|
+
a {
|
47
|
+
margin: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
.badge {
|
51
|
+
&[data-badge]::after {
|
52
|
+
position: absolute;
|
53
|
+
right: $unit-h;
|
54
|
+
top: $unit-h;
|
55
|
+
transform: translate(0, 0);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
&:not(.tab-block) {
|
62
|
+
.badge {
|
63
|
+
padding-right: 0;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// Tiles
|
2
|
+
.tile {
|
3
|
+
align-content: space-between;
|
4
|
+
align-items: flex-start;
|
5
|
+
display: flex;
|
6
|
+
|
7
|
+
.tile-icon,
|
8
|
+
.tile-action {
|
9
|
+
flex: 0 0 auto;
|
10
|
+
}
|
11
|
+
.tile-content {
|
12
|
+
flex: 1 1 auto;
|
13
|
+
&:not(:first-child) {
|
14
|
+
padding-left: $unit-2;
|
15
|
+
}
|
16
|
+
&:not(:last-child) {
|
17
|
+
padding-right: $unit-2;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
.tile-title,
|
21
|
+
.tile-subtitle {
|
22
|
+
line-height: $line-height;
|
23
|
+
}
|
24
|
+
|
25
|
+
&.tile-centered {
|
26
|
+
align-items: center;
|
27
|
+
|
28
|
+
.tile-content {
|
29
|
+
overflow: hidden;
|
30
|
+
}
|
31
|
+
|
32
|
+
.tile-title,
|
33
|
+
.tile-subtitle {
|
34
|
+
@include text-ellipsis();
|
35
|
+
margin-bottom: 0;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
// Timelines
|
2
|
+
.timeline {
|
3
|
+
.timeline-item {
|
4
|
+
display: flex;
|
5
|
+
margin-bottom: $unit-6;
|
6
|
+
position: relative;
|
7
|
+
&::before {
|
8
|
+
background: $border-color;
|
9
|
+
content: "";
|
10
|
+
height: 100%;
|
11
|
+
left: 11px;
|
12
|
+
position: absolute;
|
13
|
+
top: $unit-6;
|
14
|
+
width: 2px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.timeline-left {
|
18
|
+
flex: 0 0 auto;
|
19
|
+
}
|
20
|
+
|
21
|
+
.timeline-content {
|
22
|
+
flex: 1 1 auto;
|
23
|
+
padding: 2px 0 2px $layout-spacing-lg;
|
24
|
+
}
|
25
|
+
|
26
|
+
.timeline-icon {
|
27
|
+
border-radius: 50%;
|
28
|
+
color: $light-color;
|
29
|
+
display: block;
|
30
|
+
height: $unit-6;
|
31
|
+
text-align: center;
|
32
|
+
width: $unit-6;
|
33
|
+
&::before {
|
34
|
+
border: $border-width-lg solid $primary-color;
|
35
|
+
border-radius: 50%;
|
36
|
+
content: "";
|
37
|
+
display: block;
|
38
|
+
height: $unit-2;
|
39
|
+
left: $unit-2;
|
40
|
+
position: absolute;
|
41
|
+
top: $unit-2;
|
42
|
+
width: $unit-2;
|
43
|
+
}
|
44
|
+
|
45
|
+
&.icon-lg {
|
46
|
+
background: $primary-color;
|
47
|
+
line-height: $line-height;
|
48
|
+
&::before {
|
49
|
+
content: none;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// Toasts
|
2
|
+
.toast {
|
3
|
+
@include toast-variant($dark-color);
|
4
|
+
border: $border-width solid $dark-color;
|
5
|
+
border-radius: $border-radius;
|
6
|
+
color: $light-color;
|
7
|
+
display: block;
|
8
|
+
padding: $layout-spacing;
|
9
|
+
width: 100%;
|
10
|
+
|
11
|
+
&.toast-primary {
|
12
|
+
@include toast-variant($primary-color);
|
13
|
+
}
|
14
|
+
|
15
|
+
&.toast-success {
|
16
|
+
@include toast-variant($success-color);
|
17
|
+
}
|
18
|
+
|
19
|
+
&.toast-warning {
|
20
|
+
@include toast-variant($warning-color);
|
21
|
+
}
|
22
|
+
|
23
|
+
&.toast-error {
|
24
|
+
@include toast-variant($error-color);
|
25
|
+
}
|
26
|
+
|
27
|
+
a {
|
28
|
+
color: $light-color;
|
29
|
+
text-decoration: underline;
|
30
|
+
|
31
|
+
&:focus,
|
32
|
+
&:hover,
|
33
|
+
&:active,
|
34
|
+
&.active {
|
35
|
+
opacity: .75;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.btn-clear {
|
40
|
+
margin: 4px -2px 4px 4px;
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
// Tooltips
|
2
|
+
.tooltip {
|
3
|
+
position: relative;
|
4
|
+
&::after {
|
5
|
+
background: rgba($dark-color, .9);
|
6
|
+
border-radius: $border-radius;
|
7
|
+
bottom: 100%;
|
8
|
+
color: $light-color;
|
9
|
+
content: attr(data-tooltip);
|
10
|
+
display: block;
|
11
|
+
font-size: $font-size-sm;
|
12
|
+
left: 50%;
|
13
|
+
max-width: $control-max-width;
|
14
|
+
opacity: 0;
|
15
|
+
overflow: hidden;
|
16
|
+
padding: $unit-1 $unit-2;
|
17
|
+
pointer-events: none;
|
18
|
+
position: absolute;
|
19
|
+
text-overflow: ellipsis;
|
20
|
+
transform: translate(-50%, $unit-2);
|
21
|
+
transition: all .2s ease;
|
22
|
+
white-space: pre;
|
23
|
+
z-index: $zindex-3;
|
24
|
+
}
|
25
|
+
&:focus,
|
26
|
+
&:hover {
|
27
|
+
&::after {
|
28
|
+
opacity: 1;
|
29
|
+
transform: translate(-50%, -$unit-1);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
&[disabled],
|
33
|
+
&.disabled {
|
34
|
+
pointer-events: auto;
|
35
|
+
}
|
36
|
+
|
37
|
+
&.tooltip-right {
|
38
|
+
&::after {
|
39
|
+
bottom: 50%;
|
40
|
+
left: 100%;
|
41
|
+
transform: translate(-$unit-1, 50%);
|
42
|
+
}
|
43
|
+
&:focus,
|
44
|
+
&:hover {
|
45
|
+
&::after {
|
46
|
+
transform: translate($unit-1, 50%);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
&.tooltip-bottom {
|
52
|
+
&::after {
|
53
|
+
bottom: auto;
|
54
|
+
top: 100%;
|
55
|
+
transform: translate(-50%, -$unit-2);
|
56
|
+
}
|
57
|
+
&:focus,
|
58
|
+
&:hover {
|
59
|
+
&::after {
|
60
|
+
transform: translate(-50%, $unit-1);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&.tooltip-left {
|
66
|
+
&::after {
|
67
|
+
bottom: 50%;
|
68
|
+
left: auto;
|
69
|
+
right: 100%;
|
70
|
+
transform: translate($unit-2, 50%);
|
71
|
+
}
|
72
|
+
&:focus,
|
73
|
+
&:hover {
|
74
|
+
&::after {
|
75
|
+
transform: translate(-$unit-1, 50%);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
// Typography
|
2
|
+
// Headings
|
3
|
+
h1,
|
4
|
+
h2,
|
5
|
+
h3,
|
6
|
+
h4,
|
7
|
+
h5,
|
8
|
+
h6 {
|
9
|
+
color: inherit;
|
10
|
+
font-weight: 500;
|
11
|
+
line-height: 1.2;
|
12
|
+
margin-bottom: .5em;
|
13
|
+
margin-top: 0;
|
14
|
+
}
|
15
|
+
.h1,
|
16
|
+
.h2,
|
17
|
+
.h3,
|
18
|
+
.h4,
|
19
|
+
.h5,
|
20
|
+
.h6 {
|
21
|
+
font-weight: 500;
|
22
|
+
}
|
23
|
+
h1,
|
24
|
+
.h1 {
|
25
|
+
font-size: 2rem;
|
26
|
+
}
|
27
|
+
h2,
|
28
|
+
.h2 {
|
29
|
+
font-size: 1.6rem;
|
30
|
+
}
|
31
|
+
h3,
|
32
|
+
.h3 {
|
33
|
+
font-size: 1.4rem;
|
34
|
+
}
|
35
|
+
h4,
|
36
|
+
.h4 {
|
37
|
+
font-size: 1.2rem;
|
38
|
+
}
|
39
|
+
h5,
|
40
|
+
.h5 {
|
41
|
+
font-size: 1rem;
|
42
|
+
}
|
43
|
+
h6,
|
44
|
+
.h6 {
|
45
|
+
font-size: .8rem;
|
46
|
+
}
|
47
|
+
|
48
|
+
// Paragraphs
|
49
|
+
p {
|
50
|
+
margin: 0 0 $line-height;
|
51
|
+
}
|
52
|
+
|
53
|
+
// Semantic text elements
|
54
|
+
a,
|
55
|
+
ins,
|
56
|
+
u {
|
57
|
+
text-decoration-skip: ink edges;
|
58
|
+
}
|
59
|
+
|
60
|
+
abbr[title] {
|
61
|
+
border-bottom: $border-width dotted;
|
62
|
+
cursor: help;
|
63
|
+
text-decoration: none;
|
64
|
+
}
|
65
|
+
|
66
|
+
kbd {
|
67
|
+
@include label-base();
|
68
|
+
@include label-variant($light-color, $dark-color);
|
69
|
+
font-size: $font-size-sm;
|
70
|
+
}
|
71
|
+
|
72
|
+
mark {
|
73
|
+
@include label-variant($body-font-color, $highlight-color);
|
74
|
+
border-radius: $border-radius;
|
75
|
+
padding: .05rem;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Blockquote
|
79
|
+
blockquote {
|
80
|
+
border-left: $border-width-lg solid $border-color;
|
81
|
+
margin-left: 0;
|
82
|
+
padding: $unit-2 $unit-4;
|
83
|
+
|
84
|
+
p:last-child {
|
85
|
+
margin-bottom: 0;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
// Lists
|
90
|
+
ul,
|
91
|
+
ol {
|
92
|
+
margin: $unit-4 0 $unit-4 $unit-4;
|
93
|
+
padding: 0;
|
94
|
+
|
95
|
+
ul,
|
96
|
+
ol {
|
97
|
+
margin: $unit-4 0 $unit-4 $unit-4;
|
98
|
+
}
|
99
|
+
|
100
|
+
li {
|
101
|
+
margin-top: $unit-2;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
ul {
|
106
|
+
list-style: disc inside;
|
107
|
+
|
108
|
+
ul {
|
109
|
+
list-style-type: circle;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
ol {
|
114
|
+
list-style: decimal inside;
|
115
|
+
|
116
|
+
ol {
|
117
|
+
list-style-type: lower-alpha;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
dl {
|
122
|
+
dt {
|
123
|
+
font-weight: bold;
|
124
|
+
}
|
125
|
+
dd {
|
126
|
+
margin: $unit-2 0 $unit-4 0;
|
127
|
+
}
|
128
|
+
}
|