2017-03-31 20:21:41 +02:00
|
|
|
/* ==========================================================================
|
|
|
|
Cards
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
main {
|
2023-08-13 00:08:39 +02:00
|
|
|
div#content {
|
2017-03-31 20:21:41 +02:00
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-27 22:48:28 +02:00
|
|
|
@mixin mixin-reading-time {
|
|
|
|
.reading-time {
|
|
|
|
display: inline-flex;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
.card-reading-time,
|
|
|
|
.card-created-at {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-31 20:21:41 +02:00
|
|
|
.card {
|
2022-03-13 15:18:03 +01:00
|
|
|
.card-content {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2017-03-31 20:21:41 +02:00
|
|
|
.card-content .card-title,
|
|
|
|
.card-reveal .card-title {
|
|
|
|
line-height: 22.8px;
|
|
|
|
max-height: 80px;
|
|
|
|
font-size: 19px;
|
|
|
|
font-family: roberto, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
2017-05-08 12:32:20 +02:00
|
|
|
.card-stacked .card-content .card-title {
|
2017-05-07 15:07:50 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-03-31 20:21:41 +02:00
|
|
|
.card-content .activator,
|
|
|
|
.card-reveal .activator {
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: "Material Icons";
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-content i.right,
|
|
|
|
.card-reveal i.right {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-content .original {
|
|
|
|
line-height: 24px;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-entry-labels {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
z-index: 90;
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-entry-labels-hidden {
|
|
|
|
margin: 2.5px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-entry-labels-hidden li {
|
|
|
|
display: inline-block;
|
2023-06-06 22:53:56 +02:00
|
|
|
background-color: $blue-accent-color;
|
2017-03-31 20:21:41 +02:00
|
|
|
margin: 0 5px;
|
|
|
|
padding: 5px 12px;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #fff;
|
|
|
|
max-height: 2em;
|
|
|
|
max-width: calc(100% - 15px);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-action {
|
2022-03-13 16:23:20 +01:00
|
|
|
padding: 10px 10px 10px 15px;
|
2017-03-31 20:21:41 +02:00
|
|
|
|
|
|
|
ul.links {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2022-03-13 16:23:20 +01:00
|
|
|
.tool {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 0 !important;
|
2017-03-31 20:21:41 +02:00
|
|
|
}
|
|
|
|
|
2019-04-27 22:48:28 +02:00
|
|
|
@include mixin-reading-time;
|
2017-03-31 20:21:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-image {
|
|
|
|
height: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-fullimage {
|
|
|
|
height: 13.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sw {
|
|
|
|
max-width: 370px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-13 15:18:03 +01:00
|
|
|
.card-body {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-05-07 17:13:08 +02:00
|
|
|
a.original:not(.waves-effect) {
|
2017-03-31 20:21:41 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-11-25 15:00:08 +01:00
|
|
|
.card .card-image .preview,
|
|
|
|
.card .card-fullimage .preview,
|
|
|
|
.card-stacked .preview {
|
|
|
|
height: 100%;
|
|
|
|
background: no-repeat 50%/cover;
|
|
|
|
background-color: #efefef;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&--default {
|
|
|
|
background-size: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-04 17:44:42 +02:00
|
|
|
.card-entry-labels li,
|
|
|
|
.card-tag-labels li {
|
|
|
|
margin: 10px 10px 10px auto;
|
|
|
|
padding: 5px 12px 5px 16px !important;
|
2023-06-06 22:53:56 +02:00
|
|
|
background-color: $blue-accent-color;
|
2017-12-05 22:57:29 +01:00
|
|
|
border-radius: 3px;
|
2017-05-04 17:44:42 +02:00
|
|
|
color: #fff;
|
|
|
|
cursor: default;
|
2022-06-05 20:06:51 +02:00
|
|
|
line-height: 20px;
|
2017-12-05 22:44:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-entry-labels li {
|
2017-05-04 17:44:42 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-12-05 22:57:29 +01:00
|
|
|
border-radius: 0 3px 3px 0;
|
2017-12-05 22:44:48 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-labels li {
|
|
|
|
display: flex;
|
2017-05-04 17:44:42 +02:00
|
|
|
}
|
|
|
|
|
2017-03-31 20:21:41 +02:00
|
|
|
.card-entry-tags a,
|
|
|
|
.card-entry-labels a,
|
|
|
|
.card-tag-labels a,
|
|
|
|
.card-entry-labels-hidden a,
|
|
|
|
#list .chip a {
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2017-12-05 22:44:48 +01:00
|
|
|
.card-tag-link {
|
2022-06-05 20:06:51 +02:00
|
|
|
width: calc(100% - 24px);
|
2019-10-01 15:40:04 +02:00
|
|
|
line-height: 1.3;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2017-12-05 22:44:48 +01:00
|
|
|
}
|
|
|
|
|
2018-01-24 17:30:06 +01:00
|
|
|
.card-tag-form {
|
|
|
|
display: flex;
|
|
|
|
min-width: 100px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-form input {
|
|
|
|
margin-bottom: 0;
|
2019-10-01 15:40:04 +02:00
|
|
|
height: 1.8rem;
|
2018-01-24 17:30:06 +01:00
|
|
|
}
|
|
|
|
|
2019-10-01 15:40:04 +02:00
|
|
|
.card-tag-icon {
|
2017-12-05 22:44:48 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2022-06-15 09:51:17 +02:00
|
|
|
.card-tag-delete {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2017-12-05 22:44:48 +01:00
|
|
|
.card-tag-labels {
|
2019-10-01 15:40:04 +02:00
|
|
|
display: grid;
|
2022-06-05 20:06:51 +02:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
2017-12-05 22:44:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-labels li {
|
|
|
|
margin: 10px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-03-31 20:21:41 +02:00
|
|
|
.card-stacked {
|
2017-05-31 14:34:46 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
2017-03-31 20:21:41 +02:00
|
|
|
|
2017-05-31 14:34:46 +02:00
|
|
|
&:hover ul.tools-list {
|
|
|
|
display: inline;
|
|
|
|
text-align: right;
|
2017-03-31 20:21:41 +02:00
|
|
|
}
|
2017-05-29 10:59:30 +02:00
|
|
|
|
2018-11-25 15:00:08 +01:00
|
|
|
.card-preview {
|
2017-05-31 14:34:46 +02:00
|
|
|
max-width: 100px;
|
2018-11-25 15:00:08 +01:00
|
|
|
max-height: 50px;
|
2017-05-31 14:34:46 +02:00
|
|
|
margin-right: 10px;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.metadata {
|
2019-04-27 22:48:28 +02:00
|
|
|
overflow: hidden;
|
|
|
|
height: 1.5em;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
ul.tags {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2017-05-31 14:34:46 +02:00
|
|
|
.chip {
|
2023-06-06 22:53:56 +02:00
|
|
|
background-color: $blue-accent-color;
|
2018-11-25 15:38:17 +01:00
|
|
|
padding: 0 7px;
|
2019-04-27 22:48:28 +02:00
|
|
|
margin: auto 1px;
|
2017-05-31 20:31:35 +02:00
|
|
|
border-radius: 6px;
|
2018-11-25 15:38:17 +01:00
|
|
|
line-height: 22px;
|
|
|
|
height: 22px;
|
2017-05-31 14:34:46 +02:00
|
|
|
|
|
|
|
a,
|
|
|
|
i {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
i.material-icons {
|
|
|
|
float: right;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 32px;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2017-05-29 10:59:30 +02:00
|
|
|
}
|
2019-04-27 22:48:28 +02:00
|
|
|
|
|
|
|
@include mixin-reading-time {
|
|
|
|
padding: 0 5px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
i.material-icons {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|
2017-05-29 10:59:30 +02:00
|
|
|
}
|
|
|
|
|
2017-05-31 14:34:46 +02:00
|
|
|
div.card-content {
|
|
|
|
flex: 4;
|
2017-05-29 10:59:30 +02:00
|
|
|
}
|
2017-05-31 14:34:46 +02:00
|
|
|
|
|
|
|
ul.tools-list {
|
|
|
|
flex: 1;
|
|
|
|
display: none;
|
|
|
|
flex-basis: 5em;
|
|
|
|
align-self: flex-end;
|
|
|
|
float: right;
|
2021-01-04 09:28:56 +01:00
|
|
|
max-width: 8em;
|
2017-05-31 14:34:46 +02:00
|
|
|
}
|
2017-12-21 17:10:46 +01:00
|
|
|
|
|
|
|
.tags {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-05-31 14:34:46 +02:00
|
|
|
}
|
|
|
|
|
2020-07-13 18:53:39 +02:00
|
|
|
.card.archived,
|
|
|
|
.card-stacked.archived {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2017-05-31 14:34:46 +02:00
|
|
|
#content .collection .collection-item {
|
|
|
|
min-height: 65px;
|
|
|
|
height: auto;
|
2017-03-31 20:21:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.quickstart .card .card-action a,
|
|
|
|
.quickstart .card .card-action a:hover {
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
|
2023-06-06 22:53:56 +02:00
|
|
|
.settings .tabs-container {
|
2017-03-31 20:21:41 +02:00
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
2022-03-13 15:18:03 +01:00
|
|
|
|
2023-06-14 21:08:36 +02:00
|
|
|
.settings .settings-checkbox-col {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings .settings-checkbox-label {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
height: 3rem;
|
|
|
|
}
|
|
|
|
|
2023-07-29 12:26:44 +02:00
|
|
|
.settings .settings-range-label {
|
|
|
|
position: absolute;
|
|
|
|
top: -14px;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
2022-03-15 13:54:04 +01:00
|
|
|
.entries-row {
|
2022-03-13 15:18:03 +01:00
|
|
|
display: grid;
|
2022-03-15 13:54:04 +01:00
|
|
|
margin: 0.4rem 0 0;
|
|
|
|
padding: 0 0.75rem;
|
2022-03-13 15:18:03 +01:00
|
|
|
gap: 20px;
|
|
|
|
}
|
2022-03-13 16:23:20 +01:00
|
|
|
|
2022-03-15 13:54:04 +01:00
|
|
|
.entry-card {
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-03-13 16:23:20 +01:00
|
|
|
.tools {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
}
|