add dynamic tag counts on upload form

This commit is contained in:
Albert Yi
2018-12-03 13:20:09 -08:00
parent 28f32abe24
commit 3893926048
6 changed files with 98 additions and 16 deletions

View File

@@ -44,10 +44,6 @@ article.post-preview {
margin-top: 1em;
}
#open-edit-dialog {
padding: 0;
}
#edit-dialog textarea {
margin-bottom: 0.25em;
}
@@ -57,7 +53,6 @@ article.post-preview {
border: 2px solid transparent;
}
&.post-status-has-children img {
border-color: $preview_has_children_color;
}
@@ -348,6 +343,7 @@ div#c-posts {
}
textarea {
width: 100%;
margin-bottom: 0.25em;
}

View File

@@ -11,3 +11,47 @@ div#c-tags {
}
}
}
#tags-container {
max-width: 70em;
div.header {
margin: 0;
display: grid;
grid-template-columns: 50% 50%;
width: 100%;
label {
grid-column: 1;
}
.options {
grid-column: 2;
justify-self: end;
.count {
color: gray;
text-decoration: italic;
margin-left: 0.25em;
padding-bottom: 0.2em;
}
i {
margin-left: 0.25em;
font-size: 11pt;
}
.fa-frown {
color: red;
}
.fa-meh {
color: darkkhaki;
}
.fa-smile {
color: green;
}
}
}
}

View File

@@ -34,6 +34,7 @@ div#c-uploads {
textarea {
margin-bottom: 0.25em;
width: 100%;
}
.hint {