anki/ts/editor/editor.scss

63 lines
910 B
SCSS
Raw Normal View History

2019-02-05 04:59:03 +01:00
/* Copyright: Ankitects Pty Ltd and contributors
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
2021-04-13 16:15:40 +02:00
@use 'ts/sass/base';
@use 'ts/sass/buttons';
@use 'ts/sass/scrollbar';
.nightMode {
@include scrollbar.night-mode;
}
2021-01-26 23:15:11 +01:00
#fields {
display: flex;
flex-direction: column;
margin: 5px;
}
.field {
border: 1px solid var(--border);
background: var(--frame-bg);
&.dupe {
background: var(--flag1-bg);
}
}
.fname {
vertical-align: middle;
padding: 0;
}
#dupes {
position: sticky;
bottom: 0;
text-align: center;
background-color: var(--bg-color);
&.is-inactive {
display: none;
}
a {
color: var(--link);
}
}
2021-02-27 23:51:20 +01:00
2021-03-28 15:45:51 +02:00
.icon > svg {
fill: var(--text-fg);
}
.pin-icon {
cursor: pointer;
2021-03-28 15:45:51 +02:00
&.is-inactive {
opacity: 0.1;
}
2021-02-27 23:51:20 +01:00
2021-03-28 15:45:51 +02:00
&.icon--hover {
opacity: 0.5;
2021-02-27 23:51:20 +01:00
}
}