ttrss/themes/light/tt-rss.less

1440 lines
23 KiB
Plaintext
Raw Normal View History

2017-12-03 09:49:40 +00:00
body.ttrss_main {
background : @default-bg;
color : @default-fg;
2017-11-29 14:00:29 +00:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2021-03-11 12:07:54 +00:00
font-size: @font-size-content;
2017-12-03 10:06:41 +00:00
overflow : hidden;
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
:focus {
outline: none;
}
2017-11-29 15:55:12 +00:00
2021-03-11 11:32:15 +00:00
.post {
padding : 0;
2021-03-11 12:07:54 +00:00
font-size : @font-size-toolbar;
2017-11-29 14:00:29 +00:00
2021-03-11 11:32:15 +00:00
.header {
2017-12-03 09:49:40 +00:00
padding : 5px;
2021-03-11 12:07:54 +00:00
color : @default-text;
border: 0 solid @border-default;
2017-12-03 09:49:40 +00:00
border-bottom-width: 1px;
background: @color-panel-bg;
2017-12-03 09:49:40 +00:00
2018-12-06 13:35:57 +00:00
.left, .right {
display : flex;
2017-12-03 09:49:40 +00:00
}
2018-12-06 13:35:57 +00:00
.row {
display : flex;
margin-bottom : 4px;
flex-wrap : nowrap;
align-items : center;
justify-content : space-between;
2017-12-03 09:49:40 +00:00
}
2018-12-06 13:35:57 +00:00
.comments {
flex-grow : 2;
2017-12-03 09:49:40 +00:00
}
2018-12-06 13:35:57 +00:00
.date {
white-space : nowrap;
}
img, i.material-icons {
2018-12-06 13:35:57 +00:00
margin : 0px 4px;
vertical-align: middle;
color : @color-icon;
2018-12-06 13:35:57 +00:00
}
2017-11-29 15:55:12 +00:00
2018-12-06 13:35:57 +00:00
.title {
flex-grow : 2;
font-size : 15px;
font-weight : 600;
text-rendering: optimizelegibility;
font-family : @fonts-ui-bold;
}
2017-12-03 09:49:40 +00:00
}
div.content {
2017-12-03 09:49:40 +00:00
padding : 10px;
font-size : 16px;
img,
video {
border-width : 0px;
max-width : 98%;
height: auto;
}
2020-05-16 02:25:56 +00:00
div.embed-responsive {
overflow : hidden;
padding-bottom : @embed-responsive-padding;
position : relative;
iframe {
border : 0;
bottom : 0;
height : 100%;
left : 0;
position : absolute;
top : 0;
width : 100%;
}
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
}
.inline-player {
display : flex;
align-items : center;
audio {
margin-right : 8px;
}
}
2018-12-06 17:55:51 +00:00
.article-note {
2017-12-03 09:49:40 +00:00
background-color : #fff7d5;
margin : 5px;
border: 1px solid #e7d796;
color : #9a8c59;
2018-12-06 17:55:51 +00:00
display : flex;
align-items : center;
2017-12-03 09:49:40 +00:00
2018-12-06 17:55:51 +00:00
> * {
padding : 5px;
2017-12-03 09:49:40 +00:00
}
}
2018-12-06 17:55:51 +00:00
.article-note.editable {
cursor : pointer;
}
2017-12-03 09:49:40 +00:00
h1 {
font-size : 18px;
2017-11-29 14:00:29 +00:00
font-weight : 600;
text-rendering: optimizelegibility;
//font-family : @fonts-ui;
2017-11-29 14:00:29 +00:00
}
2017-12-03 09:49:40 +00:00
h2 {
font-size : 16px;
2017-12-03 09:49:40 +00:00
font-weight : 600;
text-rendering: optimizelegibility;
//font-family : @fonts-ui;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
h3 {
2018-12-04 11:26:28 +00:00
font-size : 16px;
2017-12-03 09:49:40 +00:00
font-weight : 600;
text-rendering: optimizelegibility;
//font-family : @fonts-ui;
}
h4 {
font-size : 14px;
font-weight : 600;
text-rendering: optimizelegibility;
//font-family : @fonts-ui;
2017-12-03 09:49:40 +00:00
}
2017-11-29 15:55:12 +00:00
2017-12-03 09:49:40 +00:00
a {
color: @color-link;
text-decoration: none;
}
a:hover {
color: darken(@color-link, 20%);
text-decoration: underline;
}
#notify.visible {
opacity: 100;
2017-12-03 09:49:40 +00:00
}
#notify {
bottom : 20px;
right : 20px;
min-width : 200px;
max-width : 350px;
border-width : 1px;
2017-12-03 09:49:40 +00:00
border-style : solid;
position : fixed;
2021-03-11 12:07:54 +00:00
font-size : @font-size-content;
2017-12-03 09:49:40 +00:00
z-index : 99;
display : flex;
opacity: 0;
align-items : center;
padding : 10px;
transition: opacity 0.2s linear;
box-shadow : 0px 0px 8px rgba(0,0,0,0.1);
2017-12-03 09:49:40 +00:00
img {
vertical-align : middle;
2017-11-29 15:55:12 +00:00
}
.msg {
flex-grow : 2;
padding : 0 10px;
line-height : 20px;
2017-11-29 15:55:12 +00:00
}
.icon-close {
2017-12-03 09:49:40 +00:00
cursor : pointer;
2017-11-29 15:55:12 +00:00
}
2017-11-29 14:00:29 +00:00
}
2017-12-03 09:49:40 +00:00
.notify {
border-color : #d7c47a;
background-color : #fff7d5;
2017-11-29 14:00:29 +00:00
}
2017-12-03 09:49:40 +00:00
.notify.notify_progress {
border-color : #d7c47a;
background-color : #fff7d5;
2021-03-16 18:32:44 +00:00
img {
width : 18px;
height : 18px;
filter : saturate(0);
}
2017-11-29 14:00:29 +00:00
}
2017-12-03 09:49:40 +00:00
.notify.notify_info {
border-color : @color-accent;
background-color : @color-accent-light;
i.icon-notify {
color : @color-accent;
}
2017-11-29 14:00:29 +00:00
}
2017-12-03 09:49:40 +00:00
.notify.notify_error {
background-color : #c00;
border-color : #900;
color : white;
i.icon-notify, i.icon-close {
color : white;
}
2017-11-29 14:00:29 +00:00
}
.action-chooser {
.action-button {
.dijitButtonText {
vertical-align : unset;
}
.dijitArrowButtonInner {
display : none;
}
}
}
2017-12-03 09:49:40 +00:00
.hl {
border: 0px solid @border-default;
2017-12-03 09:49:40 +00:00
border-bottom-width: 1px;
transition : color 0.2s, background 0.2s;
display : flex;
flex-direction : row;
flex-wrap : nowrap;
background : @color-panel-bg;
align-items : center;
user-select : none;
2017-11-29 14:00:29 +00:00
> * {
2017-12-03 09:49:40 +00:00
white-space : nowrap;
2018-12-05 10:58:18 +00:00
padding : 4px;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
img {
2017-12-03 09:49:40 +00:00
vertical-align : middle;
}
.left, .right {
2018-12-05 10:58:18 +00:00
display : flex;
align-items : center;
2018-12-05 10:58:18 +00:00
2021-03-11 12:07:54 +00:00
img {
margin : 0 4px;
}
2018-12-05 10:58:18 +00:00
i.material-icons {
margin-left : 2px;
padding : 2px;
2018-12-05 11:11:40 +00:00
transition : color 0.2s linear;
user-select: none;
font-size : 21px;
2018-12-05 10:58:18 +00:00
}
}
2021-03-11 12:07:54 +00:00
.left {
input {
margin : 0 4px;
}
}
.right {
2021-03-11 12:07:54 +00:00
text-align : right;
i.material-icons {
color : @color-icon;
}
}
2021-03-11 12:07:54 +00:00
.title {
cursor : pointer;
flex-grow : 2;
overflow : hidden;
text-overflow : ellipsis;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2021-03-11 12:07:54 +00:00
.author {
white-space : nowrap;
color : @default-text;
2021-03-11 11:32:15 +00:00
font-size : @font-size-small;
font-weight : normal;
}
2021-03-11 12:07:54 +00:00
.feed a {
2017-12-03 09:49:40 +00:00
border-radius : 4px;
display : inline-block;
padding : 1px 4px;
2021-03-11 11:32:15 +00:00
font-size : @font-size-small;
2017-12-03 09:49:40 +00:00
font-style : italic;
font-weight : normal;
color : @default-text;
2017-11-29 14:00:29 +00:00
2021-03-11 12:07:54 +00:00
&:hover {
color : @color-accent;
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2021-03-11 12:07:54 +00:00
.updated {
color : @default-text;
2017-12-03 09:49:40 +00:00
text-align : right;
2021-03-11 11:32:15 +00:00
font-size : @font-size-small;
2017-12-03 09:49:40 +00:00
padding-left : 10px;
2017-11-29 14:00:29 +00:00
2021-03-11 12:07:54 +00:00
div {
display : inline-block;
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
div.title a {
2017-12-03 09:49:40 +00:00
font-weight : 600;
text-rendering: optimizelegibility;
font-family : @fonts-ui;
color : #555;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
a.title.high, span.hl-content.high .preview {
2017-12-03 09:49:40 +00:00
color : #00aa00;
}
2017-11-29 14:00:29 +00:00
2021-03-11 12:07:54 +00:00
&.vgrlf .feed {
display : none;
}
2021-03-11 12:07:54 +00:00
&.Unread {
background : white;
}
2017-11-29 15:55:12 +00:00
2021-03-11 12:07:54 +00:00
&.Unread .title a {
color : black;
}
2017-12-13 16:09:14 +00:00
2021-03-11 12:07:54 +00:00
&.active .title a {
color : @color-accent;
/* text-shadow : 1px 1px 2px #fff; */
}
2017-12-13 16:09:14 +00:00
2021-03-11 12:07:54 +00:00
&.active {
background : @color-accent ! important;
}
2017-12-13 15:53:31 +00:00
2021-03-11 12:07:54 +00:00
&.active,
&.Selected {
2017-12-13 15:53:31 +00:00
color : white;
2021-03-11 12:07:54 +00:00
background : desaturate(@color-accent, 25%);
2017-11-29 15:55:12 +00:00
2021-03-11 12:07:54 +00:00
a,
.feed a,
.hl-content a.title,
span {
color : white;
}
}
2017-11-29 15:55:12 +00:00
}
2017-12-03 09:49:40 +00:00
#content-insert blockquote,
#headlines-frame blockquote,
.dijitContentPane blockquote {
margin : 5px 0px 5px 0px;
color : @default-text;
2017-11-29 15:55:12 +00:00
padding-left : 10px;
2017-12-03 09:49:40 +00:00
border: 0px solid #ccc;
border-left-width: 4px;
2017-11-29 15:55:12 +00:00
}
2017-12-03 09:49:40 +00:00
#content-insert code,
#headlines-frame code,
.dijitContentPane code {
color : #009900;
font-family : monospace;
2017-11-29 15:55:12 +00:00
}
2017-12-03 09:49:40 +00:00
#content-insert pre,
#headlines-frame pre,
.dijitContentPane pre {
margin: 5px 0px 5px 0px;
padding: 10px;
color: @default-text;
2017-12-03 09:49:40 +00:00
font-family: monospace;
font-size: 12px;
border: 0px solid #ccc;
background: @color-panel-bg;
2017-12-03 09:49:40 +00:00
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
2017-11-29 15:55:12 +00:00
}
2017-12-03 09:49:40 +00:00
div.prefHelp {
color : @default-text;
2017-12-03 09:49:40 +00:00
padding : 5px;
}
2017-11-29 14:00:29 +00:00
span.preview {
2017-11-29 14:00:29 +00:00
color : #999;
2017-12-03 09:49:40 +00:00
font-weight : normal;
2017-11-29 14:00:29 +00:00
font-size : 12px;
2017-12-03 09:49:40 +00:00
padding-left : 4px;
2017-11-29 14:00:29 +00:00
}
2018-12-10 18:39:12 +00:00
.label {
display : inline-block;
2018-12-10 18:39:12 +00:00
vertical-align: middle;
2017-12-03 09:49:40 +00:00
background-color : #fff7d5;
2021-03-11 11:32:15 +00:00
font-size : @font-size-tiny;
color : @default-fg;
2017-12-03 09:49:40 +00:00
font-weight : normal;
margin-left : 2px;
padding : 2px 4px;
2017-12-03 09:49:40 +00:00
white-space: nowrap;
}
2017-11-29 14:00:29 +00:00
2018-12-05 10:58:18 +00:00
i.marked-pic, i.pub-pic {
2017-12-03 09:49:40 +00:00
cursor : pointer;
color : @color-hl-icon;
2017-11-29 14:00:29 +00:00
}
2021-03-11 12:07:54 +00:00
/*ul.compact {
2017-12-03 09:49:40 +00:00
list-style-type : none;
2021-03-11 12:07:54 +00:00
margin : 0;
padding : 0;
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
li {
2021-03-11 12:07:54 +00:00
margin : 0;
padding : 0;
2017-12-03 09:49:40 +00:00
}
2021-03-11 12:07:54 +00:00
}*/
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
#overlay {
background : @default-bg;
2017-12-03 09:49:40 +00:00
left : 0;
top : 0;
height : 100%;
width : 100%;
z-index : 100;
position : absolute;
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
#overlay_inner {
font-weight : bold;
margin : 1em;
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
div.whiteBox {
margin-left : 1px;
text-align : center;
padding : 1em 1em 0px 1em;
2021-03-11 11:32:15 +00:00
font-size : @font-size-small;
border: 0px solid @border-default;
2017-12-03 09:49:40 +00:00
border-bottom-width: 1px;
}
2017-11-29 14:00:29 +00:00
2019-02-20 11:37:59 +00:00
.dijitDialog {
header,
2019-02-20 11:37:59 +00:00
.dlgSec, .dlgSecHoriz {
font-size : 16px;
font-weight : 600;
color : @default-text;
font-family: @fonts-ui-bold;
}
section,
2019-02-20 11:37:59 +00:00
.dlgSecCont {
margin : 10px 20px;
}
2017-11-29 14:00:29 +00:00
header.horizontal + section,
2021-02-21 10:08:34 +00:00
section.horizontal,
2019-02-20 11:58:09 +00:00
.dlgSecHoriz + .dlgSecCont {
margin : 10px 0;
}
section.narrow {
margin : 0;
2019-02-20 11:58:09 +00:00
}
section,
2019-02-20 11:37:59 +00:00
div.dlgSecCont, div.dlgSecSimple {
fieldset {
> label {
font-weight : bold;
margin-right : 10px;
display : inline-block;
min-width : 140px;
text-align : right;
}
> label.checkbox {
font-weight : normal;
display : inline;
}
2019-02-22 09:13:41 +00:00
> label.inline {
display : inline;
}
2019-02-20 11:37:59 +00:00
}
2017-12-03 09:49:40 +00:00
2019-02-20 11:37:59 +00:00
fieldset {
border-width : 0px;
padding : 5px 0px;
2017-11-29 14:00:29 +00:00
2021-03-11 12:07:54 +00:00
&.narrow {
padding : 2px 0px;
}
2019-02-20 11:37:59 +00:00
2021-03-11 12:07:54 +00:00
&.align-right {
text-align : right;
}
2019-02-20 11:37:59 +00:00
}
}
2017-11-29 14:00:29 +00:00
footer,
2018-12-04 19:24:31 +00:00
.dlgButtons {
2019-02-20 11:37:59 +00:00
margin-top : 5px;
2018-12-04 19:24:31 +00:00
text-align: right;
}
footer.text-center {
text-align: center;
2018-12-04 19:24:31 +00:00
}
2021-02-15 11:50:40 +00:00
textarea#tags_str {
height : 100px;
font-size : 12px;
width : 98%;
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2018-12-06 05:26:52 +00:00
i.icon-label {
color : #fff7d5;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
div#cmdline {
position : absolute;
left : 5px;
bottom : 5px;
2021-03-11 11:32:15 +00:00
font-size : @font-size-small;
color : @default-text;
2017-12-03 09:49:40 +00:00
font-weight : bold;
background-color : @default-bg;
2017-12-03 09:49:40 +00:00
border : 1px solid @color-accent;
padding : 3px 5px 3px 5px;
z-index : 5;
}
2017-11-29 14:00:29 +00:00
.exception-contents {
h3 {
color : red;
2017-12-03 09:49:40 +00:00
}
textarea {
width : 99%;
height : 200px;
2021-03-11 11:32:15 +00:00
font-size : @font-size-small;
2018-12-11 09:45:05 +00:00
}
2017-11-29 15:55:12 +00:00
}
2017-11-29 14:00:29 +00:00
2021-03-11 11:32:15 +00:00
#headlines-wrap-inner,
2017-12-03 09:49:40 +00:00
#content-wrap {
2021-03-11 11:32:15 +00:00
padding : 0;
border : 0;
margin : 0;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
#feeds-holder {
2021-03-11 12:07:54 +00:00
padding : 0;
border: 0 solid @border-default;
2017-12-03 09:49:40 +00:00
overflow : hidden;
background : @color-panel-bg;
2017-12-03 09:49:40 +00:00
box-shadow : inset -1px 0px 2px -1px rgba(0,0,0,0.1);
-webkit-overflow-scrolling : touch;
2017-12-03 14:57:34 +00:00
#feedTree {
height : 100%;
overflow-x : hidden;
text-rendering: optimizelegibility;
2018-12-04 17:17:50 +00:00
font-family : @fonts-ui;
2017-12-03 14:57:34 +00:00
2021-03-15 18:33:35 +00:00
.dijitTreeNode {
.dijitTreeRow {
border : 1px solid transparent;
&.Is_Feed {
.loadingNode {
left : -2px;
2021-03-16 18:32:44 +00:00
height : 14px;
width : 14px;
position : relative;
2021-03-16 18:32:44 +00:00
}
}
&.Is_Cat {
.loadingNode {
height : 11px;
width : 18px;
margin-left : 4px;
2021-03-22 13:18:59 +00:00
position : relative;
top : 2px;
}
}
2021-03-15 18:33:35 +00:00
.counterNode {
order : 2;
2021-03-15 18:33:35 +00:00
font-weight : bold;
display : none;
font-size : @font-size-tiny;
text-align : center;
border : 1px solid lighten(@color-accent, 5%);
color : white;
background : lighten(@color-accent, 5%);
border-radius : 4px;
2021-03-22 13:18:59 +00:00
//vertical-align : middle;
//float : right;
//position : relative;
2021-03-15 18:33:35 +00:00
line-height : 14px;
margin-right : 8px;
2021-03-22 13:18:59 +00:00
//margin-top : 2px;
2021-03-15 18:33:35 +00:00
min-width : 23px;
height : 14px;
2021-03-23 08:52:08 +00:00
flex-shrink : 0;
2021-03-15 18:33:35 +00:00
&.aux, &.marked {
background : @color-panel-bg;
color : lighten(@default-text, 10%);
border-color : darken(@color-panel-bg, 10%);
}
&.marked {
border-color : @color-accent-marked;
background : lighten(@color-accent-marked, 60%);
}
}
// fresh
&[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread {
background-color: darken(@color-checked, 15%);
border-color: darken(@color-checked, 25%);
}
.dijitTreeContent {
display : flex;
align-items : center;
flex-grow : 2;
min-width : 0;
}
.dijitTreeLabel {
cursor : pointer;
min-width : 0;
overflow : hidden;
2021-03-22 13:18:59 +00:00
text-overflow : ellipsis;
position : relative;
// Segoe UI (@fonts-ui) seems to have wrong baseline set
top : -0.5px;
&.Unread {
font-weight : bold;
}
2021-03-15 18:33:35 +00:00
}
&.Error .dijitTreeLabel {
color : red;
}
&.dijitTreeRowSelected {
box-shadow : -1px 0px 2px -1px rgba(0,0,0,0.1);
border-color : @border-default transparent;
background : @default-bg;
color : @default-text;
2021-03-15 18:33:35 +00:00
}
.dijitIcon.feed-icon {
margin-right : 2px;
}
i.icon.icon-inbox {
2021-03-16 10:43:16 +00:00
color : lighten(@default-text, 20%);
2021-03-15 18:33:35 +00:00
}
i.icon.icon-archive {
2021-03-16 10:43:16 +00:00
color : darken(@color-marked, 30%);
2021-03-15 18:33:35 +00:00
}
i.icon.icon-star {
position : relative;
color : @color-marked;
font-size : 21px;
left : -2px;
}
i.icon.icon-rss_feed {
color : @color-published;
}
i.icon.icon-whatshot {
color : @color-checked;
}
i.icon.icon-restore {
2021-03-22 13:18:59 +00:00
//position : relative;
//top : -1px;
2021-03-15 18:33:35 +00:00
font-weight : bold;
color : @color-accent;
}
2021-03-11 12:07:54 +00:00
}
2017-12-03 14:57:34 +00:00
}
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2021-03-11 11:32:15 +00:00
#headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] {
display : grid;
grid-template-columns: repeat(auto-fit, minmax(@cdm-grid-col-width, 1fr));
padding : @cdm-grid-padding;
grid-gap : @cdm-grid-padding;
background-color: @color-panel-bg;
2017-11-29 14:00:29 +00:00
2021-03-11 11:32:15 +00:00
> * {
2021-03-11 12:07:54 +00:00
/* 2 = because #headlines-spacer is the actual last child
only if odd to deal with 1) single article and 2) not break any previous rows;
1 = spacer;
2021-03-11 12:07:54 +00:00
this is outside of .cdm selector because of #headlines-spacer etc
.grid-span-row is manually expanded RROWs
2021-03-11 12:07:54 +00:00
*/
&.grid-span-row,
2021-03-11 11:32:15 +00:00
&:nth-last-child(2):nth-child(odd),
&:nth-last-child(1) {
grid-column : 1 e("/") -1;
}
}
.cdm.expanded {
.header, .content {
background : @default-bg;
border : 1px solid @border-default;
overflow : hidden;
}
.content {
border-top-width : 0;
padding : 0 4px 4px 4px;
}
.header[data-is-stuck] {
top : -@cdm-grid-padding;
border-bottom-width: 1px;
}
.header {
border-bottom-width : 0;
padding : 4px;
.icon-grid-span {
display : inline;
}
.feed {
display : none;
}
}
.footer {
border : 0;
padding : 4px;
.left, .right {
white-space: nowrap;
}
.left {
overflow: hidden;
text-overflow: ellipsis;
}
}
.content-inner,
.intermediate {
a {
word-break: break-all;
}
2021-03-11 11:32:15 +00:00
}
}
}
2017-12-03 09:49:40 +00:00
#headlines-frame {
2021-03-11 11:32:15 +00:00
padding : 0;
border: 0;
margin-top : 0;
2017-12-03 09:49:40 +00:00
-webkit-overflow-scrolling : touch;
-webkit-transform: translateZ(0);
2021-03-11 11:32:15 +00:00
transform: translateZ(0);
2017-12-03 09:49:40 +00:00
-webkit-backface-visibility: hidden;
2021-03-11 11:32:15 +00:00
backface-visibility: hidden;
&[data-is-vfeed="false"] {
.header,
.hl {
.feed, .icon-feed {
display : none;
}
}
}
2021-03-11 11:32:15 +00:00
&[data-auto-catchup="true"] #headlines-spacer {
height : 100vh;
}
2021-03-11 12:07:54 +00:00
.dijitCheckBox {
margin-right : 4px;
}
&[data-is-wide-screen="true"] {
.title {
overflow: visible;
white-space: normal;
}
.hl .feed {
display: none;
}
}
2021-03-11 11:32:15 +00:00
#headlines-spacer {
margin-left : 1px;
text-align : center;
color : @default-text;
font-size : @font-size-small;
a, span {
color : @default-text;
padding : 10px;
display : block;
}
a:hover {
color : @color-accent;
}
}
2021-03-11 11:32:15 +00:00
.feed-title {
border: 0px solid @color-link;
border-bottom-width: 1px;
padding: 5px 8px;
a.title {
color: @default-text;
font-weight: bold;
}
a {
color: @default-text;
2021-03-11 12:07:54 +00:00
&:hover {
color: @color-link;
}
2021-03-11 11:32:15 +00:00
}
}
span.hlMenuAttach {
-webkit-touch-callout: none;
-webkit-user-select: none;
2021-03-11 11:32:15 +00:00
user-select: none;
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
#toolbar-frame_splitter {
display : none;
}
#toolbar-frame {
2021-03-11 11:32:15 +00:00
padding : 0;
margin : 0;
border : 0;
2017-12-03 09:49:40 +00:00
white-space: nowrap;
2021-03-11 11:32:15 +00:00
font-size : @font-size-toolbar;
#toolbar {
background : white;
2021-03-11 11:32:15 +00:00
border: 0 solid @border-default;
border-bottom-width: 1px;
2018-12-06 04:35:41 +00:00
padding-left : 4px;
height : 32px;
display : flex;
flex-direction : row;
flex-wrap : nowrap;
color : @default-text;
2021-03-11 11:32:15 +00:00
font-size : @font-size-toolbar;
align-items : center;
.dijitSelect,
.dijitDropDownButton .dijitButtonNode,
.dijitComboButton .dijitButtonNode {
2021-03-11 12:07:54 +00:00
border : 0;
}
i.net-alert, .left i.icon-error {
color : red;
}
i.log-alert {
2018-12-10 07:53:11 +00:00
color : #ddba1c;
cursor : pointer;
2018-12-10 07:53:11 +00:00
}
i {
margin : 0 4px;
}
#toolbar-headlines {
2021-03-11 11:32:15 +00:00
font-size : @font-size-toolbar;
background: transparent;
padding-right : 4px;
flex-grow : 2;
display : flex;
.left {
flex-grow: 2;
2018-12-05 07:10:39 +00:00
display : flex;
align-items : center;
.feed_title, .cancel_search {
margin-left : 4px;
2018-12-05 07:10:39 +00:00
}
@media (max-width: @breakpoint-md) {
.feed_title, i.icon-syndicate {
display : none;
}
}
2018-12-05 07:10:39 +00:00
}
.right {
display : flex;
align-items : center;
}
}
#updates-available {
color : @color-checked;
padding-right : 4px;
}
#selected_prompt {
font-style : italic;
text-align : right;
margin-right : 4px;
2018-12-09 02:50:10 +00:00
color : @color-accent;
}
@media (max-width: @breakpoint-md) {
#selected_prompt {
display : none;
}
}
@media (max-width: @breakpoint-sm) {
.select-articles-dropdown,
.catchup-button {
display : none;
}
}
}
2017-11-29 15:55:12 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
#header {
text-align : right;
color : @default-text;
2021-03-11 12:07:54 +00:00
padding : 5px 5px 0 0px;
2017-12-03 09:49:40 +00:00
position : absolute;
2021-03-11 12:07:54 +00:00
border : 0;
margin : 0;
right : 0;
top : 0;
2017-12-03 09:49:40 +00:00
z-index : 5;
i.net-alert, .left i.icon-error {
color : red;
}
i.log-alert {
color : #ddba1c;
cursor : pointer;
}
#updates-available {
color : @color-checked;
padding-right : 4px;
}
i {
margin : 0 4px;
}
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
#content-insert {
2021-03-11 11:32:15 +00:00
padding : 0;
border : 0;
2017-12-03 09:49:40 +00:00
line-height: 1.5;
overflow : auto;
-webkit-overflow-scrolling : touch;
}
2017-11-29 14:00:29 +00:00
img.feed-icon, img.icon {
2017-12-03 09:49:40 +00:00
width : 16px;
height : 16px;
line-height : 16px;
vertical-align : middle;
display : inline-block;
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
ul#filterDlg_Matches, ul#filterDlg_Actions {
list-style-type : none;
margin : 0;
padding: 0;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
ul#filterDlg_Matches li, ul#filterDlg_Actions li {
cursor : pointer;
2018-12-04 17:17:50 +00:00
}
ul#filterDlg_Matches li .dijitCheckBox, ul#filterDlg_Actions li .dijitCheckBox {
margin-right: 4px;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2018-12-10 05:37:24 +00:00
ul.hotkeys-help {
li {
display : flex;
}
li.desc {
flex-grow : 2;
}
2017-11-29 14:00:29 +00:00
2018-12-10 05:37:24 +00:00
.hk {
2017-12-03 09:49:40 +00:00
color : @color-accent;
2018-12-10 05:37:24 +00:00
width : 100px;
2017-12-03 09:49:40 +00:00
}
2017-11-29 14:00:29 +00:00
2018-12-10 05:37:24 +00:00
h3 {
margin : 8px 0px;
2017-12-03 09:49:40 +00:00
}
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
select.attachments {
2017-11-29 15:55:12 +00:00
display : block;
2017-12-03 09:49:40 +00:00
margin-top : 10px;
max-width : 120px;
2017-11-29 15:55:12 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
#filterDlg_feeds select {
height : 150px;
width : 410px;
2017-11-29 15:55:12 +00:00
}
2017-11-29 14:00:29 +00:00
2017-12-03 09:49:40 +00:00
span.highlight {
background-color : #ffff00;
color : #cc90cc;
}
2017-11-29 14:00:29 +00:00
#feedEditDlg img.feedIcon {
border : 1px solid #ccc;
padding : 5px;
margin : 5px;
max-width : 20px;
max-height : 20px;
height : auto;
width : auto;
}
.dijitTooltipContents {
background : @color-tooltip-bg;
color : @color-tooltip-fg;
}
.dijitTooltipRight .dijitTooltipConnector {
border-right-color : @color-tooltip-bg;
}
.dijitTooltipLeft .dijitTooltipConnector {
border-left-color : @color-tooltip-bg;
}
.dijitTooltipBelow .dijitTooltipConnector {
border-bottom-color : @color-tooltip-bg;
}
.dijitTooltipAbove .dijitTooltipConnector {
border-top-color : @color-tooltip-bg;
}
2017-11-29 15:55:12 +00:00
}
/*body.ttrss_main .dijitDialog {
h1:first-of-type,
h2:first-of-type,
h3:first-of-type,
h4:first-of-type {
margin-top: 0px;
}
}*/
body.ttrss_main[view-mode="marked"] #feeds-holder #feedTree {
.dijitTreeRow.Has_Marked .dijitTreeLabel {
color : @color-accent-marked;
}
.dijitTreeRow.Has_Marked .counterNode.marked {
display : inline-block;
}
}
body.ttrss_main[view-mode="marked"][hide-read-feeds="true"][hide-read-shows-special="true"] #feeds-holder #feedTree
.dijitTreeRow:not(.AlwaysVisible):not(.Special):not(.Has_Marked) {
display : none;
}
body.ttrss_main[view-mode="marked"][hide-read-feeds="true"][hide-read-shows-special="false"] #feeds-holder #feedTree
.dijitTreeRow:not(.AlwaysVisible):not(.Has_Marked) {
display : none;
}
body.ttrss_main:not([view-mode="marked"]) #feeds-holder #feedTree {
.dijitTreeRow.Unread .counterNode.unread {
display : inline-block;
}
.dijitTreeRow.Has_Aux:not(.Unread) .counterNode.aux {
display : inline-block;
}
}
body.ttrss_main:not([view-mode="marked"])[hide-read-feeds="true"][hide-read-shows-special="true"] #feeds-holder #feedTree
.dijitTreeRow:not(.Unread):not(.AlwaysVisible):not(.Special) {
display : none;
}
body.ttrss_main:not([view-mode="marked"])[hide-read-feeds="true"][hide-read-shows-special="false"] #feeds-holder #feedTree
.dijitTreeRow:not(.Unread):not(.AlwaysVisible) {
display : none;
}
body.ttrss_main {
#toolbar-headlines {
i.icon-syndicate {
color: @color-published;
margin-right: 8px;
border: 1px solid @color-published;
border-radius: 4px;
}
2021-03-11 12:07:54 +00:00
#feed_current_unread {
margin-left : 8px;
font-weight : bold;
text-align : center;
border : 1px solid lighten(@color-accent, 5%);;
color : white;
background : lighten(@color-accent, 5%);
border-radius : 4px;
min-width : 23px;
}
}
i.icon-no-feed {
opacity : 0.2;
}
.dijitTreeRow.UpdatesDisabled .dijitTreeLabel {
opacity : 0.5;
}
.cdm.marked .left i.marked-pic,
.hl.marked .left i.marked-pic {
color : @color-marked;
}
2018-12-05 11:11:40 +00:00
.cdm.published .left i.pub-pic,
.hl.published .left i.pub-pic {
color : @color-published;
}
2018-12-05 10:58:18 +00:00
.score-high i.icon-score {
color : @color-checked;
}
.score-low i.icon-score {
color : #500;
}
/*.score-neutral i.icon-score {
opacity : 0.5;
}*/
i.icon-score, i.icon-grid-span {
cursor : pointer;
color : @color-icon;
}
// only shown in grid mode
.icon-grid-span {
display : none;
}
.icon-feed {
cursor : pointer;
}
.panel {
border : 1px solid @border-default;
background : @color-panel-bg;
padding : 4px;
}
.dijitDialog .panel {
background : @default-bg;
}
.panel-scrollable {
overflow : auto;
height : 200px;
}
2021-03-04 12:52:37 +00:00
.panel-scrollable-400px {
overflow : auto;
height : 400px;
}
ul.list li {
padding : 2px;
}
ul.list {
padding : 4px;
}
ul.list-unstyled {
list-style-type : none;
}
.text-center {
text-align : center;
}
2021-03-11 12:07:54 +00:00
.text-right {
text-align : right;
}
.text-left {
text-align : left;
}
.dijitDialog {
.filter-results-list {
.preview {
margin : 8px;
}
.title {
font-weight: bold;
}
}
#feed_add_spinner {
position : relative;
top : 5px;
width : 18px;
height : 18px;
}
}
.icon-three-dots {
width : 18px;
height : 18px;
vertical-align : middle;
}
2018-12-05 10:58:18 +00:00
}
2019-02-19 11:59:29 +00:00
body.ttrss_main, body.ttrss_utility {
.alert {
padding: 8px 35px 8px 14px;
margin-bottom: 10px;
background-color: #fcf8e3;
border: 1px solid #fbeed5;
border-radius: 4px;
.close {
position: relative;
top: -2px;
right: -21px;
line-height: 20px;
cursor : pointer;
}
}
2019-03-01 09:41:57 +00:00
.pull-right {
float : right;
}
.pull-left {
float : left;
}
.pre-wrap {
white-space : pre-wrap;
}
2019-03-01 09:41:57 +00:00
.text-error {
color: #b94a48;
}
.text-info {
color: #3a87ad;
}
.text-success {
color: #468847;
}
.text-warning {
color: darken(#c09853, 10%);
}
2021-03-11 12:07:54 +00:00
.text-muted {
color : @default-text;
}
.text-small, .small {
font-size : @font-size-small;
}
2019-02-19 11:59:29 +00:00
.alert,
.alert h4 {
color: #c09853;
}
.alert h4 {
margin: 0;
}
.alert-success {
color: #468847;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.alert-success h4 {
color: #468847;
}
.alert-danger,
.alert-error {
color: #b94a48;
background-color: #f2dede;
border-color: #eed3d7;
}
.alert-danger h4,
.alert-error h4 {
color: #b94a48;
}
.alert-info {
color: #3a87ad;
background-color: #d9edf7;
border-color: #bce8f1;
h4 {
color: #3a87ad;
}
}
hr {
border: 0px solid #ccc;
border-bottom-width: 1px;
}
2021-03-11 12:07:54 +00:00
/*div.autocomplete {
2019-02-20 10:05:12 +00:00
position : absolute;
width : 250px;
background-color : @default-bg;
border :1px solid @border-default;
margin : 0px;
padding : 0px;
ul {
list-style-type : none;
margin : 0px;
padding : 0px;
}
ul li.selected {
background-color : darken(@default-bg, 10%);
}
ul li {
list-style-type : none;
display : block;
margin : 0;
padding : 2px;
cursor : pointer;
}
2021-03-11 12:07:54 +00:00
}*/
2021-03-16 18:47:10 +00:00
}
2019-02-20 10:05:12 +00:00
2017-12-13 12:54:08 +00:00
::selection {
background : @color-accent;
color : @default-bg;
}
2018-12-04 10:01:50 +00:00
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-thumb {
background-color: @color-accent;
}
::-webkit-scrollbar-track {
background-color: #eee;
}
2021-03-11 12:07:54 +00:00
/*video::-webkit-media-controls-overlay-play-button {
display: none;
2021-03-11 12:07:54 +00:00
}*/
2019-02-19 11:59:29 +00:00