timequake 1.0.3 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/timequake.js +1 -1
- data/app/assets/stylesheets/timequake/buttons.scss +7 -7
- data/app/assets/stylesheets/timequake/colors.scss +14 -0
- data/app/assets/stylesheets/timequake/forms.scss +14 -0
- data/app/assets/stylesheets/timequake/modals.scss +3 -7
- data/app/assets/stylesheets/timequake/typography.scss +4 -2
- data/app/assets/stylesheets/timequake/universal.scss +10 -2
- data/lib/generators/timequake/templates/timequake_overrides.scss +16 -11
- data/lib/timequake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc6ad3f780c6be47d8dd8b092f6abb0072fcd215c90cb5294923eb6bbd6f0211
|
4
|
+
data.tar.gz: d8f4dec0b0e793af54e63616445fec22cb1fecafe206262d51b81005bb578202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a489fb2fcf13a93a4cadf6daca3e1ee83642824d942efc44c7bcfeb2f3dfb6aed6278b326ba41c4997295f6f291ed32c0b9e6c8f090e4d710e30793c6d814b
|
7
|
+
data.tar.gz: 3b35ca728ff971933587b66924d0a1f4f87efcf03eba8eb1c5d3549f51ae324c2ff701818f570576f2ddabda8d0a2037d27d805b5ec396a7121a0075d9f56e84
|
@@ -48,7 +48,7 @@ $btn-mini-padding: 8px !default;
|
|
48
48
|
}
|
49
49
|
}
|
50
50
|
|
51
|
-
&.secondary {
|
51
|
+
&.btn-secondary {
|
52
52
|
color: $secondary-btn-text-color;
|
53
53
|
background-color: $secondary-btn-color;
|
54
54
|
border-color: $secondary-btn-border-color;
|
@@ -66,7 +66,7 @@ $btn-mini-padding: 8px !default;
|
|
66
66
|
}
|
67
67
|
}
|
68
68
|
|
69
|
-
&.tertiary {
|
69
|
+
&.btn-tertiary {
|
70
70
|
color: $tertiary-btn-text-color;
|
71
71
|
background-color: $tertiary-btn-color;
|
72
72
|
border-color: $tertiary-btn-border-color;
|
@@ -84,31 +84,31 @@ $btn-mini-padding: 8px !default;
|
|
84
84
|
}
|
85
85
|
}
|
86
86
|
|
87
|
-
&.info {
|
87
|
+
&.btn-info {
|
88
88
|
background-color: $info-color;
|
89
89
|
border-color: $info-color;
|
90
90
|
&:hover { background-color: lighten($info-color, 5%); }
|
91
91
|
}
|
92
92
|
|
93
|
-
&.success {
|
93
|
+
&.btn-success {
|
94
94
|
background-color: $success-color;
|
95
95
|
border-color: $success-color;
|
96
96
|
&:hover { background-color: lighten($success-color, 5%); }
|
97
97
|
}
|
98
98
|
|
99
|
-
&.danger {
|
99
|
+
&.btn-danger {
|
100
100
|
background-color: $danger-color;
|
101
101
|
border-color: $danger-color;
|
102
102
|
&:hover { background-color: lighten($danger-color, 5%); }
|
103
103
|
}
|
104
104
|
|
105
|
-
&.warning {
|
105
|
+
&.btn-warning {
|
106
106
|
background-color: $warning-color;
|
107
107
|
border-color: $warning-color;
|
108
108
|
&:hover { background-color: lighten($warning-color, 5%); }
|
109
109
|
}
|
110
110
|
|
111
|
-
&.mini {
|
111
|
+
&.btn-mini {
|
112
112
|
min-width: $btn-mini-min-width;
|
113
113
|
padding: $btn-mini-padding;
|
114
114
|
}
|
@@ -35,9 +35,16 @@ $warning-color: #EAC435 !default;
|
|
35
35
|
.violet { color: $violet !important; }
|
36
36
|
.teal { color: $teal !important; }
|
37
37
|
.copy-color { color: $copy-color !important; }
|
38
|
+
.primary { color: $primary-color !important; }
|
39
|
+
.secondary { color: $secondary-color !important; }
|
40
|
+
.tertiary { color: $tertiary-color !important; }
|
38
41
|
.primary-color { color: $primary-color !important; }
|
39
42
|
.secondary-color { color: $secondary-color !important; }
|
40
43
|
.tertiary-color { color: $tertiary-color !important; }
|
44
|
+
.success { color: $success-color !important; }
|
45
|
+
.info { color: $info-color !important; }
|
46
|
+
.danger { color: $danger-color !important; }
|
47
|
+
.warning { color: $warning-color !important; }
|
41
48
|
|
42
49
|
.black-bg { background-color: $black !important; }
|
43
50
|
.gray-bg { background-color: $gray !important; }
|
@@ -53,6 +60,13 @@ $warning-color: #EAC435 !default;
|
|
53
60
|
.indigo-bg { background-color: $indigo !important; }
|
54
61
|
.violet-bg { background-color: $violet !important; }
|
55
62
|
.teal-bg { background-color: $teal !important; }
|
63
|
+
.primary-bg { background-color: $primary-color !important; }
|
64
|
+
.secondary-bg { background-color: $secondary-color !important; }
|
65
|
+
.tertiary-bg { background-color: $tertiary-color !important; }
|
56
66
|
.primary-color-bg { background-color: $primary-color !important; }
|
57
67
|
.secondary-color-bg { background-color: $secondary-color !important; }
|
58
68
|
.tertiary-color-bg { background-color: $tertiary-color !important; }
|
69
|
+
.success-bg { background-color: $success-color !important; }
|
70
|
+
.info-bg { background-color: $info-color !important; }
|
71
|
+
.danger-bg { background-color: $danger-color !important; }
|
72
|
+
.warning-bg { background-color: $warning-color !important; }
|
@@ -11,6 +11,10 @@ $label-font: $form-font !default;
|
|
11
11
|
$input-font-size: $copy-font-size !default;
|
12
12
|
$label-font-size: $copy-font-size !default;
|
13
13
|
$file-font-size: 14px !default;
|
14
|
+
$checkbox-width: 16px !default;
|
15
|
+
$checkbox-margin-bottom: 8px !default;
|
16
|
+
$radio-width: 13px !default;
|
17
|
+
$radio-margin-bottom: 8px !default;
|
14
18
|
|
15
19
|
form {
|
16
20
|
input,
|
@@ -39,6 +43,16 @@ form {
|
|
39
43
|
|
40
44
|
input[type='submit'] { height: auto; }
|
41
45
|
|
46
|
+
input[type='checkbox'] {
|
47
|
+
width: $checkbox-width;
|
48
|
+
margin-bottom: $checkbox-margin-bottom;
|
49
|
+
}
|
50
|
+
|
51
|
+
input[type='radio'] {
|
52
|
+
width: $radio-width;
|
53
|
+
margin-bottom: $radio-margin-bottom;
|
54
|
+
}
|
55
|
+
|
42
56
|
label {
|
43
57
|
display: inline-block;
|
44
58
|
margin-bottom: $label-margin-bottom;
|
@@ -2,9 +2,7 @@ $modal-bg-color: $white !default;
|
|
2
2
|
$modal-max-width: 1200px !default;
|
3
3
|
$modal-content-padding: 20px !default;
|
4
4
|
$modal-border-radius: 5px !default;
|
5
|
-
$modal-border
|
6
|
-
$modal-border-width: 5px !default;
|
7
|
-
$modal-border-style: solid !default;
|
5
|
+
$modal-border: 5px solid $white !default;
|
8
6
|
$modal-close-size: 30px !default;
|
9
7
|
$modal-close-color: $copy-color !default;
|
10
8
|
$modal-close-transform: rotate(45deg) !default;
|
@@ -19,7 +17,7 @@ $modal-close-transform: rotate(45deg) !default;
|
|
19
17
|
display: flex;
|
20
18
|
justify-content: center;
|
21
19
|
align-items: center;
|
22
|
-
z-index:
|
20
|
+
z-index: -1;
|
23
21
|
opacity: 0;
|
24
22
|
transition: 500ms all;
|
25
23
|
|
@@ -39,9 +37,7 @@ $modal-close-transform: rotate(45deg) !default;
|
|
39
37
|
background: $modal-bg-color;
|
40
38
|
border-radius: $modal-border-radius;
|
41
39
|
padding: $modal-content-padding;
|
42
|
-
border
|
43
|
-
border-style: $modal-border-style;
|
44
|
-
border-color: $modal-border-color;
|
40
|
+
border: $modal-border;
|
45
41
|
max-width: $modal-max-width;
|
46
42
|
|
47
43
|
.modal-close {
|
@@ -9,6 +9,8 @@ $heading-3-font-size: 1.17rem !default;
|
|
9
9
|
$heading-4-font-size: 1.12rem !default;
|
10
10
|
$heading-5-font-size: .83rem !default;
|
11
11
|
$heading-6-font-size: .75rem !default;
|
12
|
+
$heading-margin: 0 0 .5rem 0 !default;
|
13
|
+
$copy-margin: 0 0 .5rem 0 !default;
|
12
14
|
$btn-font: $copy-font !default;
|
13
15
|
|
14
16
|
html {
|
@@ -19,7 +21,7 @@ html {
|
|
19
21
|
.copy {
|
20
22
|
font-family: $copy-font;
|
21
23
|
color: $copy-color;
|
22
|
-
margin:
|
24
|
+
margin: $copy-margin;
|
23
25
|
font-size: $copy-font-size;
|
24
26
|
}
|
25
27
|
|
@@ -31,7 +33,7 @@ html {
|
|
31
33
|
.heading-5,
|
32
34
|
.heading-6, {
|
33
35
|
font-family: $heading-font;
|
34
|
-
margin:
|
36
|
+
margin: $heading-margin;
|
35
37
|
}
|
36
38
|
|
37
39
|
.heading-1 { font-size: $heading-1-font-size; }
|
@@ -1,8 +1,16 @@
|
|
1
1
|
$main-overflow: hidden !default;
|
2
|
-
$section-padding: 2rem 0 !default;
|
2
|
+
$section-padding-desktop: 2rem 0 !default;
|
3
|
+
$section-padding-mobile: 1rem 0 !default;
|
3
4
|
|
4
5
|
main { overflow: $main-overflow; }
|
5
|
-
|
6
|
+
|
7
|
+
section {
|
8
|
+
padding: $section-padding-mobile;
|
9
|
+
|
10
|
+
@include breakpoint('large') {
|
11
|
+
padding: $section-padding-desktop;
|
12
|
+
}
|
13
|
+
}
|
6
14
|
|
7
15
|
a {
|
8
16
|
color: inherit;
|
@@ -36,12 +36,14 @@ $heading-font: sans-serif;
|
|
36
36
|
|
37
37
|
$body-font-size: 16px;
|
38
38
|
$copy-font-size: 16px;
|
39
|
-
$heading-1-font-size: 2rem
|
40
|
-
$heading-2-font-size: 1.5rem
|
41
|
-
$heading-3-font-size: 1.17rem
|
42
|
-
$heading-4-font-size: 1.12rem
|
43
|
-
$heading-5-font-size: .83rem
|
44
|
-
$heading-6-font-size: .75rem
|
39
|
+
$heading-1-font-size: 2rem;
|
40
|
+
$heading-2-font-size: 1.5rem;
|
41
|
+
$heading-3-font-size: 1.17rem;
|
42
|
+
$heading-4-font-size: 1.12rem;
|
43
|
+
$heading-5-font-size: .83rem;
|
44
|
+
$heading-6-font-size: .75rem;
|
45
|
+
$heading-margin: 0 0 .5rem 0;
|
46
|
+
$copy-margin: 0 0 .5rem 0;
|
45
47
|
|
46
48
|
// BUTTONS
|
47
49
|
$btn-min-width: 145px;
|
@@ -77,15 +79,17 @@ $label-font: $form-font;
|
|
77
79
|
$input-font-size: $copy-font-size;
|
78
80
|
$label-font-size: $copy-font-size;
|
79
81
|
$file-font-size: 14px;
|
82
|
+
$checkbox-width: 16px;
|
83
|
+
$checkbox-margin-bottom: 8px;
|
84
|
+
$radio-width: 13px;
|
85
|
+
$radio-margin-bottom: 8px;
|
80
86
|
|
81
87
|
// MODALS
|
82
88
|
$modal-bg-color: $white;
|
83
89
|
$modal-max-width: 1200px;
|
84
90
|
$modal-content-padding: 20px;
|
85
91
|
$modal-border-radius: 5px;
|
86
|
-
$modal-border
|
87
|
-
$modal-border-width: 5px;
|
88
|
-
$modal-border-style: solid;
|
92
|
+
$modal-border: 5px solid $white;
|
89
93
|
$modal-close-size: 30px;
|
90
94
|
$modal-close-color: $copy-color;
|
91
95
|
$modal-close-transform: rotate(45deg);
|
@@ -94,7 +98,7 @@ $modal-close-transform: rotate(45deg);
|
|
94
98
|
$table-border: none;
|
95
99
|
$border-collapse: collapse;
|
96
100
|
$tr-border: 1px solid $light-gray;
|
97
|
-
$td-border: none
|
101
|
+
$td-border: none;
|
98
102
|
$tr-bg: $light-gray;
|
99
103
|
$td-padding: 5px;
|
100
104
|
$table-font: $copy-font;
|
@@ -102,6 +106,7 @@ $table-font-size: $copy-font-size;
|
|
102
106
|
|
103
107
|
//UNIVERSAL
|
104
108
|
$main-overflow: hidden;
|
105
|
-
$section-padding: 2rem 0;
|
109
|
+
$section-padding-desktop: 2rem 0;
|
110
|
+
$section-padding-mobile: 1rem 0;
|
106
111
|
|
107
112
|
@import 'timequake/index';
|
data/lib/timequake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timequake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Morris
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|