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/scrollbar';
|
|
|
|
|
|
|
|
.nightMode {
|
|
|
|
@include scrollbar.night-mode;
|
2021-01-28 19:13:39 +01:00
|
|
|
}
|
|
|
|
|
2021-01-26 23:15:11 +01:00
|
|
|
#fields {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2017-07-28 08:19:06 +02:00
|
|
|
.field {
|
2020-08-27 07:57:24 +02:00
|
|
|
border: 1px solid var(--border);
|
|
|
|
background: var(--frame-bg);
|
2020-12-21 03:13:31 +01:00
|
|
|
|
2021-01-28 19:13:39 +01:00
|
|
|
&.dupe {
|
2021-07-05 03:09:22 +02:00
|
|
|
// this works around the background colour persisting in copy+paste
|
|
|
|
// (https://github.com/ankitects/anki/pull/1278)
|
2021-07-04 20:19:26 +02:00
|
|
|
background-image: linear-gradient(var(--flag1-bg), var(--flag1-bg));
|
2020-12-21 03:13:31 +01:00
|
|
|
}
|
2017-07-28 08:19:06 +02:00
|
|
|
}
|
2019-04-16 10:58:59 +02:00
|
|
|
|
2017-07-28 08:19:06 +02:00
|
|
|
.fname {
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-06-12 17:35:40 +02:00
|
|
|
#dupes,
|
2021-06-14 10:21:42 +02:00
|
|
|
#cloze-hint {
|
2021-01-28 19:13:39 +01:00
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
2020-01-23 06:08:10 +01:00
|
|
|
|
2021-01-28 19:13:39 +01:00
|
|
|
text-align: center;
|
2021-04-27 17:20:13 +02:00
|
|
|
background-color: var(--window-bg);
|
2020-01-23 06:08:10 +01:00
|
|
|
|
2021-01-28 19:13:39 +01:00
|
|
|
&.is-inactive {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--link);
|
|
|
|
}
|
2020-02-09 00:20:08 +01:00
|
|
|
}
|
2021-02-27 23:51:20 +01:00
|
|
|
|
2021-03-28 15:45:51 +02:00
|
|
|
.icon > svg {
|
|
|
|
fill: var(--text-fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pin-icon {
|
2021-03-01 15:20:31 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
2021-03-28 15:45:51 +02:00
|
|
|
&.is-inactive {
|
2021-08-03 05:52:57 +02:00
|
|
|
opacity: 0.2;
|
2021-03-01 15:20:31 +01:00
|
|
|
}
|
2021-02-27 23:51:20 +01:00
|
|
|
|
2021-03-28 15:45:51 +02:00
|
|
|
&.icon--hover {
|
2021-03-01 15:20:31 +01:00
|
|
|
opacity: 0.5;
|
2021-02-27 23:51:20 +01:00
|
|
|
}
|
|
|
|
}
|