49 lines
944 B
SCSS
49 lines
944 B
SCSS
.o_fts_theme_toggle {
|
|
align-items: center;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
color: #4b5563;
|
|
display: flex;
|
|
height: 20px;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
margin: 0 4px;
|
|
padding: 0;
|
|
align-self: center;
|
|
transition: background-color 120ms ease, color 120ms ease, opacity 120ms ease;
|
|
width: 24px;
|
|
|
|
&:hover,
|
|
&:focus-visible {
|
|
background-color: rgba(0, 0, 0, 0.08);
|
|
color: #111827;
|
|
outline: none;
|
|
}
|
|
|
|
&:focus-visible {
|
|
box-shadow: 0 0 0 2px rgba(113, 75, 103, 0.35);
|
|
}
|
|
|
|
.fa {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
.o_fts_theme_toggle_dark {
|
|
color: #fbbf24;
|
|
|
|
&:hover,
|
|
&:focus-visible {
|
|
background-color: rgba(255, 255, 255, 0.12);
|
|
color: #fde68a;
|
|
}
|
|
}
|
|
|
|
.o_fts_theme_toggle_loading {
|
|
cursor: wait;
|
|
opacity: 0.7;
|
|
}
|