beyond-rails 1.0.6 → 1.0.9

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: 9c6104fc8a7f4a27a23188327e88a68f2bbd819e4428a907c2b498607629910b
4
- data.tar.gz: 75a210a6eefa328d6edd63a49668e9a1e55ca3bd0a875e78aaeef8a3ab5d5ff3
3
+ metadata.gz: 8a4fc7989841641152627de4c651d6c726f5d6c5a2aba23b3876da97fad82aa7
4
+ data.tar.gz: dcd745ce8ffb46e489dd0c1ac2293c0e0f4719d408767096bb542ff8f01d5495
5
5
  SHA512:
6
- metadata.gz: 7d67b93c66178300379b6f17e32ea08344b9b4b916b16ec70f3405c71a93aefbb159b1edba0e9c793a3c31801236a8a7c3a3871308a898794761a238fbcc5c16
7
- data.tar.gz: f398a32e666208dc246641a7492b74ae6fcd27adb7e7a0d28b3abb70d837fe5d23ff327d8da4dc9b8a86ba3f2af4e2d18ac5795302f905ebeffff236bb18c551
6
+ metadata.gz: 8522389bd4aa3eb9ad54b10df016214d9a9ab0f110db802830d5c70e8fd07ffc89a724e65d8ddd1b9b3b42f94350f0a5aeb257bee0b76390cbd8b8c16ec665f4
7
+ data.tar.gz: 98c27a007dbcf56ecd3b8a9c6ffd413eebffd22beeb93643cdda6868d00bbc8804df462efab5998f95c39fa38a2f14410f99b9b7662ff945062245f51d4b64a6
@@ -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,12 @@ export default class Tabbox {
117
117
  return
118
118
  }
119
119
  if ('tabboxDropdown' in node.dataset) {
120
+ const { optionEl } = this
120
121
  return this.moveSlider({
121
122
  top: node.offsetTop,
122
123
  left: node.offsetLeft,
123
124
  width: node.offsetWidth,
124
- color: this.optionEl.dataset.activeColor
125
+ color: optionEl ? optionEl.dataset.activeColor : node.dataset.activeColor
125
126
  })
126
127
  }
127
128
  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;
@@ -270,7 +270,7 @@ label {
270
270
  margin-right: .75rem;
271
271
 
272
272
  .checkbox {
273
- transform: translateY(0);
273
+ transform: translateY(1px);
274
274
  }
275
275
  .radio {
276
276
  transform: translateY(1px);
@@ -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.6
4
+ version: 1.0.9
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-03 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.