@appscode/design-system 0.0.21-alpha.2 → 0.4.27

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 (165) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +319 -110
  4. package/base/utilities/_derived-variables.scss +8 -15
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +111 -72
  7. package/base/utilities/_mixin.scss +90 -10
  8. package/base/utilities/_typography.scss +29 -19
  9. package/base/utilities/dark-theme.scss +26 -0
  10. package/components/_ac-accordion.scss +15 -5
  11. package/components/_ac-alert-box.scss +109 -26
  12. package/components/_ac-card.scss +71 -24
  13. package/components/_ac-code-highlight.scss +7 -1
  14. package/components/_ac-content-layout.scss +5 -5
  15. package/components/_ac-drag.scss +8 -6
  16. package/components/_ac-input.scss +196 -38
  17. package/components/_ac-modal.scss +6 -5
  18. package/components/_ac-multi-select.scss +281 -23
  19. package/components/_ac-options.scss +31 -16
  20. package/components/_ac-report.scss +53 -0
  21. package/components/_ac-select-box.scss +15 -5
  22. package/components/_ac-table.scss +160 -39
  23. package/components/_ac-tabs.scss +86 -23
  24. package/components/_ac-tags.scss +87 -2
  25. package/components/_ac-terminal.scss +270 -0
  26. package/components/_all.scss +28 -0
  27. package/components/_app-drawer.scss +134 -0
  28. package/components/_breadcumb.scss +8 -3
  29. package/components/_buttons.scss +96 -62
  30. package/components/_card-body-wrapper.scss +3 -3
  31. package/components/_dashboard-header.scss +33 -1
  32. package/components/_direct-deploy.scss +69 -0
  33. package/components/_go-to-top.scss +1 -1
  34. package/components/_graph.scss +45 -0
  35. package/components/_image-upload.scss +6 -4
  36. package/components/_left-sidebar-menu.scss +212 -52
  37. package/components/_monaco-editor.scss +1 -1
  38. package/components/_navbar.scss +193 -31
  39. package/components/_overview-info.scss +4 -4
  40. package/components/_overview-page.scss +1 -2
  41. package/components/_pagination.scss +45 -7
  42. package/components/_payment-card.scss +28 -12
  43. package/components/_preloader.scss +1 -1
  44. package/components/_preview-modal.scss +22 -9
  45. package/components/_pricing-table.scss +1 -1
  46. package/components/_progress-bar.scss +5 -5
  47. package/components/_subscription-card.scss +15 -8
  48. package/components/_table-of-content.scss +1 -1
  49. package/components/_tfa.scss +69 -0
  50. package/components/_transitions.scss +261 -0
  51. package/components/_widget-menu.scss +9 -9
  52. package/components/_wizard.scss +33 -20
  53. package/components/ac-toaster/_ac-toasted.scss +40 -8
  54. package/components/bbum/_all.scss +9 -0
  55. package/components/bbum/_card-team.scss +18 -10
  56. package/components/bbum/_information-center.scss +19 -5
  57. package/components/bbum/_mobile-desktop.scss +6 -6
  58. package/components/bbum/_post.scss +5 -4
  59. package/components/bbum/_sign-up-notification.scss +6 -6
  60. package/components/bbum/_single-post-preview.scss +10 -10
  61. package/components/bbum/_user-profile.scss +97 -90
  62. package/components/ui-builder/_ui-builder.scss +98 -21
  63. package/components/ui-builder/_vue-open-api.scss +104 -0
  64. package/layouts/_404.scss +159 -0
  65. package/layouts/_all.scss +2 -0
  66. package/layouts/_code-preview.scss +19 -8
  67. package/main.scss +6 -53
  68. package/package.json +4 -7
  69. package/plugins/caching.ts +243 -0
  70. package/plugins/theme.js +142 -0
  71. package/plugins/time-convert.js +49 -0
  72. package/plugins/vue-toaster.js +10 -6
  73. package/vue-components/v2/banner/Banner.vue +2 -2
  74. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  75. package/vue-components/v2/button/Button.vue +10 -1
  76. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  77. package/vue-components/v2/card/Card.vue +1 -0
  78. package/vue-components/v2/card/CardContent.vue +5 -0
  79. package/vue-components/v2/card/CardHeader.vue +12 -0
  80. package/vue-components/v2/card/OverviewCard.vue +10 -0
  81. package/vue-components/v2/card/OverviewCards.vue +5 -0
  82. package/vue-components/v2/card/PaymentCard.vue +69 -0
  83. package/vue-components/v2/card/PaymentCardOptionButtons.vue +35 -0
  84. package/vue-components/v2/card/PaymentCards.vue +44 -0
  85. package/vue-components/v2/content/ContentHeader.vue +9 -5
  86. package/vue-components/v2/content/ContentTable.vue +12 -7
  87. package/vue-components/v2/editor/Editor.vue +38 -5
  88. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  89. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  90. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  91. package/vue-components/v2/form/Form.vue +12 -7
  92. package/vue-components/v2/form-fields/Input.vue +1 -1
  93. package/vue-components/v2/header/Header.vue +0 -1
  94. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  95. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  96. package/vue-components/v2/modal/Modal.vue +40 -7
  97. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  98. package/vue-components/v2/modals/JsonShowModal.vue +12 -3
  99. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  100. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  101. package/vue-components/v2/navbar/User.vue +229 -17
  102. package/vue-components/v2/notification/Notification.vue +101 -0
  103. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  104. package/vue-components/v2/pagination/Pagination.vue +24 -4
  105. package/vue-components/v2/preloader/Preloader.vue +5 -5
  106. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  107. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  108. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  109. package/vue-components/v2/tab/TabItem.vue +1 -1
  110. package/vue-components/v2/table/FakeTableCell.vue +36 -0
  111. package/vue-components/v2/table/InfoTable.vue +13 -3
  112. package/vue-components/v2/table/NarrowTable.vue +0 -2
  113. package/vue-components/v2/table/Table.vue +170 -10
  114. package/vue-components/v2/table/TableRow.vue +29 -2
  115. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  116. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  117. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  118. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  119. package/vue-components/v3/button/Button.vue +78 -0
  120. package/vue-components/v3/content/ContentHeader.vue +55 -0
  121. package/vue-components/v3/content/ContentTable.vue +83 -0
  122. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  123. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  124. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  125. package/vue-components/v3/editor/Editor.vue +160 -0
  126. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  127. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  128. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  129. package/vue-components/v3/form/Form.vue +63 -0
  130. package/vue-components/v3/form-fields/Input.vue +22 -0
  131. package/vue-components/v3/header/Header.vue +45 -0
  132. package/vue-components/v3/header/HeaderItem.vue +5 -0
  133. package/vue-components/v3/header/HeaderItems.vue +5 -0
  134. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  135. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  136. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  137. package/vue-components/v3/modal/Modal.vue +158 -0
  138. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  139. package/vue-components/v3/modals/JsonShowModal.vue +96 -0
  140. package/vue-components/v3/modals/LongRunningTasksModal.vue +373 -0
  141. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  142. package/vue-components/v3/navbar/ThemeMode.vue +120 -0
  143. package/vue-components/v3/navbar/User.vue +288 -0
  144. package/vue-components/v3/notification/Notification.vue +98 -0
  145. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  146. package/vue-components/v3/pagination/Pagination.vue +172 -0
  147. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  148. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  149. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  150. package/vue-components/v3/tab/TabItem.vue +17 -0
  151. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  152. package/vue-components/v3/table/InfoTable.vue +105 -0
  153. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  154. package/vue-components/v3/table/Table.vue +272 -0
  155. package/vue-components/v3/table/TableCell.vue +28 -0
  156. package/vue-components/v3/table/TableContainer.vue +34 -0
  157. package/vue-components/v3/table/TableRow.vue +147 -0
  158. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  159. package/vue-components/v3/table/table-cell/CellValue.vue +133 -0
  160. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  161. package/vue-components/v3/table/table-cell/ObjectCell.vue +110 -0
  162. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  163. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  164. package/vue-components/v3/tag/Tag.vue +17 -0
  165. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -1,6 +1,6 @@
1
1
  .single-wizard-section {
2
2
  padding: 20px;
3
- background: $ac-white;
3
+ background-color: $ac-white;
4
4
  border: 1px solid $ac-white-light;
5
5
  border-radius: 4px;
6
6
  }
@@ -114,13 +114,14 @@
114
114
  .card-select {
115
115
  height: 94px;
116
116
  padding: 10px;
117
- background: $ac-white;
117
+ background-color: $ac-white;
118
118
  border: 1px solid $ac-white-light;
119
119
  box-sizing: border-box;
120
120
  border-radius: 4px;
121
121
  transition: 0.3s ease-in-out;
122
122
  position: relative;
123
123
  z-index: 1;
124
+ max-width: 250px;
124
125
 
125
126
  &.is-active-require-field {
126
127
  &:after {
@@ -128,7 +129,7 @@
128
129
  position: absolute;
129
130
  width: 100%;
130
131
  height: 100%;
131
- background: #000;
132
+ background-color: $ac-black;
132
133
  top: 0;
133
134
  left: 0;
134
135
  z-index: 1;
@@ -150,7 +151,7 @@
150
151
  height: auto;
151
152
  padding: 0;
152
153
  border: none;
153
- background: transparent;
154
+ background-color: transparent;
154
155
  width: auto;
155
156
  margin-bottom: 0;
156
157
  label {
@@ -206,7 +207,7 @@
206
207
  }
207
208
 
208
209
  &.is-disabled {
209
- background: #f2f2f2;
210
+ background-color: $ac-white-lighter;
210
211
  cursor: not-allowed;
211
212
  opacity: 0.8;
212
213
 
@@ -235,7 +236,7 @@
235
236
  z-index: 1;
236
237
 
237
238
  .btn-more-option {
238
- background: #e4e4e4;
239
+ background-color: #e4e4e4;
239
240
  height: 16px;
240
241
  width: 30px;
241
242
  border: none;
@@ -253,7 +254,7 @@
253
254
  width: 4px;
254
255
  height: 4px;
255
256
  border-radius: 50%;
256
- background: #b1b1b1;
257
+ background-color: #b1b1b1;
257
258
  margin-right: 2px;
258
259
 
259
260
  &:last-child {
@@ -268,7 +269,7 @@
268
269
  z-index: 2;
269
270
  right: 10px;
270
271
  top: 10px;
271
- background: $ac-white;
272
+ background-color: $ac-white;
272
273
  box-shadow: $ac-shadow-2;
273
274
  display: inline-block;
274
275
  border-radius: 4px;
@@ -282,12 +283,12 @@
282
283
  position: absolute;
283
284
  right: -5px;
284
285
  top: -5px;
285
- border: 1px solid $ac-grey-lightest;
286
+ border: 1px solid $ac-gray-lightest;
286
287
  font-size: 10px;
287
288
  height: 25px;
288
289
  width: 25px;
289
290
  text-align: center;
290
- background: $ac-white;
291
+ background-color: $ac-white;
291
292
  border-radius: 50%;
292
293
  cursor: pointer;
293
294
  color: $ac-danger;
@@ -307,7 +308,7 @@
307
308
  a {
308
309
  display: block;
309
310
  padding: 5px 10px 5px 0;
310
- color: #333;
311
+ color: $ac-color-value;
311
312
  font-size: $font-size-tiny;
312
313
  text-decoration: underline;
313
314
  font-weight: 400;
@@ -512,7 +513,7 @@
512
513
  }
513
514
 
514
515
  &.t-title {
515
- background: $table-header;
516
+ background-color: $table-header;
516
517
  border-radius: 4px 4px 0px 0px;
517
518
  border-bottom: none;
518
519
 
@@ -564,7 +565,7 @@
564
565
  font-size: $font-size-small;
565
566
  line-height: 18px;
566
567
  display: block;
567
- color: $ac-border;
568
+ color: $ac-color-text;
568
569
  margin-bottom: 5px;
569
570
  }
570
571
  }
@@ -572,7 +573,7 @@
572
573
  .wizard-title,
573
574
  .wizard-title.has-line {
574
575
  span {
575
- background-color: $ac-bg-light-gray;
576
+ background-color: $ac-label-text;
576
577
  }
577
578
  }
578
579
 
@@ -651,7 +652,7 @@ label {
651
652
  margin-top: -0.5px;
652
653
  width: 100%;
653
654
  height: 1px;
654
- background-color: $ac-input-bg-color;
655
+ background-color: $ac-blue-light;
655
656
  z-index: -1;
656
657
  }
657
658
  }
@@ -690,7 +691,7 @@ label {
690
691
  &:focus {
691
692
  box-shadow: none;
692
693
  box-shadow: none;
693
- background: #cbe3f8;
694
+ background-color: #cbe3f8;
694
695
  border-radius: 50%;
695
696
  }
696
697
  }
@@ -709,7 +710,7 @@ button {
709
710
  &:focus {
710
711
  border: none;
711
712
  box-shadow: none;
712
- background: #cbe3f8;
713
+ background-color: #cbe3f8;
713
714
  border-radius: 50%;
714
715
  }
715
716
  }
@@ -731,7 +732,7 @@ h5 {
731
732
  .card-checkbox {
732
733
  width: 358px;
733
734
  height: 115px;
734
- border: 1px solid $ac-border;
735
+ border: 1px solid $ac-label-text;
735
736
  }
736
737
 
737
738
  // checkbox card end
@@ -753,7 +754,7 @@ h5 {
753
754
 
754
755
  // Wizard Notification Area Start
755
756
  .wizard-notification-area {
756
- background: #54657e;
757
+ background-color: $ac-gray-lightest;
757
758
  border-radius: 10px;
758
759
  padding: 10px;
759
760
  width: 100%;
@@ -816,13 +817,25 @@ h5 {
816
817
 
817
818
  &.is-selected {
818
819
  border: 1px solid $ac-primary;
819
- background: $ac-primary;
820
+ background-color: $ac-primary;
820
821
  color: $ac-white;
821
822
  }
822
823
  }
823
824
  }
824
825
 
825
826
  // inline input end
827
+
828
+ // dark theme start
829
+ .is-dark-theme {
830
+ h6.wizard-title.has-line:after {
831
+ --ac-blue-light: $ac-color-value;
832
+ }
833
+
834
+ .ac-certificate-info {
835
+ --ac-bg-light-gray: var(--dark-bg-light);
836
+ }
837
+ }
838
+ // dark theme end
826
839
  /****************************************
827
840
  Responsive Classes
828
841
  *****************************************/
@@ -1,23 +1,50 @@
1
- .ac-toasted {
2
- height: 46px !important;
1
+ .ac-toast {
2
+ line-height: 1.5 !important;
3
+ min-width: 350px !important;
4
+ min-height: 40px !important;
5
+ justify-content: flex-start !important;
6
+ font-size: 13px !important;
7
+ font-weight: 500 !important;
8
+ padding-right: 35px !important;
9
+ box-shadow: none !important;
3
10
  border-radius: 4px !important;
4
- font-weight: 400 !important;
5
- min-width: 150px !important;
11
+
12
+ * {
13
+ color: $ac-white !important;
14
+ }
15
+
16
+ p {
17
+ padding-left: 10px;
18
+
19
+ i.fa {
20
+ padding-right: 0 !important;
21
+ }
22
+ }
23
+
24
+ a {
25
+ font-weight: 500;
26
+ text-decoration: underline;
27
+ padding: 0 15px;
28
+
29
+ &:hover {
30
+ color: #f1f1f1;
31
+ }
32
+ }
6
33
 
7
34
  &.is-success {
8
- background: #27b064 !important;
35
+ background-color: #27b064 !important;
9
36
  }
10
37
 
11
38
  &.is-error {
12
- background: #ea3d2f !important;
39
+ background-color: #ea3d2f !important;
13
40
  }
14
41
 
15
42
  &.is-warning {
16
- background: #f7ad2a !important;
43
+ background-color: #f7ad2a !important;
17
44
  }
18
45
 
19
46
  &.is-info {
20
- background: #0aafff !important;
47
+ background-color: #0aafff !important;
21
48
  }
22
49
  }
23
50
 
@@ -26,6 +53,11 @@
26
53
  font-weight: 400 !important;
27
54
  color: inherit !important;
28
55
  font-family: Roboto, sans-serif !important;
56
+ display: flex !important;
57
+ justify-content: space-between !important;
58
+ align-items: center !important;
59
+ position: absolute;
60
+ right: 15px;
29
61
  }
30
62
 
31
63
  /****************************************
@@ -0,0 +1,9 @@
1
+ @import "activities-header";
2
+ @import "card-team";
3
+ @import "information-center";
4
+ @import "left-sidebar";
5
+ @import "mobile-desktop";
6
+ @import "post";
7
+ @import "sign-up-notification";
8
+ @import "single-post-preview";
9
+ @import "user-profile";
@@ -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
  }
@@ -135,9 +135,9 @@
135
135
  left: 20px;
136
136
 
137
137
  h2 {
138
- font-size: $ac-size-2;
138
+ font-size: $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 {