@appscode/design-system 1.1.0-beta.32 → 1.1.0-beta.33

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.
@@ -1,232 +1,232 @@
1
1
  // card select
2
2
  .card-select {
3
- height: 94px;
4
- padding: 10px;
5
- background-color: $white-100;
6
- border: 1px solid $primary-90;
7
- box-sizing: border-box;
8
- border-radius: 4px;
9
- transition: 0.3s ease-in-out;
10
- position: relative;
11
- z-index: 1;
12
- width: 250px;
13
-
14
- &.is-active-require-field {
15
- &:after {
16
- content: "";
17
- position: absolute;
18
- width: 100%;
19
- height: 100%;
20
- background-color: $black-5;
21
- top: 0;
22
- left: 0;
23
- z-index: 1;
24
- opacity: 0.6;
25
- border-radius: 4px;
26
- }
3
+ height: 94px;
4
+ padding: 10px;
5
+ background-color: $white-100;
6
+ border: 1px solid $primary-90;
7
+ box-sizing: border-box;
8
+ border-radius: 4px;
9
+ transition: 0.3s ease-in-out;
10
+ position: relative;
11
+ z-index: 1;
12
+ width: 250px;
13
+
14
+ &.is-active-require-field {
15
+ &:after {
16
+ content: "";
17
+ position: absolute;
18
+ width: 100%;
19
+ height: 100%;
20
+ background-color: $black-5;
21
+ top: 0;
22
+ left: 0;
23
+ z-index: 1;
24
+ opacity: 0.6;
25
+ border-radius: 4px;
26
+ }
27
27
 
28
- .r-dropdown-item {
29
- opacity: 1;
30
- visibility: visible;
31
- }
28
+ .r-dropdown-item {
29
+ opacity: 1;
30
+ visibility: visible;
31
+ }
32
+ }
33
+
34
+ &.is-singleline {
35
+ height: auto;
36
+ padding: 0;
37
+ border: none;
38
+ background-color: transparent;
39
+ width: auto;
40
+ margin-bottom: 0;
41
+
42
+ label {
43
+ font-weight: 400 !important;
32
44
  }
33
45
 
34
- &.is-singleline {
35
- height: auto;
36
- padding: 0;
37
- border: none;
38
- background-color: transparent;
39
- width: auto;
40
- margin-bottom: 0;
46
+ &:hover {
47
+ box-shadow: none;
48
+ border: none;
41
49
 
42
- label {
43
- font-weight: 400 !important;
44
- }
50
+ label {
51
+ color: $primary !important;
52
+ }
53
+ }
45
54
 
46
- &:hover {
47
- box-shadow: none;
48
- border: none;
55
+ .ac-single-radio,
56
+ .ac-single-checkbox {
57
+ label {
58
+ font-size: 13px;
59
+ line-height: 20px;
60
+ color: $primary-5;
61
+ padding-left: 25px !important;
62
+ }
63
+ }
49
64
 
50
- label {
51
- color: $primary !important;
52
- }
53
- }
65
+ &.is-disabled {
66
+ background-color: transparent;
54
67
 
55
- .ac-single-radio,
56
- .ac-single-checkbox {
57
- label {
58
- font-size: 13px;
59
- line-height: 20px;
60
- color: $primary-5;
61
- padding-left: 25px !important;
62
- }
63
- }
68
+ label {
69
+ color: $primary-10;
70
+ cursor: not-allowed;
71
+ }
72
+ }
64
73
 
65
- &.is-disabled {
66
- background-color: transparent;
74
+ .ac-single-radio .is-checkradio[type="radio"]:checked + label {
75
+ color: $primary;
76
+ }
67
77
 
68
- label {
69
- color: $primary-10;
70
- cursor: not-allowed;
71
- }
72
- }
78
+ .ac-single-radio {
79
+ margin-bottom: 0;
80
+ }
81
+ }
73
82
 
74
- .ac-single-radio .is-checkradio[type="radio"]:checked+label {
75
- color: $primary;
76
- }
83
+ &.is-disabled {
84
+ background-color: $primary-97;
85
+ cursor: not-allowed;
86
+ opacity: 0.8;
77
87
 
78
- .ac-single-radio {
79
- margin-bottom: 0;
80
- }
88
+ &:hover {
89
+ border-color: transparent;
90
+ box-shadow: none;
81
91
  }
92
+ }
82
93
 
83
- &.is-disabled {
84
- background-color: $primary-90;
85
- cursor: not-allowed;
86
- opacity: 0.8;
94
+ &:hover {
95
+ box-shadow: 0px 8px 50px rgba(0, 0, 0, 0.2);
96
+ border: 1px solid transparent;
97
+ }
87
98
 
88
- &:hover {
89
- border-color: transparent;
90
- box-shadow: none;
91
- }
92
- }
99
+ &.is-selected {
100
+ border: 1px solid $primary;
101
+ }
93
102
 
94
- &:hover {
95
- box-shadow: 0px 8px 50px rgba(0, 0, 0, 0.2);
96
- border: 1px solid transparent;
97
- }
103
+ &:last-child {
104
+ margin-right: 0;
105
+ }
98
106
 
99
- &.is-selected {
100
- border: 1px solid $primary;
101
- }
107
+ // inline more button Start
108
+ .more-option {
109
+ position: relative;
110
+ z-index: 1;
102
111
 
103
- &:last-child {
104
- margin-right: 0;
105
- }
106
-
107
- // inline more button Start
108
- .more-option {
109
- position: relative;
110
- z-index: 1;
111
-
112
- .btn-more-option {
113
- background-color: #e4e4e4;
114
- height: 16px;
115
- width: 30px;
116
- border: none;
117
- border-radius: 3px;
118
- padding: 0;
119
- cursor: pointer;
120
- margin-left: 5px;
121
- display: inline-flex;
122
- align-items: center;
123
- justify-content: center;
124
- transform: translate(0px, -2px);
125
-
126
- span {
127
- display: inline-flex;
128
- width: 4px;
129
- height: 4px;
130
- border-radius: 50%;
131
- background-color: #b1b1b1;
132
- margin-right: 2px;
133
-
134
- &:last-child {
135
- margin-right: 0;
136
- }
137
- }
112
+ .btn-more-option {
113
+ background-color: #e4e4e4;
114
+ height: 16px;
115
+ width: 30px;
116
+ border: none;
117
+ border-radius: 3px;
118
+ padding: 0;
119
+ cursor: pointer;
120
+ margin-left: 5px;
121
+ display: inline-flex;
122
+ align-items: center;
123
+ justify-content: center;
124
+ transform: translate(0px, -2px);
125
+
126
+ span {
127
+ display: inline-flex;
128
+ width: 4px;
129
+ height: 4px;
130
+ border-radius: 50%;
131
+ background-color: #b1b1b1;
132
+ margin-right: 2px;
133
+
134
+ &:last-child {
135
+ margin-right: 0;
138
136
  }
137
+ }
139
138
  }
139
+ }
140
140
 
141
- .r-dropdown-item {
142
- position: absolute;
143
- z-index: 2;
144
- right: 10px;
145
- top: 10px;
146
- background-color: $white-100;
147
- box-shadow: $ac-shadow-2;
148
- display: inline-block;
149
- border-radius: 4px;
150
- padding: 5px 15px;
151
- width: 200px;
152
- opacity: 0;
153
- visibility: hidden;
154
- transition: 0.3s ease-in-out;
155
-
156
- button.close-icon {
157
- position: absolute;
158
- right: -5px;
159
- top: -5px;
160
- border: 1px solid $black-80;
161
- font-size: 10px;
162
- height: 25px;
163
- width: 25px;
164
- text-align: center;
165
- background-color: $white-100;
166
- border-radius: 50%;
167
- cursor: pointer;
168
- color: $danger;
169
- transition: 0.3s ease-in-out;
170
- display: block;
171
-
172
- &:hover {
173
- color: $white-100;
174
- background-color: $danger;
175
- border: 1px solid $danger;
176
- }
177
- }
141
+ .r-dropdown-item {
142
+ position: absolute;
143
+ z-index: 2;
144
+ right: 10px;
145
+ top: 10px;
146
+ background-color: $white-100;
147
+ box-shadow: $ac-shadow-2;
148
+ display: inline-block;
149
+ border-radius: 4px;
150
+ padding: 5px 15px;
151
+ width: 200px;
152
+ opacity: 0;
153
+ visibility: hidden;
154
+ transition: 0.3s ease-in-out;
178
155
 
179
- li {
180
- display: inline-block;
181
-
182
- a {
183
- display: block;
184
- padding: 5px 10px 5px 0;
185
- color: $primary-20;
186
- font-size: 11px;
187
- text-decoration: underline;
188
- font-weight: 400;
189
-
190
- &:hover {
191
- color: $primary;
192
- }
193
- }
194
- }
156
+ button.close-icon {
157
+ position: absolute;
158
+ right: -5px;
159
+ top: -5px;
160
+ border: 1px solid $black-80;
161
+ font-size: 10px;
162
+ height: 25px;
163
+ width: 25px;
164
+ text-align: center;
165
+ background-color: $white-100;
166
+ border-radius: 50%;
167
+ cursor: pointer;
168
+ color: $danger;
169
+ transition: 0.3s ease-in-out;
170
+ display: block;
171
+
172
+ &:hover {
173
+ color: $white-100;
174
+ background-color: $danger;
175
+ border: 1px solid $danger;
176
+ }
195
177
  }
196
178
 
197
- // inline more button end
198
- .ac-single-radio,
199
- .ac-single-checkbox {
200
- margin-bottom: 10px;
179
+ li {
180
+ display: inline-block;
201
181
 
202
- &:last-child {
203
- margin-bottom: 0;
204
- }
182
+ a {
183
+ display: block;
184
+ padding: 5px 10px 5px 0;
185
+ color: $primary-20;
186
+ font-size: 11px;
187
+ text-decoration: underline;
188
+ font-weight: 400;
205
189
 
206
- label {
207
- font-family: $font-heading;
208
- font-style: normal;
209
- font-weight: 500;
210
- font-size: 13px;
211
- line-height: 24px;
212
- color: $primary-5;
190
+ &:hover {
191
+ color: $primary;
213
192
  }
193
+ }
214
194
  }
195
+ }
215
196
 
216
- p {
217
- font-family: $font-paragraph;
218
- font-style: normal;
219
- font-weight: normal;
220
- font-size: 13px;
221
- line-height: 140%;
222
- color: $primary-10;
197
+ // inline more button end
198
+ .ac-single-radio,
199
+ .ac-single-checkbox {
200
+ margin-bottom: 10px;
223
201
 
224
- &.is-warning {
225
- color: $danger;
226
- }
202
+ &:last-child {
203
+ margin-bottom: 0;
204
+ }
227
205
 
228
- a {
229
- text-decoration: underline;
230
- }
206
+ label {
207
+ font-family: $font-heading;
208
+ font-style: normal;
209
+ font-weight: 500;
210
+ font-size: 13px;
211
+ line-height: 24px;
212
+ color: $primary-5;
213
+ }
214
+ }
215
+
216
+ p {
217
+ font-family: $font-paragraph;
218
+ font-style: normal;
219
+ font-weight: normal;
220
+ font-size: 13px;
221
+ line-height: 140%;
222
+ color: $primary-10;
223
+
224
+ &.is-warning {
225
+ color: $danger;
226
+ }
227
+
228
+ a {
229
+ text-decoration: underline;
231
230
  }
232
- }
231
+ }
232
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-beta.32",
3
+ "version": "1.1.0-beta.33",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {