Fix according to review

This commit is contained in:
Thomas Citharel 2017-05-04 17:44:42 +02:00
parent 18e1da6277
commit 2003ffa97e
7 changed files with 41 additions and 1054 deletions

View file

@ -106,11 +106,11 @@
font-size: 0.8em; font-size: 0.8em;
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
margin: 0 auto;
li { li {
display: inline-flex; display: inline-flex;
vertical-align: middle; vertical-align: middle;
margin: 0 5px;
} }
a { a {
@ -121,7 +121,7 @@
#list { #list {
float: right; float: right;
margin: 0 15px 10px; margin: -5px 15px auto;
} }
.chip { .chip {
@ -133,12 +133,19 @@
i { i {
color: #fff; color: #fff;
} }
i.material-icons {
float: right;
font-size: 20px;
line-height: 32px;
padding-left: 8px;
}
} }
} }
} }
.reader-mode { .reader-mode {
width: 95px !important; width: 70px !important;
transition: width 0.2s ease; transition: width 0.2s ease;
.collapsible-body { .collapsible-body {
@ -150,19 +157,23 @@
opacity: 0; opacity: 0;
transition: opacity 0.2s ease; transition: opacity 0.2s ease;
} }
}
.reader-mode:hover { &:hover {
width: 240px !important; width: 260px !important;
.collapsible-body { .collapsible-body {
height: auto; height: auto;
li a i.material-icons {
margin: auto 5px auto 0;
}
} }
span { span {
opacity: 1; opacity: 1;
} }
} }
}
.progress { .progress {
position: fixed; position: fixed;

View file

@ -114,20 +114,6 @@ main {
} }
} }
.card-entry-labels li,
.card-tag-labels li {
margin: 10px 10px 10px auto;
padding: 5px 12px 5px 16px !important;
background-color: $blueAccentColor;
border-radius: 0 3px 3px 0;
color: #fff;
cursor: default;
max-height: 2em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.card-image { .card-image {
height: 10em; height: 10em;
} }
@ -156,6 +142,20 @@ a.original {
display: block; display: block;
} }
.card-entry-labels li,
.card-tag-labels li {
margin: 10px 10px 10px auto;
padding: 5px 12px 5px 16px !important;
background-color: $blueAccentColor;
border-radius: 0 3px 3px 0;
color: #fff;
cursor: default;
max-height: 2em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.card-entry-tags a, .card-entry-tags a,
.card-entry-labels a, .card-entry-labels a,
.card-tag-labels a, .card-tag-labels a,

View file

@ -111,7 +111,7 @@
a.icon-image { a.icon-image {
background-repeat: no-repeat; background-repeat: no-repeat;
padding-right: 0.4em !important; padding-right: 0.4em !important;
padding-left: 1em !important; padding-left: 0 !important;
margin-left: 25px; margin-left: 25px;
&::before { &::before {
@ -120,7 +120,7 @@ a.icon-image {
width: 24px; width: 24px;
height: 24px; height: 24px;
float: left; float: left;
margin: 0 6px 0 0; margin: 7px 1.5px 0 0;
} }
&.carrot::before { &.carrot::before {

File diff suppressed because it is too large Load diff

View file

@ -10,7 +10,7 @@
} }
a { a {
margin: 0 1rem; margin: 0 auto;
} }
&.fixed a { &.fixed a {

View file

@ -252,7 +252,7 @@
<li id="list"> <li id="list">
{% for tag in entry.tags %} {% for tag in entry.tags %}
<div class="chip"> <div class="chip">
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> <a href="{{ path('remove_tag', { 'entry': entry.id, 'tag': tag.id }) }}"><i class="material-icons">delete</i></a> <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> <a href="{{ path('remove_tag', { 'entry': entry.id, 'tag': tag.id }) }}"><i class="material-icons vertical-align-middle">delete</i></a>
</div> </div>
{% endfor %} {% endfor %}
</li> </li>

File diff suppressed because one or more lines are too long