waveterm/frontend/app/element/iconbutton.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;
}
}