easy_menu 0.4.13 → 0.4.15

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: 3fe3886de8f0fb45b088479aa1b6bf867e24e714a0360afad384863998976b00
4
- data.tar.gz: 985da2d2593dafc4b62f1b48506a0ef78de5988701a2948a45215b752922972a
3
+ metadata.gz: f6a638bcdfe297bb6e2f41352565b316fad190ee0fc6b533b259e7a72789ed09
4
+ data.tar.gz: cf459de8ccd8c0fa2091fbb0b2a5b2d2ea13b5542a33345724194d2b4fccb41e
5
5
  SHA512:
6
- metadata.gz: 1b6809f1f149df70b300e617362bac169dcd032e1df5f8dccde0463f9a1431cbc410c75f8524faa583aac59338ab48bdfbefb781c5ef932643bdd0936b34a3e3
7
- data.tar.gz: 7c6d3f722a95f8bc0d1c57700b42c5725e2bb7a475f051b837f9e55c12e1e0fa9e4e5d9236c5c661c5de996215f93fcc3bda6cc94512feb057ca78b2db7dbb42
6
+ metadata.gz: 2a6d582f91d3e1af6a17b2cbf6859034b125274606ee8789c3c3b4333bdef06adace04cfa7b5a60ca552ab64a8b3d060a1510c1be085e68802911b0904627342
7
+ data.tar.gz: 12f98d925d7c7b6ae7717d4c43c6928f487958c1be35d655dfc8fb1e7adfef058ef36955f50a191675956f5e8fd4346c487de0953b7e9c027b5a5591792d4595
@@ -20,7 +20,7 @@
20
20
  // MENU BAR_GROUP
21
21
  .menu_bar_group{
22
22
  padding: 0;
23
- margin: 0 $menu-bar-item-spacing/2; // The group takes on the menu bar item margin since internally they will be touching.
23
+ margin: 0;
24
24
 
25
25
  .menu_bar_content{
26
26
  margin-right: 0;
@@ -29,21 +29,37 @@
29
29
  .menu_bar_item{
30
30
  border-radius: 0;
31
31
  }
32
- }
33
32
 
34
- .menu_bar_content:first-child{
35
- .menu_bar_item{
36
- border-top-left-radius: $menu-bar-item-border-radius;
37
- border-bottom-left-radius: $menu-bar-item-border-radius;
33
+ &:not(.right) {
34
+ &:first-child{
35
+ .menu_bar_item{
36
+ border-top-left-radius: $menu-bar-item-border-radius;
37
+ border-bottom-left-radius: $menu-bar-item-border-radius;
38
+ }
39
+ }
40
+ &:last-child{
41
+ .menu_bar_item{
42
+ border-top-right-radius: $menu-bar-item-border-radius;
43
+ border-bottom-right-radius: $menu-bar-item-border-radius;
44
+ }
45
+ }
38
46
  }
39
- }
40
- .menu_bar_content:last-child{
41
- .menu_bar_item{
42
- border-top-right-radius: $menu-bar-item-border-radius;
43
- border-bottom-right-radius: $menu-bar-item-border-radius;
47
+
48
+ &.right{
49
+ &:first-child{
50
+ .menu_bar_item{
51
+ border-top-right-radius: $menu-bar-item-border-radius;
52
+ border-bottom-right-radius: $menu-bar-item-border-radius;
53
+ }
54
+ }
55
+ &:last-child{
56
+ .menu_bar_item{
57
+ border-top-left-radius: $menu-bar-item-border-radius;
58
+ border-bottom-left-radius: $menu-bar-item-border-radius;
59
+ }
60
+ }
44
61
  }
45
62
  }
46
-
47
63
  }
48
64
 
49
65
  // MENU BAR CONTENT
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.13
4
+ version: 0.4.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-10-12 00:00:00.000000000 Z
12
+ date: 2023-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails