mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
css cleanup, combined mode, fonts
This commit is contained in:
+190
-197
@@ -3,12 +3,6 @@
|
||||
color : @color-icon;
|
||||
}*/
|
||||
|
||||
.header {
|
||||
position: sticky;
|
||||
top : 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.header, .footer {
|
||||
display : flex;
|
||||
flex-direction : row;
|
||||
@@ -17,7 +11,7 @@
|
||||
|
||||
.header img, .footer img,
|
||||
.footer i.material-icons {
|
||||
margin : 0px 4px;
|
||||
margin : 0 4px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@@ -26,6 +20,9 @@
|
||||
}
|
||||
|
||||
.header {
|
||||
position: sticky;
|
||||
top : 0;
|
||||
z-index: 3;
|
||||
align-items : center;
|
||||
|
||||
> * {
|
||||
@@ -50,16 +47,43 @@
|
||||
flex-grow : 2;
|
||||
}
|
||||
|
||||
span.updated {
|
||||
.updated {
|
||||
color : @default-text;
|
||||
font-weight : normal;
|
||||
font-size : 11px;
|
||||
font-size : @font-size-small;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
input {
|
||||
margin : 0px 4px;
|
||||
}
|
||||
|
||||
.feed {
|
||||
float: right;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
|
||||
a {
|
||||
border-radius : 4px;
|
||||
display : inline-block;
|
||||
padding : 1px 4px 1px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.feed, .feed a {
|
||||
vertical-align: middle;
|
||||
color: @default-text;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-size: @font-size-small;
|
||||
}
|
||||
|
||||
.author {
|
||||
white-space : nowrap;
|
||||
color : @default-text;
|
||||
font-size : @font-size-small;
|
||||
font-weight : normal;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
@@ -82,6 +106,7 @@
|
||||
.intermediate {
|
||||
margin-top : 10px;
|
||||
margin-left : 10px;
|
||||
line-height : 1.5;
|
||||
}
|
||||
|
||||
.content-inner {
|
||||
@@ -106,100 +131,84 @@
|
||||
width : auto;
|
||||
height : auto;
|
||||
}
|
||||
}
|
||||
|
||||
.cdm.expanded {
|
||||
/*margin-top : 4px;
|
||||
margin-bottom : 4px;*/
|
||||
&.expanded {
|
||||
|
||||
.collapse, .excerpt {
|
||||
.collapse, .excerpt {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.titleWrap {
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
.footer {
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
> hr {
|
||||
margin-top : 0;
|
||||
margin-bottom : 0;
|
||||
}
|
||||
|
||||
.header a.title {
|
||||
font-size : 16px;
|
||||
color : #999;
|
||||
font-weight : 600;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
&.active,
|
||||
&.Unread {
|
||||
.content {
|
||||
color : black;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
.header .title {
|
||||
color : @color-link;
|
||||
}
|
||||
}
|
||||
|
||||
&.Unread {
|
||||
.header .title {
|
||||
color : black;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
color : @default-text;
|
||||
}
|
||||
}
|
||||
|
||||
&.vgrlf .feed {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.titleWrap {
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
.footer {
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
> hr {
|
||||
margin-top : 0px;
|
||||
margin-bottom : 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
div.cdm.expanded div.header a.title {
|
||||
font-size : 16px;
|
||||
color : #999;
|
||||
font-weight : 600;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
div.cdm.expanded.active div.header a.title {
|
||||
color : @color-link;
|
||||
}
|
||||
|
||||
div.cdm.expanded.Unread div.header a.title {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.expanded div.content {
|
||||
color : @default-text;
|
||||
}
|
||||
|
||||
div.cdm.expanded.Unread div.content {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.active div.content {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.vgrlf .feed {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.cdm {
|
||||
div.feed-title {
|
||||
.feed-title {
|
||||
border: 0px solid @color-link;
|
||||
border-bottom-width: 1px;
|
||||
padding: 5px 3px 5px 5px;
|
||||
|
||||
a.title {
|
||||
color: @default-text;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @default-text;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: @color-link;
|
||||
}
|
||||
}
|
||||
|
||||
div.feed-title a.title {
|
||||
color: @default-text;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.feed-title a {
|
||||
color: @default-text;
|
||||
}
|
||||
|
||||
div.feed-title a:hover {
|
||||
color: @color-link;
|
||||
}
|
||||
|
||||
div.header span.feed {
|
||||
float: right;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div.header div.feed, div.header div.feed a {
|
||||
vertical-align: middle;
|
||||
color: @default-text;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
div.content-inner div.embed-responsive {
|
||||
.content-inner .embed-responsive {
|
||||
overflow : hidden;
|
||||
padding-bottom : @embed-responsive-padding;
|
||||
position : relative;
|
||||
@@ -215,112 +224,96 @@ div.cdm.vgrlf .feed {
|
||||
}
|
||||
}
|
||||
|
||||
div.header span.author {
|
||||
white-space : nowrap;
|
||||
color : @default-text;
|
||||
font-size : 11px;
|
||||
font-weight : normal;
|
||||
&.expandable {
|
||||
background-color : @color-panel-bg;
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
|
||||
> hr {
|
||||
display : none;
|
||||
}
|
||||
|
||||
div.header span.titleWrap {
|
||||
white-space : nowrap;
|
||||
text-overflow : ellipsis;
|
||||
overflow : hidden;
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
white-space : nowrap;
|
||||
font-size : @font-size-small;
|
||||
color : #999;
|
||||
font-weight : normal;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
&:not(.active) {
|
||||
user-select : none;
|
||||
}
|
||||
|
||||
&.Unread {
|
||||
background : white;
|
||||
}
|
||||
|
||||
&.Selected:not(.active) {
|
||||
background : desaturate(@color-accent, 25%);
|
||||
|
||||
a,
|
||||
.header a.title,
|
||||
span {
|
||||
color : white;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
background : white ! important;
|
||||
}
|
||||
|
||||
&.active div.header span.titleWrap {
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
.header a.title {
|
||||
font-weight : 600;
|
||||
color : @default-text;
|
||||
font-size : 14px;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
&.Unread div.header a.title {
|
||||
color : black;
|
||||
}
|
||||
|
||||
&.active {
|
||||
.collapse i.material-icons {
|
||||
color : @color-accent;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.header a.title {
|
||||
color: @color-link;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family: @fonts-ui-bold;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.active) {
|
||||
cursor : pointer;
|
||||
|
||||
.content, .collapse {
|
||||
display : none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.feed a {
|
||||
border-radius : 4px;
|
||||
display : inline-block;
|
||||
padding : 1px 4px 1px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.cdm.expandable {
|
||||
background-color : @color-panel-bg;
|
||||
border: 0px solid @border-default;
|
||||
border-bottom-width: 1px;
|
||||
|
||||
> hr {
|
||||
display : none;
|
||||
}
|
||||
|
||||
div.header span.titleWrap {
|
||||
white-space : nowrap;
|
||||
text-overflow : ellipsis;
|
||||
overflow : hidden;
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
white-space : nowrap;
|
||||
font-size : 11px;
|
||||
color : #999;
|
||||
font-weight : normal;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.cdm.expandable:not(.active) {
|
||||
user-select : none;
|
||||
}
|
||||
|
||||
.cdm.expandable.Unread {
|
||||
background : white;
|
||||
}
|
||||
|
||||
.cdm.expandable.Selected:not(.active) {
|
||||
background : desaturate(@color-accent, 25%);
|
||||
|
||||
a,
|
||||
.header a.title,
|
||||
span {
|
||||
color : white;
|
||||
}
|
||||
}
|
||||
|
||||
.cdm.expandable.active {
|
||||
background : white ! important;
|
||||
}
|
||||
|
||||
div.cdm.expandable.active div.header span.titleWrap {
|
||||
white-space : normal;
|
||||
}
|
||||
|
||||
div.cdm.expandable div.header a.title {
|
||||
font-weight : 600;
|
||||
color : @default-text;
|
||||
font-size : 14px;
|
||||
transition : color 0.2s, background 0.2s;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family : @fonts-ui-bold;
|
||||
}
|
||||
|
||||
div.cdm.expandable.Unread div.header a.title {
|
||||
color : black;
|
||||
}
|
||||
|
||||
div.cdm.expandable.active {
|
||||
.collapse i.material-icons {
|
||||
color : @color-accent;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.excerpt {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.header a.title {
|
||||
color: @color-link;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-rendering: optimizelegibility;
|
||||
font-family: @fonts-ui-bold;
|
||||
}
|
||||
}
|
||||
|
||||
div.cdm.expandable:not(.active) {
|
||||
cursor : pointer;
|
||||
|
||||
.content, .collapse {
|
||||
display : none;
|
||||
}
|
||||
}
|
||||
|
||||
div.cdm {
|
||||
&.expandable.active,
|
||||
&.expanded {
|
||||
.header[data-is-stuck] {
|
||||
|
||||
Reference in New Issue
Block a user