satis 2.1.37 → 2.1.39

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: 53e748f7e96d20abc73d0ac777f40625f4ff266c236ec52fd2377fa793d4ce1d
4
- data.tar.gz: 85ac4be2f253ff7955b967e33051c7d59c6293612df7429b17cda532ab4b1188
3
+ metadata.gz: b2bb03a6dd505a66bab8954f44688caae478ea05d597693fe98d78214ddad550
4
+ data.tar.gz: 6da9d6e93810ee42bb5ba48f7c3ac7e15d0a36d640555bc0489c2339934cf96e
5
5
  SHA512:
6
- metadata.gz: e94132bdf12ef516417912d3ee05c8e35f739ffcf80c7ec3e8eca80c04bb8d3c68b62a9d466985c20bc43e247465e1ee82f2a8b160a72d6063d09774b6d1c2e9
7
- data.tar.gz: 6598d09411017d90e2e8c9894fdca1babef6cf45a7ac1f1862d2a58d5cc28fc3c716ad8aefccf1dcff2f78e0eb1b8a008712c48cb3bbdb8f298615794f15d1a9
6
+ metadata.gz: 50e71afa728f3f64ebdc1629d4fff2ead6359ab896ac97d6367f0b72edbf5148db10cf24d552593ca0d8a0e706c7d6a712d1621df0819e54bcb71e8c0879e8e3
7
+ data.tar.gz: 7ddbeb16decb994c3f2b12603bfb039ef85c355557b8d685b3bb1da87be18cda38896605cbc17db6617655bb2539943bc5574342b567db7339cced34378b260a
@@ -1,4 +1,4 @@
1
- .w-full.bg-gray-200.rounded-full.dark:bg-gray-700 class=size
2
- .bg-blue-600.rounded-full.font-medium.text-blue-100.text-center.leading-none class="#{text_size} #{padding} #{size}" style="width: #{percentage}%"
3
- = label
4
-
1
+ .w-full.bg-gray-200.rounded-full.text-center.relative.dark:bg-gray-700.text-gray-800.dark:text-gray-200 class=size
2
+ .bg-blue-500.dark:bg-blue-600.rounded-full.font-medium.text-center.leading-none class="#{text_size} #{padding} #{size}" style="width: #{percentage}%"
3
+ .absolute.inset-0.flex.items-center.justify-center
4
+ = label
@@ -16,22 +16,23 @@ export default class SidebarComponentController extends ApplicationController {
16
16
  // Check stored state and apply it
17
17
  const isClosed = sessionStorage.getItem('sidebarClosed') === 'true';
18
18
  if (isClosed) {
19
- sidebar_collapse.classList.add("close");
20
- topbar.classList.add("close");
21
- page_body.classList.add("close");
19
+ sidebar_collapse?.classList.add("close");
20
+ topbar?.classList.add("close");
21
+ page_body?.classList.add("close");
22
22
  }
23
23
 
24
+ if (sidebarBtn) {
25
+ sidebarBtn.addEventListener("click", () => {
26
+ const isClosed = sidebar_collapse.classList.toggle("close");
27
+ topbar.classList.toggle("close");
28
+ page_body.classList.toggle("close");
24
29
 
25
- sidebarBtn.addEventListener("click", () => {
26
- const isClosed = sidebar_collapse.classList.toggle("close");
27
- topbar.classList.toggle("close");
28
- page_body.classList.toggle("close");
29
-
30
- // Save the current state to sessionStorage
31
- sessionStorage.setItem('sidebarClosed', isClosed);
32
- });
30
+ // Save the current state to sessionStorage
31
+ sessionStorage.setItem('sidebarClosed', isClosed);
32
+ });
33
33
  }
34
34
  }
35
+ }
35
36
 
36
37
  // Ensure the function runs on every Turbo page load
37
38
  document.addEventListener("turbo:load", () => {
@@ -73,11 +73,10 @@
73
73
  @apply text-white dark:bg-gray-600;
74
74
  display: block;
75
75
  position: absolute;
76
- background-color: rgba(0, 0, 0, 0.3);
76
+ background-color: rgba(0, 0, 0, 1);
77
77
  padding: 5px 10px;
78
78
  border-radius: 4px;
79
- z-index: 10;
80
- width: 200px;
79
+ width: 220px;
81
80
  margin-left: 22px;
82
81
  margin-bottom: 80px;
83
82
  }
@@ -94,11 +93,10 @@
94
93
  visibility: visible;
95
94
  opacity: 1;
96
95
  position: absolute;
97
- padding-right: 20px;
98
96
  margin-left: 30px;
99
97
  margin-top: -45px;
100
98
 
101
- width: 200px;
99
+ width: 220px;
102
100
 
103
101
  }
104
102
 
@@ -108,21 +106,30 @@
108
106
  visibility: visible;
109
107
  opacity: 1;
110
108
  position: fixed;
111
- padding-right: 20px;
112
- width: 200px;
109
+ width: 220px;
113
110
  margin-left: 0;
114
111
 
115
112
  }
116
113
 
114
+ .fontawesome-i2svg-active .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item {
115
+ @apply py-0 px-0;
116
+ margin-left: 0;
117
+ }
118
+
117
119
  .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
120
  @apply bg-white dark:bg-gray-900;
119
121
  }
120
122
 
123
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item a.focus{
124
+ @apply bg-white dark:bg-gray-900;
125
+ }
126
+
121
127
  .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 {
122
128
  @apply py-0 px-0 ;
123
129
  display: block;
124
130
  visibility: visible;
125
131
  opacity: 100;
132
+
126
133
  }
127
134
 
128
135
  .sidebar.close .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item .sts-sidebar-menu-item__label {
@@ -132,10 +139,6 @@
132
139
  padding: 0;
133
140
  }
134
141
 
135
- .sidebar.close .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item .sts-sidebar-menu-item__label {
136
-
137
-
138
- }
139
142
 
140
143
  .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:last-child:hover > [data-satis-sidebar-menu-item-target="submenu"] {
141
144
  margin-top: -425px;
@@ -143,18 +146,11 @@
143
146
 
144
147
  .h-screen.flex .sidebar.close .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] {
145
148
  position: fixed;
146
- margin-left: 123px;
149
+ margin-left: 185px;
147
150
  margin-top: -80px;
148
151
  }
149
152
 
150
153
 
151
- .h-screen.flex .sidebar.close .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 > [data-satis-sidebar-menu-item-target="submenu"] {
152
- position: fixed;
153
- padding-right: 20px;
154
- margin-left: 80px;
155
- margin-top: -80px;
156
- }
157
-
158
154
  .sidebar.close .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"]::-webkit-scrollbar {
159
155
  display: none;
160
156
  }
@@ -171,12 +167,13 @@
171
167
  @apply text-white dark:bg-gray-600;
172
168
  display: block;
173
169
  position: absolute;
174
- background-color: rgba(0, 0, 0, 0.5);
170
+ background-color: rgba(0, 0, 0, 1);
175
171
  padding: 5px 10px;
176
172
  border-radius: 4px;
177
173
  z-index: 10;
178
- width: 200px;
179
- margin-left: 118px;
174
+ width: 220px;
175
+ margin-left: 177px;
176
+ margin-top: 0;
180
177
  margin-bottom: 150px;
181
178
  }
182
179
 
@@ -184,15 +181,15 @@
184
181
  display: none;
185
182
  }
186
183
 
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 {
184
+ .fontawesome-i2svg-active .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
185
  @apply text-white dark:bg-gray-600;
189
186
  display: block;
190
187
  position: absolute;
191
- background-color: rgba(0, 0, 0, 0.5);
188
+ background-color: rgba(0, 0, 0, 1);
192
189
  padding: 5px 10px;
193
190
  border-radius: 4px;
194
191
  z-index: 10;
195
- width: 200px;
196
- margin-left: 75px;
192
+ width: 220px;
193
+ margin-left: 177px;
197
194
  margin-bottom: 150px;
198
195
  }
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.1.37"
2
+ VERSION = "2.1.39"
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.37
4
+ version: 2.1.39
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-09-10 00:00:00.000000000 Z
11
+ date: 2024-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser