205 lines
3.8 KiB
CSS
205 lines
3.8 KiB
CSS
:root {
|
|
--lt-minor: #e9b35f;
|
|
--lt-major: #da615c;
|
|
--lt-style: #8981f3;
|
|
}
|
|
|
|
.lt-settings-btn {
|
|
margin-bottom: 5px;
|
|
}
|
|
.lt-settings-grid {
|
|
display: inline-grid;
|
|
}
|
|
|
|
.lt-underline {
|
|
cursor: pointer;
|
|
transition: background-color 100ms ease-out;
|
|
}
|
|
|
|
.lt-underline.lt-minor {
|
|
text-decoration: wavy underline var(--lt-minor);
|
|
-webkit-text-decoration: wavy underline var(--lt-minor);
|
|
&:hover {
|
|
background-color: color-mix(in srgb, var(--lt-minor), transparent 80%);
|
|
}
|
|
}
|
|
|
|
.lt-underline.lt-major {
|
|
text-decoration: wavy underline var(--lt-major);
|
|
-webkit-text-decoration: wavy underline var(--lt-major);
|
|
&:hover {
|
|
background-color: color-mix(in srgb, var(--lt-major), transparent 80%);
|
|
}
|
|
}
|
|
|
|
.lt-underline.lt-style {
|
|
text-decoration: wavy underline var(--lt-style);
|
|
-webkit-text-decoration: wavy underline var(--lt-style);
|
|
&:hover {
|
|
background-color: color-mix(in srgb, var(--lt-style), transparent 80%);
|
|
}
|
|
}
|
|
|
|
@keyframes lineInserted {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.lt-predictions-container.cm-tooltip,
|
|
.lt-predictions-container {
|
|
position: absolute;
|
|
animation-duration: 150ms;
|
|
animation-name: lineInserted;
|
|
font-family: var(--default-font);
|
|
font-size: 0.93rem;
|
|
padding: 12px 0 0;
|
|
background-color: var(--background-primary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
border-radius: 6px;
|
|
width: 300px;
|
|
line-height: 1.5;
|
|
z-index: var(--layer-popover);
|
|
overflow: visible;
|
|
}
|
|
|
|
.lt-predictions-container > button {
|
|
transition-delay: 0.5s;
|
|
}
|
|
|
|
.lt-buttoncontainer {
|
|
&:not(:empty) {
|
|
padding-top: 10px;
|
|
}
|
|
& > button {
|
|
margin-right: 4px;
|
|
margin-bottom: 4px;
|
|
padding: 4px 10px;
|
|
}
|
|
}
|
|
|
|
.lt-title {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.lt-message {
|
|
padding: 0 12px;
|
|
display: block;
|
|
}
|
|
|
|
.lt-bottom {
|
|
min-height: 10px;
|
|
padding: 0 12px;
|
|
position: relative;
|
|
}
|
|
|
|
.lt-info-container {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.lt-info-button {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.lt-info-box {
|
|
position: absolute;
|
|
right: 0;
|
|
animation: lineInserted 150ms;
|
|
font-family: var(--default-font);
|
|
font-size: 0.93rem;
|
|
padding: 12px 0;
|
|
background-color: var(--background-primary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
border-radius: 6px;
|
|
line-height: 1.5;
|
|
z-index: var(--layer-popover);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.lt-info {
|
|
padding: 0 12px;
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
user-select: text;
|
|
}
|
|
|
|
.lt-ignorecontainer {
|
|
display: flex;
|
|
}
|
|
|
|
.lt-status-bar-btn {
|
|
height: 100%;
|
|
display: flex;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
align-items: center;
|
|
}
|
|
|
|
.lt-status-bar-check-icon {
|
|
display: block;
|
|
text-decoration: underline dotted;
|
|
-webkit-text-decoration: underline dotted;
|
|
}
|
|
|
|
.lt-ignore-btn {
|
|
margin: 0;
|
|
padding: 12px;
|
|
display: flex;
|
|
width: 100%;
|
|
text-align: left;
|
|
border-radius: 0;
|
|
align-items: center;
|
|
line-height: 1;
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
& > span {
|
|
display: flex;
|
|
&:last-child {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.lt-minor > .lt-title > span {
|
|
text-decoration: underline 2px var(--lt-minor);
|
|
-webkit-text-decoration: underline 2px var(--lt-minor);
|
|
}
|
|
.lt-major > .lt-title > span {
|
|
text-decoration: underline 2px var(--lt-major);
|
|
-webkit-text-decoration: underline 2px var(--lt-major);
|
|
}
|
|
.lt-style > .lt-title > span {
|
|
text-decoration: underline 2px var(--lt-style);
|
|
-webkit-text-decoration: underline 2px var(--lt-style);
|
|
}
|
|
|
|
.lt-loading > svg {
|
|
animation-name: spin;
|
|
animation-duration: 1s;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|