beyond-rails 1.0.7 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c44004eaf3b6c8abd947d8674c808f6539f02044b963cc789da946d4d50046b
4
- data.tar.gz: e548307d3c007d62299abd3f57c24a10a992d9bff8552f211673ec0c3b237188
3
+ metadata.gz: 6a8f6e5957af5a8ebf87ea71269fb61c3cbac77a15fee0ceddd2a23263503530
4
+ data.tar.gz: efdc73be14d5caec5d12ed6eb064fb07b3bd7bdc99f63344cad21571a64b4014
5
5
  SHA512:
6
- metadata.gz: f8f119ca903e7bab963aed85ff1ceba9ca0fcb1a414b93ee9487156abf544bee0ab14dc0dae9367d4b57e42fd94697f7700610c8d4b55e485a239507312a4c8e
7
- data.tar.gz: e08cb9b9df69f148d6989cc7c03a7d0601946a5d8aa73576e363865df0393a63c5be49fcea031137e570751ba6e326b5d18ace04d4871b5200b727b967e2cdf1
6
+ metadata.gz: daaad300c7583ad1669a4d3abce886932654951c9c54810004a2bcff075631aa3931678e878832ec58ac76f112bb0e7c6ab1f3ded76e9ed06b28f29aaef79390
7
+ data.tar.gz: 0bb7a9719a4aa3929ae92faf545366ae6a8d5acd7422f8a43d8b26b3828d08bf23708dc927df2de224188fa19a0a4d07a550e25b27ddb3c47fef1a56eaeb82d4
@@ -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('button[data-tabbox-item]'))
21
- this.dropdownBtns = Array.from(dom.querySelectorAll('button[data-tabbox-dropdown]'))
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
  }
@@ -117,11 +117,15 @@ export default class Tabbox {
117
117
  return
118
118
  }
119
119
  if ('tabboxDropdown' in node.dataset) {
120
+ const { optionEl } = this
121
+ if (! optionEl) {
122
+ return
123
+ }
120
124
  return this.moveSlider({
121
125
  top: node.offsetTop,
122
126
  left: node.offsetLeft,
123
127
  width: node.offsetWidth,
124
- color: this.optionEl.dataset.activeColor
128
+ color: optionEl.dataset.activeColor
125
129
  })
126
130
  }
127
131
  this.moveSlider({
@@ -76,7 +76,7 @@ code {
76
76
  position: relative;
77
77
  &:after {
78
78
  content: '';
79
- background-color: #f35b5b;
79
+ background: #f35b5b;
80
80
  height: 2px;
81
81
  width: 110%;
82
82
  position: absolute;
@@ -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
 
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.7
4
+ version: 1.0.10
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: 2022-01-04 00:00:00.000000000 Z
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
- rubygems_version: 3.0.9
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.