mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
8a5ef4cb3e
Avoids this: ![image](https://github.com/user-attachments/assets/49b214e4-7dde-4c3a-be5d-0de7afe30dcc)
36 lines
574 B
SCSS
36 lines
574 B
SCSS
.wave-iconbutton {
|
|
display: flex;
|
|
cursor: pointer;
|
|
opacity: 0.7;
|
|
align-items: center;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
font: inherit;
|
|
outline: inherit;
|
|
|
|
&.bulb {
|
|
color: var(--bulb-color);
|
|
opacity: 1;
|
|
|
|
&:hover i::before {
|
|
content: "\f672";
|
|
position: relative;
|
|
left: -1px;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
&.no-action {
|
|
cursor: default;
|
|
}
|
|
|
|
&.disabled {
|
|
cursor: default;
|
|
opacity: 0.45 !important;
|
|
}
|
|
}
|