beyond-rails 1.0.5 → 1.0.8

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: 8e6a3a710ad7c2087e1168620871716fb62b8ef236166c13ece41ea893fdb0f2
4
- data.tar.gz: 1487203ad1624adb94549aaf1bef25db145cda926e2a800149059d39775c2104
3
+ metadata.gz: 0e9490f59fed2f6ca7d91190454c1adc7544cc0f2f30b5136541e06f69c51a0a
4
+ data.tar.gz: c86b728e6dc6a4fe9f0760816c5ca80cad15549607facebc36249dbe5e21f6d1
5
5
  SHA512:
6
- metadata.gz: 0a3a05547bc07f3b1a0a0d892b212cf0230584fabcf1788bb466666e3cf0c959a572309c0a57c8481d4ee5a6c2613e9311c2eb9a694becc94f7a10f91a635a06
7
- data.tar.gz: ec5cd78150f1f316f74d926fcef08341e10bab38e40a5d87b4cb640456dfd5033b259050dfe7d81eb82e4c580729d0bbce032970a98d5f78b5203b1b6370cb5e
6
+ metadata.gz: 1c8d2d31ee9437f5dfb59d5ea45fc512f67c7f4fd8537bcf0a4df2bf0ff075d45ab497aa7cd89d0bf8e6e0c6ed6db2a3e5de396d0fa998010260fb4af61bc9e4
7
+ data.tar.gz: 55f8918990c61198b5be10c2e02a3c9931f08dd3363e6c93e8f4363447c9b4ba64efbd304b9e82378eb14a4012d226ea14d15a8342089d466a402ca63b7d2dae
@@ -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
  }
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: $color-active;
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: $color-active;
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: $color-active;
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: $color-active;
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,
@@ -11,6 +11,8 @@ $txt-warn: #f1946a;
11
11
  $txt-danger: #cd3d64;
12
12
  $txt-muted: #495763;
13
13
 
14
+ $txt-active: #5469d4;
15
+
14
16
  $txt-anchor: #5469d4;
15
17
  $txt-anchor-ex: #1a1f36;
16
18
 
@@ -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);
@@ -27,7 +27,7 @@
27
27
 
28
28
  .search-input {
29
29
  display: inline-block;
30
- background-color: $control-bg;
30
+ background: $control-bg;
31
31
  border-radius: 4px;
32
32
  box-shadow: 0 0 0 1px rgba(60, 66, 87, .16),
33
33
  0 1px 1px 0 rgba(0, 0, 0, .12);
@@ -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
 
@@ -9,6 +9,8 @@ $txt-warn: #f39401;
9
9
  $txt-danger: #ff4e99;
10
10
  $txt-muted: $txt-light;
11
11
 
12
+ $txt-active: $txt-primary;
13
+
12
14
  $txt-anchor: $txt-primary;
13
15
  $txt-anchor-ex: lighten($txt-anchor, 10%);
14
16
 
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.5
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: 2021-12-28 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.