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,82 @@
|
|
1
|
+
// Off canvas menus
|
2
|
+
.off-canvas {
|
3
|
+
display: flex;
|
4
|
+
height: 100%;
|
5
|
+
left: 0;
|
6
|
+
overflow: hidden;
|
7
|
+
position: fixed;
|
8
|
+
top: 0;
|
9
|
+
width: 100%;
|
10
|
+
|
11
|
+
.off-canvas-sidebar {
|
12
|
+
background: $bg-color;
|
13
|
+
height: 100%;
|
14
|
+
left: 0;
|
15
|
+
padding: $layout-spacing-lg;
|
16
|
+
position: absolute;
|
17
|
+
top: 0;
|
18
|
+
transform: translateX(-100%);
|
19
|
+
transition: transform .25s ease;
|
20
|
+
width: 10rem;
|
21
|
+
z-index: $zindex-3;
|
22
|
+
}
|
23
|
+
|
24
|
+
.off-canvas-content {
|
25
|
+
flex: 1 1 auto;
|
26
|
+
overflow-y: auto;
|
27
|
+
padding: $layout-spacing-lg $layout-spacing-lg $layout-spacing-lg 4rem;
|
28
|
+
}
|
29
|
+
|
30
|
+
.off-canvas-checkbox {
|
31
|
+
&:checked ~ .off-canvas-sidebar {
|
32
|
+
transform: translateX(0);
|
33
|
+
}
|
34
|
+
|
35
|
+
&:checked ~ .off-canvas-toggle {
|
36
|
+
background: rgba($dark-color, .1);
|
37
|
+
border-color: transparent;
|
38
|
+
border-radius: 0;
|
39
|
+
bottom: 0;
|
40
|
+
height: 100%;
|
41
|
+
left: 0;
|
42
|
+
right: 0;
|
43
|
+
top: 0;
|
44
|
+
width: 100%;
|
45
|
+
|
46
|
+
.icon {
|
47
|
+
display: none;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.off-canvas-toggle {
|
53
|
+
display: block;
|
54
|
+
left: $layout-spacing-lg;
|
55
|
+
padding-left: 0;
|
56
|
+
padding-right: 0;
|
57
|
+
position: absolute;
|
58
|
+
top: $layout-spacing-lg;
|
59
|
+
transition: none;
|
60
|
+
width: $control-size-lg;
|
61
|
+
z-index: $zindex-2;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
// Responsive layout
|
66
|
+
@media (min-width: $size-lg) {
|
67
|
+
.off-canvas {
|
68
|
+
.off-canvas-sidebar {
|
69
|
+
flex: 0 0 auto;
|
70
|
+
position: static;
|
71
|
+
transform: translateX(0);
|
72
|
+
}
|
73
|
+
|
74
|
+
.off-canvas-content {
|
75
|
+
padding-left: $layout-spacing-lg;
|
76
|
+
}
|
77
|
+
|
78
|
+
.off-canvas-toggle {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
// Pagination
|
2
|
+
.pagination {
|
3
|
+
display: flex;
|
4
|
+
list-style: none;
|
5
|
+
margin: $unit-1 0;
|
6
|
+
padding: $unit-1 0;
|
7
|
+
|
8
|
+
.page-item {
|
9
|
+
margin: $unit-1 $unit-o;
|
10
|
+
|
11
|
+
span {
|
12
|
+
display: inline-block;
|
13
|
+
padding: $unit-1 $unit-1;
|
14
|
+
}
|
15
|
+
|
16
|
+
a {
|
17
|
+
border-radius: $border-radius;
|
18
|
+
color: $gray-color-dark;
|
19
|
+
display: inline-block;
|
20
|
+
padding: $unit-1 $unit-2;
|
21
|
+
text-decoration: none;
|
22
|
+
&:focus,
|
23
|
+
&:hover {
|
24
|
+
color: $primary-color;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
&.disabled {
|
29
|
+
a {
|
30
|
+
cursor: default;
|
31
|
+
opacity: .5;
|
32
|
+
pointer-events: none;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
&.active {
|
37
|
+
a {
|
38
|
+
background: $primary-color;
|
39
|
+
color: $light-color;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&.page-prev,
|
44
|
+
&.page-next {
|
45
|
+
flex: 1 0 50%;
|
46
|
+
}
|
47
|
+
|
48
|
+
&.page-next {
|
49
|
+
text-align: right;
|
50
|
+
}
|
51
|
+
|
52
|
+
.page-item-title {
|
53
|
+
margin: 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
.page-item-subtitle {
|
57
|
+
margin: 0;
|
58
|
+
opacity: .5;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Panels
|
2
|
+
.panel {
|
3
|
+
border: $border-width solid $border-color;
|
4
|
+
border-radius: $border-radius;
|
5
|
+
display: flex;
|
6
|
+
flex-direction: column;
|
7
|
+
|
8
|
+
.panel-header,
|
9
|
+
.panel-footer {
|
10
|
+
flex: 0 0 auto;
|
11
|
+
padding: $layout-spacing-lg;
|
12
|
+
}
|
13
|
+
|
14
|
+
.panel-nav {
|
15
|
+
flex: 0 0 auto;
|
16
|
+
}
|
17
|
+
|
18
|
+
.panel-body {
|
19
|
+
flex: 1 1 auto;
|
20
|
+
overflow-y: auto;
|
21
|
+
padding: 0 $layout-spacing-lg;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
// Parallax
|
2
|
+
$parallax-deg: 3deg !default;
|
3
|
+
$parallax-offset: 4.5px !default;
|
4
|
+
$parallax-offset-z: 50px !default;
|
5
|
+
$parallax-perspective: 1000px !default;
|
6
|
+
$parallax-scale: .95 !default;
|
7
|
+
|
8
|
+
// Mixin: Parallax direction
|
9
|
+
@mixin parallax-dir() {
|
10
|
+
height: 50%;
|
11
|
+
position: absolute;
|
12
|
+
width: 50%;
|
13
|
+
z-index: $zindex-1;
|
14
|
+
}
|
15
|
+
|
16
|
+
.parallax {
|
17
|
+
display: block;
|
18
|
+
height: auto;
|
19
|
+
position: relative;
|
20
|
+
width: auto;
|
21
|
+
|
22
|
+
.parallax-content {
|
23
|
+
@include shadow-variant(1rem);
|
24
|
+
height: auto;
|
25
|
+
transform: perspective($parallax-perspective);
|
26
|
+
transform-style: preserve-3d;
|
27
|
+
transition: all .4s ease;
|
28
|
+
width: 100%;
|
29
|
+
|
30
|
+
&::before {
|
31
|
+
content: "";
|
32
|
+
display: block;
|
33
|
+
height: 100%;
|
34
|
+
left: 0;
|
35
|
+
position: absolute;
|
36
|
+
top: 0;
|
37
|
+
width: 100%;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.parallax-front {
|
42
|
+
align-items: center;
|
43
|
+
color: $light-color;
|
44
|
+
display: flex;
|
45
|
+
height: 100%;
|
46
|
+
justify-content: center;
|
47
|
+
left: 0;
|
48
|
+
position: absolute;
|
49
|
+
text-align: center;
|
50
|
+
text-shadow: 0 0 20px rgba($dark-color, .75);
|
51
|
+
top: 0;
|
52
|
+
transform: translateZ($parallax-offset-z) scale($parallax-scale);
|
53
|
+
transition: all .4s ease;
|
54
|
+
width: 100%;
|
55
|
+
z-index: $zindex-0;
|
56
|
+
}
|
57
|
+
|
58
|
+
.parallax-top-left {
|
59
|
+
@include parallax-dir();
|
60
|
+
left: 0;
|
61
|
+
top: 0;
|
62
|
+
|
63
|
+
&:hover ~ .parallax-content {
|
64
|
+
transform: perspective($parallax-perspective) rotateX($parallax-deg) rotateY(-$parallax-deg);
|
65
|
+
|
66
|
+
&::before {
|
67
|
+
background: linear-gradient(135deg, rgba(255, 255, 255, .35) 0%, transparent 50%);
|
68
|
+
}
|
69
|
+
|
70
|
+
.parallax-front {
|
71
|
+
transform: translate3d($parallax-offset, $parallax-offset, $parallax-offset-z) scale($parallax-scale);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.parallax-top-right {
|
77
|
+
@include parallax-dir();
|
78
|
+
right: 0;
|
79
|
+
top: 0;
|
80
|
+
|
81
|
+
&:hover ~ .parallax-content {
|
82
|
+
transform: perspective($parallax-perspective) rotateX($parallax-deg) rotateY($parallax-deg);
|
83
|
+
|
84
|
+
&::before {
|
85
|
+
background: linear-gradient(-135deg, rgba(255, 255, 255, .35) 0%, transparent 50%);
|
86
|
+
}
|
87
|
+
|
88
|
+
.parallax-front {
|
89
|
+
transform: translate3d(-$parallax-offset, $parallax-offset, $parallax-offset-z) scale($parallax-scale);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
.parallax-bottom-left {
|
95
|
+
@include parallax-dir();
|
96
|
+
bottom: 0;
|
97
|
+
left: 0;
|
98
|
+
|
99
|
+
&:hover ~ .parallax-content {
|
100
|
+
transform: perspective($parallax-perspective) rotateX(-$parallax-deg) rotateY(-$parallax-deg);
|
101
|
+
|
102
|
+
&::before {
|
103
|
+
background: linear-gradient(45deg, rgba(255, 255, 255, .35) 0%, transparent 50%);
|
104
|
+
}
|
105
|
+
|
106
|
+
.parallax-front {
|
107
|
+
transform: translate3d($parallax-offset, -$parallax-offset, $parallax-offset-z) scale($parallax-scale);
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.parallax-bottom-right {
|
113
|
+
@include parallax-dir();
|
114
|
+
bottom: 0;
|
115
|
+
right: 0;
|
116
|
+
|
117
|
+
&:hover ~ .parallax-content {
|
118
|
+
transform: perspective($parallax-perspective) rotateX(-$parallax-deg) rotateY($parallax-deg);
|
119
|
+
|
120
|
+
&::before {
|
121
|
+
background: linear-gradient(-45deg, rgba(255, 255, 255, .35) 0%, transparent 50%);
|
122
|
+
}
|
123
|
+
|
124
|
+
.parallax-front {
|
125
|
+
transform: translate3d(-$parallax-offset, -$parallax-offset, $parallax-offset-z) scale($parallax-scale);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
// Popovers
|
2
|
+
.popover {
|
3
|
+
display: inline-block;
|
4
|
+
position: relative;
|
5
|
+
|
6
|
+
.popover-container {
|
7
|
+
content: attr(data-tooltip);
|
8
|
+
opacity: 0;
|
9
|
+
left: 50%;
|
10
|
+
padding: $layout-spacing;
|
11
|
+
position: absolute;
|
12
|
+
top: 0;
|
13
|
+
transform: translate(-50%, -50%) scale(0);
|
14
|
+
transition: transform .2s ease;
|
15
|
+
width: $control-max-width;
|
16
|
+
z-index: $zindex-4;
|
17
|
+
}
|
18
|
+
|
19
|
+
:focus + .popover-container,
|
20
|
+
&:hover .popover-container,
|
21
|
+
.popover-container:hover {
|
22
|
+
display: block;
|
23
|
+
opacity: 1;
|
24
|
+
transform: translate(-50%, -100%) scale(1);
|
25
|
+
}
|
26
|
+
|
27
|
+
&.popover-right {
|
28
|
+
.popover-container {
|
29
|
+
left: 100%;
|
30
|
+
top: 50%;
|
31
|
+
}
|
32
|
+
|
33
|
+
:focus + .popover-container,
|
34
|
+
&:hover .popover-container,
|
35
|
+
.popover-container:hover {
|
36
|
+
transform: translate(0, -50%) scale(1);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&.popover-bottom {
|
41
|
+
.popover-container {
|
42
|
+
left: 50%;
|
43
|
+
top: 100%;
|
44
|
+
}
|
45
|
+
|
46
|
+
:focus + .popover-container,
|
47
|
+
&:hover .popover-container,
|
48
|
+
.popover-container:hover {
|
49
|
+
transform: translate(-50%, 0) scale(1);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
&.popover-left {
|
54
|
+
.popover-container {
|
55
|
+
left: 0;
|
56
|
+
top: 50%;
|
57
|
+
}
|
58
|
+
|
59
|
+
:focus + .popover-container,
|
60
|
+
&:hover .popover-container,
|
61
|
+
.popover-container:hover {
|
62
|
+
transform: translate(-100%, -50%) scale(1);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
.card {
|
67
|
+
@include shadow-variant(.2rem);
|
68
|
+
border: 0;
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
// Progress
|
2
|
+
// Credit: https://css-tricks.com/html5-progress-element/
|
3
|
+
.progress {
|
4
|
+
appearance: none;
|
5
|
+
background: $bg-color-dark;
|
6
|
+
border: 0;
|
7
|
+
border-radius: $border-radius;
|
8
|
+
color: $primary-color;
|
9
|
+
height: $unit-1;
|
10
|
+
position: relative;
|
11
|
+
width: 100%;
|
12
|
+
|
13
|
+
&::-webkit-progress-bar {
|
14
|
+
background: transparent;
|
15
|
+
border-radius: $border-radius;
|
16
|
+
}
|
17
|
+
|
18
|
+
&::-webkit-progress-value {
|
19
|
+
background: $primary-color;
|
20
|
+
border-radius: $border-radius;
|
21
|
+
}
|
22
|
+
|
23
|
+
&::-moz-progress-bar {
|
24
|
+
background: $primary-color;
|
25
|
+
border-radius: $border-radius;
|
26
|
+
}
|
27
|
+
|
28
|
+
&:indeterminate {
|
29
|
+
animation: progress-indeterminate 1.5s linear infinite;
|
30
|
+
background: $bg-color-dark linear-gradient(to right, $primary-color 30%, $bg-color-dark 30%) top left / 150% 150% no-repeat;
|
31
|
+
|
32
|
+
&::-moz-progress-bar {
|
33
|
+
background: transparent;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@keyframes progress-indeterminate {
|
39
|
+
0% {
|
40
|
+
background-position: 200% 0;
|
41
|
+
}
|
42
|
+
100% {
|
43
|
+
background-position: -200% 0;
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
// Sliders
|
2
|
+
// Credit: https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/
|
3
|
+
.slider {
|
4
|
+
appearance: none;
|
5
|
+
background: transparent;
|
6
|
+
display: block;
|
7
|
+
width: 100%;
|
8
|
+
height: $unit-6;
|
9
|
+
|
10
|
+
&:focus {
|
11
|
+
@include control-shadow();
|
12
|
+
outline: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Slider Thumb
|
16
|
+
&::-webkit-slider-thumb {
|
17
|
+
-webkit-appearance: none;
|
18
|
+
background: $primary-color;
|
19
|
+
border: 0;
|
20
|
+
border-radius: 50%;
|
21
|
+
height: $unit-3;
|
22
|
+
margin-top: -($unit-3 - $unit-h) / 2;
|
23
|
+
transition: transform .2s ease;
|
24
|
+
width: $unit-3;
|
25
|
+
}
|
26
|
+
&::-moz-range-thumb {
|
27
|
+
background: $primary-color;
|
28
|
+
border: 0;
|
29
|
+
border-radius: 50%;
|
30
|
+
height: $unit-3;
|
31
|
+
transition: transform .2s ease;
|
32
|
+
width: $unit-3;
|
33
|
+
}
|
34
|
+
&::-ms-thumb {
|
35
|
+
background: $primary-color;
|
36
|
+
border: 0;
|
37
|
+
border-radius: 50%;
|
38
|
+
height: $unit-3;
|
39
|
+
transition: transform .2s ease;
|
40
|
+
width: $unit-3;
|
41
|
+
}
|
42
|
+
|
43
|
+
&:active {
|
44
|
+
&::-webkit-slider-thumb {
|
45
|
+
transform: scale(1.25);
|
46
|
+
}
|
47
|
+
&::-moz-range-thumb {
|
48
|
+
transform: scale(1.25);
|
49
|
+
}
|
50
|
+
&::-ms-thumb {
|
51
|
+
transform: scale(1.25);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
&:disabled,
|
56
|
+
&.disabled {
|
57
|
+
&::-webkit-slider-thumb {
|
58
|
+
background: $gray-color-light;
|
59
|
+
transform: scale(1);
|
60
|
+
}
|
61
|
+
&::-moz-range-thumb {
|
62
|
+
background: $gray-color-light;
|
63
|
+
transform: scale(1);
|
64
|
+
}
|
65
|
+
&::-ms-thumb {
|
66
|
+
background: $gray-color-light;
|
67
|
+
transform: scale(1);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
// Slider Track
|
72
|
+
&::-webkit-slider-runnable-track {
|
73
|
+
background: $bg-color-dark;
|
74
|
+
border-radius: $border-radius;
|
75
|
+
height: $unit-h;
|
76
|
+
width: 100%;
|
77
|
+
}
|
78
|
+
&::-moz-range-track {
|
79
|
+
background: $bg-color-dark;
|
80
|
+
border-radius: $border-radius;
|
81
|
+
height: $unit-h;
|
82
|
+
width: 100%;
|
83
|
+
}
|
84
|
+
&::-ms-track {
|
85
|
+
background: $bg-color-dark;
|
86
|
+
border-radius: $border-radius;
|
87
|
+
height: $unit-h;
|
88
|
+
width: 100%;
|
89
|
+
}
|
90
|
+
&::-ms-fill-lower {
|
91
|
+
background: $primary-color;
|
92
|
+
}
|
93
|
+
}
|