@appscode/design-system 1.0.43-alpha.10 → 1.0.43-alpha.103

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 (84) hide show
  1. package/base/utilities/_default.scss +275 -20
  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 -39
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +196 -14
  16. package/components/_ac-options.scss +31 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -33
  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 +61 -28
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +1 -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 +8 -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 +32 -20
  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 +19 -5
  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 +142 -0
  61. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +95 -0
  62. package/vue-components/v2/card/PaymentCards.vue +11 -2
  63. package/vue-components/v2/editor/Editor.vue +37 -17
  64. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +232 -0
  65. package/vue-components/v2/modal/Modal.vue +30 -11
  66. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  67. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  68. package/vue-components/v2/navbar/User.vue +3 -0
  69. package/vue-components/v2/preloader/Preloader.vue +5 -5
  70. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  71. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  72. package/vue-components/v2/table/TableRow.vue +17 -8
  73. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  74. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  75. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  76. package/vue-components/v3/editor/Editor.vue +39 -19
  77. package/vue-components/v3/modal/Modal.vue +10 -1
  78. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  79. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  80. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  81. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  82. package/vue-components/v3/table/TableRow.vue +1 -1
  83. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
  84. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -1,20 +1,27 @@
1
1
  .single-team-card {
2
- background-color: $ac-white;
2
+ border: 1px solid $ac-white-light;
3
+ background-color: hsla(
4
+ var(--hsl-hue),
5
+ var(--hsl-saturation),
6
+ var(--hsl-lightness),
7
+ 0.03
8
+ );
3
9
  border-radius: 4px;
4
- overflow: hidden;
10
+ // overflow: hidden;
5
11
  transition: 0.3s ease-in-out;
6
12
 
7
13
  &:hover {
8
- box-shadow: $ac-shadow-1;
14
+ // box-shadow: $ac-shadow-1;
15
+ border: 1px solid $ac-primary;
16
+ background-color: $ac-white;
9
17
  }
10
18
 
11
19
  .card-header {
12
20
  display: flex;
13
21
  align-items: center;
14
22
  justify-content: space-between;
15
- background-color: #f9fafc;
16
23
  padding: 15px 20px;
17
- border-bottom: 1px solid #e5e9f2;
24
+ border-bottom: 1px solid $ac-white-light;
18
25
  box-shadow: none;
19
26
 
20
27
  strong {
@@ -72,7 +79,7 @@
72
79
 
73
80
  .meta {
74
81
  font-size: $font-size-small;
75
- color: #3c4858;
82
+ color: $ac-color-value;
76
83
  margin-bottom: 20px;
77
84
  }
78
85
 
@@ -81,11 +88,12 @@
81
88
  align-items: center;
82
89
  justify-content: space-around;
83
90
  list-style: none;
84
-
85
- li:not(:first-child) {
91
+ li {
92
+ &:not(:first-child) {
93
+ list-style: disc;
94
+ }
86
95
  font-size: $font-size-small;
87
- color: #3c4858;
88
- list-style: disc;
96
+ color: $ac-color-value;
89
97
  }
90
98
  }
91
99
  }
@@ -72,7 +72,7 @@
72
72
  height: 160px;
73
73
  background-size: cover;
74
74
  background-position: center;
75
- background-color: $ac-grey-lightest;
75
+ background-color: $ac-gray-lightest;
76
76
  position: relative;
77
77
  z-index: 1;
78
78
 
@@ -81,7 +81,7 @@
81
81
  content: "";
82
82
  width: 100%;
83
83
  height: 100%;
84
- background-color: #000;
84
+ background-color: $ac-black;
85
85
  z-index: -1;
86
86
  opacity: 0.2;
87
87
  }
@@ -111,7 +111,7 @@
111
111
  top: 0;
112
112
  width: 100%;
113
113
  height: 100%;
114
- background-color: #000;
114
+ background-color: $ac-black;
115
115
  opacity: 0.3;
116
116
  z-index: -1;
117
117
  }
@@ -126,14 +126,14 @@
126
126
  transition: 0.3s;
127
127
 
128
128
  &:hover {
129
- color: $ac-grey-lightest;
129
+ color: $ac-gray-lightest;
130
130
  }
131
131
  }
132
132
  }
133
133
  }
134
134
 
135
135
  .block-list {
136
- background-color: $ac-input-bg-color;
136
+ background-color: $ac-blue-light;
137
137
  padding: 7px;
138
138
  border-radius: 4px;
139
139
 
@@ -174,6 +174,20 @@
174
174
  top: 140px;
175
175
  }
176
176
  }
177
+
178
+ // dark theme start
179
+ .is-dark-theme {
180
+ .information-center {
181
+ .information-center-inner {
182
+ .info-body {
183
+ .block-list {
184
+ background-color: var(--dark-bg-light);
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ // dark theme end
177
191
  // Extra small devices (portrait phones, less than 576px)
178
192
  @media (max-width: 575.98px) {
179
193
  .information-center.width-300 {
@@ -17,7 +17,7 @@
17
17
  top: 12px;
18
18
  left: 50%;
19
19
  transform: translate(-50%, -50%);
20
- background: $ac-white;
20
+ background-color: $ac-white;
21
21
  border-radius: 0 0 50px 50px;
22
22
  }
23
23
 
@@ -30,21 +30,21 @@
30
30
  left: 50%;
31
31
  top: 7px;
32
32
  transform: translate(-50%, -50%);
33
- background: $ac-bg;
33
+ background-color: $ac-bg;
34
34
  border-radius: 10px;
35
35
  }
36
36
 
37
37
  .content {
38
38
  width: 360px;
39
39
  height: 640px;
40
- background: white;
40
+ background-color: white;
41
41
  }
42
42
 
43
43
  .circle-shape {
44
44
  width: 10px;
45
45
  height: 10px;
46
46
  border-radius: 50%;
47
- background: $ac-bg;
47
+ background-color: $ac-bg;
48
48
  display: block;
49
49
  position: absolute;
50
50
  top: 2px;
@@ -67,7 +67,7 @@
67
67
  position: absolute;
68
68
  width: calc(683px + 200px);
69
69
  height: 30px;
70
- background: $ac-white;
70
+ background-color: $ac-white;
71
71
  border-radius: 6px 6px 12px 12px;
72
72
  top: 390px;
73
73
  left: -100px;
@@ -111,7 +111,7 @@
111
111
  // preview laptop and mobile view
112
112
  .post-body-wrapper {
113
113
  display: grid;
114
- grid-template-columns: 35% 65%;
114
+ grid-template-columns: 50% 50%;
115
115
  grid-gap: 20px;
116
116
  background-color: $ac-white;
117
117
  padding: 20px;
@@ -5,8 +5,8 @@
5
5
  .textarea {
6
6
  height: 83px;
7
7
  width: 100%;
8
- background: $ac-white;
9
- border: 1px solid #e5e9f2;
8
+ background-color: $ac-white;
9
+ border: 1px solid $ac-white-light;
10
10
  border-radius: 4px;
11
11
  padding: 30px 170px 30px 30px;
12
12
  font-size: $font-size-normal;
@@ -41,12 +41,13 @@
41
41
 
42
42
  label {
43
43
  display: block;
44
- border-left: 1px solid #e5e9f2;
44
+ border-left: 1px solid $ac-white-light;
45
45
  padding: 30px;
46
46
  cursor: pointer;
47
47
 
48
48
  img {
49
- min-width: 24px;
49
+ width: auto;
50
+ height: 20px;
50
51
  }
51
52
  }
52
53
 
@@ -10,7 +10,7 @@
10
10
  content: "";
11
11
  width: 100%;
12
12
  height: 100%;
13
- left: 0;
13
+ left: 15px;
14
14
  bottom: 0;
15
15
  background-image: url("~@appscode/design-system-images/icons/bb-large-icon.svg");
16
16
  background-size: cover;
@@ -25,7 +25,7 @@
25
25
  content: "";
26
26
  width: 100%;
27
27
  height: 100%;
28
- right: 0;
28
+ right: 15px;
29
29
  top: 0;
30
30
  background-size: cover;
31
31
  background-position: center;
@@ -46,10 +46,10 @@
46
46
  background-color: lighten($color: $ac-danger, $amount: 40);
47
47
  font-size: $font-size-small;
48
48
  transition: 0.3s ease-in-out;
49
- &:hover{
49
+ &:hover {
50
50
  background-color: $ac-danger;
51
51
  color: $ac-white;
52
- img{
52
+ img {
53
53
  filter: brightness(100);
54
54
  }
55
55
  }
@@ -68,13 +68,13 @@
68
68
  margin-bottom: 10px;
69
69
 
70
70
  a {
71
- color: #003466;
71
+ color: $ac-color-heading;
72
72
  text-decoration: underline;
73
73
  }
74
74
  }
75
75
 
76
76
  p {
77
- color: #74818d;
77
+ color: $ac-color-text;
78
78
  font-size: $font-size-small;
79
79
  margin-bottom: 10px;
80
80
  }
@@ -1,6 +1,6 @@
1
1
  .single-post-preview {
2
- background: $ac-white;
3
- border: 1px solid #e5e9f2;
2
+ background-color: $ac-white;
3
+ border: 1px solid $ac-white-light;
4
4
  border-radius: 4px;
5
5
  margin-bottom: 15px;
6
6
 
@@ -35,7 +35,7 @@
35
35
 
36
36
  a {
37
37
  font-size: $font-size-medium;
38
- color: #1c2d41;
38
+ color: $ac-color-heading;
39
39
  line-height: 1;
40
40
  font-weight: 500;
41
41
  }
@@ -68,10 +68,10 @@
68
68
 
69
69
  .post-body {
70
70
  padding: 0 20px 15px;
71
- border-bottom: 1px solid #ebeff5;
71
+ border-bottom: 1px solid $ac-white-light;
72
72
 
73
73
  p {
74
- color: #3c4858;
74
+ color: $ac-color-text;
75
75
  font-size: $font-size-small;
76
76
  line-height: 160%;
77
77
  }
@@ -90,7 +90,7 @@
90
90
 
91
91
  li {
92
92
  font-size: $font-size-normal;
93
- color: #3c4858;
93
+ color: $ac-color-value;
94
94
  }
95
95
  }
96
96
  }
@@ -137,7 +137,7 @@
137
137
  h2 {
138
138
  font-size: $ac-size-2;
139
139
  margin-bottom: 25px;
140
- color: #003466;
140
+ color: $ac-color-heading;
141
141
  }
142
142
  }
143
143
  }
@@ -220,13 +220,13 @@
220
220
  button {
221
221
  background-color: transparent;
222
222
  border: none;
223
- color: #3c4858;
223
+ color: $ac-color-value;
224
224
  transition: 0.3s;
225
225
  font-weight: 500;
226
226
  cursor: pointer;
227
227
  display: block;
228
228
  width: 50%;
229
- border-right: 1px solid #ebeff5 !important;
229
+ border-right: 1px solid $ac-white-light !important;
230
230
  padding: 10px;
231
231
 
232
232
  &:last-child {
@@ -1,113 +1,120 @@
1
- .user-profile-wrapper {
2
- .user-profile-photo {
3
- background-color: $ac-white;
4
- border-radius: 4px;
5
- overflow: hidden;
6
- padding: 10px;
7
- position: relative;
8
- z-index: 1;
9
- margin-bottom: 10px;
10
-
11
- .thumbnail {
12
- height: 240px;
13
- background-size: cover;
14
- background-position: center;
15
- background-color: $ac-grey-lightest;
16
- background-repeat: no-repeat;
17
- border-radius: 10px;
18
-
19
- &.profile-1 {
20
- background-image: url("~@appscode/design-system-images/icons/appscode-large-icon.jpg");
21
- }
22
- }
23
-
24
- .setting-button {
25
- position: absolute;
26
- left: 15px;
27
- top: 15px;
28
- font-size: 18px;
29
- color: $ac-white;
30
- background-color: transparent;
31
- border: none;
32
- cursor: pointer;
33
- }
34
- }
35
-
36
- .profile-information {
37
- .profile-top-info {
38
- display: flex;
39
- align-items: center;
40
- justify-content: space-between;
41
-
42
- h3 {
43
- font-size: 26px;
44
- line-height: 1.4;
45
-
46
- span {
47
- font-size: 14px;
48
- line-height: 1.5;
49
- font-weight: 400;
50
- display: block;
51
- color: #74818d;
1
+ .ac-system-body.bb-user-management {
2
+ .user-profile-wrapper {
3
+ padding: 20px;
4
+ border-right: 1px solid $ac-white-light;
5
+ height: calc(100vh - 52px);
6
+ position: sticky;
7
+ top: 52px;
8
+
9
+ .user-profile-photo {
10
+ background-color: $ac-white;
11
+ border-radius: 4px;
12
+ overflow: hidden;
13
+ position: relative;
14
+ z-index: 1;
15
+ margin-bottom: 10px;
16
+
17
+ .thumbnail {
18
+ height: 240px;
19
+ background-size: cover;
20
+ background-position: center;
21
+ background-color: $ac-gray-lightest;
22
+ background-repeat: no-repeat;
23
+ border-radius: 10px;
24
+
25
+ &.profile-1 {
26
+ background-image: url("~@appscode/design-system-images/icons/appscode-large-icon.jpg");
52
27
  }
53
28
  }
54
- }
55
29
 
56
- .edit-icon {
57
- max-width: 16px;
58
- }
59
-
60
- p {
61
- font-size: 14px;
62
- color: #74818d;
63
- line-height: 160%;
64
- margin-bottom: 20px;
30
+ .setting-button {
31
+ position: absolute;
32
+ left: 15px;
33
+ top: 15px;
34
+ font-size: 18px;
35
+ color: $ac-white;
36
+ background-color: transparent;
37
+ border: none;
38
+ cursor: pointer;
39
+ }
65
40
  }
66
41
 
67
- .social-links {
68
- margin-bottom: 20px;
69
-
70
- a {
71
- max-width: 26px;
72
- margin-right: 10px;
73
- display: inline-block;
74
-
75
- &:last-child {
76
- margin-right: 0;
77
- }
42
+ .profile-information {
43
+ .profile-top-info {
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: space-between;
47
+ margin-bottom: 10px;
78
48
 
79
- img {
80
- width: 100%;
49
+ h3 {
50
+ font-size: 26px;
51
+ line-height: 1.4;
52
+
53
+ span {
54
+ font-size: 14px;
55
+ line-height: 1.5;
56
+ font-weight: 400;
57
+ display: block;
58
+ color: $ac-color-value;
59
+ }
81
60
  }
82
61
  }
83
- }
84
-
85
- .edit-profile {
86
- background-color: transparent;
87
- }
88
62
 
89
- .website-link {
90
- margin-top: 20px;
63
+ .edit-icon {
64
+ max-width: 16px;
65
+ }
91
66
 
92
- a {
93
- color: $ac-primary;
94
- display: flex;
95
- align-items: center;
67
+ p {
68
+ font-size: 14px;
69
+ color: $ac-color-text;
70
+ line-height: 160%;
96
71
  margin-bottom: 10px;
72
+ }
97
73
 
98
- &:last-child {
99
- margin-bottom: 0;
100
- }
74
+ .social-links {
75
+ margin-bottom: 20px;
101
76
 
102
- img {
103
- max-width: 18px;
77
+ a {
78
+ max-width: 26px;
104
79
  margin-right: 10px;
80
+ display: inline-block;
81
+
82
+ &:last-child {
83
+ margin-right: 0;
84
+ }
85
+
86
+ img {
87
+ width: 100%;
88
+ }
89
+ }
90
+ }
91
+ .website-link {
92
+ margin-top: 20px;
93
+
94
+ a {
95
+ color: $ac-primary;
96
+ display: flex;
97
+ align-items: center;
98
+ margin-bottom: 10px;
99
+ font-size: 13px;
100
+ &:last-child {
101
+ margin-bottom: 0;
102
+ }
103
+
104
+ img {
105
+ max-width: 15px;
106
+ margin-right: 10px;
107
+ }
105
108
  }
106
109
  }
107
110
  }
108
111
  }
109
112
  }
110
113
 
114
+ .sign-up-notification {
115
+ border: 1px solid $ac-white-light;
116
+ padding: 20px;
117
+ }
111
118
  // circle type profile start
112
119
  .ac-profile-photo {
113
120
  figure {
@@ -18,6 +18,7 @@
18
18
  p {
19
19
  font-size: 13px;
20
20
  margin-bottom: 10px;
21
+ color: $ac-color-value;
21
22
  }
22
23
  }
23
24
  .key-value-save {
@@ -60,10 +61,10 @@
60
61
  position: absolute;
61
62
  content: "";
62
63
  left: 27px;
63
- top: 5px;
64
+ top: 10px;
64
65
  width: 1px;
65
66
  height: calc(100% - 20px);
66
- border: 1px dashed #ddd;
67
+ border: 1px dashed $ac-white-light;
67
68
  z-index: -1;
68
69
  }
69
70
 
@@ -74,7 +75,7 @@
74
75
  bottom: 6px;
75
76
  width: 12px;
76
77
  height: 12px;
77
- background: #eee;
78
+ background-color: $ac-white-light;
78
79
  border-radius: 50%;
79
80
  z-index: -1;
80
81
  }
@@ -94,11 +95,15 @@
94
95
  display: inline-block;
95
96
  text-align: center;
96
97
  font-size: 10px;
97
- border: 1px solid #a6abbd;
98
+ border: 1px solid $ac-white-light;
98
99
  border-radius: 50%;
99
100
  margin-right: 10px;
100
101
  cursor: pointer;
101
- background-color: #fff;
102
+ background-color: $ac-white;
103
+ color: $ac-color-value;
104
+ &.is-disabled {
105
+ cursor: not-allowed;
106
+ }
102
107
  }
103
108
  }
104
109
  }
@@ -114,13 +119,13 @@
114
119
  .table-inner {
115
120
  min-width: 630px;
116
121
  .thead {
117
- background-color: #f1f1f1;
122
+ background-color: $ac-white-lighter;
118
123
  .tr {
119
124
  .th {
120
125
  font-weight: 600;
121
126
  }
122
- border-top: 1px solid #e7e7e7;
123
- border-bottom: 1px solid #e7e7e7;
127
+ border-top: 1px solid var(--ac-white-light);
128
+ border-bottom: 1px solid var(--ac-white-light);
124
129
  }
125
130
  }
126
131
  .thead,
@@ -143,7 +148,7 @@
143
148
 
144
149
  .tbody {
145
150
  .tr {
146
- border-bottom: 1px solid #e7e7e7;
151
+ border-bottom: 1px solid $ac-white-light;
147
152
  }
148
153
  }
149
154
  }
@@ -153,7 +158,12 @@
153
158
  border-radius: 4px;
154
159
  }
155
160
  }
156
-
161
+ .is-collapsed {
162
+ &.ac-nested-elements::before,
163
+ &.ac-nested-elements::after {
164
+ display: none;
165
+ }
166
+ }
157
167
  // details with checkradio
158
168
  .details-with-checkradio-wrapper {
159
169
  display: grid;
@@ -161,6 +171,15 @@
161
171
  grid-gap: 15px;
162
172
  }
163
173
 
174
+ // dark theme start
175
+ .is-dark-theme {
176
+ .nested-body {
177
+ code {
178
+ background-color: var(--dark-bg-light);
179
+ }
180
+ }
181
+ }
182
+ // dark theme end
164
183
  /****************************************
165
184
  Responsive Classes
166
185
  *****************************************/