status
This commit is contained in:
parent
d00436ce06
commit
9d524b878a
@ -5,7 +5,7 @@ layout: default
|
|||||||
<article id="note-container" class="w-50 pa3 pr0 relative z-1">
|
<article id="note-container" class="w-50 pa3 pr0 relative z-1">
|
||||||
<div class="container bg-white min-vh-100-header-comp pa3 br4 flex flex-column justify-between">
|
<div class="container bg-white min-vh-100-header-comp pa3 br4 flex flex-column justify-between">
|
||||||
<header>
|
<header>
|
||||||
<div class="note-meta flex f7 lh-copy justify-between code items-center">
|
<div class="note-meta flex f7 lh-copy justify-between code items-center" data-status="{{ page.status }}">
|
||||||
{% if page.date_created %}
|
{% if page.date_created %}
|
||||||
<time class="ml3 flex-auto" datetime="{{ page.date_created | date_to_xmlschema }}">{% if page.type != 'pages' %}
|
<time class="ml3 flex-auto" datetime="{{ page.date_created | date_to_xmlschema }}">{% if page.type != 'pages' %}
|
||||||
Created <br> {{ page.date_created | date: "%B %-d, %Y" }}
|
Created <br> {{ page.date_created | date: "%B %-d, %Y" }}
|
||||||
|
@ -125,11 +125,21 @@
|
|||||||
// Notes inline styles
|
// Notes inline styles
|
||||||
|
|
||||||
.note-meta:before {
|
.note-meta:before {
|
||||||
content: '';
|
content: attr(data-status);
|
||||||
width: 20px;
|
display: flex;
|
||||||
height: 20px;
|
justify-content: center;
|
||||||
|
text-indent: -4px;
|
||||||
|
line-height: 30px;
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
background: var(--active-note);
|
border: 1px solid var(--active-note);
|
||||||
|
}
|
||||||
|
|
||||||
|
@-moz-document url-prefix() {
|
||||||
|
.note-meta:before {
|
||||||
|
text-indent: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.internal-link {
|
.internal-link {
|
||||||
|
Loading…
Reference in New Issue
Block a user