1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:45:55 +00:00

rework article header to use flexbox

This commit is contained in:
Andrew Dolgov
2018-12-06 16:35:57 +03:00
parent 3bf006abef
commit 26c074ed7e
6 changed files with 122 additions and 128 deletions

View File

@@ -11,6 +11,7 @@ body.ttrss_main {
div.post {
padding : 0px;
font-size : 13px;
div.header {
padding : 5px;
@@ -19,36 +20,45 @@ body.ttrss_main {
border-bottom-width: 1px;
background: #f0f0f0;
div.date {
.left, .right {
display : flex;
}
.row {
display : flex;
margin-bottom : 4px;
flex-wrap : nowrap;
> * {
align-self : center;
}
}
.comments {
flex-grow : 2;
}
.date {
text-align : right;
float : right;
white-space : nowrap;
align-self : flex-start;
}
div {
padding-bottom : 3px;
img, i {
margin : 0px 4px;
vertical-align: middle;
}
span.author {
color : @default-text;
font-size : 11px;
font-weight : normal;
.title {
flex-grow : 2;
align-self : flex-start;
font-size : 15px;
font-weight : 600;
text-rendering: optimizelegibility;
font-family : @fonts-ui-bold;
}
}
div.title {
overflow : hidden;
font-size : 15px;
text-overflow: ellipsis;
white-space : nowrap;
font-weight : 600;
text-rendering: optimizelegibility;
font-family : @fonts-ui-bold;
}
div.date {
padding-left : 10px;
}
div.content {
padding : 10px;
font-size : 16px;
@@ -69,21 +79,6 @@ body.ttrss_main {
max-width : 98%;
}
}
div.postEnclosures {
color : @default-text;
}
img.tagsPic {
width : 16px;
height : 16px;
margin-left : 4px;
vertical-align : middle;
}
span.author {
font-size : 12px;
}
}
div.articleNote {