beyond-rails 1.0.5 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/src/js/components/Tabbox.js +2 -2
- data/src/sass/_base.scss +4 -7
- data/src/sass/abstracts/_variables.scss +2 -0
- data/src/sass/base/_typography.scss +1 -1
- data/src/sass/components/_form.scss +1 -1
- data/src/sass/components/_input.scss +1 -1
- data/src/sass/components/_tabbox.scss +3 -3
- data/src/sass/themes/_dark.scss +2 -0
- metadata +10 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e9490f59fed2f6ca7d91190454c1adc7544cc0f2f30b5136541e06f69c51a0a
|
|
4
|
+
data.tar.gz: c86b728e6dc6a4fe9f0760816c5ca80cad15549607facebc36249dbe5e21f6d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c8d2d31ee9437f5dfb59d5ea45fc512f67c7f4fd8537bcf0a4df2bf0ff075d45ab497aa7cd89d0bf8e6e0c6ed6db2a3e5de396d0fa998010260fb4af61bc9e4
|
|
7
|
+
data.tar.gz: 55f8918990c61198b5be10c2e02a3c9931f08dd3363e6c93e8f4363447c9b4ba64efbd304b9e82378eb14a4012d226ea14d15a8342089d466a402ca63b7d2dae
|
data/src/js/components/Tabbox.js
CHANGED
|
@@ -17,8 +17,8 @@ export default class Tabbox {
|
|
|
17
17
|
|
|
18
18
|
init() {
|
|
19
19
|
const { dom } = this
|
|
20
|
-
this.btns = Array.from(dom.querySelectorAll('
|
|
21
|
-
this.dropdownBtns = Array.from(dom.querySelectorAll('
|
|
20
|
+
this.btns = Array.from(dom.querySelectorAll('[data-tabbox-item]'))
|
|
21
|
+
this.dropdownBtns = Array.from(dom.querySelectorAll('[data-tabbox-dropdown]'))
|
|
22
22
|
this.addEvents()
|
|
23
23
|
this.appendSlider()
|
|
24
24
|
}
|
data/src/sass/_base.scss
CHANGED
|
@@ -69,9 +69,6 @@ a {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// active style
|
|
73
|
-
$color-active: #5469d4;
|
|
74
|
-
|
|
75
72
|
.select,
|
|
76
73
|
.select.select-outline,
|
|
77
74
|
.select.select-outline-strong,
|
|
@@ -79,7 +76,7 @@ $color-active: #5469d4;
|
|
|
79
76
|
.search-input,
|
|
80
77
|
.input {
|
|
81
78
|
&.active {
|
|
82
|
-
color: $
|
|
79
|
+
color: $txt-active;
|
|
83
80
|
box-shadow: 0 1px 1px 0 rgba(54, 59, 255, .6),
|
|
84
81
|
rgba(14, 48, 173, .3) 0 0 0 1px,
|
|
85
82
|
rgba(14, 26, 62, .12) 0 2px 5px 0;
|
|
@@ -87,7 +84,7 @@ $color-active: #5469d4;
|
|
|
87
84
|
}
|
|
88
85
|
.search-input.active .input,
|
|
89
86
|
.search-input.active .icon-search:before {
|
|
90
|
-
color: $
|
|
87
|
+
color: $txt-active;
|
|
91
88
|
}
|
|
92
89
|
|
|
93
90
|
.input,
|
|
@@ -95,7 +92,7 @@ $color-active: #5469d4;
|
|
|
95
92
|
.select.select-outline,
|
|
96
93
|
.select.select-outline-strong {
|
|
97
94
|
&:focus.active {
|
|
98
|
-
color: $
|
|
95
|
+
color: $txt-active;
|
|
99
96
|
box-shadow: 0 1px 1px 0 rgba(54, 59, 255, .6),
|
|
100
97
|
rgba(14, 48, 173, .3) 0 0 0 1px,
|
|
101
98
|
rgba(14, 26, 62, .12) 0 2px 5px 0,
|
|
@@ -103,7 +100,7 @@ $color-active: #5469d4;
|
|
|
103
100
|
}
|
|
104
101
|
}
|
|
105
102
|
.search-input.active.outline {
|
|
106
|
-
color: $
|
|
103
|
+
color: $txt-active;
|
|
107
104
|
box-shadow: 0 1px 1px 0 rgba(54, 59, 255, .6),
|
|
108
105
|
rgba(14, 48, 173, .3) 0 0 0 1px,
|
|
109
106
|
rgba(14, 26, 62, .12) 0 2px 5px 0,
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
padding: 18px 50px;
|
|
40
40
|
}
|
|
41
41
|
.tab-btn {
|
|
42
|
+
color: $txt;
|
|
42
43
|
background: $tab-btn-bg;
|
|
43
44
|
padding: 12px 25px;
|
|
44
45
|
font-size: 13px;
|
|
@@ -54,13 +55,12 @@
|
|
|
54
55
|
.icon-chevron-down {
|
|
55
56
|
margin-left: 7px;
|
|
56
57
|
font-size: 10px;
|
|
58
|
+
transform: translateY(1px);
|
|
59
|
+
display: inline-block;
|
|
57
60
|
}
|
|
58
61
|
&:hover {
|
|
59
62
|
color: $tab-hover-color;
|
|
60
63
|
font-weight: 700;
|
|
61
|
-
.icon-chevron-down:before {
|
|
62
|
-
color: #1d2638;
|
|
63
|
-
}
|
|
64
64
|
}
|
|
65
65
|
@include tab-focus-style;
|
|
66
66
|
|
data/src/sass/themes/_dark.scss
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beyond-rails
|
|
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
|
- kmsheng
|
|
@@ -9,28 +9,28 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sassc
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
|
-
- - ">="
|
|
19
|
-
- !ruby/object:Gem::Version
|
|
20
|
-
version: 2.0.0
|
|
21
18
|
- - "~>"
|
|
22
19
|
- !ruby/object:Gem::Version
|
|
23
20
|
version: '2.0'
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 2.0.0
|
|
24
24
|
type: :runtime
|
|
25
25
|
prerelease: false
|
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
|
27
27
|
requirements:
|
|
28
|
-
- - ">="
|
|
29
|
-
- !ruby/object:Gem::Version
|
|
30
|
-
version: 2.0.0
|
|
31
28
|
- - "~>"
|
|
32
29
|
- !ruby/object:Gem::Version
|
|
33
30
|
version: '2.0'
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 2.0.0
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: autoprefixer-rails
|
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -293,7 +293,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
293
293
|
- !ruby/object:Gem::Version
|
|
294
294
|
version: '0'
|
|
295
295
|
requirements: []
|
|
296
|
-
|
|
296
|
+
rubyforge_project:
|
|
297
|
+
rubygems_version: 2.7.6.2
|
|
297
298
|
signing_key:
|
|
298
299
|
specification_version: 4
|
|
299
300
|
summary: beyond is a collection of frontend components which aims for admin website.
|