@appscode/design-system 1.1.0-beta.35 → 1.1.0-beta.36

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.
@@ -55,7 +55,7 @@
55
55
 
56
56
  .tabs {
57
57
  padding: 0 20px 0 20px;
58
- background-color: $primary-90;
58
+ background-color: $primary-10;
59
59
  overflow: inherit;
60
60
  height: 40px;
61
61
 
@@ -151,11 +151,12 @@
151
151
  top: 5px;
152
152
  left: 35px;
153
153
  position: absolute;
154
- background: #333;
154
+ background: $primary-20;
155
155
  width: 150px;
156
156
  border-radius: 4px;
157
157
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
158
158
  z-index: 99;
159
+ border-color: $primary-20;
159
160
 
160
161
  .items-inner {
161
162
  border: none;
@@ -163,7 +164,7 @@
163
164
  li {
164
165
  border: none;
165
166
  border-right: none !important;
166
- border-bottom: 1px solid $primary-90;
167
+ border-bottom: 1px solid $primary-30;
167
168
  width: 100%;
168
169
 
169
170
  &:last-child {
@@ -174,7 +175,8 @@
174
175
  font-size: 13px;
175
176
  padding: 10px 20px;
176
177
  justify-content: flex-start;
177
- border-bottom: 1px solid #444;
178
+ border-bottom: 1px solid $primary-20;
179
+ color: $primary-97;
178
180
 
179
181
  &:last-child {
180
182
  border-bottom: none;
@@ -187,10 +189,8 @@
187
189
  }
188
190
  }
189
191
  }
190
-
191
192
  }
192
193
 
193
-
194
194
  .right-control {
195
195
  .button {
196
196
  .fa {
@@ -287,45 +287,14 @@
287
287
  }
288
288
  }
289
289
 
290
-
291
-
292
290
  .notification-inner {
293
291
  h3 {
294
292
  color: $primary-97;
295
293
  }
296
294
  }
297
295
 
298
- // dark theme start
299
- // .is-dark-theme {
300
-
301
- // // ac-terminal
302
- // .ac-terminal {
303
- // .terminal-setting {
304
- // --ac-color-value: var(--dark-bg-light);
305
-
306
- // .left-content .ac-select-box-wrapper .multiselect .multiselect__tags {
307
- // .multiselect__input {
308
- // background-color: var(--dark-bg-light);
309
- // color: var(--ac-white-text);
310
- // }
311
-
312
- // .multiselect__single {
313
- // background-color: var(--dark-bg-light);
314
- // color: var(--ac-white-text);
315
- // }
316
- // }
317
- // }
318
-
319
- // .multiselect {
320
- // .multiselect__tags {
321
- // background-color: transparent;
322
-
323
- // span {
324
- // color: var(--ac-white-text);
325
- // }
326
- // }
327
- // }
328
- // }
329
- // }
330
-
331
- // dark theme end
296
+ .sidebar-collapsed {
297
+ .ac-terminal {
298
+ width: calc(100% - 60px);
299
+ }
300
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-beta.35",
3
+ "version": "1.1.0-beta.36",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -395,7 +395,7 @@ watch(longRunningTaskStatus, (n) => {
395
395
  .task-log {
396
396
  width: 70%;
397
397
  height: 100%;
398
- border-radius: 1rem;
398
+ border-radius: 4px;
399
399
  font-size: 13px;
400
400
  }
401
401
  }
@@ -197,34 +197,6 @@ withDefaults(defineProps<Props>(), {
197
197
  }
198
198
  }
199
199
  }
200
-
201
- // .ac-options.is-right {
202
- // .option-dots {
203
- // transition: 0.3s;
204
-
205
- // i.fa {
206
- // &.fa-angle-left {
207
- // font-size: 18px;
208
- // }
209
- // }
210
-
211
- // &:active {
212
- // i.fa {
213
- // background-color: $primary-90;
214
- // width: 25px;
215
- // height: 25px;
216
- // text-align: center;
217
- // line-height: 25px;
218
- // border-radius: 50%;
219
- // }
220
- // }
221
-
222
- // &:hover {
223
- // color: $primary !important;
224
- // transform: scale(1.2);
225
- // }
226
- // }
227
- // }
228
200
  }
229
201
 
230
202
  .sidebar-collapsed {
@@ -73,8 +73,11 @@ const AccentColorPicker = defineAsyncComponent(
73
73
  .accent-color-picker {
74
74
  display: none;
75
75
  }
76
- .sidebar-footer .back-button {
77
- width: 100%;
76
+ .sidebar-footer {
77
+ .back-button {
78
+ width: 100%;
79
+ transform: rotate(180deg);
80
+ }
78
81
  }
79
82
  }
80
83
  </style>
@@ -1,4 +1,11 @@
1
- <script lang="ts" setup></script>
1
+ <script lang="ts" setup>
2
+ interface Props {
3
+ isSidebarVisible: boolean;
4
+ }
5
+ withDefaults(defineProps<Props>(), {
6
+ isSidebarVisible: true,
7
+ });
8
+ </script>
2
9
 
3
10
  <template>
4
11
  <div class="sidebar-tabs-layout is-flex">
@@ -8,7 +15,7 @@
8
15
  </div>
9
16
  <!-- sidebar tabs -->
10
17
 
11
- <div class="content-wrapper">
18
+ <div class="content-wrapper" :class="isSidebarVisible ? 'pl-220' : 'pl-0'">
12
19
  <!-- sidebar content -->
13
20
  <slot name="tabs-content" />
14
21
  <!-- sidebar content -->
@@ -21,8 +28,10 @@
21
28
  position: fixed;
22
29
  background-color: $white-100;
23
30
  }
24
- .content-wrapper {
31
+ .pl-220 {
25
32
  padding-left: 220px;
33
+ }
34
+ .content-wrapper {
26
35
  padding-bottom: 40px;
27
36
  width: 100%;
28
37
  }