@appscode/design-system 2.6.17 → 2.6.19-alpha

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.6.17",
3
+ "version": "2.6.19-alpha",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -183,17 +183,41 @@ hr {
183
183
  }
184
184
  // Scrollbar mixin
185
185
  @mixin scrollbar-styles($direction) {
186
- padding: 15px;
186
+ padding: 16px;
187
187
  transition: 0.3s ease-in-out;
188
- overflow-#{$direction}: auto;
189
188
 
189
+ // Handle overflow based on direction
190
+ @if $direction == "x" {
191
+ overflow-x: auto;
192
+ } @else if $direction == "y" {
193
+ overflow-y: auto;
194
+ } @else if $direction == "both" {
195
+ overflow-x: auto;
196
+ overflow-y: auto;
197
+ }
198
+
199
+ // Define scrollbar width/height based on direction
190
200
  &::-webkit-scrollbar {
191
201
  border-radius: 50px;
192
- #{if($direction == "y", width, height)}: 3px;
202
+ @if $direction == "x" {
203
+ height: 4px;
204
+ } @else if $direction == "y" {
205
+ width: 4px;
206
+ } @else if $direction == "both" {
207
+ width: 4px;
208
+ height: 4px;
209
+ }
193
210
  }
194
211
 
195
212
  &::-webkit-scrollbar:hover {
196
- #{if($direction == "y", width, height)}: 7px;
213
+ @if $direction == "x" {
214
+ height: 8px;
215
+ } @else if $direction == "y" {
216
+ width: 8px;
217
+ } @else if $direction == "both" {
218
+ width: 8px;
219
+ height: 8px;
220
+ }
197
221
  }
198
222
 
199
223
  &::-webkit-scrollbar-thumb {
@@ -202,10 +226,9 @@ hr {
202
226
  }
203
227
 
204
228
  &:hover::-webkit-scrollbar-corner {
205
- #{if($direction == "y", width, height)}: 40px;
229
+ width: 40px; // or adjust as needed
206
230
  }
207
231
  }
208
-
209
232
  // Scrollbar utilities
210
233
  .ac-vscrollbar {
211
234
  @include scrollbar-styles("y");
@@ -38,6 +38,11 @@
38
38
  }
39
39
  &.ac-profile-button {
40
40
  margin-right: 15px;
41
+ &.is-org {
42
+ border: 1px solid $color-border;
43
+ padding: 4px 0;
44
+ border-radius: 4px;
45
+ }
41
46
  button.button.ac-nav-button {
42
47
  width: 100%;
43
48
  background-color: transparent;
@@ -20,15 +20,18 @@ withDefaults(
20
20
  <div class="icon">
21
21
  <slot name="card-logo" />
22
22
  </div>
23
- <h5><slot name="card-title" /></h5>
23
+ <h5>
24
+ <slot name="card-title" />
25
+ </h5>
24
26
  </div>
25
27
  <!-- <span class="tag has-background-dark-light has-text-dark is-rounded"
26
28
  >Dark</span
27
29
  > -->
28
30
  <slot name="card-status" />
29
31
  </div>
30
- <div class="c-body">
32
+ <div class="c-body is-flex is-justify-content-space-between gap-2 mt-4">
31
33
  <p><slot name="card-sub-title" /></p>
34
+ <slot name="sync-percentage" />
32
35
  </div>
33
36
  </div>
34
37
  <!-- single card wrapper end -->