@kdcloudjs/kdesign 1.7.48-usePopper.1 → 1.7.49

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.
@@ -8824,110 +8824,6 @@ textarea {
8824
8824
  @popconfirm-border-radius: var(~'@{popconfirm-custom-prefix}-radius-border', @radius-border);
8825
8825
 
8826
8826
 
8827
- //
8828
-
8829
- @popper-prefix-cls: ~'@{kd-prefix}-popper';
8830
-
8831
- .@{popper-prefix-cls} {
8832
- opacity: 1;
8833
- z-index: @z-index-popper;
8834
- visibility: visible;
8835
-
8836
- &.hidden {
8837
- opacity: 0;
8838
- visibility: hidden;
8839
- transition: all calc(@transition-duration - 0.1s);
8840
- pointer-events: none;
8841
- }
8842
-
8843
- &-content {
8844
- .arrow {
8845
- visibility: hidden;
8846
-
8847
- &::before {
8848
- visibility: visible;
8849
- position: absolute;
8850
- border-style: solid;
8851
- border-width: var(--arrowSize);
8852
- content: '';
8853
- transform: rotate(45deg);
8854
- }
8855
- }
8856
- }
8857
-
8858
- &[data-popper-placement^='top'] .arrow {
8859
- bottom: var(--arrowSize);
8860
-
8861
- &::before {
8862
- left: calc(-1 * var(--arrowSize));
8863
- border-top-color: transparent;
8864
- border-left-color: transparent;
8865
- }
8866
- }
8867
-
8868
- &[data-popper-placement^='bottom'] .arrow {
8869
- top: calc(-1 * var(--arrowSize));
8870
-
8871
- &::before {
8872
- left: calc(-1 * var(--arrowSize));
8873
- border-bottom-color: transparent;
8874
- border-right-color: transparent;
8875
- }
8876
- }
8877
-
8878
- &[data-popper-placement^='left'] .arrow {
8879
- right: var(--arrowSize);
8880
-
8881
- &::before {
8882
- top: calc(-1 * var(--arrowSize));
8883
- border-left-color: transparent;
8884
- border-bottom-color: transparent;
8885
- }
8886
- }
8887
-
8888
- &[data-popper-placement^='right'] .arrow {
8889
- left: calc(-1 * var(--arrowSize));
8890
-
8891
- &::before {
8892
- top: calc(-1 * var(--arrowSize));
8893
- border-top-color: transparent;
8894
- border-right-color: transparent;
8895
- }
8896
- }
8897
- }
8898
-
8899
- .popper-motion(@className, @keyframeName, @duration: calc(@transition-duration - 0.1s)) {
8900
- .@{className} {
8901
- animation-duration: @duration;
8902
-
8903
- &-in {
8904
- animation-name: ~'@{keyframeName}In';
8905
- animation-timing-function: @ease-out;
8906
- }
8907
-
8908
- &-out {
8909
- animation-name: ~'@{keyframeName}Out';
8910
- animation-timing-function: @ease-in;
8911
- }
8912
- }
8913
- }
8914
-
8915
- .popper-motion(~'@{popper-prefix-cls}-top', kdZoomBottom);
8916
- .popper-motion(~'@{popper-prefix-cls}-left', kdZoomRight);
8917
- .popper-motion(~'@{popper-prefix-cls}-right', kdZoomLeft);
8918
- .popper-motion(~'@{popper-prefix-cls}-bottom', kdZoomTop);
8919
- .popper-motion(~'@{popper-prefix-cls}-top-start', kdZoomLeftBottom);
8920
- .popper-motion(~'@{popper-prefix-cls}-rightBottom', kdZoomLeftBottom);
8921
- .popper-motion(~'@{popper-prefix-cls}-top-end', kdZoomRightBottom);
8922
- .popper-motion(~'@{popper-prefix-cls}-left-end', kdZoomRightBottom);
8923
- .popper-motion(~'@{popper-prefix-cls}-left-start', kdZoomTopRight);
8924
- .popper-motion(~'@{popper-prefix-cls}-bottom-end', kdZoomTopRight);
8925
- .popper-motion(~'@{popper-prefix-cls}-right-start', kdZoomTopLeft);
8926
- .popper-motion(~'@{popper-prefix-cls}-bottom-start', kdZoomTopLeft);
8927
-
8928
-
8929
-
8930
-
8931
8827
  @progress-prefix-cls: ~'@{kd-prefix}-progress';
8932
8828
 
8933
8829
  .@{progress-prefix-cls} {
@@ -14996,10 +14892,17 @@ template {
14996
14892
  line-height: 1.5;
14997
14893
  background-color: @tooltip-background-color;
14998
14894
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
14895
+ opacity: 1;
14896
+ z-index: @z-index-popper;
14897
+ visibility: visible;
14999
14898
 
15000
- .arrow::before {
15001
- border-color: @tooltip-background-color;
14899
+ &.hidden {
14900
+ opacity: 0;
14901
+ visibility: hidden;
15002
14902
  }
14903
+
14904
+ // 箭头样式
14905
+ .popperArrow(@tooltip-background-color, @tooltip-horizontal-gap, @tooltip-box-shadow-blur);
15003
14906
  }
15004
14907
 
15005
14908
 
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.47
3
+ * @kdcloudjs/kdesign v1.7.48
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -13947,363 +13947,6 @@ textarea {
13947
13947
  普通组件内部自身层级应设置在0-100间
13948
13948
  */
13949
13949
  /* ----------- zIndex ——————---- end */
13950
- /* 多行显示省略号 */
13951
- /* 单行显示省略号 */
13952
- /** 浮层箭头样式 **/
13953
- .kd-popper {
13954
- opacity: 1;
13955
- z-index: var(--kd-g-z-index-popper, 1050);
13956
- visibility: visible;
13957
- }
13958
- .kd-popper.hidden {
13959
- opacity: 0;
13960
- visibility: hidden;
13961
- -webkit-transition: all calc(0.3s - 0.1s);
13962
- transition: all calc(0.3s - 0.1s);
13963
- pointer-events: none;
13964
- }
13965
- .kd-popper-content .arrow {
13966
- visibility: hidden;
13967
- }
13968
- .kd-popper-content .arrow::before {
13969
- visibility: visible;
13970
- position: absolute;
13971
- border-style: solid;
13972
- border-width: var(--arrowSize);
13973
- content: '';
13974
- -webkit-transform: rotate(45deg);
13975
- transform: rotate(45deg);
13976
- }
13977
- .kd-popper[data-popper-placement^='top'] .arrow {
13978
- bottom: var(--arrowSize);
13979
- }
13980
- .kd-popper[data-popper-placement^='top'] .arrow::before {
13981
- left: calc(-1 * var(--arrowSize));
13982
- border-top-color: transparent;
13983
- border-left-color: transparent;
13984
- }
13985
- .kd-popper[data-popper-placement^='bottom'] .arrow {
13986
- top: calc(-1 * var(--arrowSize));
13987
- }
13988
- .kd-popper[data-popper-placement^='bottom'] .arrow::before {
13989
- left: calc(-1 * var(--arrowSize));
13990
- border-bottom-color: transparent;
13991
- border-right-color: transparent;
13992
- }
13993
- .kd-popper[data-popper-placement^='left'] .arrow {
13994
- right: var(--arrowSize);
13995
- }
13996
- .kd-popper[data-popper-placement^='left'] .arrow::before {
13997
- top: calc(-1 * var(--arrowSize));
13998
- border-left-color: transparent;
13999
- border-bottom-color: transparent;
14000
- }
14001
- .kd-popper[data-popper-placement^='right'] .arrow {
14002
- left: calc(-1 * var(--arrowSize));
14003
- }
14004
- .kd-popper[data-popper-placement^='right'] .arrow::before {
14005
- top: calc(-1 * var(--arrowSize));
14006
- border-top-color: transparent;
14007
- border-right-color: transparent;
14008
- }
14009
- .kd-popper-top {
14010
- -webkit-animation-duration: calc(0.3s - 0.1s);
14011
- animation-duration: calc(0.3s - 0.1s);
14012
- }
14013
- .kd-popper-top-in {
14014
- -webkit-animation-name: kdZoomBottomIn;
14015
- animation-name: kdZoomBottomIn;
14016
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14017
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14018
- }
14019
- .kd-popper-top-out {
14020
- -webkit-animation-name: kdZoomBottomOut;
14021
- animation-name: kdZoomBottomOut;
14022
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14023
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14024
- }
14025
- .kd-popper-left {
14026
- -webkit-animation-duration: calc(0.3s - 0.1s);
14027
- animation-duration: calc(0.3s - 0.1s);
14028
- }
14029
- .kd-popper-left-in {
14030
- -webkit-animation-name: kdZoomRightIn;
14031
- animation-name: kdZoomRightIn;
14032
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14033
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14034
- }
14035
- .kd-popper-left-out {
14036
- -webkit-animation-name: kdZoomRightOut;
14037
- animation-name: kdZoomRightOut;
14038
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14039
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14040
- }
14041
- .kd-popper-right {
14042
- -webkit-animation-duration: calc(0.3s - 0.1s);
14043
- animation-duration: calc(0.3s - 0.1s);
14044
- }
14045
- .kd-popper-right-in {
14046
- -webkit-animation-name: kdZoomLeftIn;
14047
- animation-name: kdZoomLeftIn;
14048
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14049
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14050
- }
14051
- .kd-popper-right-out {
14052
- -webkit-animation-name: kdZoomLeftOut;
14053
- animation-name: kdZoomLeftOut;
14054
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14055
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14056
- }
14057
- .kd-popper-bottom {
14058
- -webkit-animation-duration: calc(0.3s - 0.1s);
14059
- animation-duration: calc(0.3s - 0.1s);
14060
- }
14061
- .kd-popper-bottom-in {
14062
- -webkit-animation-name: kdZoomTopIn;
14063
- animation-name: kdZoomTopIn;
14064
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14065
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14066
- }
14067
- .kd-popper-bottom-out {
14068
- -webkit-animation-name: kdZoomTopOut;
14069
- animation-name: kdZoomTopOut;
14070
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14071
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14072
- }
14073
- .kd-popper-top-start {
14074
- -webkit-animation-duration: calc(0.3s - 0.1s);
14075
- animation-duration: calc(0.3s - 0.1s);
14076
- }
14077
- .kd-popper-top-start-in {
14078
- -webkit-animation-name: kdZoomLeftBottomIn;
14079
- animation-name: kdZoomLeftBottomIn;
14080
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14081
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14082
- }
14083
- .kd-popper-top-start-out {
14084
- -webkit-animation-name: kdZoomLeftBottomOut;
14085
- animation-name: kdZoomLeftBottomOut;
14086
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14087
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14088
- }
14089
- .kd-popper-rightBottom {
14090
- -webkit-animation-duration: calc(0.3s - 0.1s);
14091
- animation-duration: calc(0.3s - 0.1s);
14092
- }
14093
- .kd-popper-rightBottom-in {
14094
- -webkit-animation-name: kdZoomLeftBottomIn;
14095
- animation-name: kdZoomLeftBottomIn;
14096
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14097
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14098
- }
14099
- .kd-popper-rightBottom-out {
14100
- -webkit-animation-name: kdZoomLeftBottomOut;
14101
- animation-name: kdZoomLeftBottomOut;
14102
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14103
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14104
- }
14105
- .kd-popper-top-end {
14106
- -webkit-animation-duration: calc(0.3s - 0.1s);
14107
- animation-duration: calc(0.3s - 0.1s);
14108
- }
14109
- .kd-popper-top-end-in {
14110
- -webkit-animation-name: kdZoomRightBottomIn;
14111
- animation-name: kdZoomRightBottomIn;
14112
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14113
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14114
- }
14115
- .kd-popper-top-end-out {
14116
- -webkit-animation-name: kdZoomRightBottomOut;
14117
- animation-name: kdZoomRightBottomOut;
14118
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14119
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14120
- }
14121
- .kd-popper-left-end {
14122
- -webkit-animation-duration: calc(0.3s - 0.1s);
14123
- animation-duration: calc(0.3s - 0.1s);
14124
- }
14125
- .kd-popper-left-end-in {
14126
- -webkit-animation-name: kdZoomRightBottomIn;
14127
- animation-name: kdZoomRightBottomIn;
14128
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14129
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14130
- }
14131
- .kd-popper-left-end-out {
14132
- -webkit-animation-name: kdZoomRightBottomOut;
14133
- animation-name: kdZoomRightBottomOut;
14134
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14135
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14136
- }
14137
- .kd-popper-left-start {
14138
- -webkit-animation-duration: calc(0.3s - 0.1s);
14139
- animation-duration: calc(0.3s - 0.1s);
14140
- }
14141
- .kd-popper-left-start-in {
14142
- -webkit-animation-name: kdZoomTopRightIn;
14143
- animation-name: kdZoomTopRightIn;
14144
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14145
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14146
- }
14147
- .kd-popper-left-start-out {
14148
- -webkit-animation-name: kdZoomTopRightOut;
14149
- animation-name: kdZoomTopRightOut;
14150
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14151
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14152
- }
14153
- .kd-popper-bottom-end {
14154
- -webkit-animation-duration: calc(0.3s - 0.1s);
14155
- animation-duration: calc(0.3s - 0.1s);
14156
- }
14157
- .kd-popper-bottom-end-in {
14158
- -webkit-animation-name: kdZoomTopRightIn;
14159
- animation-name: kdZoomTopRightIn;
14160
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14161
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14162
- }
14163
- .kd-popper-bottom-end-out {
14164
- -webkit-animation-name: kdZoomTopRightOut;
14165
- animation-name: kdZoomTopRightOut;
14166
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14167
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14168
- }
14169
- .kd-popper-right-start {
14170
- -webkit-animation-duration: calc(0.3s - 0.1s);
14171
- animation-duration: calc(0.3s - 0.1s);
14172
- }
14173
- .kd-popper-right-start-in {
14174
- -webkit-animation-name: kdZoomTopLeftIn;
14175
- animation-name: kdZoomTopLeftIn;
14176
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14177
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14178
- }
14179
- .kd-popper-right-start-out {
14180
- -webkit-animation-name: kdZoomTopLeftOut;
14181
- animation-name: kdZoomTopLeftOut;
14182
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14183
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14184
- }
14185
- .kd-popper-bottom-start {
14186
- -webkit-animation-duration: calc(0.3s - 0.1s);
14187
- animation-duration: calc(0.3s - 0.1s);
14188
- }
14189
- .kd-popper-bottom-start-in {
14190
- -webkit-animation-name: kdZoomTopLeftIn;
14191
- animation-name: kdZoomTopLeftIn;
14192
- -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14193
- animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
14194
- }
14195
- .kd-popper-bottom-start-out {
14196
- -webkit-animation-name: kdZoomTopLeftOut;
14197
- animation-name: kdZoomTopLeftOut;
14198
- -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14199
- animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
14200
- }
14201
-
14202
- /* ----------- color ——————---- start */
14203
- /* ----------- color ——————---- end */
14204
- /* ----------- motion ——————---- start */
14205
- /* ----------- motion ——————---- end */
14206
- /* ----------- transition ——————---- start */
14207
- /* ----------- transition ——————---- end */
14208
- /* ----------- font ——————---- start */
14209
- /* ----------- font ——————---- end */
14210
- /* ----------- zIndex ——————---- start */
14211
- /*
14212
- 普通组件内部自身层级应设置在0-100间
14213
- */
14214
- /* ----------- zIndex ——————---- end */
14215
- /* ----------- Button ——————---- start */
14216
- /* ----------- Button ——————---- end */
14217
- /* ----------- Collapse ——————---- start */
14218
- /* ----------- Collapse ——————---- end */
14219
- /* ----------- Card ——————---- start */
14220
- /* ----------- Card ——————---- end */
14221
- /* ----------- Carousel ——————---- start */
14222
- /* ----------- Carousel ——————---- end */
14223
- /* ----------- Cascader ——————---- start */
14224
- /* ----------- Cascader ——————---- end */
14225
- /* ----------- Switch ——————---- start */
14226
- /* ----------- Switch ——————---- end */
14227
- /* ----------- Input ——————---- start */
14228
- /* ----------- Input ——————---- end */
14229
- /* ----------- InputNumber ——————---- start */
14230
- /* ----------- InputNumber ——————---- end */
14231
- /* ----------- checkbox ——————---- start */
14232
- /* ----------- checkbox ——————---- start */
14233
- /* ----------- checkbox ——————---- end */
14234
- /* ----------- Radio ——————---- start */
14235
- /* ----------- Radio ——————---- end */
14236
- /* ----------- icon ——————---- start */
14237
- /* ----------- icon ——————---- end */
14238
- /* ----------- Popconfirm ——————---- start */
14239
- /* ----------- Popconfirm ——————---- end */
14240
- /* ----------- Progress ——————---- start */
14241
- /* ----------- Progress ——————---- end */
14242
- /* ----------- Pagination ——————---- start */
14243
- /* ----------- Pagination ——————---- end */
14244
- /* ----------- Timeline ——————---- start */
14245
- /* ----------- Timeline ——————---- end */
14246
- /* ----------- Tabs ——————---- start */
14247
- /* ----------- Tabs ——————---- end */
14248
- /* ----------- Select ——————---- start */
14249
- /* ----------- Select ——————---- end */
14250
- /* ----------- Rate ——————---- start */
14251
- /* ----------- Rate ——————---- end */
14252
- /* ----------- Dropdown ——————---- start */
14253
- /* ----------- Dropdown ——————---- end */
14254
- /* ----------- Tooltip ——————---- start */
14255
- /* ----------- Tooltip ——————---- end */
14256
- /* ----------- Transfer ——————---- start */
14257
- /* ----------- Transfer ——————---- end */
14258
- /* ----------- DatePicker ——————---- start */
14259
- /* ----------- DatePicker ——————---- end */
14260
- /* ----------- ColorPicker ——————---- start */
14261
- /* ----------- ColorPicker ——————---- end */
14262
- /* ----------- Tree ——————---- start */
14263
- /* ----------- Tree ——————---- end */
14264
- /* ----------- Alert ——————---- start */
14265
- /* ----------- Alert ——————---- end */
14266
- /* ----------- Split-Panel ——————---- start */
14267
- /* ----------- Split-Panel ——————---- end */
14268
- /* ----------- Modal ——————---- start */
14269
- /* ----------- Modal ——————---- end */
14270
- /* ----------- Steps ——————---- start */
14271
- /* ----------- Steps ——————---- end */
14272
- /* ----------- Form ——————---- start */
14273
- /* ----------- Form ——————---- end */
14274
- /* ----------- Tag ——————---- start */
14275
- /* ----------- Tag ——————---- end */
14276
- /* ----------- Menu ——————---- start */
14277
- /* ----------- Menu ——————---- end */
14278
- /* ----------- notice ——————---- start */
14279
- /* ----------- message ——————---- end */
14280
- /* ----------- Spin ——————---- start */
14281
- /* ----------- Spin ——————---- end */
14282
- /* ----------- Spin ——————---- start */
14283
- /* ----------- Spin ——————---- end */
14284
- /* ----------- Layout ——————---- start */
14285
- /* ----------- Layout ——————---- end */
14286
- /* ----------- Typography ——————---- start */
14287
- /* ----------- Typography ——————---- start */
14288
- /* ----------- Search ——————---- start */
14289
- /* ----------- Search ——————---- start */
14290
- /* ----------- Badge ——————---- start */
14291
- /* ----------- Badge ——————---- end */
14292
- /* ----------- Anchor ——————---- start */
14293
- /* ----------- Anchor ——————---- end */
14294
- /* ----------- Avatar ——————---- start */
14295
- /* ----------- Avatar ——————---- end */
14296
- /* ----------- AdvancedSelector ——————---- start */
14297
- /* ----------- AdvancedSelector ——————---- end */
14298
- /* ----------- motion ——————---- start */
14299
- /* ----------- motion ——————---- end */
14300
- /* ----------- transition ——————---- start */
14301
- /* ----------- transition ——————---- end */
14302
- /* ----------- zIndex ——————---- start */
14303
- /*
14304
- 普通组件内部自身层级应设置在0-100间
14305
- */
14306
- /* ----------- zIndex ——————---- end */
14307
13950
  .kd-progress {
14308
13951
  display: inline-block;
14309
13952
  font-variant: tabular-nums;
@@ -20238,9 +19881,70 @@ textarea {
20238
19881
  background-color: var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff));
20239
19882
  -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
20240
19883
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
19884
+ opacity: 1;
19885
+ z-index: var(--kd-g-z-index-popper, 1050);
19886
+ visibility: visible;
19887
+ }
19888
+ .kd-tooltip.hidden {
19889
+ opacity: 0;
19890
+ visibility: hidden;
19891
+ }
19892
+ .kd-tooltip.arrow::before {
19893
+ position: absolute;
19894
+ z-index: -2;
19895
+ background: var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff));
19896
+ border-style: solid;
19897
+ border-width: var(--arrowSize);
19898
+ -webkit-transform: rotate(45deg);
19899
+ transform: rotate(45deg);
19900
+ content: '';
20241
19901
  }
20242
- .kd-tooltip .arrow::before {
20243
- border-color: var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff));
19902
+ .kd-tooltip.arrow::after {
19903
+ position: absolute;
19904
+ z-index: -1;
19905
+ top: 0;
19906
+ right: 0;
19907
+ bottom: 0;
19908
+ left: 0;
19909
+ content: '';
19910
+ background: var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff));
19911
+ border-radius: var(--kd-g-radius-border, 2px);
19912
+ }
19913
+ .kd-tooltip.arrow.bottomLeft::before,
19914
+ .kd-tooltip.arrow.bottom::before,
19915
+ .kd-tooltip.arrow.bottomRight::before {
19916
+ left: var(--arrowLeft);
19917
+ top: var(--arrowSpill);
19918
+ -webkit-box-shadow: -2px -2px calc(6px - 1px) rgba(0, 0, 0, 0.1);
19919
+ box-shadow: -2px -2px calc(6px - 1px) rgba(0, 0, 0, 0.1);
19920
+ border-color: var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff)) transparent transparent var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff));
19921
+ }
19922
+ .kd-tooltip.arrow.topLeft::before,
19923
+ .kd-tooltip.arrow.top::before,
19924
+ .kd-tooltip.arrow.topRight::before {
19925
+ left: var(--arrowLeft);
19926
+ bottom: var(--arrowSpill);
19927
+ -webkit-box-shadow: 3px 3px calc(6px + 1px) rgba(0, 0, 0, 0.15);
19928
+ box-shadow: 3px 3px calc(6px + 1px) rgba(0, 0, 0, 0.15);
19929
+ border-color: transparent var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff)) var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff)) transparent;
19930
+ }
19931
+ .kd-tooltip.arrow.leftTop::before,
19932
+ .kd-tooltip.arrow.left::before,
19933
+ .kd-tooltip.arrow.leftBottom::before {
19934
+ top: var(--arrowTop);
19935
+ right: var(--arrowSpill);
19936
+ -webkit-box-shadow: 3px 0 6px rgba(0, 0, 0, 0.12), 0 -2px 6px rgba(204, 149, 149, 0.12);
19937
+ box-shadow: 3px 0 6px rgba(0, 0, 0, 0.12), 0 -2px 6px rgba(204, 149, 149, 0.12);
19938
+ border-color: var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff)) var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff)) transparent transparent;
19939
+ }
19940
+ .kd-tooltip.arrow.rightTop::before,
19941
+ .kd-tooltip.arrow.right::before,
19942
+ .kd-tooltip.arrow.rightBottom::before {
19943
+ top: var(--arrowTop);
19944
+ left: var(--arrowSpill);
19945
+ -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), -2px 0 6px rgba(0, 0, 0, 0.1);
19946
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), -2px 0 6px rgba(0, 0, 0, 0.1);
19947
+ border-color: transparent transparent var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff)) var(--kd-c-tooltip-color-background, var(--kd-g-color-background, #fff));
20244
19948
  }
20245
19949
 
20246
19950
  /* ----------- color ——————---- start */