beyond-rails 0.0.185 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c84cd45f12feb4639162a9d3a175e5b213cca3c17cef0d3c5a7fe641a7d34e09
4
- data.tar.gz: 64b68b4713d75da37d266cce4f30e90fa4e5ba9d7c51c53687c0b624115cd082
3
+ metadata.gz: c0b02ec8dd2fee57272d2f15839d1f52734911981f9f7c58496ddafc50ab5dcf
4
+ data.tar.gz: 254cc0937c152c8aa47ad9a0faf23262828c362b4872343ba6361d44deb6846b
5
5
  SHA512:
6
- metadata.gz: 07da34fdc2b1323930239f1b2149b341d8308c35e446e7923884027babede04b1d2184e0234d58d68addb33f20d7bda4a9d81f2277fbb8df64ad1380ee7ec95a
7
- data.tar.gz: d7506770b8bb676876698f13ac427560fdb2453b7a17f16e9f232a57d6bd071bc3b1243409c52e9f0a2403c373af6227afa85a4277b0e3dd9cbc3f0e1e02f6d4
6
+ metadata.gz: e6b916473a10a2b5d7e238ece4e375ebaf1410a8ecd4389996c6e025c72e532a4d2e5119c7b170497bcd9c9a3fb980403eb5e204553609f2e326e4d98ea2cb21
7
+ data.tar.gz: 18b33aa0fcba8932065eea7ec9244cd6270797c508c875f0eee1695e4d92fa3aeabab91ff5698fd56234fb7634e3552e3e6b4f23b34a438527b51610d25e730c
@@ -49,3 +49,4 @@
49
49
  @import './components/_toast';
50
50
  @import './components/_tooltip';
51
51
  @import './components/_switch';
52
+ @import './components/_mega-menu';
@@ -1,5 +1,10 @@
1
1
  $beyond-use-helper: false !default;
2
2
 
3
+ // texts
4
+ $text-color-strong: #3c4257;
5
+ $text-color: #3c4257;
6
+ $text-color-light: #828695;
7
+
3
8
  // backgrounds
4
9
  $bg-transparent: transparent;
5
10
  $bg-admin: #e3e8ee;
@@ -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
+ }
@@ -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.185
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-28 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,7 +67,7 @@ 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: []
@@ -191,6 +191,7 @@ files:
191
191
  - src/sass/components/_icon.scss
192
192
  - src/sass/components/_input.scss
193
193
  - src/sass/components/_list.scss
194
+ - src/sass/components/_mega-menu.scss
194
195
  - src/sass/components/_modal.scss
195
196
  - src/sass/components/_nav.scss
196
197
  - src/sass/components/_navbar.scss
@@ -225,7 +226,7 @@ homepage: https://superlanding.github.io/beyond/
225
226
  licenses:
226
227
  - MIT
227
228
  metadata: {}
228
- post_install_message:
229
+ post_install_message:
229
230
  rdoc_options: []
230
231
  require_paths:
231
232
  - lib
@@ -240,9 +241,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
241
  - !ruby/object:Gem::Version
241
242
  version: '0'
242
243
  requirements: []
243
- rubyforge_project:
244
- rubygems_version: 2.7.6.2
245
- signing_key:
244
+ rubygems_version: 3.0.6
245
+ signing_key:
246
246
  specification_version: 4
247
247
  summary: beyond is a collection of frontend components which aims for admin website.
248
248
  test_files: []