mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-01 16:58:15 +00:00
79 lines
1.6 KiB
SCSS
79 lines
1.6 KiB
SCSS
.lowcode-top-icon {
|
|
display: inline-block;
|
|
width: 44px;
|
|
font-size: 20px;
|
|
line-height: 48px;
|
|
color: $color-text1-3;
|
|
position: relative;
|
|
&.disabled {
|
|
cursor: not-allowed;
|
|
color: $color-text1-1;
|
|
&:hover {
|
|
color: $color-text1-1;
|
|
}
|
|
}
|
|
&.active {
|
|
color: $color-brand1-9;
|
|
&:hover {
|
|
color: $color-brand1-6;
|
|
}
|
|
}
|
|
&.locked {
|
|
color: red !important;
|
|
}
|
|
&:hover {
|
|
color: $color-brand1-6;
|
|
&:before {
|
|
content: attr(data-tooltip);
|
|
display: block;
|
|
height: auto;
|
|
width: auto;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
bottom: -32px;
|
|
line-height: 18px;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
padding: 6px 8px;
|
|
border-radius: 4px;
|
|
background: $balloon-normal-color-bg;
|
|
border: 1px solid $balloon-normal-color-border;
|
|
opacity: 0.8;
|
|
color: $color-text1-3;
|
|
z-index: 100;
|
|
}
|
|
&:after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
left: 50%;
|
|
transform: translate(-50%, 0) rotate(45deg);
|
|
bottom: -5px;
|
|
background: $balloon-normal-color-bg;
|
|
border-left: 1px solid $balloon-normal-color-border;
|
|
border-top: 1px solid $balloon-normal-color-border;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
z-index: 100;
|
|
}
|
|
}
|
|
i.next-icon {
|
|
&:before {
|
|
font-size: 16px;
|
|
}
|
|
margin-right: 0;
|
|
line-height: 18px;
|
|
}
|
|
span {
|
|
display: block;
|
|
margin: 0px -5px 0;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
transform: scale(0.8);
|
|
}
|
|
}
|