ttrss/css/cdm.less

360 lines
5.1 KiB
Plaintext
Raw Normal View History

2017-11-29 14:00:29 +00:00
.cdm {
margin-right : 4px;
.header, .footer {
2017-11-29 14:00:29 +00:00
display : table;
}
.header img, .header input, .footer img {
2017-11-29 14:00:29 +00:00
vertical-align : middle;
}
.header > div, .footer > div {
2017-11-29 14:00:29 +00:00
white-space : nowrap;
}
.header > span, .footer > span.left {
2017-11-29 14:00:29 +00:00
width : 100%;
}
.header img, .footer img {
2017-11-29 14:00:29 +00:00
margin : 0px 4px;
}
.header {
2017-11-29 14:00:29 +00:00
> * {
display : table-cell;
padding : 5px;
}
span.updated {
color : @default-text;
2017-11-29 14:00:29 +00:00
font-weight : normal;
font-size : 11px;
white-space : nowrap;
vertical-align : middle;
}
input {
margin-right : 5px;
}
div.updPic {
width : 25px;
display : inline-block;
text-align : center;
}
div.updPic img {
vertical-align : middle;
}
input {
margin-left : 4px;
margin-right : 4px;
}
}
.footer {
2017-11-29 14:00:29 +00:00
height : 30px;
padding-left : 5px;
font-weight : normal;
color : @default-text;
2017-11-29 14:00:29 +00:00
clear : both;
> * {
display : table-cell;
vertical-align : middle;
}
}
.intermediate {
2017-11-29 14:00:29 +00:00
margin : 10px;
}
.content-inner {
2017-11-29 14:00:29 +00:00
margin : 10px;
line-height : 1.5;
font-size : 16px;
h1 {
font-size : 16px;
}
h2,
h3,
h4 {
font-size : 15px;
}
}
.intermediate img,
.intermediate video,
.content-inner img,
.content-inner video {
2017-11-29 14:00:29 +00:00
border-width : 0px;
max-width : 98%;
height : auto;
}
}
.cdm.expanded {
margin-top : 4px;
margin-bottom : 4px;
.footer {
2017-11-29 15:55:12 +00:00
border: 0px solid #ddd;
border-bottom-width: 1px;
2017-11-29 14:00:29 +00:00
}
> hr {
margin-top : 0px;
margin-bottom : 0px;
}
}
div.cdm.expanded div.header {
2017-11-29 14:00:29 +00:00
background : transparent ! important;
}
div.cdm.expanded div.header a.title {
2017-11-29 14:00:29 +00:00
font-size : 16px;
color : #999;
font-weight : 600;
transition : color 0.2s, background 0.2s;
2017-11-29 14:00:29 +00:00
text-rendering: optimizelegibility;
2017-11-29 15:55:12 +00:00
font-family : @fonts-ui-bold;
2017-11-29 14:00:29 +00:00
}
div.cdm.expanded.active {
background : white;
}
div.cdm.expanded.active div.header a.title {
color : @color-link;
2017-11-29 14:00:29 +00:00
}
div.cdm.expanded.Unread div.header a.title {
2017-11-29 14:00:29 +00:00
color : black;
}
div.cdm.expanded div.content {
color : @default-text;
2017-11-29 14:00:29 +00:00
}
div.cdm.expanded.Unread div.content {
2017-11-29 14:00:29 +00:00
color : black;
}
div.cdm.active div.content {
2017-11-29 14:00:29 +00:00
color : black;
}
span.cdmExcerpt {
white-space : nowrap;
font-size : 11px;
color : #999;
font-weight : normal;
cursor : pointer;
}
div.content div.postEnclosures {
2017-11-29 14:00:29 +00:00
margin-top : 1em;
color : @default-text;
2017-11-29 14:00:29 +00:00
}
div.feed-title {
border: 0px solid @color-link;
2017-11-29 15:55:12 +00:00
border-bottom-width: 1px;
2017-11-29 14:00:29 +00:00
padding : 5px 3px 5px 5px;
}
div.feed-title a.title {
color : @default-text;
2017-11-29 14:00:29 +00:00
font-weight : bold;
}
div.feed-title a {
color : @default-text;
2017-11-29 14:00:29 +00:00
}
div.feed-title a:hover {
color : @color-link;
2017-11-29 14:00:29 +00:00
}
div.header span.feed {
2017-11-29 14:00:29 +00:00
float : right;
font-weight : normal;
font-style : italic;
}
div.header div.feed, div.header div.feed a {
2017-11-29 14:00:29 +00:00
vertical-align : middle;
color : @default-text;
2017-11-29 14:00:29 +00:00
font-weight : normal;
font-style : italic;
font-size : 11px;
}
div.cdm .feed a {
2017-11-29 14:00:29 +00:00
border-radius : 4px;
display : inline-block;
padding : 1px 4px 1px 4px;
}
div.content-inner p {
2017-11-29 14:00:29 +00:00
/*max-width : 650px;*/
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
div.content-inner iframe {
2017-11-29 14:00:29 +00:00
min-width : 50%;
max-width : 98%;
}
div.header span.author {
2017-11-29 14:00:29 +00:00
white-space : nowrap;
color : @default-text;
2017-11-29 14:00:29 +00:00
font-size : 11px;
font-weight : normal;
}
div#floatingTitle {
position : absolute;
z-index : 5;
top : 0px;
right : 0px;
left : 0px;
2017-11-29 15:55:12 +00:00
border: 0px solid #ddd;
border-bottom-width: 1px;
2017-11-29 14:00:29 +00:00
background : white;
color : @default-text;
2017-11-29 14:00:29 +00:00
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
> * {
display : table-cell;
white-space : nowrap;
vertical-align : middle;
padding : 9px 5px;
}
img {
margin-right : 4px;
margin-left : 4px;
}
span.author {
color : @default-text;
2017-11-29 14:00:29 +00:00
font-size : 11px;
font-weight : normal;
}
a.title {
font-size : 16px;
color : #999;
transition : color 0.2s, background 0.2s;
2017-11-29 14:00:29 +00:00
font-weight : 600;
text-rendering: optimizelegibility;
2017-11-29 15:55:12 +00:00
font-family : @fonts-ui-bold;
2017-11-29 14:00:29 +00:00
}
img.anchor {
margin-left : 0px;
}
div.feed {
2017-11-29 14:00:29 +00:00
padding-right : 10px;
color : @default-text;
2017-11-29 14:00:29 +00:00
font-weight : normal;
font-style : italic;
font-size : 11px;
white-space : nowrap;
}
div.feed a {
2017-11-29 14:00:29 +00:00
border-radius : 4px;
display : inline-block;
padding : 1px 4px 1px 4px;
}
span.updated {
padding-right : 10px;
white-space : nowrap;
color : @default-text;
2017-11-29 14:00:29 +00:00
font-size : 11px;
}
div.feed a {
color : @default-text;
2017-11-29 14:00:29 +00:00
}
span.titleWrap {
width : 100%;
white-space : normal;
}
.dijit,
img.score-pic {
2017-11-29 14:00:29 +00:00
display : none;
}
}
div#floatingTitle.Unread a.title {
color : black;
}
.cdm.high .header {
2017-11-29 14:00:29 +00:00
a.title.high,
.cdmExcerpt,
span.author {
color : #00aa00;
}
}
.cdm.Unread.high .header {
2017-11-29 14:00:29 +00:00
a.title.high,
.cdmExcerpt,
span.author {
color : #00dd00;
}
}
.cdm .header a.title.low,
.cdm.low .header .cdmExcerpt,
.cdm.Unread .header a.title.low,
.cdm.Unread.low .header .cdmExcerpt,
.cdm.low .header span.author {
2017-11-29 14:00:29 +00:00
color : #909090;
text-decoration : line-through;
}
.feed-title {
2017-11-29 14:00:29 +00:00
> * {
display : table-cell;
vertical-align : middle;
}
a.title {
width : 100%;
}
a.catchup {
text-align : right;
color : @default-text;
2017-11-29 14:00:29 +00:00
padding-right : 10px;
font-size : 11px;
white-space : nowrap;
}
a.catchup:hover {
color : @color-link;
2017-11-29 14:00:29 +00:00
}
}