@appscode/design-system 1.0.43-alpha.193 → 1.0.43-alpha.195

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.
@@ -143,11 +143,13 @@
143
143
  }
144
144
  }
145
145
  }
146
+
146
147
  .ac-system-body {
147
148
  &.is-preview-step {
148
149
  grid-template-columns: calc(100% - 270px) 270px !important;
149
150
  }
150
151
  }
152
+
151
153
  .form-content {
152
154
  width: 720px;
153
155
  }
@@ -168,18 +170,22 @@ input[type="color"] {
168
170
  padding: 2px;
169
171
  cursor: pointer;
170
172
  }
173
+
171
174
  input[type="color"]::-webkit-color-swatch-wrapper {
172
175
  padding: 0;
173
176
  }
177
+
174
178
  // input[type="color"]::-moz-color-swatch,
175
179
  input[type="color"]::-webkit-color-swatch {
176
180
  border: none;
177
181
  border-radius: 50%;
178
182
  }
183
+
179
184
  input[type="color"]::-moz-color-swatch {
180
185
  border: none;
181
186
  border-radius: 50%;
182
187
  }
188
+
183
189
  // color swatch end
184
190
 
185
191
  .is-dark-theme {
@@ -226,45 +232,47 @@ input[type="color"]::-moz-color-swatch {
226
232
  position: inherit !important;
227
233
  }
228
234
 
229
- .b-1 {
230
- border: 1px solid $ac-white-light;
231
- }
232
-
233
- .b-t-1 {
234
- border-top: 1px solid $ac-white-light;
235
- }
236
-
237
- .b-b-1 {
238
- border-bottom: 1px solid $ac-white-light;
239
- }
240
-
241
- .b-l-1 {
242
- border-left: 1px solid $ac-white-light;
243
- }
244
-
245
- .b-r-1 {
246
- border-right: 1px solid $ac-white-light;
247
- }
248
-
249
235
  // border none
250
236
  .is-border-none {
251
237
  border: none !important;
252
238
  }
253
239
 
254
- .b-b-n {
255
- border-bottom: none !important;
240
+ .b-1 {
241
+ border: 1px solid $ac-white-light;
256
242
  }
257
243
 
258
- .b-t-n {
259
- border-top: none !important;
244
+ // border left, right, top, bottom none
245
+ $positions: (
246
+ "b": "bottom",
247
+ "t": "top",
248
+ "l": "left",
249
+ "r": "right",
250
+ );
251
+
252
+ @each $key, $position in $positions {
253
+ .b-#{$key}-n {
254
+ border-#{$position}: none !important;
255
+ }
260
256
  }
261
257
 
262
- .b-l-n {
263
- border-left: none !important;
258
+ // border 1px
259
+ @each $key, $position in $positions {
260
+ .b-#{$key}-1 {
261
+ border-#{$position}: 1px solid $ac-white-light;
262
+ }
264
263
  }
265
264
 
266
- .b-r-n {
267
- border-right: none !important;
265
+ // for ellipsis
266
+ @for $i from 0 through 10 {
267
+ .is-ellipsis-#{$i} {
268
+ overflow: hidden;
269
+ text-overflow: ellipsis;
270
+ display: -webkit-box;
271
+ line-clamp: #{$i};
272
+ -webkit-line-clamp: #{$i};
273
+ box-orient: vertical;
274
+ -webkit-box-orient: vertical;
275
+ }
268
276
  }
269
277
 
270
278
  .is-disabled {
@@ -280,28 +288,18 @@ input[type="color"]::-moz-color-swatch {
280
288
  }
281
289
  }
282
290
 
283
- // for ellipsis
284
- @for $i from 0 through 10 {
285
- .is-ellipsis-#{$i} {
286
- overflow: hidden;
287
- text-overflow: ellipsis;
288
- display: -webkit-box;
289
- line-clamp: #{$i};
290
- -webkit-line-clamp: #{$i};
291
- box-orient: vertical;
292
- -webkit-box-orient: vertical;
293
- }
294
- }
295
291
  // toast css third-party
296
292
 
297
293
  .toasted-container {
298
294
  .ac-toast-action.mr-10 {
299
295
  text-decoration: underline !important;
300
296
  }
297
+
301
298
  .has-report-issue {
302
299
  padding-right: 140px !important;
303
300
  }
304
301
  }
302
+
305
303
  .is-dark-theme {
306
304
  .toasted-container {
307
305
  i.fa {
@@ -492,9 +490,11 @@ input[type="color"]::-moz-color-swatch {
492
490
  color: $ac-red;
493
491
  text-align: left;
494
492
  }
493
+
495
494
  p.is-error {
496
495
  color: $ac-red;
497
496
  }
497
+
498
498
  code {
499
499
  color: $ac-color-heading;
500
500
  }
@@ -767,6 +767,7 @@ $border_color_4: transparent transparent #585d6e transparent;
767
767
  }
768
768
  }
769
769
  }
770
+
770
771
  // tooltip in vue-open-api
771
772
  .tooltip {
772
773
  display: block !important;
@@ -41,7 +41,7 @@
41
41
 
42
42
  &.is-large {
43
43
  .ac-modal-inner {
44
- width: 1000px;
44
+ width: 1000px !important;
45
45
  }
46
46
  }
47
47
 
@@ -219,7 +219,7 @@
219
219
  font-size: 14px;
220
220
  font-weight: 500;
221
221
  background-color: transparent;
222
- color: $ac-gray-lightest;
222
+ color: $ac-color-text;
223
223
 
224
224
  &.is-primary {
225
225
  background-color: transparent;
@@ -589,7 +589,8 @@
589
589
  color: $ac-black;
590
590
  }
591
591
  &.is-active {
592
- background-color: $ac-white-light;
592
+ background-color: $ac-primary;
593
+ color: $ac-white;
593
594
  }
594
595
  }
595
596
  }
@@ -56,7 +56,9 @@
56
56
  width: calc(100% + 90px);
57
57
  height: 100%;
58
58
  background-color: $ac-white;
59
- opacity: 0.8;
59
+
60
+ // remove opacity for fix cluster ui project
61
+ // opacity: 0.8;
60
62
  z-index: -1;
61
63
  }
62
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.0.43-alpha.193",
3
+ "version": "1.0.43-alpha.195",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
  v-if="isPreviewLoading || (!isPreviewLoading && previewYamls)"
8
8
  class="left-content"
9
9
  >
10
- <div class="ac-files pt-0">
10
+ <div class="ac-files ac-hscrollbar pt-0">
11
11
  <ul v-if="!isPreviewLoading">
12
12
  <li
13
13
  v-for="(previewYaml, idx) in filteredYamls"
@@ -15,7 +15,7 @@
15
15
  v-if="!isPreviewLoading && previewYamls"
16
16
  class="left-content"
17
17
  >
18
- <div class="ac-files pt-0">
18
+ <div class="ac-files ac-hscrollbar pt-0">
19
19
  <ul v-if="!isPreviewLoading">
20
20
  <li
21
21
  v-for="(previewYaml, idx) in filteredYamls"
@@ -109,7 +109,7 @@
109
109
  <a :href="`${serverDomain}/dashboard`"> Dashboard </a>
110
110
  </li>
111
111
  <li key="signout" @click="$emit('on-logout')">
112
- <a :href="`${accountsDomain}/user/logout`"> Sign out </a>
112
+ <a data-testid="user-logout-link" :href="`${accountsDomain}/user/logout`"> Sign out </a>
113
113
  </li>
114
114
  <li key="theme" v-if="showThemeMode">
115
115
  <theme-mode @set:theme="setTheme" />