/* ========================================================================== Cards ========================================================================== */ main { #content { padding: 0 0.5rem; } ul.row { margin: 0.4rem 0 0; padding: 0 0.75rem; } } .data .card .card-body { height: 19em; overflow: hidden; } @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; } } .card { .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; } .card-stacked .card-content .card-title { display: inline-block; } .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 { padding: 10px 5px 10px 15px; ul.links { margin: 0; font-size: 24px; line-height: 24px; } a { color: #fff; margin: 0; } a:hover { color: #fff; } ul.tools li a.tool { margin-right: 5px !important; } @include mixin-reading-time; } .card-image { height: 10em; } .card-fullimage { height: 13.5em; } &.sw { max-width: 370px; margin-left: auto; margin-right: auto; } } a.original:not(.waves-effect) { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block; } .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; } } .card-entry-labels li, .card-tag-labels li { margin: 10px 10px 10px auto; padding: 5px 12px 5px 16px !important; background-color: $blueAccentColor; border-radius: 3px; color: #fff; cursor: default; } .card-entry-labels li { text-overflow: ellipsis; white-space: nowrap; border-radius: 0 3px 3px 0; overflow: hidden; } .card-tag-labels li { display: flex; } .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; } .card-tag-link { width: calc(100% - 48px); line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .card-tag-form { display: flex; min-width: 100px; flex-grow: 1; } .card-tag-form input { margin-bottom: 0; height: 1.8rem; } .card-tag-icon { display: flex; } .card-tag-labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .card-tag-labels li { margin: 10px; align-items: center; } .card-stacked { display: flex; flex-flow: row wrap; &:hover ul.tools-list { display: inline; text-align: right; } .card-preview { max-width: 100px; max-height: 50px; margin-right: 10px; flex: 1; } div.metadata { overflow: hidden; height: 1.5em; display: flex; ul.tags { margin-left: 4px; } .chip { background-color: $blueAccentColor; padding: 0 7px; margin: auto 1px; border-radius: 6px; line-height: 22px; height: 22px; a, i { color: #fff; } i.material-icons { float: right; font-size: 20px; line-height: 32px; padding-left: 8px; } } @include mixin-reading-time { padding: 0 5px; flex-wrap: wrap; margin-left: auto; i.material-icons { font-size: 20px; } } } div.card-content { flex: 4; } ul.tools-list { flex: 1; display: none; flex-basis: 5em; align-self: flex-end; float: right; max-width: 6em; } .tags { display: inline-block; } } #content .collection .collection-item { min-height: 65px; height: auto; } .quickstart .card .card-action a, .quickstart .card .card-action a:hover { color: #fff !important; } .settings .div_tabs { padding-bottom: 15px; }