beyond-rails 0.0.181 → 0.0.186

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.
@@ -0,0 +1,57 @@
1
+ .mega-menu {
2
+ padding-top: .2rem;
3
+ padding-bottom: .2rem;
4
+ }
5
+ .mega-menu-col {
6
+ padding: .7rem 1.5rem;
7
+ flex-grow: 1;
8
+ transition: .3s background-color;
9
+ &:hover {
10
+ background-color: #f6f6f6;
11
+ }
12
+ min-width: 180px;
13
+ color: $text-color;
14
+ display: flex;
15
+ align-items: center;
16
+ i {
17
+ margin-right: .6rem;
18
+ }
19
+ }
20
+ .mega-menu-label {
21
+ padding-left: 1.5rem;
22
+ margin-top: 1rem;
23
+ margin-bottom: .5rem;
24
+ color: $text-color-light;
25
+ font-size: 12px;
26
+ }
27
+ .mega-menu-item {
28
+ transition: .3s background-color;
29
+ &:hover {
30
+ background-color: #f6f6f6;
31
+ }
32
+ color: $text-color;
33
+ display: block;
34
+ padding: .5rem 2.2rem;
35
+ }
36
+ .mega-menu-icon-box {
37
+ display: table;
38
+ width: 100%;
39
+ > div {
40
+ display: table-row;
41
+ }
42
+ }
43
+ .mega-menu-icon-box-item {
44
+ cursor: pointer;
45
+ transition: .3s background-color;
46
+ &:hover {
47
+ background-color: #f6f6f6;
48
+ }
49
+ display: table-cell;
50
+ padding: 1rem 1.8rem;
51
+ color: $text-color;
52
+ text-align: center;
53
+ i {
54
+ display: block;
55
+ margin-bottom: .4rem;
56
+ }
57
+ }
@@ -23,23 +23,28 @@
23
23
  }
24
24
  }
25
25
  .nav-folder + ul {
26
+ margin-bottom: .5rem;
26
27
  .nav-item {
27
- color: #626c98;
28
+ padding-left: 1rem;
28
29
  }
29
30
  }
30
31
  .nav-menu {
31
32
  display: none;
32
33
  }
33
34
  .nav-item {
35
+ font-weight: 400;
34
36
  color: #1a1f36;
35
37
  text-decoration: none;
36
- display: block;
38
+ display: flex;
39
+ align-items: center;
37
40
  padding: 7px;
38
41
  font-size: .875rem;
42
+ > i {
43
+ margin-right: .8rem;
44
+ }
39
45
  }
40
46
  .nav-item.active {
41
47
  color: $color-primary;
42
- font-weight: 700;
43
48
  }
44
49
  }
45
50
  .nav-tabs .nav-item.show .nav-link,
@@ -60,7 +60,7 @@
60
60
  border-left: 0;
61
61
  border-bottom-width: 2px;
62
62
  border-bottom-style: solid;
63
- border-bottom-color: #cdcdcd;
63
+ border-bottom-color: #e3e8ee;
64
64
  outline: 0;
65
65
  transition: all .3s;
66
66
  &:hover {
@@ -84,3 +84,13 @@
84
84
  }
85
85
  }
86
86
  }
87
+ .tabbox.tabbox-uno {
88
+ $tab-active-color: #6772e5;
89
+ .js-slider {
90
+ background-color: $tab-active-color;
91
+ }
92
+ .tab-btn.js-current {
93
+ color: $tab-active-color;
94
+ font-weight: 700;
95
+ }
96
+ }
@@ -8,3 +8,59 @@
8
8
  color: #fff;
9
9
  background-color: #555;
10
10
  }
11
+
12
+ .tooltip.tooltip-popover {
13
+ $border-color: #e8e8e8;
14
+ background-color: #fff;
15
+ color: #3c4257;
16
+ padding: 10px 13px;
17
+ box-shadow: 4px 4px 15px 1px rgba(68, 68, 72, .12);
18
+ border: 1px solid $border-color;
19
+
20
+ &:after {
21
+ content: ' ';
22
+ display: block;
23
+ border: 0;
24
+ border-top-left-radius: 4px;
25
+ @include size(12px);
26
+ background-color: #fff;
27
+ position: absolute;
28
+ transform: rotate(45deg);
29
+ }
30
+ &.top:after {
31
+ bottom: -6px;
32
+ left: 0;
33
+ right: 0;
34
+ margin-left: auto;
35
+ margin-right: auto;
36
+ border-right: 1px solid $border-color;
37
+ border-bottom: 1px solid $border-color;
38
+ }
39
+ &.bottom:after {
40
+ top: -6px;
41
+ left: 0;
42
+ right: 0;
43
+ margin-left: auto;
44
+ margin-right: auto;
45
+ border-left: 1px solid $border-color;
46
+ border-top: 1px solid $border-color;
47
+ }
48
+ &.left:after {
49
+ right: -6px;
50
+ top: 0;
51
+ bottom: 0;
52
+ margin-top: auto;
53
+ margin-bottom: auto;
54
+ border-right: 1px solid $border-color;
55
+ border-top: 1px solid $border-color;
56
+ }
57
+ &.right:after {
58
+ left: -6px;
59
+ top: 0;
60
+ bottom: 0;
61
+ margin-top: auto;
62
+ margin-bottom: auto;
63
+ border-left: 1px solid $border-color;
64
+ border-bottom: 1px solid $border-color;
65
+ }
66
+ }
@@ -4,6 +4,9 @@
4
4
  .justify-content-between {
5
5
  justify-content: space-between;
6
6
  }
7
+ .justify-content-around {
8
+ justify-content: space-around;
9
+ }
7
10
  .justify-content-start {
8
11
  justify-content: flex-start;
9
12
  }
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.181
4
+ version: 0.0.186
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmsheng
8
8
  - Eddie Li
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-08-25 00:00:00.000000000 Z
12
+ date: 2020-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sassc
@@ -67,16 +67,22 @@ dependencies:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '5.0'
70
- description:
70
+ description:
71
71
  email: kmsh3ng@gmail.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - src/font/beyond-full.eot
77
+ - src/font/beyond-full.svg
78
+ - src/font/beyond-full.ttf
79
+ - src/font/beyond-full.woff
80
+ - src/font/beyond-full.woff2
76
81
  - src/font/beyond.eot
77
82
  - src/font/beyond.svg
78
83
  - src/font/beyond.ttf
79
84
  - src/font/beyond.woff
85
+ - src/font/beyond.woff2
80
86
  - src/img/black-cat.svg
81
87
  - src/img/cart.svg
82
88
  - src/img/china-flag.svg
@@ -185,6 +191,7 @@ files:
185
191
  - src/sass/components/_icon.scss
186
192
  - src/sass/components/_input.scss
187
193
  - src/sass/components/_list.scss
194
+ - src/sass/components/_mega-menu.scss
188
195
  - src/sass/components/_modal.scss
189
196
  - src/sass/components/_nav.scss
190
197
  - src/sass/components/_navbar.scss
@@ -219,7 +226,7 @@ homepage: https://superlanding.github.io/beyond/
219
226
  licenses:
220
227
  - MIT
221
228
  metadata: {}
222
- post_install_message:
229
+ post_install_message:
223
230
  rdoc_options: []
224
231
  require_paths:
225
232
  - lib
@@ -234,9 +241,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
241
  - !ruby/object:Gem::Version
235
242
  version: '0'
236
243
  requirements: []
237
- rubyforge_project:
238
- rubygems_version: 2.7.6.2
239
- signing_key:
244
+ rubygems_version: 3.0.6
245
+ signing_key:
240
246
  specification_version: 4
241
247
  summary: beyond is a collection of frontend components which aims for admin website.
242
248
  test_files: []