Browse Source

Pull request #2439: feature: 气泡支持品牌色

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '5797666e8c96db0bad849a9d24c2ff813dc33f6d':
  feature: 气泡支持品牌色
es6
guy 3 years ago
parent
commit
0c6074e8fe
  1. 28
      src/less/base/view/popupview.less

28
src/less/base/view/popupview.less

@ -29,48 +29,48 @@
.bi-popup-view[data-popper-placement^='top'] { .bi-popup-view[data-popper-placement^='top'] {
> .bi-bubble-arrow { > .bi-bubble-arrow {
bottom: -10px; bottom: -12px;
> .bubble-arrow { > .bubble-arrow {
bottom: 6px; bottom: 8px;
} }
} }
} }
.bi-popup-view[data-popper-placement^='bottom'] { .bi-popup-view[data-popper-placement^='bottom'] {
> .bi-bubble-arrow { > .bi-bubble-arrow {
top: -10px; top: -12px;
> .bubble-arrow { > .bubble-arrow {
top: 6px; top: 8px;
} }
} }
} }
.bi-popup-view[data-popper-placement^='left'] { .bi-popup-view[data-popper-placement^='left'] {
> .bi-bubble-arrow { > .bi-bubble-arrow {
right: -10px; right: -12px;
> .bubble-arrow { > .bubble-arrow {
right: 6px; right: 8px;
} }
} }
} }
.bi-popup-view[data-popper-placement^='right'] { .bi-popup-view[data-popper-placement^='right'] {
> .bi-bubble-arrow { > .bi-bubble-arrow {
left: -10px; left: -12px;
> .bubble-arrow { > .bubble-arrow {
left: 6px; left: 8px;
} }
} }
} }
.bi-bubble-arrow { .bi-bubble-arrow {
width: 10px; width: 12px;
height: 10px; height: 12px;
overflow: hidden; overflow: hidden;
.bubble-arrow { .bubble-arrow {
width: 10px; width: 12px;
height: 10px; height: 12px;
position: absolute; position: absolute;
&:before { &:before {
width: 10px; width: 12px;
height: 10px; height: 12px;
position: absolute; position: absolute;
content: ""; content: "";
background: @color-bi-background-default; background: @color-bi-background-default;

Loading…
Cancel
Save