@appscode/design-system 1.1.0-beta.2 → 1.1.0-beta.4

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 (65) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +5 -4
  3. package/base/utilities/_colors.scss +446 -0
  4. package/base/utilities/_customize-bulma.scss +23 -27
  5. package/base/utilities/_extended.scss +3 -2
  6. package/base/utilities/{_default.scss → _global.scss} +159 -306
  7. package/base/utilities/_layouts.scss +157 -0
  8. package/base/utilities/_spacing.scss +96 -0
  9. package/base/utilities/_typography.scss +34 -2
  10. package/components/_ac-accordion.scss +117 -117
  11. package/components/_ac-alert-box.scss +205 -262
  12. package/components/_ac-card.scss +0 -597
  13. package/components/_ac-input.scss +0 -482
  14. package/components/_ac-modal.scss +212 -212
  15. package/components/_ac-multi-select.scss +84 -55
  16. package/components/_ac-options.scss +122 -122
  17. package/components/_ac-table.scss +503 -502
  18. package/components/_ac-tabs.scss +4 -3
  19. package/components/_ac-tags.scss +116 -116
  20. package/components/_ac-terminal.scss +275 -231
  21. package/components/_all.scss +31 -28
  22. package/components/_app-drawer.scss +0 -134
  23. package/components/_breadcumb.scss +0 -71
  24. package/components/_buttons.scss +779 -779
  25. package/components/_dashboard-header.scss +0 -115
  26. package/components/_image-upload.scss +2 -2
  27. package/components/_left-sidebar-menu.scss +346 -475
  28. package/components/_navbar.scss +786 -752
  29. package/components/_pagination.scss +9 -27
  30. package/components/_payment-card.scss +1 -1
  31. package/components/_widget-menu.scss +247 -247
  32. package/components/ac-toaster/_ac-toasted.scss +6 -11
  33. package/components/ui-builder/_ui-builder.scss +1 -1
  34. package/components/ui-builder/_vue-open-api.scss +512 -0
  35. package/main.scss +26 -10
  36. package/package.json +1 -1
  37. package/plugins/theme.js +11 -9
  38. package/plugins/vue-toaster.js +1 -1
  39. package/vue-components/v2/card/Card.vue +1 -1
  40. package/vue-components/v3/alert/Alert.vue +5 -5
  41. package/vue-components/v3/button/Button.vue +8 -0
  42. package/vue-components/v3/cards/Card.vue +1 -1
  43. package/vue-components/v3/cards/Cluster.vue +0 -4
  44. package/vue-components/v3/cards/Counter.vue +12 -0
  45. package/vue-components/v3/cards/FeatureCard.vue +31 -0
  46. package/vue-components/v3/cards/InfoCard.vue +4 -9
  47. package/vue-components/v3/cards/Monitoring.vue +1 -1
  48. package/vue-components/v3/cards/Vendor.vue +67 -5
  49. package/vue-components/v3/content/ContentTable.vue +7 -2
  50. package/vue-components/v3/editor/FilteredFileEditor.vue +195 -2
  51. package/vue-components/v3/footer/FooterItem.vue +4 -1
  52. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -1
  53. package/vue-components/v3/header/Header.vue +3 -2
  54. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  55. package/vue-components/v3/notification/AlertBox.vue +4 -4
  56. package/vue-components/v3/searchbars/SearchBar.vue +10 -2
  57. package/vue-components/v3/sidebar/ClusterSwitcher.vue +4 -4
  58. package/vue-components/v3/sidebar/Sidebar.vue +3 -8
  59. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
  60. package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
  61. package/vue-components/v3/sidebar/Steps.vue +148 -0
  62. package/vue-components/v3/table/Table.vue +27 -20
  63. package/base/utilities/_derived-variables.scss +0 -24
  64. package/base/utilities/_initial-variables.scss +0 -217
  65. package/components/_basic-card.scss +0 -118
@@ -0,0 +1,157 @@
1
+ // default layout css
2
+ .ac-system-body {
3
+ display: grid;
4
+ grid-gap: 0px;
5
+ grid-template-columns: 250px calc(100% - 250px);
6
+ padding-top: 50px;
7
+ transition: 0.3s ease-in-out;
8
+
9
+ &.is-fullwidth {
10
+ grid-template-columns: auto !important;
11
+
12
+ // &.has-info-content {
13
+ // grid-template-columns: 250px calc(100% - 540px) 250px;
14
+ // }
15
+ }
16
+
17
+ // &.has-info-content {
18
+ // grid-template-columns: 250px calc(100% - 540px) 250px;
19
+
20
+ // .ac-system-content {
21
+ // &.pr-15 {
22
+ // padding-right: 0 !important;
23
+ // }
24
+ // }
25
+ // }
26
+
27
+ // &.in-ui-builder {
28
+ // grid-template-columns: calc(100% - 250px) 250px !important;
29
+ // }
30
+
31
+ // &.has-ui-builder {
32
+ // grid-template-columns: 70px calc(100% - 70px);
33
+ // grid-gap: 0;
34
+
35
+ // .inner-header {
36
+ // position: sticky;
37
+ // top: 100px;
38
+ // background-color: $white-100;
39
+ // z-index: 997;
40
+ // }
41
+
42
+ // .ac-system-content {
43
+ // &.pr-15 {
44
+ // padding-right: 0 !important;
45
+ // }
46
+
47
+ // .ac-terminal {
48
+ // width: calc(100% - 290px);
49
+ // left: 289px;
50
+ // }
51
+ // }
52
+
53
+ // // .ac-system-left-sidebar.is-expanded {
54
+ // // z-index: 998;
55
+ // // }
56
+
57
+ // // &.expanded-sidebar {
58
+ // // grid-gap: 0px;
59
+ // // z-index: 9;
60
+ // // grid-template-columns: 250px calc(100% - 250px);
61
+
62
+ // // .is-fullwidth {
63
+ // // .ac-system-content {
64
+ // // padding-left: 0;
65
+ // // }
66
+ // // }
67
+ // // }
68
+
69
+ // // .is-fullwidth {
70
+ // // grid-template-columns: auto;
71
+
72
+ // // &.has-info-content {
73
+ // // grid-template-columns: calc(100% - 260px) 240px;
74
+ // // }
75
+
76
+ // // .ac-system-content {
77
+ // // padding-left: 20px;
78
+ // // }
79
+ // // }
80
+
81
+ // // .ac-system-body {
82
+ // // padding-top: 0;
83
+ // // grid-template-columns: 220px calc(100% - 440px) 220px;
84
+
85
+ // // .ac-system-left-sidebar {
86
+ // // // border-right: none !important;
87
+ // // // height: calc(100vh - 60px);
88
+
89
+ // // .ac-left-sidebar-wrapper {
90
+ // // position: fixed;
91
+ // // top: 140px;
92
+ // // width: 219px;
93
+ // // border-right: 1px solid $primary-90;
94
+ // // height: 100%;
95
+
96
+ // // ul.menu-list-wrapper {
97
+ // // padding-top: 10px;
98
+ // // }
99
+ // // }
100
+ // // }
101
+ // // }
102
+ // }
103
+
104
+ // &.has-deploy-flow {
105
+ // grid-template-columns: 65% 35%;
106
+ // }
107
+
108
+ // .ac-system-left-sidebar {
109
+ // // border-right: 1px solid $primary-90;
110
+ // // box-shadow: none;
111
+
112
+ // &.is-expanded {
113
+ // z-index: 998;
114
+
115
+ // .ac-product-logo {
116
+ // width: 250px !important;
117
+ // justify-content: flex-start !important;
118
+ // }
119
+
120
+ // .menu-list {
121
+ // box-shadow: 2px -1px 8px rgba(26, 80, 151, 0.16);
122
+
123
+ // &.ac-menu-list {
124
+ // width: 250px !important;
125
+ // background-color: $white-100;
126
+
127
+ // li {
128
+ // a {
129
+ // strong {
130
+ // display: block !important;
131
+ // }
132
+ // }
133
+
134
+ // ul {
135
+ // li {
136
+ // a {
137
+ // padding-left: 50px !important;
138
+ // }
139
+ // }
140
+ // }
141
+ // }
142
+ // }
143
+ // }
144
+ // }
145
+ // }
146
+ }
147
+ // sidebar collapsed
148
+ .sidebar-collapsed {
149
+ .ac-system-body {
150
+ grid-template-columns: 60px calc(100% - 60px);
151
+ }
152
+ }
153
+ // .ac-system-body {
154
+ // &.is-preview-step {
155
+ // grid-template-columns: calc(100% - 250px) 250px !important;
156
+ // }
157
+ // }
@@ -0,0 +1,96 @@
1
+ /* Margin & Padding view-height & view-width */
2
+ @for $i from 0 through 100 {
3
+ .m-#{$i} {
4
+ margin: #{$i}px !important;
5
+ }
6
+
7
+ .mt-#{$i} {
8
+ margin-top: #{$i}px !important;
9
+ }
10
+
11
+ .mb-#{$i} {
12
+ margin-bottom: #{$i}px !important;
13
+ }
14
+
15
+ .ml-#{$i} {
16
+ margin-left: #{$i}px !important;
17
+ }
18
+
19
+ .mr-#{$i} {
20
+ margin-right: #{$i}px !important;
21
+ }
22
+
23
+ .p-#{$i} {
24
+ padding: #{$i}px !important;
25
+ }
26
+
27
+ .pt-#{$i} {
28
+ padding-top: #{$i}px !important;
29
+ }
30
+
31
+ .pb-#{$i} {
32
+ padding-bottom: #{$i}px !important;
33
+ }
34
+
35
+ .pl-#{$i} {
36
+ padding-left: #{$i}px !important;
37
+ }
38
+
39
+ .pr-#{$i} {
40
+ padding-right: #{$i}px !important;
41
+ }
42
+
43
+ .vh-#{$i} {
44
+ height: #{$i}vh !important;
45
+ }
46
+
47
+ .vw-#{$i} {
48
+ width: #{$i}vw !important;
49
+ }
50
+
51
+ .font-#{$i} {
52
+ font-size: #{$i}px !important;
53
+ }
54
+ }
55
+
56
+ /* Deafult height & widht */
57
+ @for $i from 0 through 300 {
58
+ .height-#{$i} {
59
+ height: #{$i}px !important;
60
+ }
61
+
62
+ .width-#{$i} {
63
+ width: #{$i}px !important;
64
+ }
65
+ }
66
+
67
+ .height-auto {
68
+ height: auto !important;
69
+ }
70
+
71
+ .width-auto {
72
+ width: auto !important;
73
+ }
74
+
75
+ /* Deafult z-index and font-weight*/
76
+ @for $i from 0 through 10 {
77
+ .z-index-#{$i} {
78
+ z-index: #{$i} !important;
79
+ }
80
+
81
+ .font-weight-#{$i*100} {
82
+ font-weight: #{$i * 100} !important;
83
+ }
84
+ }
85
+
86
+ .mx-auto {
87
+ margin: 0 auto;
88
+ }
89
+
90
+ .mr-auto {
91
+ margin-right: auto;
92
+ }
93
+
94
+ .ml-auto {
95
+ margin-left: auto;
96
+ }
@@ -1,3 +1,9 @@
1
+ // Typography
2
+ @import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap");
3
+
4
+ $font-heading: "Roboto", sans-serif;
5
+ $font-paragraph: "Roboto", sans-serif;
6
+
1
7
  html,
2
8
  body {
3
9
  background-color: $ac-bg;
@@ -6,9 +12,14 @@ body {
6
12
  font-size: 13px;
7
13
  color: $primary-10;
8
14
  }
15
+
9
16
  p {
10
- font-size: 13px;
17
+ font-size: 1rem;
18
+ font-family: $font-paragraph;
19
+ font-weight: 400;
20
+ line-height: 150%;
11
21
  }
22
+
12
23
  h1,
13
24
  h2,
14
25
  h3,
@@ -16,7 +27,7 @@ h4,
16
27
  h5,
17
28
  h6 {
18
29
  font-family: $font-heading;
19
- font-weight: 500;
30
+ font-weight: 600;
20
31
  color: $primary-5;
21
32
  }
22
33
 
@@ -81,6 +92,26 @@ a {
81
92
  color: $primary;
82
93
  }
83
94
 
95
+ .text-xm {
96
+ font-size: 0.769rem; //10px
97
+ }
98
+
99
+ .text-sm {
100
+ font-size: 0.846rem; //11px
101
+ }
102
+
103
+ .text-base {
104
+ font-size: 1rem; //13px
105
+ }
106
+
107
+ .text-lg {
108
+ font-size: 1.077rem; //14px
109
+ }
110
+
111
+ .text-xl {
112
+ font-size: 1.231rem; //16px
113
+ }
114
+
84
115
  hr {
85
116
  background-color: $black-60;
86
117
  border: none;
@@ -100,6 +131,7 @@ strong {
100
131
  .is-font-bold {
101
132
  font-weight: 700;
102
133
  }
134
+
103
135
  .material-icons {
104
136
  font-size: 1em;
105
137
  }
@@ -1,117 +1,117 @@
1
- .ac-accordion-wrapper {
2
- &.is-marginless {
3
- .single-accordion-item {
4
- margin: 0;
5
- padding: 0;
6
-
7
- .accordion-heading {
8
- padding: 10px 20px;
9
- position: relative;
10
- z-index: 1;
11
-
12
- &::after {
13
- position: absolute;
14
- content: "";
15
- left: 0;
16
- top: 0;
17
- width: 4px;
18
- height: 100%;
19
- background-color: $primary;
20
- }
21
- }
22
- }
23
- }
24
-
25
- .single-accordion-item {
26
- background-color: $white-100;
27
- padding: 15px 20px;
28
- margin-bottom: 15px;
29
- border-radius: 4px;
30
- border: 1px solid $primary-90;
31
-
32
- &.open {
33
- .accordion-heading {
34
- margin-bottom: 10px;
35
- }
36
- }
37
-
38
- &:last-child {
39
- margin-bottom: 0;
40
- }
41
-
42
- .accordion-heading {
43
- display: flex;
44
- align-items: center;
45
- justify-content: space-between;
46
-
47
- h3 {
48
- cursor: pointer;
49
- }
50
-
51
- button {
52
- font-size: 12px;
53
- letter-spacing: 0.1px;
54
- }
55
-
56
- .icon {
57
- width: 20px;
58
- height: 20px;
59
- border: 1px solid $primary-90;
60
- line-height: 20px;
61
- display: flex;
62
- justify-content: center;
63
- align-items: center;
64
- font-size: 10px;
65
- border-radius: 50%;
66
- cursor: pointer;
67
- }
68
- }
69
-
70
- .accordion-body {
71
- max-height: 0;
72
- transition: max-height 0.2s ease-out;
73
- overflow: hidden;
74
-
75
- p {
76
- font-size: 13px;
77
- color: $primary-10;
78
- line-height: 1.6;
79
- }
80
- }
81
- }
82
- }
83
-
84
- .overview-body {
85
- .ac-accordion-wrapper {
86
- &.is-marginless {
87
- .single-accordion-item {
88
- .accordion-heading {
89
- padding-bottom: 0;
90
- }
91
- }
92
- }
93
- }
94
- }
95
-
96
- /****************************************
97
- Responsive Classes
98
- *****************************************/
99
- // Extra small devices (portrait phones, less than 576px)
100
- @media (max-width: 575.98px) {
101
- }
102
-
103
- // Small devices (landscape phones, 576px and up)
104
- @media (min-width: 576px) and (max-width: 767.98px) {
105
- }
106
-
107
- // Medium devices (tablets, 768px and up)
108
- @media (min-width: 768px) and (max-width: 991.98px) {
109
- }
110
-
111
- // Large devices (desktops, 992px and up)
112
- @media (min-width: 992px) and (max-width: 1199.98px) {
113
- }
114
-
115
- // Extra large devices (large desktops, 1200px and up)
116
- @media (min-width: 1200px) {
117
- }
1
+ // .ac-accordion-wrapper {
2
+ // &.is-marginless {
3
+ // .single-accordion-item {
4
+ // margin: 0;
5
+ // padding: 0;
6
+
7
+ // .accordion-heading {
8
+ // padding: 10px 20px;
9
+ // position: relative;
10
+ // z-index: 1;
11
+
12
+ // &::after {
13
+ // position: absolute;
14
+ // content: "";
15
+ // left: 0;
16
+ // top: 0;
17
+ // width: 4px;
18
+ // height: 100%;
19
+ // background-color: $primary;
20
+ // }
21
+ // }
22
+ // }
23
+ // }
24
+
25
+ // .single-accordion-item {
26
+ // background-color: $white-100;
27
+ // padding: 15px 20px;
28
+ // margin-bottom: 15px;
29
+ // border-radius: 4px;
30
+ // border: 1px solid $primary-90;
31
+
32
+ // &.open {
33
+ // .accordion-heading {
34
+ // margin-bottom: 10px;
35
+ // }
36
+ // }
37
+
38
+ // &:last-child {
39
+ // margin-bottom: 0;
40
+ // }
41
+
42
+ // .accordion-heading {
43
+ // display: flex;
44
+ // align-items: center;
45
+ // justify-content: space-between;
46
+
47
+ // h3 {
48
+ // cursor: pointer;
49
+ // }
50
+
51
+ // button {
52
+ // font-size: 12px;
53
+ // letter-spacing: 0.1px;
54
+ // }
55
+
56
+ // .icon {
57
+ // width: 20px;
58
+ // height: 20px;
59
+ // border: 1px solid $primary-90;
60
+ // line-height: 20px;
61
+ // display: flex;
62
+ // justify-content: center;
63
+ // align-items: center;
64
+ // font-size: 10px;
65
+ // border-radius: 50%;
66
+ // cursor: pointer;
67
+ // }
68
+ // }
69
+
70
+ // .accordion-body {
71
+ // max-height: 0;
72
+ // transition: max-height 0.2s ease-out;
73
+ // overflow: hidden;
74
+
75
+ // p {
76
+ // font-size: 13px;
77
+ // color: $primary-10;
78
+ // line-height: 1.6;
79
+ // }
80
+ // }
81
+ // }
82
+ // }
83
+
84
+ // .overview-body {
85
+ // .ac-accordion-wrapper {
86
+ // &.is-marginless {
87
+ // .single-accordion-item {
88
+ // .accordion-heading {
89
+ // padding-bottom: 0;
90
+ // }
91
+ // }
92
+ // }
93
+ // }
94
+ // }
95
+
96
+ // /****************************************
97
+ // Responsive Classes
98
+ // *****************************************/
99
+ // // Extra small devices (portrait phones, less than 576px)
100
+ // @media (max-width: 575.98px) {
101
+ // }
102
+
103
+ // // Small devices (landscape phones, 576px and up)
104
+ // @media (min-width: 576px) and (max-width: 767.98px) {
105
+ // }
106
+
107
+ // // Medium devices (tablets, 768px and up)
108
+ // @media (min-width: 768px) and (max-width: 991.98px) {
109
+ // }
110
+
111
+ // // Large devices (desktops, 992px and up)
112
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
113
+ // }
114
+
115
+ // // Extra large devices (large desktops, 1200px and up)
116
+ // @media (min-width: 1200px) {
117
+ // }