85 lines
1.8 KiB
SCSS
85 lines
1.8 KiB
SCSS
.settings-button {
|
|
&-container {
|
|
position: relative;
|
|
|
|
.toolbox-icon {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
background-color: #fff;
|
|
border-radius: 50%;
|
|
border: 1px solid #d1dbe8;
|
|
justify-content: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
|
|
&:hover {
|
|
background-color: #daebfa;
|
|
border: 1px solid #daebfa;
|
|
}
|
|
|
|
&.toggled {
|
|
background: #2a3a4b;
|
|
border: 1px solid #5e6d7a;
|
|
|
|
svg {
|
|
fill: #fff;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #5e6d7a;
|
|
}
|
|
}
|
|
|
|
&.disabled, .disabled & {
|
|
cursor: initial;
|
|
color: #fff;
|
|
background-color: #a4b8d1;
|
|
|
|
&:hover {
|
|
background-color: #a4b8d1;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
fill: #5e6d7a;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-small-icon {
|
|
background: #FFF;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
border-radius: 50%;
|
|
bottom: 0;
|
|
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
|
|
cursor: pointer;
|
|
height: 16px;
|
|
position: absolute;
|
|
text-align: center;
|
|
right: 4px;
|
|
width: 16px;
|
|
|
|
&> svg {
|
|
fill: #5e6d7a;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
&--disabled {
|
|
background-color: #a4b8d1;
|
|
cursor: default;
|
|
}
|
|
|
|
&--hovered {
|
|
bottom: -1px;
|
|
height: 20px;
|
|
right: 2px;
|
|
width: 20px;
|
|
|
|
&> svg {
|
|
margin-top: 6px;
|
|
}
|
|
}
|
|
}
|
|
}
|