@open-condo/ui 1.6.0 → 1.7.1

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
@@ -2838,6 +2838,301 @@ span.condo-typography-ellipsis-single-line {
2838
2838
  -webkit-user-drag: none;
2839
2839
  }
2840
2840
 
2841
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2842
+ /* stylelint-disable no-duplicate-selectors */
2843
+ /* stylelint-disable */
2844
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
2845
+ .condo-card {
2846
+ box-sizing: border-box;
2847
+ margin: 0;
2848
+ padding: 0;
2849
+ color: rgba(0, 0, 0, 0.85);
2850
+ font-size: 14px;
2851
+ font-variant: tabular-nums;
2852
+ line-height: 1.5715;
2853
+ list-style: none;
2854
+ font-feature-settings: 'tnum', "tnum";
2855
+ position: relative;
2856
+ background: #fff;
2857
+ border-radius: 2px;
2858
+ }
2859
+ .condo-card-rtl {
2860
+ direction: rtl;
2861
+ }
2862
+ .condo-card-hoverable {
2863
+ cursor: pointer;
2864
+ transition: box-shadow 0.3s, border-color 0.3s;
2865
+ }
2866
+ .condo-card-hoverable:hover {
2867
+ border-color: transparent;
2868
+ box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
2869
+ }
2870
+ .condo-card-bordered {
2871
+ border: 1px solid #f0f0f0;
2872
+ }
2873
+ .condo-card-head {
2874
+ min-height: 48px;
2875
+ margin-bottom: -1px;
2876
+ padding: 0 24px;
2877
+ color: rgba(0, 0, 0, 0.85);
2878
+ font-weight: 500;
2879
+ font-size: 16px;
2880
+ background: transparent;
2881
+ border-bottom: 1px solid #f0f0f0;
2882
+ border-radius: 2px 2px 0 0;
2883
+ }
2884
+ .condo-card-head::before {
2885
+ display: table;
2886
+ content: '';
2887
+ }
2888
+ .condo-card-head::after {
2889
+ display: table;
2890
+ clear: both;
2891
+ content: '';
2892
+ }
2893
+ .condo-card-head-wrapper {
2894
+ display: flex;
2895
+ align-items: center;
2896
+ }
2897
+ .condo-card-head-title {
2898
+ display: inline-block;
2899
+ flex: 1;
2900
+ padding: 16px 0;
2901
+ overflow: hidden;
2902
+ white-space: nowrap;
2903
+ text-overflow: ellipsis;
2904
+ }
2905
+ .condo-card-head-title > .condo-typography,
2906
+ .condo-card-head-title > .condo-typography-edit-content {
2907
+ left: 0;
2908
+ margin-top: 0;
2909
+ margin-bottom: 0;
2910
+ }
2911
+ .condo-card-head .condo-tabs-top {
2912
+ clear: both;
2913
+ margin-bottom: -17px;
2914
+ color: rgba(0, 0, 0, 0.85);
2915
+ font-weight: normal;
2916
+ font-size: 14px;
2917
+ }
2918
+ .condo-card-head .condo-tabs-top-bar {
2919
+ border-bottom: 1px solid #f0f0f0;
2920
+ }
2921
+ .condo-card-extra {
2922
+ margin-left: auto;
2923
+ padding: 16px 0;
2924
+ color: rgba(0, 0, 0, 0.85);
2925
+ font-weight: normal;
2926
+ font-size: 14px;
2927
+ }
2928
+ .condo-card-rtl .condo-card-extra {
2929
+ margin-right: auto;
2930
+ margin-left: 0;
2931
+ }
2932
+ .condo-card-body {
2933
+ padding: 24px;
2934
+ }
2935
+ .condo-card-body::before {
2936
+ display: table;
2937
+ content: '';
2938
+ }
2939
+ .condo-card-body::after {
2940
+ display: table;
2941
+ clear: both;
2942
+ content: '';
2943
+ }
2944
+ .condo-card-contain-grid .condo-card-body {
2945
+ display: flex;
2946
+ flex-wrap: wrap;
2947
+ }
2948
+ .condo-card-contain-grid:not(.condo-card-loading) .condo-card-body {
2949
+ margin: -1px 0 0 -1px;
2950
+ padding: 0;
2951
+ }
2952
+ .condo-card-grid {
2953
+ width: 33.33%;
2954
+ padding: 24px;
2955
+ border: 0;
2956
+ border-radius: 0;
2957
+ box-shadow: 1px 0 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0, 1px 1px 0 0 #f0f0f0, 1px 0 0 0 #f0f0f0 inset, 0 1px 0 0 #f0f0f0 inset;
2958
+ transition: all 0.3s;
2959
+ }
2960
+ .condo-card-grid-hoverable:hover {
2961
+ position: relative;
2962
+ z-index: 1;
2963
+ box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
2964
+ }
2965
+ .condo-card-contain-tabs > .condo-card-head .condo-card-head-title {
2966
+ min-height: 32px;
2967
+ padding-bottom: 0;
2968
+ }
2969
+ .condo-card-contain-tabs > .condo-card-head .condo-card-extra {
2970
+ padding-bottom: 0;
2971
+ }
2972
+ .condo-card-bordered .condo-card-cover {
2973
+ margin-top: -1px;
2974
+ margin-right: -1px;
2975
+ margin-left: -1px;
2976
+ }
2977
+ .condo-card-cover > * {
2978
+ display: block;
2979
+ width: 100%;
2980
+ }
2981
+ .condo-card-cover img {
2982
+ border-radius: 2px 2px 0 0;
2983
+ }
2984
+ .condo-card-actions {
2985
+ display: flex;
2986
+ margin: 0;
2987
+ padding: 0;
2988
+ list-style: none;
2989
+ background: #fff;
2990
+ border-top: 1px solid #f0f0f0;
2991
+ }
2992
+ .condo-card-actions::before {
2993
+ display: table;
2994
+ content: '';
2995
+ }
2996
+ .condo-card-actions::after {
2997
+ display: table;
2998
+ clear: both;
2999
+ content: '';
3000
+ }
3001
+ .condo-card-actions > li {
3002
+ margin: 12px 0;
3003
+ color: rgba(0, 0, 0, 0.45);
3004
+ text-align: center;
3005
+ }
3006
+ .condo-card-actions > li > span {
3007
+ position: relative;
3008
+ display: block;
3009
+ min-width: 32px;
3010
+ font-size: 14px;
3011
+ line-height: 1.5715;
3012
+ cursor: pointer;
3013
+ }
3014
+ .condo-card-actions > li > span:hover {
3015
+ color: #1890ff;
3016
+ transition: color 0.3s;
3017
+ }
3018
+ .condo-card-actions > li > span a:not(.condo-btn),
3019
+ .condo-card-actions > li > span > .anticon {
3020
+ display: inline-block;
3021
+ width: 100%;
3022
+ color: rgba(0, 0, 0, 0.45);
3023
+ line-height: 22px;
3024
+ transition: color 0.3s;
3025
+ }
3026
+ .condo-card-actions > li > span a:not(.condo-btn):hover,
3027
+ .condo-card-actions > li > span > .anticon:hover {
3028
+ color: #1890ff;
3029
+ }
3030
+ .condo-card-actions > li > span > .anticon {
3031
+ font-size: 16px;
3032
+ line-height: 22px;
3033
+ }
3034
+ .condo-card-actions > li:not(:last-child) {
3035
+ border-right: 1px solid #f0f0f0;
3036
+ }
3037
+ .condo-card-rtl .condo-card-actions > li:not(:last-child) {
3038
+ border-right: none;
3039
+ border-left: 1px solid #f0f0f0;
3040
+ }
3041
+ .condo-card-type-inner .condo-card-head {
3042
+ padding: 0 24px;
3043
+ background: #fafafa;
3044
+ }
3045
+ .condo-card-type-inner .condo-card-head-title {
3046
+ padding: 12px 0;
3047
+ font-size: 14px;
3048
+ }
3049
+ .condo-card-type-inner .condo-card-body {
3050
+ padding: 16px 24px;
3051
+ }
3052
+ .condo-card-type-inner .condo-card-extra {
3053
+ padding: 13.5px 0;
3054
+ }
3055
+ .condo-card-meta {
3056
+ display: flex;
3057
+ margin: -4px 0;
3058
+ }
3059
+ .condo-card-meta::before {
3060
+ display: table;
3061
+ content: '';
3062
+ }
3063
+ .condo-card-meta::after {
3064
+ display: table;
3065
+ clear: both;
3066
+ content: '';
3067
+ }
3068
+ .condo-card-meta-avatar {
3069
+ padding-right: 16px;
3070
+ }
3071
+ .condo-card-rtl .condo-card-meta-avatar {
3072
+ padding-right: 0;
3073
+ padding-left: 16px;
3074
+ }
3075
+ .condo-card-meta-detail {
3076
+ overflow: hidden;
3077
+ }
3078
+ .condo-card-meta-detail > div:not(:last-child) {
3079
+ margin-bottom: 8px;
3080
+ }
3081
+ .condo-card-meta-title {
3082
+ overflow: hidden;
3083
+ color: rgba(0, 0, 0, 0.85);
3084
+ font-weight: 500;
3085
+ font-size: 16px;
3086
+ white-space: nowrap;
3087
+ text-overflow: ellipsis;
3088
+ }
3089
+ .condo-card-meta-description {
3090
+ color: rgba(0, 0, 0, 0.45);
3091
+ }
3092
+ .condo-card-loading {
3093
+ overflow: hidden;
3094
+ }
3095
+ .condo-card-loading .condo-card-body {
3096
+ -webkit-user-select: none;
3097
+ -moz-user-select: none;
3098
+ -ms-user-select: none;
3099
+ user-select: none;
3100
+ }
3101
+ .condo-card-small > .condo-card-head {
3102
+ min-height: 36px;
3103
+ padding: 0 12px;
3104
+ font-size: 14px;
3105
+ }
3106
+ .condo-card-small > .condo-card-head > .condo-card-head-wrapper > .condo-card-head-title {
3107
+ padding: 8px 0;
3108
+ }
3109
+ .condo-card-small > .condo-card-head > .condo-card-head-wrapper > .condo-card-extra {
3110
+ padding: 8px 0;
3111
+ font-size: 14px;
3112
+ }
3113
+ .condo-card-small > .condo-card-body {
3114
+ padding: 12px;
3115
+ }
3116
+ .condo-card {
3117
+ border: 1px solid #e1e5ed;
3118
+ border-radius: 12px;
3119
+ }
3120
+ .condo-card-head {
3121
+ min-height: 0;
3122
+ padding: 24px;
3123
+ border-color: #e1e5ed;
3124
+ }
3125
+ .condo-card-head-title {
3126
+ padding: 0;
3127
+ }
3128
+ .condo-card-hoverable {
3129
+ transition-duration: 0.15s, 0.15s;
3130
+ transition-property: box-shadow, border-color;
3131
+ }
3132
+ .condo-card-hoverable:hover {
3133
+ box-shadow: 0 4px 14px 0 rgba(178,185,217,0.4);
3134
+ }
3135
+
2841
3136
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2842
3137
  /* stylelint-disable no-duplicate-selectors */
2843
3138
  /* stylelint-disable */
@@ -3264,6 +3559,39 @@ span.condo-typography-ellipsis-single-line {
3264
3559
  .condo-markdown blockquote > blockquote:not(:first-child) {
3265
3560
  margin-top: 0.5em;
3266
3561
  }
3562
+ .condo-markdown table {
3563
+ text-align: left;
3564
+ border: 1px solid #e1e5ed;
3565
+ border-radius: 8px;
3566
+ border-spacing: 0;
3567
+ }
3568
+ .condo-markdown table th {
3569
+ padding: 20px 16px;
3570
+ color: #707695;
3571
+ border-bottom: 1px solid #e1e5ed;
3572
+ font-weight: 600;
3573
+ font-size: 12px;
3574
+ font-family: "Open Sans", sans-serif;
3575
+ line-height: 20px;
3576
+ letter-spacing: -0.01em;
3577
+ margin: 0;
3578
+ }
3579
+ .condo-markdown table td {
3580
+ padding: 16px;
3581
+ border-bottom: 1px solid #e1e5ed;
3582
+ margin: 0;
3583
+ font-weight: 400;
3584
+ font-size: 14px;
3585
+ font-family: "Open Sans", sans-serif;
3586
+ line-height: 22px;
3587
+ letter-spacing: -0.01em;
3588
+ }
3589
+ .condo-markdown table > tbody > tr:last-child > td {
3590
+ border-bottom: none;
3591
+ }
3592
+ .condo-markdown table:not(:last-child) {
3593
+ margin-bottom: 24px;
3594
+ }
3267
3595
 
3268
3596
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
3269
3597
  /* stylelint-disable no-duplicate-selectors */
@@ -3581,3 +3909,262 @@ span.condo-typography-ellipsis-single-line {
3581
3909
  margin-left: 0;
3582
3910
  }
3583
3911
 
3912
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
3913
+ /* stylelint-disable no-duplicate-selectors */
3914
+ /* stylelint-disable */
3915
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
3916
+ .condo-tag {
3917
+ box-sizing: border-box;
3918
+ margin: 0;
3919
+ padding: 0;
3920
+ color: rgba(0, 0, 0, 0.85);
3921
+ font-size: 14px;
3922
+ font-variant: tabular-nums;
3923
+ line-height: 1.5715;
3924
+ list-style: none;
3925
+ font-feature-settings: 'tnum', "tnum";
3926
+ display: inline-block;
3927
+ height: auto;
3928
+ margin-right: 8px;
3929
+ padding: 0 7px;
3930
+ font-size: 12px;
3931
+ line-height: 20px;
3932
+ white-space: nowrap;
3933
+ background: #fafafa;
3934
+ border: 1px solid #d9d9d9;
3935
+ border-radius: 2px;
3936
+ opacity: 1;
3937
+ transition: all 0.3s;
3938
+ }
3939
+ .condo-tag,
3940
+ .condo-tag a,
3941
+ .condo-tag a:hover {
3942
+ color: rgba(0, 0, 0, 0.85);
3943
+ }
3944
+ .condo-tag > a:first-child:last-child {
3945
+ display: inline-block;
3946
+ margin: 0 -8px;
3947
+ padding: 0 8px;
3948
+ }
3949
+ .condo-tag-close-icon {
3950
+ margin-left: 3px;
3951
+ color: rgba(0, 0, 0, 0.45);
3952
+ font-size: 10px;
3953
+ cursor: pointer;
3954
+ transition: all 0.3s;
3955
+ }
3956
+ .condo-tag-close-icon:hover {
3957
+ color: rgba(0, 0, 0, 0.85);
3958
+ }
3959
+ .condo-tag-has-color {
3960
+ border-color: transparent;
3961
+ }
3962
+ .condo-tag-has-color,
3963
+ .condo-tag-has-color a,
3964
+ .condo-tag-has-color a:hover,
3965
+ .condo-tag-has-color .anticon-close,
3966
+ .condo-tag-has-color .anticon-close:hover {
3967
+ color: #fff;
3968
+ }
3969
+ .condo-tag-checkable {
3970
+ background-color: transparent;
3971
+ border-color: transparent;
3972
+ cursor: pointer;
3973
+ }
3974
+ .condo-tag-checkable:not(.condo-tag-checkable-checked):hover {
3975
+ color: #1890ff;
3976
+ }
3977
+ .condo-tag-checkable:active,
3978
+ .condo-tag-checkable-checked {
3979
+ color: #fff;
3980
+ }
3981
+ .condo-tag-checkable-checked {
3982
+ background-color: #1890ff;
3983
+ }
3984
+ .condo-tag-checkable:active {
3985
+ background-color: #096dd9;
3986
+ }
3987
+ .condo-tag-hidden {
3988
+ display: none;
3989
+ }
3990
+ .condo-tag-pink {
3991
+ color: #c41d7f;
3992
+ background: #fff0f6;
3993
+ border-color: #ffadd2;
3994
+ }
3995
+ .condo-tag-pink-inverse {
3996
+ color: #fff;
3997
+ background: #eb2f96;
3998
+ border-color: #eb2f96;
3999
+ }
4000
+ .condo-tag-magenta {
4001
+ color: #c41d7f;
4002
+ background: #fff0f6;
4003
+ border-color: #ffadd2;
4004
+ }
4005
+ .condo-tag-magenta-inverse {
4006
+ color: #fff;
4007
+ background: #eb2f96;
4008
+ border-color: #eb2f96;
4009
+ }
4010
+ .condo-tag-red {
4011
+ color: #cf1322;
4012
+ background: #fff1f0;
4013
+ border-color: #ffa39e;
4014
+ }
4015
+ .condo-tag-red-inverse {
4016
+ color: #fff;
4017
+ background: #f5222d;
4018
+ border-color: #f5222d;
4019
+ }
4020
+ .condo-tag-volcano {
4021
+ color: #d4380d;
4022
+ background: #fff2e8;
4023
+ border-color: #ffbb96;
4024
+ }
4025
+ .condo-tag-volcano-inverse {
4026
+ color: #fff;
4027
+ background: #fa541c;
4028
+ border-color: #fa541c;
4029
+ }
4030
+ .condo-tag-orange {
4031
+ color: #d46b08;
4032
+ background: #fff7e6;
4033
+ border-color: #ffd591;
4034
+ }
4035
+ .condo-tag-orange-inverse {
4036
+ color: #fff;
4037
+ background: #fa8c16;
4038
+ border-color: #fa8c16;
4039
+ }
4040
+ .condo-tag-yellow {
4041
+ color: #d4b106;
4042
+ background: #feffe6;
4043
+ border-color: #fffb8f;
4044
+ }
4045
+ .condo-tag-yellow-inverse {
4046
+ color: #fff;
4047
+ background: #fadb14;
4048
+ border-color: #fadb14;
4049
+ }
4050
+ .condo-tag-gold {
4051
+ color: #d48806;
4052
+ background: #fffbe6;
4053
+ border-color: #ffe58f;
4054
+ }
4055
+ .condo-tag-gold-inverse {
4056
+ color: #fff;
4057
+ background: #faad14;
4058
+ border-color: #faad14;
4059
+ }
4060
+ .condo-tag-cyan {
4061
+ color: #08979c;
4062
+ background: #e6fffb;
4063
+ border-color: #87e8de;
4064
+ }
4065
+ .condo-tag-cyan-inverse {
4066
+ color: #fff;
4067
+ background: #13c2c2;
4068
+ border-color: #13c2c2;
4069
+ }
4070
+ .condo-tag-lime {
4071
+ color: #7cb305;
4072
+ background: #fcffe6;
4073
+ border-color: #eaff8f;
4074
+ }
4075
+ .condo-tag-lime-inverse {
4076
+ color: #fff;
4077
+ background: #a0d911;
4078
+ border-color: #a0d911;
4079
+ }
4080
+ .condo-tag-green {
4081
+ color: #389e0d;
4082
+ background: #f6ffed;
4083
+ border-color: #b7eb8f;
4084
+ }
4085
+ .condo-tag-green-inverse {
4086
+ color: #fff;
4087
+ background: #52c41a;
4088
+ border-color: #52c41a;
4089
+ }
4090
+ .condo-tag-blue {
4091
+ color: #096dd9;
4092
+ background: #e6f7ff;
4093
+ border-color: #91d5ff;
4094
+ }
4095
+ .condo-tag-blue-inverse {
4096
+ color: #fff;
4097
+ background: #1890ff;
4098
+ border-color: #1890ff;
4099
+ }
4100
+ .condo-tag-geekblue {
4101
+ color: #1d39c4;
4102
+ background: #f0f5ff;
4103
+ border-color: #adc6ff;
4104
+ }
4105
+ .condo-tag-geekblue-inverse {
4106
+ color: #fff;
4107
+ background: #2f54eb;
4108
+ border-color: #2f54eb;
4109
+ }
4110
+ .condo-tag-purple {
4111
+ color: #531dab;
4112
+ background: #f9f0ff;
4113
+ border-color: #d3adf7;
4114
+ }
4115
+ .condo-tag-purple-inverse {
4116
+ color: #fff;
4117
+ background: #722ed1;
4118
+ border-color: #722ed1;
4119
+ }
4120
+ .condo-tag-success {
4121
+ color: #52c41a;
4122
+ background: #f6ffed;
4123
+ border-color: #b7eb8f;
4124
+ }
4125
+ .condo-tag-processing {
4126
+ color: #1890ff;
4127
+ background: #e6f7ff;
4128
+ border-color: #91d5ff;
4129
+ }
4130
+ .condo-tag-error {
4131
+ color: #ff4d4f;
4132
+ background: #fff2f0;
4133
+ border-color: #ffccc7;
4134
+ }
4135
+ .condo-tag-warning {
4136
+ color: #faad14;
4137
+ background: #fffbe6;
4138
+ border-color: #ffe58f;
4139
+ }
4140
+ .condo-tag > .anticon + span,
4141
+ .condo-tag > span + .anticon {
4142
+ margin-left: 7px;
4143
+ }
4144
+ .condo-tag.condo-tag-rtl {
4145
+ margin-right: 0;
4146
+ margin-left: 8px;
4147
+ direction: rtl;
4148
+ text-align: right;
4149
+ }
4150
+ .condo-tag-rtl .condo-tag-close-icon {
4151
+ margin-right: 3px;
4152
+ margin-left: 0;
4153
+ }
4154
+ .condo-tag-rtl.condo-tag > .anticon + span,
4155
+ .condo-tag-rtl.condo-tag > span + .anticon {
4156
+ margin-right: 7px;
4157
+ margin-left: 0;
4158
+ }
4159
+ .condo-tag {
4160
+ font-weight: 600;
4161
+ font-size: 12px;
4162
+ font-family: "Open Sans", sans-serif;
4163
+ line-height: 20px;
4164
+ letter-spacing: -0.01em;
4165
+ margin: 0;
4166
+ padding: 0.17em 0.83em;
4167
+ border: none;
4168
+ border-radius: 12px;
4169
+ }
4170
+