@open-condo/ui 1.7.1 → 1.9.0

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.
package/dist/styles.css CHANGED
@@ -55,6 +55,220 @@
55
55
  src: url(https://fonts.gstatic.com/s/notosansmono/v21/BngrUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZcdthSBUsYck4-_FNJ49o.ttf) format('truetype');
56
56
  }
57
57
 
58
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
59
+ /* stylelint-disable no-duplicate-selectors */
60
+ /* stylelint-disable */
61
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
62
+ .condo-alert {
63
+ box-sizing: border-box;
64
+ margin: 0;
65
+ padding: 0;
66
+ color: rgba(0, 0, 0, 0.85);
67
+ font-size: 14px;
68
+ font-variant: tabular-nums;
69
+ line-height: 1.5715;
70
+ list-style: none;
71
+ font-feature-settings: 'tnum', "tnum";
72
+ position: relative;
73
+ display: flex;
74
+ align-items: center;
75
+ padding: 8px 15px;
76
+ word-wrap: break-word;
77
+ border-radius: 2px;
78
+ }
79
+ .condo-alert-content {
80
+ flex: 1;
81
+ min-width: 0;
82
+ }
83
+ .condo-alert-icon {
84
+ margin-right: 8px;
85
+ }
86
+ .condo-alert-description {
87
+ display: none;
88
+ font-size: 14px;
89
+ line-height: 22px;
90
+ }
91
+ .condo-alert-success {
92
+ background-color: #ebfaef;
93
+ border: 1px solid #b7eb8f;
94
+ }
95
+ .condo-alert-success .condo-alert-icon {
96
+ color: #39ce66;
97
+ }
98
+ .condo-alert-info {
99
+ background-color: #e7f4ff;
100
+ border: 1px solid #91d5ff;
101
+ }
102
+ .condo-alert-info .condo-alert-icon {
103
+ color: #2696f3;
104
+ }
105
+ .condo-alert-warning {
106
+ background-color: #fff5e6;
107
+ border: 1px solid #ffe58f;
108
+ }
109
+ .condo-alert-warning .condo-alert-icon {
110
+ color: #ff9500;
111
+ }
112
+ .condo-alert-error {
113
+ background-color: #ffeceb;
114
+ border: 1px solid #ffccc7;
115
+ }
116
+ .condo-alert-error .condo-alert-icon {
117
+ color: #ff3b30;
118
+ }
119
+ .condo-alert-error .condo-alert-description > pre {
120
+ margin: 0;
121
+ padding: 0;
122
+ }
123
+ .condo-alert-action {
124
+ margin-left: 8px;
125
+ }
126
+ .condo-alert-close-icon {
127
+ margin-left: 8px;
128
+ padding: 0;
129
+ overflow: hidden;
130
+ font-size: 12px;
131
+ line-height: 12px;
132
+ background-color: transparent;
133
+ border: none;
134
+ outline: none;
135
+ cursor: pointer;
136
+ }
137
+ .condo-alert-close-icon .anticon-close {
138
+ color: rgba(0, 0, 0, 0.45);
139
+ transition: color 0.3s;
140
+ }
141
+ .condo-alert-close-icon .anticon-close:hover {
142
+ color: rgba(0, 0, 0, 0.75);
143
+ }
144
+ .condo-alert-close-text {
145
+ color: rgba(0, 0, 0, 0.45);
146
+ transition: color 0.3s;
147
+ }
148
+ .condo-alert-close-text:hover {
149
+ color: rgba(0, 0, 0, 0.75);
150
+ }
151
+ .condo-alert-with-description {
152
+ align-items: flex-start;
153
+ padding: 15px 15px 15px 24px;
154
+ }
155
+ .condo-alert-with-description.condo-alert-no-icon {
156
+ padding: 15px 15px;
157
+ }
158
+ .condo-alert-with-description .condo-alert-icon {
159
+ margin-right: 15px;
160
+ font-size: 24px;
161
+ }
162
+ .condo-alert-with-description .condo-alert-message {
163
+ display: block;
164
+ margin-bottom: 4px;
165
+ color: rgba(0, 0, 0, 0.85);
166
+ font-size: 16px;
167
+ }
168
+ .condo-alert-message {
169
+ color: rgba(0, 0, 0, 0.85);
170
+ }
171
+ .condo-alert-with-description .condo-alert-description {
172
+ display: block;
173
+ }
174
+ .condo-alert.condo-alert-motion-leave {
175
+ overflow: hidden;
176
+ opacity: 1;
177
+ transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
178
+ }
179
+ .condo-alert.condo-alert-motion-leave-active {
180
+ margin-bottom: 0 !important;
181
+ }
182
+ .condo-alert.condo-alert-motion-leave-active {
183
+ max-height: 0;
184
+ padding-top: 0;
185
+ padding-bottom: 0;
186
+ opacity: 0;
187
+ }
188
+ .condo-alert-banner {
189
+ margin-bottom: 0;
190
+ border: 0;
191
+ border-radius: 0;
192
+ }
193
+ .condo-alert.condo-alert-rtl {
194
+ direction: rtl;
195
+ }
196
+ .condo-alert-rtl .condo-alert-icon {
197
+ margin-right: auto;
198
+ margin-left: 8px;
199
+ }
200
+ .condo-alert-rtl .condo-alert-action {
201
+ margin-right: 8px;
202
+ margin-left: auto;
203
+ }
204
+ .condo-alert-rtl .condo-alert-close-icon {
205
+ margin-right: 8px;
206
+ margin-left: auto;
207
+ }
208
+ .condo-alert-rtl.condo-alert-with-description {
209
+ padding-right: 24px;
210
+ padding-left: 15px;
211
+ }
212
+ .condo-alert-rtl.condo-alert-with-description .condo-alert-icon {
213
+ margin-right: auto;
214
+ margin-left: 15px;
215
+ }
216
+ .condo-alert-description {
217
+ margin: 0;
218
+ font-weight: 400;
219
+ font-size: 14px;
220
+ font-family: "Open Sans", sans-serif;
221
+ line-height: 22px;
222
+ letter-spacing: -0.01em;
223
+ }
224
+ .condo-alert-success {
225
+ border: none;
226
+ border-radius: 12px;
227
+ }
228
+ .condo-alert-success .condo-alert-message {
229
+ color: #39ce66;
230
+ }
231
+ .condo-alert-info {
232
+ border: none;
233
+ border-radius: 12px;
234
+ }
235
+ .condo-alert-info .condo-alert-message {
236
+ color: #2696f3;
237
+ }
238
+ .condo-alert-warning {
239
+ border: none;
240
+ border-radius: 12px;
241
+ }
242
+ .condo-alert-warning .condo-alert-message {
243
+ color: #ff9500;
244
+ }
245
+ .condo-alert-error {
246
+ border: none;
247
+ border-radius: 12px;
248
+ }
249
+ .condo-alert-error .condo-alert-message {
250
+ color: #ff3b30;
251
+ }
252
+ .condo-alert-with-description {
253
+ padding: 16px;
254
+ }
255
+ .condo-alert-message {
256
+ font-weight: 600;
257
+ font-size: 16px;
258
+ font-family: "Open Sans", sans-serif;
259
+ line-height: 24px;
260
+ letter-spacing: -0.01em;
261
+ margin: 0;
262
+ }
263
+ .condo-alert-with-description .condo-alert-message {
264
+ font-weight: 600;
265
+ font-size: 16px;
266
+ font-family: "Open Sans", sans-serif;
267
+ line-height: 24px;
268
+ letter-spacing: -0.01em;
269
+ margin: 0;
270
+ }
271
+
58
272
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
59
273
  /* stylelint-disable no-duplicate-selectors */
60
274
  /* stylelint-disable */
@@ -3114,24 +3328,50 @@ span.condo-typography-ellipsis-single-line {
3114
3328
  padding: 12px;
3115
3329
  }
3116
3330
  .condo-card {
3117
- border: 1px solid #e1e5ed;
3331
+ border: none;
3118
3332
  border-radius: 12px;
3119
3333
  }
3120
3334
  .condo-card-head {
3121
3335
  min-height: 0;
3122
3336
  padding: 24px;
3123
- border-color: #e1e5ed;
3337
+ border: 1px solid #e1e5ed;
3338
+ border-radius: 12px 12px 0 0;
3339
+ }
3340
+ .condo-card-body {
3341
+ border: 1px solid #e1e5ed;
3342
+ border-radius: 12px;
3343
+ }
3344
+ .condo-card-body:not(:first-child) {
3345
+ border-top: 0;
3346
+ border-top-left-radius: 0;
3347
+ border-top-right-radius: 0;
3124
3348
  }
3125
3349
  .condo-card-head-title {
3126
3350
  padding: 0;
3351
+ overflow: visible;
3127
3352
  }
3128
3353
  .condo-card-hoverable {
3354
+ transition-duration: 0.15s;
3355
+ transition-property: box-shadow;
3356
+ }
3357
+ .condo-card-hoverable .condo-card-head {
3129
3358
  transition-duration: 0.15s, 0.15s;
3130
- transition-property: box-shadow, border-color;
3359
+ transition-property: border-color, background-color;
3360
+ }
3361
+ .condo-card-hoverable .condo-card-body {
3362
+ transition-duration: 0.15s;
3363
+ transition-property: border-color;
3131
3364
  }
3132
3365
  .condo-card-hoverable:hover {
3133
3366
  box-shadow: 0 4px 14px 0 rgba(178,185,217,0.4);
3134
3367
  }
3368
+ .condo-card-hoverable:hover .condo-card-head {
3369
+ background-color: #f2f4f6;
3370
+ border-color: #f2f4f6;
3371
+ }
3372
+ .condo-card-hoverable:hover .condo-card-body {
3373
+ border-color: #fff;
3374
+ }
3135
3375
 
3136
3376
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
3137
3377
  /* stylelint-disable no-duplicate-selectors */
@@ -3421,12 +3661,6 @@ span.condo-typography-ellipsis-single-line {
3421
3661
  .condo-carousel-rtl.condo-carousel-vertical .slick-dots {
3422
3662
  flex-direction: column;
3423
3663
  }
3424
- .condo-carousel {
3425
- transform: translate(0);
3426
- }
3427
- .condo-carousel .slick-slider {
3428
- overflow: hidden;
3429
- }
3430
3664
  .condo-carousel .slick-dots li {
3431
3665
  box-sizing: border-box;
3432
3666
  margin: 0 4px;
@@ -3438,7 +3672,7 @@ span.condo-typography-ellipsis-single-line {
3438
3672
  opacity: 0.5;
3439
3673
  }
3440
3674
  .condo-carousel .slick-dots-bottom {
3441
- bottom: 20px;
3675
+ bottom: 40px;
3442
3676
  margin-top: 0;
3443
3677
  margin-bottom: 0;
3444
3678
  }
@@ -3457,7 +3691,7 @@ span.condo-typography-ellipsis-single-line {
3457
3691
  }
3458
3692
  .condo-carousel .slick-arrow,
3459
3693
  .condo-carousel .slick-arrow:hover {
3460
- position: fixed;
3694
+ position: absolute;
3461
3695
  top: 50%;
3462
3696
  z-index: 1;
3463
3697
  width: 40px;
@@ -3483,10 +3717,10 @@ span.condo-typography-ellipsis-single-line {
3483
3717
  }
3484
3718
  .condo-carousel .slick-list {
3485
3719
  margin: 0 -20px;
3720
+ padding: 20px 0;
3486
3721
  }
3487
3722
  .condo-carousel .slick-slide > div {
3488
3723
  margin: 0 20px;
3489
- overflow: hidden;
3490
3724
  }
3491
3725
 
3492
3726
  .condo-markdown h1:not(:first-child),
@@ -4163,7 +4397,7 @@ span.condo-typography-ellipsis-single-line {
4163
4397
  line-height: 20px;
4164
4398
  letter-spacing: -0.01em;
4165
4399
  margin: 0;
4166
- padding: 0.17em 0.83em;
4400
+ padding: 0.17em 0.83em 0.33em;
4167
4401
  border: none;
4168
4402
  border-radius: 12px;
4169
4403
  }