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

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 (42) 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} +146 -298
  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 +72 -80
  13. package/components/_ac-input.scss +0 -482
  14. package/components/_ac-modal.scss +212 -212
  15. package/components/_ac-multi-select.scss +83 -54
  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/_left-sidebar-menu.scss +346 -475
  27. package/components/_navbar.scss +786 -752
  28. package/components/_pagination.scss +9 -27
  29. package/components/_payment-card.scss +1 -1
  30. package/components/_widget-menu.scss +247 -247
  31. package/components/ui-builder/_ui-builder.scss +1 -1
  32. package/components/ui-builder/_vue-open-api.scss +512 -0
  33. package/main.scss +26 -10
  34. package/package.json +1 -1
  35. package/vue-components/v2/card/Card.vue +1 -1
  36. package/vue-components/v3/cards/Card.vue +1 -1
  37. package/vue-components/v3/cards/Vendor.vue +1 -1
  38. package/vue-components/v3/footer/FooterItem.vue +4 -1
  39. package/vue-components/v3/sidebar/Sidebar.vue +2 -2
  40. package/base/utilities/_derived-variables.scss +0 -24
  41. package/base/utilities/_initial-variables.scss +0 -217
  42. package/components/_basic-card.scss +0 -118
@@ -1,262 +1,205 @@
1
- // for alert message
2
- .ac-notification {
3
- background-color: #dee7f5;
4
- font-size: 13px;
5
- color: $primary;
6
- min-height: 36px;
7
- display: flex;
8
- align-items: center;
9
- padding: 8px 16px;
10
- overflow: hidden;
11
- border: 1px solid $primary;
12
- border-radius: 4px;
13
- justify-content: flex-start;
14
- position: relative;
15
- z-index: 1;
16
- min-width: 280px;
17
-
18
- p {
19
- color: $primary;
20
-
21
- .close-icon {
22
- padding-right: 10px;
23
- font-size: 15px;
24
- }
25
-
26
- a {
27
- text-decoration: underline;
28
- color: $primary;
29
-
30
- &:hover {
31
- color: hsla(
32
- var(--hsl-hue),
33
- var(--hsl-saturation),
34
- calc(var(--hsl-lightness) - 10%),
35
- 1
36
- );
37
- }
38
- }
39
- }
40
-
41
- button.close {
42
- background-color: transparent;
43
- cursor: pointer;
44
- right: 0px;
45
- position: absolute;
46
- box-shadow: none;
47
- border: none;
48
- font-size: 14px;
49
- color: $danger;
50
- width: 40px;
51
- height: 100%;
52
- display: flex;
53
- align-items: center;
54
- justify-content: center;
55
- }
56
- }
57
-
58
- .toast {
59
- box-shadow: $ac-shadow-sm;
60
- border: 1px solid $primary-90;
61
- width: 350px;
62
-
63
- .toast-header {
64
- padding: 8px 12px;
65
- border-bottom: 1px solid $primary-90;
66
-
67
- .button {
68
- &:hover {
69
- color: #000000;
70
- }
71
- }
72
- }
73
-
74
- .toast-body {
75
- padding: 8px 12px;
76
- }
77
- }
78
-
79
- // mixin for .ac-notification
80
- @mixin acNotification($colorName) {
81
- background-color: scale-color($color: $colorName, $lightness: 80%);
82
- color: $white-100;
83
- border-color: $colorName;
84
-
85
- p {
86
- color: $colorName;
87
-
88
- a {
89
- color: $colorName;
90
-
91
- &:hover {
92
- color: $colorName;
93
- opacity: 0.8;
94
- }
95
- }
96
- }
97
- }
98
- @mixin acPrimaryNotification() {
99
- background-color: hsla(
100
- var(--hsl-hue),
101
- var(--hsl-saturation),
102
- var(--hsl-lightness),
103
- 0.2
104
- );
105
- color: $white-100;
106
- border-color: $primary;
107
-
108
- p {
109
- color: $primary;
110
-
111
- a {
112
- color: $primary;
113
-
114
- &:hover {
115
- color: $primary;
116
- opacity: 0.8;
117
- }
118
- }
119
- }
120
- }
121
-
122
- // is-primary
123
- .ac-notification.is-primary {
124
- @include acPrimaryNotification();
125
- }
126
-
127
- // is.info
128
- .ac-notification.is-info {
129
- @include acNotification($info);
130
- }
131
-
132
- // is.success
133
- .ac-notification.is-success {
134
- @include acNotification($success);
135
- }
136
-
137
- // is-error
138
- .ac-notification.is-error {
139
- @include acNotification($danger);
140
- }
141
-
142
- // is-warning
143
- .ac-notification.is-warning {
144
- @include acNotification($warning);
145
- }
146
-
147
- /*====================================
148
- AC Toast
149
- =====================================*/
150
-
151
- .ac-toast {
152
- width: 350px;
153
- display: flex;
154
- align-items: center;
155
- justify-content: space-between;
156
- font-size: 13px;
157
- border-radius: 4px;
158
- position: relative;
159
- padding-right: 30px;
160
- margin-bottom: 10px;
161
-
162
- * {
163
- color: $white-100;
164
- }
165
-
166
- p {
167
- padding-left: 16px;
168
-
169
- i.fa {
170
- padding-right: 0 !important;
171
- margin-right: 4px;
172
- }
173
- }
174
-
175
- a {
176
- font-weight: 500;
177
- text-decoration: underline;
178
- padding: 0 15px;
179
-
180
- &:hover {
181
- color: $white-100-lighter;
182
- }
183
- }
184
-
185
- button.close-button {
186
- border-radius: 0px;
187
- background-color: transparent;
188
- border: none;
189
- color: $white-100;
190
- position: absolute;
191
- right: 0;
192
- top: 0;
193
- padding: 5px;
194
- height: 100%;
195
- width: 30px;
196
- z-index: 1;
197
- cursor: pointer;
198
- border-left: 1px solid #dddddd;
199
- }
200
- }
201
-
202
- // mixin for .ac-toast
203
- @mixin acToast($colorName) {
204
- background-color: $colorName;
205
- color: $white-100;
206
- border-color: $colorName;
207
- }
208
-
209
- // is-primary
210
- .ac-toast.is-primary {
211
- @include acToast($primary);
212
- }
213
-
214
- // is-info
215
- .ac-toast.is-info {
216
- @include acToast($info);
217
- }
218
-
219
- // is.success
220
- .ac-toast.is-success {
221
- @include acToast($success);
222
- }
223
-
224
- // is-error
225
- .ac-toast.is-error {
226
- @include acToast($danger);
227
- }
228
-
229
- // is-warning
230
- .ac-toast.is-warning {
231
- @include acToast($warning);
232
- }
233
-
234
- // dark theme start
235
- .is-dark-theme {
236
- .ac-notification.is-error {
237
- background-color: $dark-bg-light;
238
- }
239
- }
240
- // dark theme end
241
- /****************************************
242
- Responsive Classes
243
- *****************************************/
244
- // Extra small devices (portrait phones, less than 576px)
245
- @media (max-width: 575.98px) {
246
- }
247
-
248
- // Small devices (landscape phones, 576px and up)
249
- @media (min-width: 576px) and (max-width: 767.98px) {
250
- }
251
-
252
- // Medium devices (tablets, 768px and up)
253
- @media (min-width: 768px) and (max-width: 991.98px) {
254
- }
255
-
256
- // Large devices (desktops, 992px and up)
257
- @media (min-width: 992px) and (max-width: 1199.98px) {
258
- }
259
-
260
- // Extra large devices (large desktops, 1200px and up)
261
- @media (min-width: 1200px) {
262
- }
1
+ // .toast {
2
+ // box-shadow: $ac-shadow-sm;
3
+ // border: 1px solid $primary-90;
4
+ // width: 350px;
5
+
6
+ // .toast-header {
7
+ // padding: 8px 12px;
8
+ // border-bottom: 1px solid $primary-90;
9
+
10
+ // .button {
11
+ // &:hover {
12
+ // color: #000000;
13
+ // }
14
+ // }
15
+ // }
16
+
17
+ // .toast-body {
18
+ // padding: 8px 12px;
19
+ // }
20
+ // }
21
+
22
+ // // mixin for .ac-notification
23
+ // @mixin acNotification($colorName) {
24
+ // background-color: scale-color($color: $colorName, $lightness: 80%);
25
+ // color: $white-100;
26
+ // border-color: $colorName;
27
+
28
+ // p {
29
+ // color: $colorName;
30
+
31
+ // a {
32
+ // color: $colorName;
33
+
34
+ // &:hover {
35
+ // color: $colorName;
36
+ // opacity: 0.8;
37
+ // }
38
+ // }
39
+ // }
40
+ // }
41
+ // @mixin acPrimaryNotification() {
42
+ // background-color: hsla(
43
+ // var(--hsl-hue),
44
+ // var(--hsl-saturation),
45
+ // var(--hsl-lightness),
46
+ // 0.2
47
+ // );
48
+ // color: $white-100;
49
+ // border-color: $primary;
50
+
51
+ // p {
52
+ // color: $primary;
53
+
54
+ // a {
55
+ // color: $primary;
56
+
57
+ // &:hover {
58
+ // color: $primary;
59
+ // opacity: 0.8;
60
+ // }
61
+ // }
62
+ // }
63
+ // }
64
+
65
+ // // is-primary
66
+ // .ac-notification.is-primary {
67
+ // @include acPrimaryNotification();
68
+ // }
69
+
70
+ // // is.info
71
+ // .ac-notification.is-info {
72
+ // @include acNotification($info);
73
+ // }
74
+
75
+ // // is.success
76
+ // .ac-notification.is-success {
77
+ // @include acNotification($success);
78
+ // }
79
+
80
+ // // is-error
81
+ // .ac-notification.is-error {
82
+ // @include acNotification($danger);
83
+ // }
84
+
85
+ // // is-warning
86
+ // .ac-notification.is-warning {
87
+ // @include acNotification($warning);
88
+ // }
89
+
90
+ // /*====================================
91
+ // AC Toast
92
+ // =====================================*/
93
+
94
+ // .ac-toast {
95
+ // width: 350px;
96
+ // display: flex;
97
+ // align-items: center;
98
+ // justify-content: space-between;
99
+ // font-size: 13px;
100
+ // border-radius: 4px;
101
+ // position: relative;
102
+ // padding-right: 30px;
103
+ // margin-bottom: 10px;
104
+
105
+ // * {
106
+ // color: $white-100;
107
+ // }
108
+
109
+ // p {
110
+ // padding-left: 16px;
111
+
112
+ // i.fa {
113
+ // padding-right: 0 !important;
114
+ // margin-right: 4px;
115
+ // }
116
+ // }
117
+
118
+ // a {
119
+ // font-weight: 500;
120
+ // text-decoration: underline;
121
+ // padding: 0 15px;
122
+
123
+ // &:hover {
124
+ // color: $white-100-lighter;
125
+ // }
126
+ // }
127
+
128
+ // button.close-button {
129
+ // border-radius: 0px;
130
+ // background-color: transparent;
131
+ // border: none;
132
+ // color: $white-100;
133
+ // position: absolute;
134
+ // right: 0;
135
+ // top: 0;
136
+ // padding: 5px;
137
+ // height: 100%;
138
+ // width: 30px;
139
+ // z-index: 1;
140
+ // cursor: pointer;
141
+ // border-left: 1px solid #dddddd;
142
+ // }
143
+ // }
144
+
145
+ // // mixin for .ac-toast
146
+ // @mixin acToast($colorName) {
147
+ // background-color: $colorName;
148
+ // color: $white-100;
149
+ // border-color: $colorName;
150
+ // }
151
+
152
+ // // is-primary
153
+ // .ac-toast.is-primary {
154
+ // @include acToast($primary);
155
+ // }
156
+
157
+ // // is-info
158
+ // .ac-toast.is-info {
159
+ // @include acToast($info);
160
+ // }
161
+
162
+ // // is.success
163
+ // .ac-toast.is-success {
164
+ // @include acToast($success);
165
+ // }
166
+
167
+ // // is-error
168
+ // .ac-toast.is-error {
169
+ // @include acToast($danger);
170
+ // }
171
+
172
+ // // is-warning
173
+ // .ac-toast.is-warning {
174
+ // @include acToast($warning);
175
+ // }
176
+
177
+ // // dark theme start
178
+ // .is-dark-theme {
179
+ // .ac-notification.is-error {
180
+ // background-color: $dark-bg-light;
181
+ // }
182
+ // }
183
+ // // dark theme end
184
+ // /****************************************
185
+ // Responsive Classes
186
+ // *****************************************/
187
+ // // Extra small devices (portrait phones, less than 576px)
188
+ // @media (max-width: 575.98px) {
189
+ // }
190
+
191
+ // // Small devices (landscape phones, 576px and up)
192
+ // @media (min-width: 576px) and (max-width: 767.98px) {
193
+ // }
194
+
195
+ // // Medium devices (tablets, 768px and up)
196
+ // @media (min-width: 768px) and (max-width: 991.98px) {
197
+ // }
198
+
199
+ // // Large devices (desktops, 992px and up)
200
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
201
+ // }
202
+
203
+ // // Extra large devices (large desktops, 1200px and up)
204
+ // @media (min-width: 1200px) {
205
+ // }