satis 2.1.36 → 2.1.37

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: e57b3ca2bd2eb32edf6fe54e6debf993e024e2cfa2d7fad5700b64404032d4d0
4
- data.tar.gz: a6a7c44464d82b470a7a3b840174c15cab9ae2b8f864aa4e99ca2ab27f66b6a1
3
+ metadata.gz: 53e748f7e96d20abc73d0ac777f40625f4ff266c236ec52fd2377fa793d4ce1d
4
+ data.tar.gz: 85ac4be2f253ff7955b967e33051c7d59c6293612df7429b17cda532ab4b1188
5
5
  SHA512:
6
- metadata.gz: 25d1da89ea7ffaf293e329cc048b7e6481edf66303ecde17ba0b707b16879e9553009a02d5227cdc2f591c37eddf4855f9e08c559e67f48848cda75afd307896
7
- data.tar.gz: f7de5d36ddabde0f447d7ef812021ad4744f0724727eb21d7ce753973893f8edd36a03e5b287a94db7ccb6ff256a5e98c49db9d59ad040ce1c948c66c64eb78a
6
+ metadata.gz: e94132bdf12ef516417912d3ee05c8e35f739ffcf80c7ec3e8eca80c04bb8d3c68b62a9d466985c20bc43e247465e1ee82f2a8b160a72d6063d09774b6d1c2e9
7
+ data.tar.gz: 6598d09411017d90e2e8c9894fdca1babef6cf45a7ac1f1862d2a58d5cc28fc3c716ad8aefccf1dcff2f78e0eb1b8a008712c48cb3bbdb8f298615794f15d1a9
@@ -60,7 +60,7 @@
60
60
  }
61
61
 
62
62
  .sidebar.close .icon-link > .sts-sidebar-menu-item:hover:not(:has([data-satis-sidebar-menu-item-target="submenu"])) .sts-sidebar-menu-item__label {
63
- @apply rounded-md bg-gray-50 dark:bg-gray-800 shadow-md py-2;
63
+ @apply rounded-md bg-gray-50 dark:bg-gray-900 shadow-md py-2;
64
64
  text-decoration-thickness: 2px;
65
65
  display: block;
66
66
  position: absolute;
@@ -70,19 +70,22 @@
70
70
  }
71
71
 
72
72
  .sidebar.close .icon-link > .sts-sidebar-menu-item:has([data-satis-sidebar-menu-item-target="submenu"]):hover > .sts-sidebar-menu-item__link > .sts-sidebar-menu-item__label {
73
- @apply rounded-md bg-gray-50 dark:bg-gray-800 shadow-md py-2;
74
- text-decoration-thickness: 2px;
73
+ @apply text-white dark:bg-gray-600;
75
74
  display: block;
76
75
  position: absolute;
77
- padding-right: 20px;
78
- padding-left: 20px;
79
- margin-left: 40px;
80
- margin-top: -75px;
76
+ background-color: rgba(0, 0, 0, 0.3);
77
+ padding: 5px 10px;
78
+ border-radius: 4px;
79
+ z-index: 10;
80
+ width: 200px;
81
+ margin-left: 22px;
82
+ margin-bottom: 80px;
81
83
  }
82
84
 
85
+
83
86
  .sidebar.close .icon-link > .sts-sidebar-menu-item:has([data-satis-sidebar-menu-item-target="submenu"]):last-child:hover > .sts-sidebar-menu-item__link > .sts-sidebar-menu-item__label {
84
- margin-top: -840px;
85
- margin-left: 70px;
87
+ margin-top: -760px;
88
+ margin-left: 20px;
86
89
  }
87
90
 
88
91
  .fontawesome-i2svg-active .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] {
@@ -106,10 +109,15 @@
106
109
  opacity: 1;
107
110
  position: fixed;
108
111
  padding-right: 20px;
109
- margin-top: 0;
112
+ width: 200px;
113
+ margin-left: 0;
110
114
 
111
115
  }
112
116
 
117
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item a.focus{
118
+ @apply bg-white dark:bg-gray-900;
119
+ }
120
+
113
121
  .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item.pl-4 {
114
122
  @apply py-0 px-0 ;
115
123
  display: block;
@@ -149,4 +157,42 @@
149
157
 
150
158
  .sidebar.close .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"]::-webkit-scrollbar {
151
159
  display: none;
152
- }
160
+ }
161
+
162
+ .h-screen.flex .sidebar .icon-link .sts-sidebar-menu-item .submenu-label {
163
+ display: none;
164
+ }
165
+
166
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item .submenu-label {
167
+ display: none;
168
+ }
169
+
170
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:hover .submenu-label {
171
+ @apply text-white dark:bg-gray-600;
172
+ display: block;
173
+ position: absolute;
174
+ background-color: rgba(0, 0, 0, 0.5);
175
+ padding: 5px 10px;
176
+ border-radius: 4px;
177
+ z-index: 10;
178
+ width: 200px;
179
+ margin-left: 118px;
180
+ margin-bottom: 150px;
181
+ }
182
+
183
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item .submenu-label {
184
+ display: none;
185
+ }
186
+
187
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:hover .submenu-label {
188
+ @apply text-white dark:bg-gray-600;
189
+ display: block;
190
+ position: absolute;
191
+ background-color: rgba(0, 0, 0, 0.5);
192
+ padding: 5px 10px;
193
+ border-radius: 4px;
194
+ z-index: 10;
195
+ width: 200px;
196
+ margin-left: 75px;
197
+ margin-bottom: 150px;
198
+ }
@@ -13,6 +13,9 @@
13
13
  - if item.menu
14
14
  i.sts-sidebar-menu-item__menu-icon.fa-solid.fa-angle-right style="width: 20px;" data-satis-sidebar-menu-item-target="indicator"
15
15
 
16
+ - if item.menu
17
+ span.sts-sidebar-menu-item__label.submenu-label= item.label
18
+
16
19
  - if item.menu
17
20
  div.hidden data-satis-sidebar-menu-item-target="submenu"
18
21
  = render(Satis::SidebarMenuItem::Component.with_collection(item.menu.items))
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.1.36"
2
+ VERSION = "2.1.37"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.36
4
+ version: 2.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser