2017-03-31 18:21:41 +00:00
|
|
|
/* ==========================================================================
|
|
|
|
Cards
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
main {
|
|
|
|
#content {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-27 20:48:28 +00: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 18:21:41 +00:00
|
|
|
.card {
|
2022-03-13 14:18:03 +00:00
|
|
|
.card-content {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2017-03-31 18:21:41 +00: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 10:32:20 +00:00
|
|
|
.card-stacked .card-content .card-title {
|
2017-05-07 13:07:50 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-03-31 18:21:41 +00: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;
|
|
|
|
background-color: $blueAccentColor;
|
|
|
|
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-content .estimatedTime {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-action {
|
2022-03-13 15:23:20 +00:00
|
|
|
padding: 10px 10px 10px 15px;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
|
|
|
ul.links {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2022-03-13 15:23:20 +00:00
|
|
|
.tool {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 0 !important;
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
|
2019-04-27 20:48:28 +00:00
|
|
|
@include mixin-reading-time;
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-image {
|
|
|
|
height: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-fullimage {
|
|
|
|
height: 13.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sw {
|
|
|
|
max-width: 370px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-13 14:18:03 +00:00
|
|
|
.card-body {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-05-07 15:13:08 +00:00
|
|
|
a.original:not(.waves-effect) {
|
2017-03-31 18:21:41 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-11-25 14:00:08 +00: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 15:44:42 +00:00
|
|
|
.card-entry-labels li,
|
|
|
|
.card-tag-labels li {
|
|
|
|
margin: 10px 10px 10px auto;
|
|
|
|
padding: 5px 12px 5px 16px !important;
|
|
|
|
background-color: $blueAccentColor;
|
2017-12-05 21:57:29 +00:00
|
|
|
border-radius: 3px;
|
2017-05-04 15:44:42 +00:00
|
|
|
color: #fff;
|
|
|
|
cursor: default;
|
2017-12-05 21:44:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-entry-labels li {
|
2017-05-04 15:44:42 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-12-05 21:57:29 +00:00
|
|
|
border-radius: 0 3px 3px 0;
|
2017-12-05 21:44:48 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-labels li {
|
|
|
|
display: flex;
|
2017-05-04 15:44:42 +00:00
|
|
|
}
|
|
|
|
|
2017-03-31 18:21:41 +00: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 21:44:48 +00:00
|
|
|
.card-tag-link {
|
2019-10-01 13:40:04 +00:00
|
|
|
width: calc(100% - 48px);
|
|
|
|
line-height: 1.3;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2017-12-05 21:44:48 +00:00
|
|
|
}
|
|
|
|
|
2018-01-24 16:30:06 +00:00
|
|
|
.card-tag-form {
|
|
|
|
display: flex;
|
|
|
|
min-width: 100px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-form input {
|
|
|
|
margin-bottom: 0;
|
2019-10-01 13:40:04 +00:00
|
|
|
height: 1.8rem;
|
2018-01-24 16:30:06 +00:00
|
|
|
}
|
|
|
|
|
2019-10-01 13:40:04 +00:00
|
|
|
.card-tag-icon {
|
2017-12-05 21:44:48 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-labels {
|
2019-10-01 13:40:04 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
2017-12-05 21:44:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-tag-labels li {
|
|
|
|
margin: 10px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-03-31 18:21:41 +00:00
|
|
|
.card-stacked {
|
2017-05-31 12:34:46 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
2017-03-31 18:21:41 +00:00
|
|
|
|
2017-05-31 12:34:46 +00:00
|
|
|
&:hover ul.tools-list {
|
|
|
|
display: inline;
|
|
|
|
text-align: right;
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
2017-05-29 08:59:30 +00:00
|
|
|
|
2018-11-25 14:00:08 +00:00
|
|
|
.card-preview {
|
2017-05-31 12:34:46 +00:00
|
|
|
max-width: 100px;
|
2018-11-25 14:00:08 +00:00
|
|
|
max-height: 50px;
|
2017-05-31 12:34:46 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.metadata {
|
2019-04-27 20:48:28 +00:00
|
|
|
overflow: hidden;
|
|
|
|
height: 1.5em;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
ul.tags {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2017-05-31 12:34:46 +00:00
|
|
|
.chip {
|
|
|
|
background-color: $blueAccentColor;
|
2018-11-25 14:38:17 +00:00
|
|
|
padding: 0 7px;
|
2019-04-27 20:48:28 +00:00
|
|
|
margin: auto 1px;
|
2017-05-31 18:31:35 +00:00
|
|
|
border-radius: 6px;
|
2018-11-25 14:38:17 +00:00
|
|
|
line-height: 22px;
|
|
|
|
height: 22px;
|
2017-05-31 12:34:46 +00:00
|
|
|
|
|
|
|
a,
|
|
|
|
i {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
i.material-icons {
|
|
|
|
float: right;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 32px;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2017-05-29 08:59:30 +00:00
|
|
|
}
|
2019-04-27 20:48:28 +00:00
|
|
|
|
|
|
|
@include mixin-reading-time {
|
|
|
|
padding: 0 5px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
i.material-icons {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|
2017-05-29 08:59:30 +00:00
|
|
|
}
|
|
|
|
|
2017-05-31 12:34:46 +00:00
|
|
|
div.card-content {
|
|
|
|
flex: 4;
|
2017-05-29 08:59:30 +00:00
|
|
|
}
|
2017-05-31 12:34:46 +00:00
|
|
|
|
|
|
|
ul.tools-list {
|
|
|
|
flex: 1;
|
|
|
|
display: none;
|
|
|
|
flex-basis: 5em;
|
|
|
|
align-self: flex-end;
|
|
|
|
float: right;
|
2021-01-04 08:28:56 +00:00
|
|
|
max-width: 8em;
|
2017-05-31 12:34:46 +00:00
|
|
|
}
|
2017-12-21 16:10:46 +00:00
|
|
|
|
|
|
|
.tags {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-05-31 12:34:46 +00:00
|
|
|
}
|
|
|
|
|
2020-07-13 16:53:39 +00:00
|
|
|
.card.archived,
|
|
|
|
.card-stacked.archived {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2017-05-31 12:34:46 +00:00
|
|
|
#content .collection .collection-item {
|
|
|
|
min-height: 65px;
|
|
|
|
height: auto;
|
2017-03-31 18:21:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.quickstart .card .card-action a,
|
|
|
|
.quickstart .card .card-action a:hover {
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings .div_tabs {
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
2022-03-13 14:18:03 +00:00
|
|
|
|
2022-03-15 12:54:04 +00:00
|
|
|
.entries-row {
|
2022-03-13 14:18:03 +00:00
|
|
|
display: grid;
|
2022-03-15 12:54:04 +00:00
|
|
|
margin: 0.4rem 0 0;
|
|
|
|
padding: 0 0.75rem;
|
2022-03-13 14:18:03 +00:00
|
|
|
gap: 20px;
|
|
|
|
}
|
2022-03-13 15:23:20 +00:00
|
|
|
|
2022-03-15 12:54:04 +00:00
|
|
|
.entry-card {
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-03-13 15:23:20 +00:00
|
|
|
.tools {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
}
|