@appscode/design-system 1.0.43-alpha.13 → 1.0.43-alpha.130

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.
Files changed (102) hide show
  1. package/base/utilities/_default.scss +283 -21
  2. package/base/utilities/_derived-variables.scss +0 -13
  3. package/base/utilities/_initial-variables.scss +78 -56
  4. package/base/utilities/_mixin.scss +10 -17
  5. package/base/utilities/_typography.scss +23 -7
  6. package/base/utilities/dark-theme.scss +25 -0
  7. package/components/_ac-accordion.scss +1 -0
  8. package/components/_ac-alert-box.scss +18 -10
  9. package/components/_ac-card.scss +55 -20
  10. package/components/_ac-code-highlight.scss +7 -1
  11. package/components/_ac-content-layout.scss +4 -4
  12. package/components/_ac-drag.scss +6 -6
  13. package/components/_ac-input.scss +74 -40
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +195 -13
  16. package/components/_ac-options.scss +31 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -36
  19. package/components/_ac-tabs.scss +72 -23
  20. package/components/_ac-tags.scss +2 -2
  21. package/components/_ac-terminal.scss +272 -0
  22. package/components/_app-drawer.scss +6 -6
  23. package/components/_breadcumb.scss +7 -2
  24. package/components/_buttons.scss +60 -27
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +33 -1
  27. package/components/_direct-deploy.scss +69 -0
  28. package/components/_go-to-top.scss +1 -1
  29. package/components/_graph.scss +45 -0
  30. package/components/_image-upload.scss +6 -4
  31. package/components/_left-sidebar-menu.scss +200 -46
  32. package/components/_monaco-editor.scss +1 -1
  33. package/components/_navbar.scss +103 -26
  34. package/components/_overview-info.scss +4 -4
  35. package/components/_overview-page.scss +1 -2
  36. package/components/_pagination.scss +10 -2
  37. package/components/_payment-card.scss +28 -12
  38. package/components/_preview-modal.scss +19 -8
  39. package/components/_pricing-table.scss +1 -1
  40. package/components/_progress-bar.scss +5 -5
  41. package/components/_subscription-card.scss +15 -8
  42. package/components/_table-of-content.scss +1 -1
  43. package/components/_tfa.scss +69 -0
  44. package/components/_widget-menu.scss +9 -9
  45. package/components/_wizard.scss +31 -19
  46. package/components/ac-toaster/_ac-toasted.scss +5 -5
  47. package/components/bbum/_card-team.scss +18 -10
  48. package/components/bbum/_information-center.scss +17 -3
  49. package/components/bbum/_mobile-desktop.scss +6 -6
  50. package/components/bbum/_post.scss +5 -4
  51. package/components/bbum/_sign-up-notification.scss +6 -6
  52. package/components/bbum/_single-post-preview.scss +9 -9
  53. package/components/bbum/_user-profile.scss +97 -90
  54. package/components/ui-builder/_ui-builder.scss +29 -10
  55. package/components/ui-builder/_vue-open-api.scss +98 -0
  56. package/layouts/_404.scss +2 -1
  57. package/layouts/_code-preview.scss +14 -7
  58. package/main.scss +4 -0
  59. package/package.json +2 -7
  60. package/plugins/theme.js +130 -128
  61. package/vue-components/v2/banner/Banner.vue +2 -2
  62. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  63. package/vue-components/v2/button/Button.vue +5 -0
  64. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  65. package/vue-components/v2/card/PaymentCards.vue +11 -2
  66. package/vue-components/v2/content/ContentTable.vue +12 -7
  67. package/vue-components/v2/editor/Editor.vue +29 -1
  68. package/vue-components/v2/editor/FilteredFileEditor.vue +153 -0
  69. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +196 -0
  70. package/vue-components/v2/loaders/ResourceLoader.vue +90 -0
  71. package/vue-components/v2/loaders/SidebarLoader.vue +32 -0
  72. package/vue-components/v2/modal/Modal.vue +33 -12
  73. package/vue-components/v2/modals/DeleteConfirmationModal.vue +77 -0
  74. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  75. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  76. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  77. package/vue-components/v2/navbar/User.vue +3 -0
  78. package/vue-components/v2/preloader/Preloader.vue +5 -5
  79. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  80. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  81. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  82. package/vue-components/v2/table/Table.vue +33 -8
  83. package/vue-components/v2/table/TableRow.vue +17 -8
  84. package/vue-components/v2/table/table-cell/CellValue.vue +31 -4
  85. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  86. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  87. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  88. package/vue-components/v3/button/Button.vue +5 -0
  89. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  90. package/vue-components/v3/editor/Editor.vue +32 -11
  91. package/vue-components/v3/modal/Modal.vue +10 -1
  92. package/vue-components/v3/modals/JsonShowModal.vue +13 -4
  93. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  94. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  95. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  96. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  97. package/vue-components/v3/table/Table.vue +17 -5
  98. package/vue-components/v3/table/TableRow.vue +1 -1
  99. package/vue-components/v3/table/table-cell/CellValue.vue +26 -3
  100. package/vue-components/v3/table/table-cell/GenericCell.vue +62 -0
  101. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  102. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -1,35 +1,44 @@
1
1
  .tabs {
2
2
  &.ac-tabs {
3
- &.is-line{
4
- ul {
3
+ ul {
5
4
  border-bottom-color: $ac-white-light;
6
- li {
7
- &.is-active {
8
- a {
9
- font-weight: 500;
10
- border-bottom-color: $ac-primary;
11
- border-color: $ac-primary !important;
12
- border-width: 2px;
5
+ }
6
+
7
+ &.is-line {
8
+ ul {
9
+ border-bottom-color: $ac-white-light;
10
+
11
+ li {
12
+ &.is-active {
13
+ a {
14
+ font-weight: 500;
15
+ border-bottom-color: $ac-primary;
16
+ border-color: $ac-primary !important;
17
+ border-width: 2px;
18
+ }
13
19
  }
14
- }
15
- a {
16
- text-transform: uppercase;
17
- font-weight: 400;
18
- color: $ac-color-heading;
19
- font-size: $font-size-small;
20
- padding: 6px 20px;
21
- &:hover {
22
- border-bottom-color: $ac-primary;
20
+
21
+ a {
22
+ text-transform: uppercase;
23
+ font-weight: 400;
24
+ color: $ac-color-heading;
25
+ font-size: $font-size-small;
26
+ padding: 6px 20px;
27
+
28
+ &:hover {
29
+ border-bottom-color: $ac-primary;
30
+ }
23
31
  }
24
32
  }
25
33
  }
26
34
  }
27
- }
35
+
28
36
  &.is-boxed {
29
37
  font-size: 14px;
30
38
 
31
39
  a {
32
40
  padding: 8px 20px;
41
+ color: $ac-color-value;
33
42
 
34
43
  &:hover {
35
44
  border-bottom-color: transparent;
@@ -84,6 +93,7 @@
84
93
  border-bottom: none;
85
94
  margin-bottom: -2px;
86
95
  font-size: $font-size-small;
96
+ color: $ac-color-value;
87
97
  }
88
98
  }
89
99
  }
@@ -95,7 +105,7 @@
95
105
  li {
96
106
  &.is-active {
97
107
  a {
98
- background-color: #f5f7f9;
108
+ background-color: $ac-white-light;
99
109
  }
100
110
  }
101
111
 
@@ -110,7 +120,7 @@
110
120
 
111
121
  &.is-toggle {
112
122
  ul {
113
- border: 1px solid $ac-border;
123
+ border: 1px solid $ac-label-text;
114
124
  border-radius: 4px;
115
125
  padding: 4px;
116
126
  flex-grow: inherit;
@@ -134,6 +144,7 @@
134
144
  padding: 8px 25px;
135
145
  line-height: 1;
136
146
  border-radius: 4px;
147
+
137
148
  &:hover {
138
149
  background-color: inherit;
139
150
  }
@@ -170,7 +181,7 @@
170
181
 
171
182
  &.is-borderless {
172
183
  border: 1px solid transparent;
173
- background-color: #f5f7f9;
184
+ background-color: $ac-white-light;
174
185
  border-radius: 4px 4px 4px 4px;
175
186
  }
176
187
  }
@@ -187,7 +198,7 @@
187
198
  li {
188
199
  &.is-active {
189
200
  a {
190
- background-color: #f1f1f1;
201
+ background-color: $ac-white-lighter;
191
202
  color: $ac-primary;
192
203
  }
193
204
  }
@@ -197,15 +208,53 @@
197
208
  }
198
209
  }
199
210
  }
211
+
200
212
  .tabs li.is-active a {
201
213
  color: $ac-primary;
202
214
  }
215
+
203
216
  .no-data-available {
204
217
  img {
205
218
  width: 250px;
206
219
  }
207
220
  }
208
221
 
222
+ .ac-system-body.bb-user-management {
223
+ .tabs.ac-tabs.is-line {
224
+ margin-left: -20px;
225
+ position: sticky;
226
+ top: 50px;
227
+ z-index: 99;
228
+ background: $ac-white;
229
+ }
230
+ }
231
+
232
+ // dark theme
233
+ .is-dark-theme {
234
+ .tabs {
235
+ &.is-toggle {
236
+ a {
237
+ &:hover {
238
+ background-color: $dark-bg;
239
+ }
240
+ }
241
+ }
242
+ a {
243
+ border-bottom: 1px solid $ac-white-lighter;
244
+ color: $ac-full-white;
245
+ }
246
+ &.ac-tabs.is-line {
247
+ ul {
248
+ li.is-active {
249
+ a {
250
+ color: $ac-color-text;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+
209
258
  /****************************************
210
259
  Responsive Classes
211
260
  *****************************************/
@@ -3,13 +3,13 @@
3
3
  align-items: center;
4
4
 
5
5
  li {
6
- background: $ac-gray-lightest;
6
+ background-color: $ac-gray-lightest;
7
7
  list-style: none;
8
8
  padding: 2px 10px;
9
9
  border-radius: 4px;
10
10
  font-size: 12px;
11
11
  line-height: 1;
12
- border: 1px solid #333;
12
+ border: 1px solid $ac-color-value;
13
13
  margin-right: 5px;
14
14
 
15
15
  &:last-child {
@@ -0,0 +1,272 @@
1
+ // terminal scss start
2
+ .ac-terminal {
3
+ bottom: 0px;
4
+ height: 300px;
5
+ width: 100%;
6
+
7
+ .terminal-body {
8
+ font-family: "Inconsolata", monospace;
9
+ background-color: var(--dark-bg-light);
10
+ height: 100%;
11
+ color: $ac-white;
12
+
13
+ strong {
14
+ color: $ac-white;
15
+ }
16
+ }
17
+ }
18
+
19
+ .ac-terminal {
20
+ border-top: 1px solid var(--ac-white-light);
21
+ padding: 0;
22
+ position: fixed;
23
+ width: calc(100% - 270px);
24
+ bottom: 0;
25
+ background-color: $ac-white;
26
+ color: $ac-white;
27
+ font-size: 13px;
28
+ height: 320px;
29
+ z-index: 999;
30
+ transition: 0.3s ease-in-out;
31
+ &.is-collapsed {
32
+ height: 40px !important;
33
+ bottom: 0px;
34
+ .terminal-setting,
35
+ .terminal-body {
36
+ opacity: 0;
37
+ visibility: hidden;
38
+ }
39
+ }
40
+ .resize-handler {
41
+ width: 100%;
42
+ position: absolute;
43
+ background: transparent;
44
+ z-index: 9;
45
+ cursor: row-resize;
46
+ top: -15px;
47
+ &:hover {
48
+ border-bottom: 3px solid $ac-white-light;
49
+ }
50
+ }
51
+ .terminal-header {
52
+ border-top: 1px solid $ac-white-lighter;
53
+ box-shadow: 1px -2px 5px 1px rgba(0, 0, 0, 0.08%);
54
+ .tabs {
55
+ padding: 0 20px 0 20px;
56
+ background-color: $ac-white-lighter;
57
+ overflow: inherit;
58
+ height: 40px;
59
+ ul {
60
+ border-bottom: none;
61
+ padding-left: 0;
62
+ max-width: 1340px;
63
+ overflow-x: auto;
64
+ overflow-y: hidden;
65
+ li {
66
+ a {
67
+ margin-bottom: 0 !important;
68
+ }
69
+ }
70
+ &::-webkit-scrollbar {
71
+ border-radius: 50px;
72
+ height: 3px;
73
+ }
74
+
75
+ &::-webkit-scrollbar:hover {
76
+ height: 7px;
77
+ }
78
+
79
+ &::-webkit-scrollbar-thumb {
80
+ background-color: $ac-gray-light;
81
+ border-radius: 50px;
82
+ height: 2px !important;
83
+ }
84
+
85
+ &::-webkit-scrollbar-thumb:hover {
86
+ background-color: $ac-gray-light;
87
+ }
88
+
89
+ &:hover::-webkit-scrollbar-corner {
90
+ height: 40px;
91
+ }
92
+ .is-active {
93
+ box-shadow: none !important;
94
+ margin-right: 0 !important;
95
+ &:after {
96
+ height: 2px;
97
+ }
98
+ a {
99
+ background-color: $ac-white;
100
+ }
101
+ }
102
+ li:not(.is-active) {
103
+ margin-right: -1px;
104
+ border-right: 1px solid $ac-white-lighter;
105
+ }
106
+ li {
107
+ a {
108
+ margin-bottom: 0px;
109
+ font-size: 13px;
110
+ border-radius: 0;
111
+ padding: 5px 10px 5px 20px;
112
+ border: none;
113
+ height: 40px;
114
+ .name-of-tab {
115
+ width: 120px;
116
+ overflow: hidden;
117
+ }
118
+ .terminal-icon {
119
+ img {
120
+ width: 15px;
121
+ margin-right: 10px;
122
+ margin-top: 5px;
123
+ }
124
+ }
125
+
126
+ .button {
127
+ img {
128
+ width: 10px;
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ .options-items {
135
+ top: 15px;
136
+ left: 40px;
137
+ .items-inner {
138
+ border: none;
139
+ li {
140
+ border: none;
141
+ border-right: none !important;
142
+ border-bottom: 1px solid $ac-white-lighter;
143
+ width: 100%;
144
+ &:last-child {
145
+ border-bottom: none;
146
+ }
147
+ a {
148
+ font-size: 13px;
149
+ padding: 10px 20px;
150
+ &:hover {
151
+ color: $ac-primary !important;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ .right-control {
159
+ .button {
160
+ .fa {
161
+ font-size: 20px;
162
+ }
163
+ img {
164
+ width: 11px;
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ .terminal-setting {
171
+ background-color: var(--dark-bg);
172
+ padding: 5px 20px;
173
+
174
+ .left-content {
175
+ .ac-select-box-wrapper {
176
+ margin-right: 10px;
177
+ .multi-select-wrapper {
178
+ min-width: 200px;
179
+ }
180
+ .multiselect .multiselect__tags .multiselect__input,
181
+ .multiselect .multiselect__tags .multiselect__single {
182
+ background-color: #3b3030;
183
+ }
184
+ }
185
+ }
186
+
187
+ .right-content {
188
+ .status-message {
189
+ background-color: #666666 !important;
190
+ text-align: center;
191
+ padding: 4px 20px;
192
+ border-radius: 4px;
193
+ color: #ffffff !important;
194
+ text-transform: uppercase;
195
+ &.is-success {
196
+ background-color: #27b064 !important;
197
+ }
198
+ &.is-danger {
199
+ background-color: $ac-red !important;
200
+ }
201
+ }
202
+ }
203
+ }
204
+ .terminal-body {
205
+ p {
206
+ font-family: Fira Code;
207
+ .code-static {
208
+ color: #0ff05c;
209
+ font-weight: 500;
210
+ }
211
+
212
+ .code-input {
213
+ color: #acd9ff;
214
+ }
215
+ }
216
+ }
217
+ .button {
218
+ &.is-transparent {
219
+ &:hover {
220
+ background-color: $ac-white-light;
221
+ }
222
+ }
223
+ }
224
+ .multiselect.multiselect--active {
225
+ .multiselect__tags {
226
+ border: 1px solid $ac-white !important;
227
+ .multiselect__input {
228
+ color: $ac-white !important;
229
+ }
230
+ }
231
+ }
232
+ .multiselect .multiselect__tags {
233
+ background-color: $ac-color-text;
234
+ border: 1px solid $ac-color-value;
235
+ span {
236
+ color: $ac-white;
237
+ }
238
+ }
239
+ }
240
+
241
+ // dark theme start
242
+ .is-dark-theme {
243
+ // ac-terminal
244
+ .ac-terminal {
245
+ .terminal-setting {
246
+ --ac-color-value: var(--dark-bg-light);
247
+
248
+ .left-content .ac-select-box-wrapper .multiselect .multiselect__tags {
249
+ .multiselect__input {
250
+ background-color: var(--dark-bg-light);
251
+ color: var(--ac-white-text);
252
+ }
253
+
254
+ .multiselect__single {
255
+ background-color: var(--dark-bg-light);
256
+ color: var(--ac-white-text);
257
+ }
258
+ }
259
+ }
260
+
261
+ .multiselect {
262
+ .multiselect__tags {
263
+ background-color: transparent;
264
+
265
+ span {
266
+ color: var(--ac-white-text);
267
+ }
268
+ }
269
+ }
270
+ }
271
+ }
272
+ // dark theme end
@@ -9,7 +9,7 @@
9
9
  user-select: none;
10
10
 
11
11
  &:hover {
12
- background-color: #bcd8eb;
12
+ background-color: rgba(255, 255, 255, 0.7);
13
13
  cursor: pointer;
14
14
  }
15
15
 
@@ -29,7 +29,7 @@
29
29
  font-size: 13px;
30
30
  }
31
31
 
32
- background: #edf0f5;
32
+ background-color: #edf0f5;
33
33
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
34
34
  min-width: 280px;
35
35
  }
@@ -50,7 +50,7 @@
50
50
  .media-content {
51
51
  .content {
52
52
  p {
53
- color: #fff;
53
+ color: $ac-white;
54
54
  }
55
55
  }
56
56
  }
@@ -93,14 +93,14 @@
93
93
  }
94
94
 
95
95
  &:hover {
96
- >a {
96
+ > a {
97
97
  background-color: $ac-white;
98
98
  }
99
99
  }
100
100
 
101
101
  &:first-child {
102
102
  &:hover {
103
- >a {
103
+ > a {
104
104
  border-radius: 4px 4px 0 0;
105
105
  }
106
106
  }
@@ -108,7 +108,7 @@
108
108
 
109
109
  &:last-child {
110
110
  &:hover {
111
- >a {
111
+ > a {
112
112
  border-radius: 0 0 4px 4px;
113
113
  }
114
114
  }
@@ -5,15 +5,20 @@
5
5
  position: sticky;
6
6
  top: 50px;
7
7
  height: 50px;
8
- background: $ac-white;
8
+ background-color: $ac-white;
9
9
  z-index: 998;
10
+ display: flex;
11
+ align-items: center;
10
12
  }
11
13
 
12
14
  .breadcrumb {
13
15
  a {
14
- color: hsla(0, 0, var(--ac-lightness), 0.7);
16
+ color: $ac-color-value;
15
17
  font-size: 13px;
16
18
  padding: 0px 3px;
19
+ &:hover {
20
+ color: $ac-color-text;
21
+ }
17
22
  }
18
23
 
19
24
  li.is-active {