@open-condo/ui 1.6.0 → 1.7.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
@@ -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 */
@@ -3581,3 +3876,262 @@ span.condo-typography-ellipsis-single-line {
3581
3876
  margin-left: 0;
3582
3877
  }
3583
3878
 
3879
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
3880
+ /* stylelint-disable no-duplicate-selectors */
3881
+ /* stylelint-disable */
3882
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
3883
+ .condo-tag {
3884
+ box-sizing: border-box;
3885
+ margin: 0;
3886
+ padding: 0;
3887
+ color: rgba(0, 0, 0, 0.85);
3888
+ font-size: 14px;
3889
+ font-variant: tabular-nums;
3890
+ line-height: 1.5715;
3891
+ list-style: none;
3892
+ font-feature-settings: 'tnum', "tnum";
3893
+ display: inline-block;
3894
+ height: auto;
3895
+ margin-right: 8px;
3896
+ padding: 0 7px;
3897
+ font-size: 12px;
3898
+ line-height: 20px;
3899
+ white-space: nowrap;
3900
+ background: #fafafa;
3901
+ border: 1px solid #d9d9d9;
3902
+ border-radius: 2px;
3903
+ opacity: 1;
3904
+ transition: all 0.3s;
3905
+ }
3906
+ .condo-tag,
3907
+ .condo-tag a,
3908
+ .condo-tag a:hover {
3909
+ color: rgba(0, 0, 0, 0.85);
3910
+ }
3911
+ .condo-tag > a:first-child:last-child {
3912
+ display: inline-block;
3913
+ margin: 0 -8px;
3914
+ padding: 0 8px;
3915
+ }
3916
+ .condo-tag-close-icon {
3917
+ margin-left: 3px;
3918
+ color: rgba(0, 0, 0, 0.45);
3919
+ font-size: 10px;
3920
+ cursor: pointer;
3921
+ transition: all 0.3s;
3922
+ }
3923
+ .condo-tag-close-icon:hover {
3924
+ color: rgba(0, 0, 0, 0.85);
3925
+ }
3926
+ .condo-tag-has-color {
3927
+ border-color: transparent;
3928
+ }
3929
+ .condo-tag-has-color,
3930
+ .condo-tag-has-color a,
3931
+ .condo-tag-has-color a:hover,
3932
+ .condo-tag-has-color .anticon-close,
3933
+ .condo-tag-has-color .anticon-close:hover {
3934
+ color: #fff;
3935
+ }
3936
+ .condo-tag-checkable {
3937
+ background-color: transparent;
3938
+ border-color: transparent;
3939
+ cursor: pointer;
3940
+ }
3941
+ .condo-tag-checkable:not(.condo-tag-checkable-checked):hover {
3942
+ color: #1890ff;
3943
+ }
3944
+ .condo-tag-checkable:active,
3945
+ .condo-tag-checkable-checked {
3946
+ color: #fff;
3947
+ }
3948
+ .condo-tag-checkable-checked {
3949
+ background-color: #1890ff;
3950
+ }
3951
+ .condo-tag-checkable:active {
3952
+ background-color: #096dd9;
3953
+ }
3954
+ .condo-tag-hidden {
3955
+ display: none;
3956
+ }
3957
+ .condo-tag-pink {
3958
+ color: #c41d7f;
3959
+ background: #fff0f6;
3960
+ border-color: #ffadd2;
3961
+ }
3962
+ .condo-tag-pink-inverse {
3963
+ color: #fff;
3964
+ background: #eb2f96;
3965
+ border-color: #eb2f96;
3966
+ }
3967
+ .condo-tag-magenta {
3968
+ color: #c41d7f;
3969
+ background: #fff0f6;
3970
+ border-color: #ffadd2;
3971
+ }
3972
+ .condo-tag-magenta-inverse {
3973
+ color: #fff;
3974
+ background: #eb2f96;
3975
+ border-color: #eb2f96;
3976
+ }
3977
+ .condo-tag-red {
3978
+ color: #cf1322;
3979
+ background: #fff1f0;
3980
+ border-color: #ffa39e;
3981
+ }
3982
+ .condo-tag-red-inverse {
3983
+ color: #fff;
3984
+ background: #f5222d;
3985
+ border-color: #f5222d;
3986
+ }
3987
+ .condo-tag-volcano {
3988
+ color: #d4380d;
3989
+ background: #fff2e8;
3990
+ border-color: #ffbb96;
3991
+ }
3992
+ .condo-tag-volcano-inverse {
3993
+ color: #fff;
3994
+ background: #fa541c;
3995
+ border-color: #fa541c;
3996
+ }
3997
+ .condo-tag-orange {
3998
+ color: #d46b08;
3999
+ background: #fff7e6;
4000
+ border-color: #ffd591;
4001
+ }
4002
+ .condo-tag-orange-inverse {
4003
+ color: #fff;
4004
+ background: #fa8c16;
4005
+ border-color: #fa8c16;
4006
+ }
4007
+ .condo-tag-yellow {
4008
+ color: #d4b106;
4009
+ background: #feffe6;
4010
+ border-color: #fffb8f;
4011
+ }
4012
+ .condo-tag-yellow-inverse {
4013
+ color: #fff;
4014
+ background: #fadb14;
4015
+ border-color: #fadb14;
4016
+ }
4017
+ .condo-tag-gold {
4018
+ color: #d48806;
4019
+ background: #fffbe6;
4020
+ border-color: #ffe58f;
4021
+ }
4022
+ .condo-tag-gold-inverse {
4023
+ color: #fff;
4024
+ background: #faad14;
4025
+ border-color: #faad14;
4026
+ }
4027
+ .condo-tag-cyan {
4028
+ color: #08979c;
4029
+ background: #e6fffb;
4030
+ border-color: #87e8de;
4031
+ }
4032
+ .condo-tag-cyan-inverse {
4033
+ color: #fff;
4034
+ background: #13c2c2;
4035
+ border-color: #13c2c2;
4036
+ }
4037
+ .condo-tag-lime {
4038
+ color: #7cb305;
4039
+ background: #fcffe6;
4040
+ border-color: #eaff8f;
4041
+ }
4042
+ .condo-tag-lime-inverse {
4043
+ color: #fff;
4044
+ background: #a0d911;
4045
+ border-color: #a0d911;
4046
+ }
4047
+ .condo-tag-green {
4048
+ color: #389e0d;
4049
+ background: #f6ffed;
4050
+ border-color: #b7eb8f;
4051
+ }
4052
+ .condo-tag-green-inverse {
4053
+ color: #fff;
4054
+ background: #52c41a;
4055
+ border-color: #52c41a;
4056
+ }
4057
+ .condo-tag-blue {
4058
+ color: #096dd9;
4059
+ background: #e6f7ff;
4060
+ border-color: #91d5ff;
4061
+ }
4062
+ .condo-tag-blue-inverse {
4063
+ color: #fff;
4064
+ background: #1890ff;
4065
+ border-color: #1890ff;
4066
+ }
4067
+ .condo-tag-geekblue {
4068
+ color: #1d39c4;
4069
+ background: #f0f5ff;
4070
+ border-color: #adc6ff;
4071
+ }
4072
+ .condo-tag-geekblue-inverse {
4073
+ color: #fff;
4074
+ background: #2f54eb;
4075
+ border-color: #2f54eb;
4076
+ }
4077
+ .condo-tag-purple {
4078
+ color: #531dab;
4079
+ background: #f9f0ff;
4080
+ border-color: #d3adf7;
4081
+ }
4082
+ .condo-tag-purple-inverse {
4083
+ color: #fff;
4084
+ background: #722ed1;
4085
+ border-color: #722ed1;
4086
+ }
4087
+ .condo-tag-success {
4088
+ color: #52c41a;
4089
+ background: #f6ffed;
4090
+ border-color: #b7eb8f;
4091
+ }
4092
+ .condo-tag-processing {
4093
+ color: #1890ff;
4094
+ background: #e6f7ff;
4095
+ border-color: #91d5ff;
4096
+ }
4097
+ .condo-tag-error {
4098
+ color: #ff4d4f;
4099
+ background: #fff2f0;
4100
+ border-color: #ffccc7;
4101
+ }
4102
+ .condo-tag-warning {
4103
+ color: #faad14;
4104
+ background: #fffbe6;
4105
+ border-color: #ffe58f;
4106
+ }
4107
+ .condo-tag > .anticon + span,
4108
+ .condo-tag > span + .anticon {
4109
+ margin-left: 7px;
4110
+ }
4111
+ .condo-tag.condo-tag-rtl {
4112
+ margin-right: 0;
4113
+ margin-left: 8px;
4114
+ direction: rtl;
4115
+ text-align: right;
4116
+ }
4117
+ .condo-tag-rtl .condo-tag-close-icon {
4118
+ margin-right: 3px;
4119
+ margin-left: 0;
4120
+ }
4121
+ .condo-tag-rtl.condo-tag > .anticon + span,
4122
+ .condo-tag-rtl.condo-tag > span + .anticon {
4123
+ margin-right: 7px;
4124
+ margin-left: 0;
4125
+ }
4126
+ .condo-tag {
4127
+ font-weight: 600;
4128
+ font-size: 12px;
4129
+ font-family: "Open Sans", sans-serif;
4130
+ line-height: 20px;
4131
+ letter-spacing: -0.01em;
4132
+ margin: 0;
4133
+ padding: 0.17em 0.83em;
4134
+ border: none;
4135
+ border-radius: 12px;
4136
+ }
4137
+