timequake 1.0.0beta → 1.0.6
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 +33 -2
- data/app/assets/stylesheets/timequake/colors.scss +18 -0
- data/app/assets/stylesheets/timequake/universal.scss +10 -2
- data/lib/generators/timequake/templates/timequake_overrides.scss +15 -8
- data/lib/timequake/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02e7d4a0677994298d77ef8f9e2b3c4dd692ea3f94d583d15a3e4056a153ac3a
|
4
|
+
data.tar.gz: 8d97bfbbcf2db6b78dddb816de88121b294882d169645d35a5ec80addb22f0ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef1a83bf3c701c116bbcf29368767a4fb5e4d07d43d08b2fbf5a419d869e71d93cf03497fb1ef3843242bbd4c98777f74a3a86fcdcc8cef36f31425e65a54e82
|
7
|
+
data.tar.gz: fa085e85fa5eaf18d0bbc4adc0271ab13970b98b356e864240cf31cb76b8344fa6846b0384240fba5c9cfa7e149d4d48ef15ed8b59fd52c2c1e4a0066df0d9c9
|
@@ -14,6 +14,8 @@ $secondary-btn-border-color: $secondary-color !default;
|
|
14
14
|
$tertiary-btn-text-color: $white !default;
|
15
15
|
$tertiary-btn-color: $tertiary-color !default;
|
16
16
|
$tertiary-btn-border-color: $tertiary-color !default;
|
17
|
+
$btn-mini-min-width: 70px !default;
|
18
|
+
$btn-mini-padding: 8px !default;
|
17
19
|
|
18
20
|
.btn {
|
19
21
|
display: inline-block;
|
@@ -46,7 +48,7 @@ $tertiary-btn-border-color: $tertiary-color !default;
|
|
46
48
|
}
|
47
49
|
}
|
48
50
|
|
49
|
-
&.secondary {
|
51
|
+
&.btn-secondary {
|
50
52
|
color: $secondary-btn-text-color;
|
51
53
|
background-color: $secondary-btn-color;
|
52
54
|
border-color: $secondary-btn-border-color;
|
@@ -64,7 +66,7 @@ $tertiary-btn-border-color: $tertiary-color !default;
|
|
64
66
|
}
|
65
67
|
}
|
66
68
|
|
67
|
-
&.tertiary {
|
69
|
+
&.btn-tertiary {
|
68
70
|
color: $tertiary-btn-text-color;
|
69
71
|
background-color: $tertiary-btn-color;
|
70
72
|
border-color: $tertiary-btn-border-color;
|
@@ -81,4 +83,33 @@ $tertiary-btn-border-color: $tertiary-color !default;
|
|
81
83
|
}
|
82
84
|
}
|
83
85
|
}
|
86
|
+
|
87
|
+
&.btn-info {
|
88
|
+
background-color: $info-color;
|
89
|
+
border-color: $info-color;
|
90
|
+
&:hover { background-color: lighten($info-color, 5%); }
|
91
|
+
}
|
92
|
+
|
93
|
+
&.btn-success {
|
94
|
+
background-color: $success-color;
|
95
|
+
border-color: $success-color;
|
96
|
+
&:hover { background-color: lighten($success-color, 5%); }
|
97
|
+
}
|
98
|
+
|
99
|
+
&.btn-danger {
|
100
|
+
background-color: $danger-color;
|
101
|
+
border-color: $danger-color;
|
102
|
+
&:hover { background-color: lighten($danger-color, 5%); }
|
103
|
+
}
|
104
|
+
|
105
|
+
&.btn-warning {
|
106
|
+
background-color: $warning-color;
|
107
|
+
border-color: $warning-color;
|
108
|
+
&:hover { background-color: lighten($warning-color, 5%); }
|
109
|
+
}
|
110
|
+
|
111
|
+
&.btn-mini {
|
112
|
+
min-width: $btn-mini-min-width;
|
113
|
+
padding: $btn-mini-padding;
|
114
|
+
}
|
84
115
|
}
|
@@ -15,6 +15,10 @@ $copy-color: #333 !default;
|
|
15
15
|
$primary-color: $red !default;
|
16
16
|
$secondary-color: $yellow !default;
|
17
17
|
$tertiary-color: $blue !default;
|
18
|
+
$success-color: #2FAC58 !default;
|
19
|
+
$info-color: #25327C !default;
|
20
|
+
$danger-color: #E83D48 !default;
|
21
|
+
$warning-color: #EAC435 !default;
|
18
22
|
|
19
23
|
.black { color: $black !important; }
|
20
24
|
.gray { color: $gray !important; }
|
@@ -31,9 +35,16 @@ $tertiary-color: $blue !default;
|
|
31
35
|
.violet { color: $violet !important; }
|
32
36
|
.teal { color: $teal !important; }
|
33
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; }
|
34
41
|
.primary-color { color: $primary-color !important; }
|
35
42
|
.secondary-color { color: $secondary-color !important; }
|
36
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; }
|
37
48
|
|
38
49
|
.black-bg { background-color: $black !important; }
|
39
50
|
.gray-bg { background-color: $gray !important; }
|
@@ -49,6 +60,13 @@ $tertiary-color: $blue !default;
|
|
49
60
|
.indigo-bg { background-color: $indigo !important; }
|
50
61
|
.violet-bg { background-color: $violet !important; }
|
51
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; }
|
52
66
|
.primary-color-bg { background-color: $primary-color !important; }
|
53
67
|
.secondary-color-bg { background-color: $secondary-color !important; }
|
54
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; }
|
@@ -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;
|
@@ -24,6 +24,10 @@ $primary-color: $red;
|
|
24
24
|
$secondary-color: $yellow;
|
25
25
|
$tertiary-color: $blue;
|
26
26
|
$copy-color: #333;
|
27
|
+
$success-color: #2FAC58;
|
28
|
+
$info-color: #25327C;
|
29
|
+
$danger-color: #E83D48;
|
30
|
+
$warning-color: #EAC435;
|
27
31
|
|
28
32
|
// TYPOGRAPHY
|
29
33
|
$body-font: serif;
|
@@ -32,12 +36,12 @@ $heading-font: sans-serif;
|
|
32
36
|
|
33
37
|
$body-font-size: 16px;
|
34
38
|
$copy-font-size: 16px;
|
35
|
-
$heading-1-font-size: 2rem
|
36
|
-
$heading-2-font-size: 1.5rem
|
37
|
-
$heading-3-font-size: 1.17rem
|
38
|
-
$heading-4-font-size: 1.12rem
|
39
|
-
$heading-5-font-size: .83rem
|
40
|
-
$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;
|
41
45
|
|
42
46
|
// BUTTONS
|
43
47
|
$btn-min-width: 145px;
|
@@ -56,6 +60,8 @@ $secondary-btn-border-color: $secondary-color;
|
|
56
60
|
$tertiary-btn-text-color: $white;
|
57
61
|
$tertiary-btn-color: $tertiary-color;
|
58
62
|
$tertiary-btn-border-color: $tertiary-color;
|
63
|
+
$btn-mini-min-width: 70px;
|
64
|
+
$btn-mini-padding: 8px;
|
59
65
|
|
60
66
|
// FORMS
|
61
67
|
$input-border: none;
|
@@ -88,7 +94,7 @@ $modal-close-transform: rotate(45deg);
|
|
88
94
|
$table-border: none;
|
89
95
|
$border-collapse: collapse;
|
90
96
|
$tr-border: 1px solid $light-gray;
|
91
|
-
$td-border: none
|
97
|
+
$td-border: none;
|
92
98
|
$tr-bg: $light-gray;
|
93
99
|
$td-padding: 5px;
|
94
100
|
$table-font: $copy-font;
|
@@ -96,6 +102,7 @@ $table-font-size: $copy-font-size;
|
|
96
102
|
|
97
103
|
//UNIVERSAL
|
98
104
|
$main-overflow: hidden;
|
99
|
-
$section-padding: 2rem 0;
|
105
|
+
$section-padding-desktop: 2rem 0;
|
106
|
+
$section-padding-mobile: 1rem 0;
|
100
107
|
|
101
108
|
@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.6
|
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-07-
|
11
|
+
date: 2020-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -91,9 +91,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: 2.3.0
|
92
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubygems_version: 3.1.2
|
99
99
|
signing_key:
|