replace some theme-specific variables with global variables

master
Andrew Dolgov 6 years ago
parent d4f9384d66
commit 4142f63e10

@ -100,7 +100,7 @@
} }
.footer { .footer {
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
@ -214,7 +214,7 @@ div#floatingTitle {
top : 0px; top : 0px;
right : 0px; right : 0px;
left : 0px; left : 0px;
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
background : white; background : white;
color : @default-text; color : @default-text;
@ -333,7 +333,7 @@ div#floatingTitle.Unread a.title {
.cdm.expandable { .cdm.expandable {
background-color : @color-panel-bg; background-color : @color-panel-bg;
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
> hr { > hr {

@ -11,7 +11,7 @@ body.ttrss_prefs,
} }
body.ttrss_main { body.ttrss_main {
background: white; background: white;
color: black; color: #000000;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
overflow: hidden; overflow: hidden;
@ -26,7 +26,7 @@ body.ttrss_main div.post {
body.ttrss_main div.post div.header { body.ttrss_main div.post div.header {
padding: 5px; padding: 5px;
color: #909090; color: #909090;
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
background: #f0f0f0; background: #f0f0f0;
} }
@ -189,7 +189,7 @@ body.ttrss_main .notify.notify_error i.icon-close {
color: white; color: white;
} }
body.ttrss_main .hl { body.ttrss_main .hl {
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
transition: color 0.2s, background 0.2s; transition: color 0.2s, background 0.2s;
display: flex; display: flex;
@ -414,7 +414,7 @@ body.ttrss_main i.pub-pic {
color: #ccc; color: #ccc;
} }
body.ttrss_main div.errorExplained { body.ttrss_main div.errorExplained {
border: 1px solid #ddd; border: 1px solid #dddddd;
margin: 5px 0px 5px 0px; margin: 5px 0px 5px 0px;
padding: 5px; padding: 5px;
} }
@ -423,7 +423,7 @@ body.ttrss_main ul.browseFeedList {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
border-width: 0px 1px 1px 1px; border-width: 0px 1px 1px 1px;
border-color: #ddd; border-color: #dddddd;
border-style: solid; border-style: solid;
margin: 0px 0px 5px 0px; margin: 0px 0px 5px 0px;
background-color: white; background-color: white;
@ -475,7 +475,7 @@ body.ttrss_main div.whiteBox {
text-align: center; text-align: center;
padding: 1em 1em 0px 1em; padding: 1em 1em 0px 1em;
font-size: 11px; font-size: 11px;
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
body.ttrss_main div.autocomplete { body.ttrss_main div.autocomplete {
@ -584,7 +584,7 @@ body.ttrss_main #content-wrap {
} }
body.ttrss_main #feeds-holder { body.ttrss_main #feeds-holder {
padding: 0px; padding: 0px;
border: 0px solid #ddd; border: 0px solid #dddddd;
overflow: hidden; overflow: hidden;
background: #f5f5f5; background: #f5f5f5;
box-shadow: inset -1px 0px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: inset -1px 0px 2px -1px rgba(0, 0, 0, 0.1);
@ -636,7 +636,7 @@ body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .dijitTreeRow {
} }
body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .dijitTreeRowSelected { body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .dijitTreeRowSelected {
box-shadow: -1px 0px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: -1px 0px 2px -1px rgba(0, 0, 0, 0.1);
border-color: #ddd transparent; border-color: #dddddd transparent;
background: white; background: white;
color: #333; color: #333;
} }
@ -677,7 +677,7 @@ body.ttrss_main #headlines-wrap-inner {
} }
body.ttrss_main #headlines-frame { body.ttrss_main #headlines-frame {
padding: 0px; padding: 0px;
border: 0px #ddd; border: 0px #dddddd;
margin-top: 0px; margin-top: 0px;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
-webkit-transform: translateZ(0); -webkit-transform: translateZ(0);
@ -710,7 +710,7 @@ body.ttrss_main #toolbar-frame {
} }
body.ttrss_main #toolbar-frame #toolbar { body.ttrss_main #toolbar-frame #toolbar {
background: white; background: white;
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
padding-left: 4px; padding-left: 4px;
height: 32px; height: 32px;
@ -782,7 +782,7 @@ body.ttrss_main #header {
} }
body.ttrss_main #content-insert { body.ttrss_main #content-insert {
padding: 0px; padding: 0px;
border-color: #ddd; border-color: #dddddd;
border-width: 0px; border-width: 0px;
line-height: 1.5; line-height: 1.5;
overflow: auto; overflow: auto;
@ -839,7 +839,7 @@ body.ttrss_main ul#filterDlg_Actions {
overflow: auto; overflow: auto;
list-style-type: none; list-style-type: none;
border-style: solid; border-style: solid;
border-color: #ddd; border-color: #dddddd;
border-width: 1px 1px 1px 1px; border-width: 1px 1px 1px 1px;
background-color: white; background-color: white;
margin: 0px 0px 5px 0px; margin: 0px 0px 5px 0px;
@ -858,7 +858,7 @@ body.ttrss_main ul.helpKbList {
max-height: 300px; max-height: 300px;
overflow: auto; overflow: auto;
list-style-type: none; list-style-type: none;
border: 1px solid #ddd; border: 1px solid #dddddd;
margin: 0px 0px 5px 0px; margin: 0px 0px 5px 0px;
padding: 5px; padding: 5px;
} }
@ -1002,7 +1002,7 @@ body.ttrss_main i.icon-score {
cursor: pointer; cursor: pointer;
} }
body.ttrss_main .panel { body.ttrss_main .panel {
border: 1px solid #ddd; border: 1px solid #dddddd;
background: #f5f5f5; background: #f5f5f5;
padding: 4px; padding: 4px;
} }
@ -1125,7 +1125,7 @@ video::-webkit-media-controls-overlay-play-button {
white-space: normal; white-space: normal;
} }
.cdm.expanded .footer { .cdm.expanded .footer {
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
.cdm.expanded > hr { .cdm.expanded > hr {
@ -1216,7 +1216,7 @@ div#floatingTitle {
top: 0px; top: 0px;
right: 0px; right: 0px;
left: 0px; left: 0px;
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
background: white; background: white;
color: #555555; color: #555555;
@ -1318,7 +1318,7 @@ div#floatingTitle.Unread a.title {
} }
.cdm.expandable { .cdm.expandable {
background-color: #f5f5f5; background-color: #f5f5f5;
border: 0px solid #ddd; border: 0px solid #dddddd;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
.cdm.expandable > hr { .cdm.expandable > hr {
@ -1745,7 +1745,8 @@ body#sharepopup input {
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
} }
.flat .dijitCheckBox.dijitCheckBoxChecked { .flat .dijitCheckBox.dijitCheckBoxChecked {
background-color: #69C671; background-color: #69c671;
border-color: #45b74f;
} }
.flat .dijitMenu .dijitMenuItem .dijitMenuItemLabel { .flat .dijitMenu .dijitMenuItem .dijitMenuItemLabel {
padding: 4px 8px; padding: 4px 8px;

File diff suppressed because one or more lines are too long

@ -1,13 +1,15 @@
@fonts-ui-bold: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif; @fonts-ui-bold: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
@fonts-ui: "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif; @fonts-ui: "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
@default-fg: black;
@color-accent: #257aa7; @color-accent: #257aa7;
@color-accent-light: lighten(@color-accent, 50%); @color-accent-light: lighten(@color-accent, 50%);
@color-link: @color-accent; @color-link: @color-accent;
@color-published: lighten(#ff5718, 10%); @color-published: lighten(#ff5718, 10%);
@color-marked: #ffc069; @color-marked: #ffc069;
@color-panel-bg: #f5f5f5; @color-panel-bg: #f5f5f5;
@color-enabled: #69C671; @color-checked: #69C671;
@border-default : #ddd;
@default-text: #555; @default-text: #555;
body.ttrss_main, body.ttrss_main,

@ -28,7 +28,8 @@
} }
.dijitCheckBox.dijitCheckBoxChecked { .dijitCheckBox.dijitCheckBoxChecked {
background-color : #69C671; background-color : @color-checked;
border-color : darken(@color-checked, 10%);
} }
.dijitMenu .dijitMenuItem .dijitMenuItemLabel { .dijitMenu .dijitMenuItem .dijitMenuItemLabel {

@ -1,6 +1,6 @@
body.ttrss_main { body.ttrss_main {
background : white; background : white;
color : black; color : @default-fg;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
overflow : hidden; overflow : hidden;
@ -16,7 +16,7 @@ body.ttrss_main {
div.header { div.header {
padding : 5px; padding : 5px;
color : #909090; color : #909090;
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
background: #f0f0f0; background: #f0f0f0;
@ -219,7 +219,7 @@ body.ttrss_main {
} }
.hl { .hl {
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
transition : color 0.2s, background 0.2s; transition : color 0.2s, background 0.2s;
display : flex; display : flex;
@ -476,7 +476,7 @@ body.ttrss_main {
} }
div.errorExplained { div.errorExplained {
border : 1px solid #ddd; border : 1px solid @border-default;
margin : 5px 0px 5px 0px; margin : 5px 0px 5px 0px;
padding : 5px; padding : 5px;
} }
@ -486,7 +486,7 @@ body.ttrss_main {
width : 100%; width : 100%;
overflow : auto; overflow : auto;
border-width : 0px 1px 1px 1px; border-width : 0px 1px 1px 1px;
border-color : #ddd; border-color : @border-default;
border-style : solid; border-style : solid;
margin : 0px 0px 5px 0px; margin : 0px 0px 5px 0px;
background-color : white; background-color : white;
@ -549,7 +549,7 @@ body.ttrss_main {
text-align : center; text-align : center;
padding : 1em 1em 0px 1em; padding : 1em 1em 0px 1em;
font-size : 11px; font-size : 11px;
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
@ -683,7 +683,7 @@ body.ttrss_main {
#feeds-holder { #feeds-holder {
padding : 0px; padding : 0px;
border: 0px solid #ddd; border: 0px solid @border-default;
overflow : hidden; overflow : hidden;
background : @color-panel-bg; background : @color-panel-bg;
box-shadow : inset -1px 0px 2px -1px rgba(0,0,0,0.1); box-shadow : inset -1px 0px 2px -1px rgba(0,0,0,0.1);
@ -741,7 +741,7 @@ body.ttrss_main {
.dijitTreeNode .dijitTreeRowSelected { .dijitTreeNode .dijitTreeRowSelected {
box-shadow : -1px 0px 2px -1px rgba(0,0,0,0.1); box-shadow : -1px 0px 2px -1px rgba(0,0,0,0.1);
border-color : #ddd transparent; border-color : @border-default transparent;
background : white; background : white;
color : #333; color : #333;
} }
@ -775,7 +775,7 @@ body.ttrss_main {
} }
i.icon.icon-whatshot { i.icon.icon-whatshot {
color : @color-enabled; color : @color-checked;
} }
i.icon.icon-restore { i.icon.icon-restore {
@ -795,7 +795,7 @@ body.ttrss_main {
#headlines-frame { #headlines-frame {
padding : 0px; padding : 0px;
border: 0px #ddd; border: 0px @border-default;
margin-top : 0px; margin-top : 0px;
-webkit-overflow-scrolling : touch; -webkit-overflow-scrolling : touch;
-webkit-transform: translateZ(0); -webkit-transform: translateZ(0);
@ -834,7 +834,7 @@ body.ttrss_main {
#toolbar { #toolbar {
background : white; background : white;
border: 0px solid #ddd; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;
padding-left : 4px; padding-left : 4px;
height : 32px; height : 32px;
@ -887,7 +887,7 @@ body.ttrss_main {
} }
#updates-available { #updates-available {
color : @color-enabled; color : @color-checked;
padding-right : 4px; padding-right : 4px;
} }
@ -920,7 +920,7 @@ body.ttrss_main {
#content-insert { #content-insert {
padding : 0px; padding : 0px;
border-color : #ddd; border-color : @border-default;
border-width : 0px; border-width : 0px;
line-height: 1.5; line-height: 1.5;
overflow : auto; overflow : auto;
@ -982,7 +982,7 @@ body.ttrss_main {
overflow : auto; overflow : auto;
list-style-type : none; list-style-type : none;
border-style : solid; border-style : solid;
border-color : #ddd; border-color : @border-default;
border-width : 1px 1px 1px 1px; border-width : 1px 1px 1px 1px;
background-color : white; background-color : white;
margin : 0px 0px 5px 0px; margin : 0px 0px 5px 0px;
@ -1002,7 +1002,7 @@ body.ttrss_main {
max-height : 300px; max-height : 300px;
overflow : auto; overflow : auto;
list-style-type : none; list-style-type : none;
border : 1px solid #ddd; border : 1px solid @border-default;
margin : 0px 0px 5px 0px; margin : 0px 0px 5px 0px;
padding : 5px; padding : 5px;
@ -1169,7 +1169,7 @@ body.ttrss_main {
} }
.score-high i.icon-score { .score-high i.icon-score {
color : @color-enabled; color : @color-checked;
} }
.score-low i.icon-score { .score-low i.icon-score {
@ -1185,7 +1185,7 @@ body.ttrss_main {
} }
.panel { .panel {
border : 1px solid #ddd; border : 1px solid @border-default;
background : @color-panel-bg; background : @color-panel-bg;
padding : 4px; padding : 4px;
} }

@ -11,7 +11,7 @@ body.ttrss_prefs,
} }
body.ttrss_main { body.ttrss_main {
background: white; background: white;
color: black; color: #cccccc;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
overflow: hidden; overflow: hidden;
@ -26,7 +26,7 @@ body.ttrss_main div.post {
body.ttrss_main div.post div.header { body.ttrss_main div.post div.header {
padding: 5px; padding: 5px;
color: #909090; color: #909090;
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
background: #f0f0f0; background: #f0f0f0;
} }
@ -189,13 +189,13 @@ body.ttrss_main .notify.notify_error i.icon-close {
color: white; color: white;
} }
body.ttrss_main .hl { body.ttrss_main .hl {
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
transition: color 0.2s, background 0.2s; transition: color 0.2s, background 0.2s;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
background: #f5f5f5; background: #222222;
} }
body.ttrss_main .hl > * { body.ttrss_main .hl > * {
align-self: center; align-self: center;
@ -237,13 +237,13 @@ body.ttrss_main .hl span.feed a {
font-size: 11px; font-size: 11px;
font-style: italic; font-style: italic;
font-weight: normal; font-weight: normal;
color: #555555; color: #cccccc;
} }
body.ttrss_main .hl span.feed a:hover { body.ttrss_main .hl span.feed a:hover {
color: #b87d2c; color: #b87d2c;
} }
body.ttrss_main .hl span.updated { body.ttrss_main .hl span.updated {
color: #555555; color: #cccccc;
text-align: right; text-align: right;
font-size: 11px; font-size: 11px;
padding-left: 10px; padding-left: 10px;
@ -303,7 +303,7 @@ body.ttrss_main #content-insert blockquote,
body.ttrss_main #headlines-frame blockquote, body.ttrss_main #headlines-frame blockquote,
body.ttrss_main .dijitContentPane blockquote { body.ttrss_main .dijitContentPane blockquote {
margin: 5px 0px 5px 0px; margin: 5px 0px 5px 0px;
color: #555555; color: #cccccc;
padding-left: 10px; padding-left: 10px;
border: 0px solid #ccc; border: 0px solid #ccc;
border-left-width: 4px; border-left-width: 4px;
@ -319,11 +319,11 @@ body.ttrss_main #headlines-frame pre,
body.ttrss_main .dijitContentPane pre { body.ttrss_main .dijitContentPane pre {
margin: 5px 0px 5px 0px; margin: 5px 0px 5px 0px;
padding: 10px; padding: 10px;
color: #555555; color: #cccccc;
font-family: monospace; font-family: monospace;
font-size: 12px; font-size: 12px;
border: 0px solid #ccc; border: 0px solid #ccc;
background: #f5f5f5; background: #222222;
display: block; display: block;
max-width: 98%; max-width: 98%;
overflow: auto; overflow: auto;
@ -377,11 +377,11 @@ body.ttrss_main .alert-info h4 {
color: #3a87ad; color: #3a87ad;
} }
body.ttrss_main div.prefHelp { body.ttrss_main div.prefHelp {
color: #555555; color: #cccccc;
padding: 5px; padding: 5px;
} }
body.ttrss_main .insensitive { body.ttrss_main .insensitive {
color: #555555; color: #cccccc;
} }
body.ttrss_main .small { body.ttrss_main .small {
font-size: 11px; font-size: 11px;
@ -414,7 +414,7 @@ body.ttrss_main i.pub-pic {
color: #ccc; color: #ccc;
} }
body.ttrss_main div.errorExplained { body.ttrss_main div.errorExplained {
border: 1px solid #ddd; border: 1px solid #222222;
margin: 5px 0px 5px 0px; margin: 5px 0px 5px 0px;
padding: 5px; padding: 5px;
} }
@ -423,7 +423,7 @@ body.ttrss_main ul.browseFeedList {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
border-width: 0px 1px 1px 1px; border-width: 0px 1px 1px 1px;
border-color: #ddd; border-color: #222222;
border-style: solid; border-style: solid;
margin: 0px 0px 5px 0px; margin: 0px 0px 5px 0px;
background-color: white; background-color: white;
@ -475,7 +475,7 @@ body.ttrss_main div.whiteBox {
text-align: center; text-align: center;
padding: 1em 1em 0px 1em; padding: 1em 1em 0px 1em;
font-size: 11px; font-size: 11px;
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
body.ttrss_main div.autocomplete { body.ttrss_main div.autocomplete {
@ -555,7 +555,7 @@ body.ttrss_main div#cmdline {
left: 5px; left: 5px;
bottom: 5px; bottom: 5px;
font-size: 11px; font-size: 11px;
color: #555555; color: #cccccc;
font-weight: bold; font-weight: bold;
background-color: white; background-color: white;
border: 1px solid #b87d2c; border: 1px solid #b87d2c;
@ -584,9 +584,9 @@ body.ttrss_main #content-wrap {
} }
body.ttrss_main #feeds-holder { body.ttrss_main #feeds-holder {
padding: 0px; padding: 0px;
border: 0px solid #ddd; border: 0px solid #222222;
overflow: hidden; overflow: hidden;
background: #f5f5f5; background: #222222;
box-shadow: inset -1px 0px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: inset -1px 0px 2px -1px rgba(0, 0, 0, 0.1);
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }
@ -636,7 +636,7 @@ body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .dijitTreeRow {
} }
body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .dijitTreeRowSelected { body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .dijitTreeRowSelected {
box-shadow: -1px 0px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: -1px 0px 2px -1px rgba(0, 0, 0, 0.1);
border-color: #ddd transparent; border-color: #222222 transparent;
background: white; background: white;
color: #333; color: #333;
} }
@ -677,7 +677,7 @@ body.ttrss_main #headlines-wrap-inner {
} }
body.ttrss_main #headlines-frame { body.ttrss_main #headlines-frame {
padding: 0px; padding: 0px;
border: 0px #ddd; border: 0px #222222;
margin-top: 0px; margin-top: 0px;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
-webkit-transform: translateZ(0); -webkit-transform: translateZ(0);
@ -689,11 +689,11 @@ body.ttrss_main #headlines-frame div.feed-title {
padding: 5px 8px; padding: 5px 8px;
} }
body.ttrss_main #headlines-frame div.feed-title a.title { body.ttrss_main #headlines-frame div.feed-title a.title {
color: #555555; color: #cccccc;
font-weight: bold; font-weight: bold;
} }
body.ttrss_main #headlines-frame div.feed-title a { body.ttrss_main #headlines-frame div.feed-title a {
color: #555555; color: #cccccc;
} }
body.ttrss_main #headlines-frame div.feed-title a:hover { body.ttrss_main #headlines-frame div.feed-title a:hover {
color: #b87d2c; color: #b87d2c;
@ -710,14 +710,14 @@ body.ttrss_main #toolbar-frame {
} }
body.ttrss_main #toolbar-frame #toolbar { body.ttrss_main #toolbar-frame #toolbar {
background: white; background: white;
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
padding-left: 4px; padding-left: 4px;
height: 32px; height: 32px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
color: #555555; color: #cccccc;
font-size: 12px; font-size: 12px;
} }
body.ttrss_main #toolbar-frame #toolbar > * { body.ttrss_main #toolbar-frame #toolbar > * {
@ -772,7 +772,7 @@ body.ttrss_main #toolbar-frame #toolbar #selected_prompt {
body.ttrss_main #header { body.ttrss_main #header {
border-width: 0px; border-width: 0px;
text-align: right; text-align: right;
color: #555555; color: #cccccc;
padding: 5px 5px 0px 0px; padding: 5px 5px 0px 0px;
margin: 0px; margin: 0px;
position: absolute; position: absolute;
@ -782,7 +782,7 @@ body.ttrss_main #header {
} }
body.ttrss_main #content-insert { body.ttrss_main #content-insert {
padding: 0px; padding: 0px;
border-color: #ddd; border-color: #222222;
border-width: 0px; border-width: 0px;
line-height: 1.5; line-height: 1.5;
overflow: auto; overflow: auto;
@ -798,10 +798,10 @@ body.ttrss_main img.icon {
} }
body.ttrss_main .player { body.ttrss_main .player {
display: inline-block; display: inline-block;
color: #555555; color: #cccccc;
font-size: 11px; font-size: 11px;
font-family: sans-serif; font-family: sans-serif;
border: 1px solid #555555; border: 1px solid #cccccc;
padding: 0px 4px 0px 4px; padding: 0px 4px 0px 4px;
margin: 0px 2px 0px 2px; margin: 0px 2px 0px 2px;
width: 50px; width: 50px;
@ -820,13 +820,13 @@ body.ttrss_main #headlines-spacer {
height: 100%; height: 100%;
margin-left: 1px; margin-left: 1px;
text-align: center; text-align: center;
color: #555555; color: #cccccc;
font-size: 11px; font-size: 11px;
font-style: italic; font-style: italic;
} }
body.ttrss_main #headlines-spacer a, body.ttrss_main #headlines-spacer a,
body.ttrss_main #headlines-spacer span { body.ttrss_main #headlines-spacer span {
color: #555555; color: #cccccc;
padding: 10px; padding: 10px;
display: block; display: block;
} }
@ -839,7 +839,7 @@ body.ttrss_main ul#filterDlg_Actions {
overflow: auto; overflow: auto;
list-style-type: none; list-style-type: none;
border-style: solid; border-style: solid;
border-color: #ddd; border-color: #222222;
border-width: 1px 1px 1px 1px; border-width: 1px 1px 1px 1px;
background-color: white; background-color: white;
margin: 0px 0px 5px 0px; margin: 0px 0px 5px 0px;
@ -858,7 +858,7 @@ body.ttrss_main ul.helpKbList {
max-height: 300px; max-height: 300px;
overflow: auto; overflow: auto;
list-style-type: none; list-style-type: none;
border: 1px solid #ddd; border: 1px solid #222222;
margin: 0px 0px 5px 0px; margin: 0px 0px 5px 0px;
padding: 5px; padding: 5px;
} }
@ -1002,8 +1002,8 @@ body.ttrss_main i.icon-score {
cursor: pointer; cursor: pointer;
} }
body.ttrss_main .panel { body.ttrss_main .panel {
border: 1px solid #ddd; border: 1px solid #222222;
background: #f5f5f5; background: #222222;
padding: 4px; padding: 4px;
} }
body.ttrss_main .dijitDialog .panel { body.ttrss_main .dijitDialog .panel {
@ -1075,7 +1075,7 @@ video::-webkit-media-controls-overlay-play-button {
flex-grow: 2; flex-grow: 2;
} }
.cdm .header span.updated { .cdm .header span.updated {
color: #555555; color: #cccccc;
font-weight: normal; font-weight: normal;
font-size: 11px; font-size: 11px;
white-space: nowrap; white-space: nowrap;
@ -1087,7 +1087,7 @@ video::-webkit-media-controls-overlay-play-button {
height: 30px; height: 30px;
padding-left: 5px; padding-left: 5px;
font-weight: normal; font-weight: normal;
color: #555555; color: #cccccc;
clear: both; clear: both;
} }
.cdm .footer > * { .cdm .footer > * {
@ -1125,7 +1125,7 @@ video::-webkit-media-controls-overlay-play-button {
white-space: normal; white-space: normal;
} }
.cdm.expanded .footer { .cdm.expanded .footer {
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
.cdm.expanded > hr { .cdm.expanded > hr {
@ -1153,7 +1153,7 @@ div.cdm.expanded.Unread div.header a.title {
color: black; color: black;
} }
div.cdm.expanded div.content { div.cdm.expanded div.content {
color: #555555; color: #cccccc;
} }
div.cdm.expanded.Unread div.content { div.cdm.expanded.Unread div.content {
color: black; color: black;
@ -1167,11 +1167,11 @@ div.cdm.active div.content {
padding: 5px 3px 5px 5px; padding: 5px 3px 5px 5px;
} }
.cdm div.feed-title a.title { .cdm div.feed-title a.title {
color: #555555; color: #cccccc;
font-weight: bold; font-weight: bold;
} }
.cdm div.feed-title a { .cdm div.feed-title a {
color: #555555; color: #cccccc;
} }
.cdm div.feed-title a:hover { .cdm div.feed-title a:hover {
color: #b87d2c; color: #b87d2c;
@ -1184,7 +1184,7 @@ div.cdm.active div.content {
.cdm div.header div.feed, .cdm div.header div.feed,
.cdm div.header div.feed a { .cdm div.header div.feed a {
vertical-align: middle; vertical-align: middle;
color: #555555; color: #cccccc;
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
font-size: 11px; font-size: 11px;
@ -1201,7 +1201,7 @@ div.cdm.active div.content {
} }
.cdm div.header span.author { .cdm div.header span.author {
white-space: nowrap; white-space: nowrap;
color: #555555; color: #cccccc;
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
} }
@ -1216,10 +1216,10 @@ div#floatingTitle {
top: 0px; top: 0px;
right: 0px; right: 0px;
left: 0px; left: 0px;
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
background: white; background: white;
color: #555555; color: #cccccc;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
@ -1254,7 +1254,7 @@ div#floatingTitle .right i.icon-anchor {
cursor: pointer; cursor: pointer;
} }
div#floatingTitle span.author { div#floatingTitle span.author {
color: #555555; color: #cccccc;
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
} }
@ -1268,7 +1268,7 @@ div#floatingTitle a.title {
} }
div#floatingTitle div.feed { div#floatingTitle div.feed {
padding-right: 10px; padding-right: 10px;
color: #555555; color: #cccccc;
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
font-size: 11px; font-size: 11px;
@ -1282,11 +1282,11 @@ div#floatingTitle div.feed a {
div#floatingTitle span.updated { div#floatingTitle span.updated {
padding-right: 10px; padding-right: 10px;
white-space: nowrap; white-space: nowrap;
color: #555555; color: #cccccc;
font-size: 11px; font-size: 11px;
} }
div#floatingTitle div.feed a { div#floatingTitle div.feed a {
color: #555555; color: #cccccc;
} }
div#floatingTitle .collapse, div#floatingTitle .collapse,
div#floatingTitle .excerpt { div#floatingTitle .excerpt {
@ -1305,7 +1305,7 @@ div#floatingTitle .feed-title a.title {
} }
div#floatingTitle .feed-title a.catchup { div#floatingTitle .feed-title a.catchup {
text-align: right; text-align: right;
color: #555555; color: #cccccc;
padding-right: 10px; padding-right: 10px;
font-size: 11px; font-size: 11px;
white-space: nowrap; white-space: nowrap;
@ -1317,8 +1317,8 @@ div#floatingTitle.Unread a.title {
color: black; color: black;
} }
.cdm.expandable { .cdm.expandable {
background-color: #f5f5f5; background-color: #222222;
border: 0px solid #ddd; border: 0px solid #222222;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
.cdm.expandable > hr { .cdm.expandable > hr {
@ -1355,7 +1355,7 @@ div.cdm.expandable.active div.header span.titleWrap {
} }
div.cdm.expandable div.header a.title { div.cdm.expandable div.header a.title {
font-weight: 600; font-weight: 600;
color: #555555; color: #cccccc;
font-size: 14px; font-size: 14px;
transition: color 0.2s, background 0.2s; transition: color 0.2s, background 0.2s;
text-rendering: optimizelegibility; text-rendering: optimizelegibility;
@ -1386,7 +1386,7 @@ div.cdm.expandable:not(.active) .collapse {
display: none; display: none;
} }
body.ttrss_prefs { body.ttrss_prefs {
background-color: #f5f5f5; background-color: #222222;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
} }
@ -1402,7 +1402,7 @@ body.ttrss_prefs #footer_splitter {
display: none; display: none;
} }
body.ttrss_prefs #footer { body.ttrss_prefs #footer {
background-color: #f5f5f5; background-color: #222222;
font-size: 13px; font-size: 13px;
border: 0px; border: 0px;
text-align: center; text-align: center;
@ -1442,7 +1442,7 @@ body.ttrss_prefs div#filterlistLoading,
body.ttrss_prefs div#labellistLoading { body.ttrss_prefs div#labellistLoading {
text-align: center; text-align: center;
padding: 5px; padding: 5px;
color: #555555; color: #cccccc;
} }
body.ttrss_prefs div#feedlistLoading img, body.ttrss_prefs div#feedlistLoading img,
body.ttrss_prefs div#filterlistLoading img, body.ttrss_prefs div#filterlistLoading img,
@ -1476,7 +1476,7 @@ body.ttrss_prefs table.prefErrorLog tr.errrow td.errno {
body.ttrss_prefs table.prefErrorLog td.filename, body.ttrss_prefs table.prefErrorLog td.filename,
body.ttrss_prefs table.prefErrorLog td.login, body.ttrss_prefs table.prefErrorLog td.login,
body.ttrss_prefs table.prefErrorLog td.timestamp { body.ttrss_prefs table.prefErrorLog td.timestamp {
color: #555555; color: #cccccc;
} }
body.ttrss_prefs hr { body.ttrss_prefs hr {
border-color: #ecf4ff; border-color: #ecf4ff;
@ -1486,7 +1486,7 @@ body.ttrss_utility.sanity_failed {
background: #900; background: #900;
} }
body.ttrss_utility { body.ttrss_utility {
background: #f5f5f5; background: #222222;
color: black; color: black;
padding: 0px; padding: 0px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@ -1745,7 +1745,8 @@ body#sharepopup input {
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
} }
.flat .dijitCheckBox.dijitCheckBoxChecked { .flat .dijitCheckBox.dijitCheckBoxChecked {
background-color: #69C671; background-color: #69c671;
border-color: #45b74f;
} }
.flat .dijitMenu .dijitMenuItem .dijitMenuItemLabel { .flat .dijitMenu .dijitMenuItem .dijitMenuItemLabel {
padding: 4px 8px; padding: 4px 8px;
@ -1815,7 +1816,7 @@ body#sharepopup input {
top: 1px; top: 1px;
} }
.flat label.dijitButton:hover { .flat label.dijitButton:hover {
background-color: #f5f5f5; background-color: #222222;
} }
@font-face { @font-face {
font-family: 'Material Icons'; font-family: 'Material Icons';
@ -1862,7 +1863,6 @@ body.flat.ttrss_main.ttrss_prefs div.prefHelp {
color: #999999; color: #999999;
} }
body.flat.ttrss_main { body.flat.ttrss_main {
color: #cccccc;
/* /*
.post .content img, .post .content img,
.cdm .content-inner img, .cdm .content-inner img,
@ -1892,7 +1892,6 @@ body.flat.ttrss_main #overlay {
} }
body.flat.ttrss_main #toolbar-frame #toolbar { body.flat.ttrss_main #toolbar-frame #toolbar {
background: #222222; background: #222222;
border-color: #222222;
color: #e6e6e6; color: #e6e6e6;
} }
body.flat.ttrss_main #feeds-holder { body.flat.ttrss_main #feeds-holder {
@ -1914,7 +1913,6 @@ body.flat.ttrss_main #feeds-holder #feedTree .dijitTreeRowSelected .dijitTreeLab
} }
body.flat.ttrss_main #floatingTitle { body.flat.ttrss_main #floatingTitle {
background-color: #333333; background-color: #333333;
border-color: #222222;
} }
body.flat.ttrss_main #floatingTitle .feed a { body.flat.ttrss_main #floatingTitle .feed a {
color: #e6e6e6; color: #e6e6e6;
@ -1925,9 +1923,6 @@ body.flat.ttrss_main #floatingTitle i.material-icons {
body.flat.ttrss_main div#floatingTitle.Unread a.title { body.flat.ttrss_main div#floatingTitle.Unread a.title {
color: #e6e6e6; color: #e6e6e6;
} }
body.flat.ttrss_main #headlines-frame .whiteBox {
border-color: #222222;
}
body.flat.ttrss_main #headlines-frame .hl:not(.active):not(.Selected):not(.Unread), body.flat.ttrss_main #headlines-frame .hl:not(.active):not(.Selected):not(.Unread),
body.flat.ttrss_main #headlines-frame .cdm.expandable:not(.active):not(.Selected):not(.Unread) { body.flat.ttrss_main #headlines-frame .cdm.expandable:not(.active):not(.Selected):not(.Unread) {
background: #333333; background: #333333;
@ -1977,7 +1972,6 @@ body.flat.ttrss_main #headlines-frame .cdm.expandable.active {
} }
body.flat.ttrss_main #headlines-frame .hl, body.flat.ttrss_main #headlines-frame .hl,
body.flat.ttrss_main #headlines-frame .cdm { body.flat.ttrss_main #headlines-frame .cdm {
border-color: #222222;
color: #cccccc; color: #cccccc;
} }
body.flat.ttrss_main #headlines-frame .hl .title, body.flat.ttrss_main #headlines-frame .hl .title,
@ -2008,7 +2002,6 @@ body.flat.ttrss_main #headlines-frame .left .dijitCheckBox {
} }
body.flat.ttrss_main #content-insert .post .header { body.flat.ttrss_main #content-insert .post .header {
background: #222222; background: #222222;
border-color: #222222;
} }
body.flat.ttrss_main .dijitToolbar .dijitSelect .dijitButtonContents, body.flat.ttrss_main .dijitToolbar .dijitSelect .dijitButtonContents,
body.flat.ttrss_main .dijitToolbar .dijitSelect .dijitButtonNode { body.flat.ttrss_main .dijitToolbar .dijitSelect .dijitButtonNode {

File diff suppressed because one or more lines are too long

@ -2,19 +2,23 @@
@import "../lib/flat-ttrss/flat_combined_dark.css"; @import "../lib/flat-ttrss/flat_combined_dark.css";
@color-accent: #b87d2c; @color-accent: #b87d2c;
@color-panel-bg : #222;
@default-text: #ccc;
@default-fg: @default-text;
@border-default: #222;
@bg-main : #333; @bg-main : #333;
@border-main : #666;
@border-dark : #222; @border-light : #666;
@bg-panel : #222;
@fg-main: #ccc; @default-text: #ccc;
@fg-insensitive: darken(@fg-main, 20%);
@fg-light : lighten(@fg-main, 10%); @fg-insensitive: darken(@default-text, 20%);
@bg-active: @color-accent; @fg-light : lighten(@default-text, 10%);
body.flat.ttrss_main.ttrss_prefs { body.flat.ttrss_main.ttrss_prefs {
#main, #footer { #main, #footer {
background: @bg-panel; background: @color-panel-bg;
} }
#footer a { #footer a {
@ -28,8 +32,6 @@ body.flat.ttrss_main.ttrss_prefs {
} }
body.flat.ttrss_main { body.flat.ttrss_main {
color : @fg-main;
img[src*='indicator_white.gif'] { img[src*='indicator_white.gif'] {
filter : invert(1); filter : invert(1);
} }
@ -39,24 +41,23 @@ body.flat.ttrss_main {
} }
#main, #overlay { #main, #overlay {
color : @fg-main; color : @default-text;
background: @bg-main; background: @bg-main;
} }
#toolbar-frame #toolbar { #toolbar-frame #toolbar {
background : @bg-panel; background : @color-panel-bg;
border-color : @border-dark;
color : @fg-light; color : @fg-light;
} }
#feeds-holder { #feeds-holder {
background : @bg-panel; background : @color-panel-bg;
box-shadow : inset -1px 0px 2px -1px @border-main; box-shadow : inset -1px 0px 2px -1px @border-light;
#feedTree { #feedTree {
.counterNode.aux { .counterNode.aux {
background: @bg-panel; background: @color-panel-bg;
color: @fg-main; color: @default-text;
border-color: @bg-main; border-color: @bg-main;
} }
@ -74,7 +75,6 @@ body.flat.ttrss_main {
#floatingTitle { #floatingTitle {
background-color : @bg-main; background-color : @bg-main;
border-color : @border-dark;
.feed a { .feed a {
color : @fg-light; color : @fg-light;
@ -90,10 +90,6 @@ body.flat.ttrss_main {
} }
#headlines-frame { #headlines-frame {
.whiteBox {
border-color : @border-dark;
}
.hl:not(.active):not(.Selected):not(.Unread), .hl:not(.active):not(.Selected):not(.Unread),
.cdm.expandable:not(.active):not(.Selected):not(.Unread) { .cdm.expandable:not(.active):not(.Selected):not(.Unread) {
background : @bg-main; background : @bg-main;
@ -101,7 +97,7 @@ body.flat.ttrss_main {
.hl.Unread:not(.active):not(.Selected), .hl.Unread:not(.active):not(.Selected),
.cdm.expandable.Unread:not(.active):not(.Selected) { .cdm.expandable.Unread:not(.active):not(.Selected) {
background : @bg-panel; background : @color-panel-bg;
} }
.cdm.expanded { .cdm.expanded {
@ -151,15 +147,14 @@ body.flat.ttrss_main {
} }
.cdm.expandable.active { .cdm.expandable.active {
background : @bg-panel ! important; background : @color-panel-bg ! important;
} }
.hl, .cdm { .hl, .cdm {
border-color : @border-dark; color : @default-text;
color : @fg-main;
.title { .title {
color : @fg-main; color : @default-text;
} }
.author { .author {
@ -167,7 +162,7 @@ body.flat.ttrss_main {
} }
.updated, .content { .updated, .content {
color : @fg-main; color : @default-text;
} }
.feed a { .feed a {
@ -176,8 +171,8 @@ body.flat.ttrss_main {
} }
.cdm .footer { .cdm .footer {
border-color : @bg-panel; border-color : @color-panel-bg;
color : @fg-main; color : @default-text;
} }
.left { .left {
@ -192,8 +187,7 @@ body.flat.ttrss_main {
#content-insert { #content-insert {
.post { .post {
.header { .header {
background : @bg-panel; background : @color-panel-bg;
border-color: @border-dark;
} }
} }
} }
@ -207,14 +201,14 @@ body.flat.ttrss_main {
.dijitSelect:not(.dijitHover) { .dijitSelect:not(.dijitHover) {
.dijitButtonContents, .dijitButtonNode { .dijitButtonContents, .dijitButtonNode {
background-color: @bg-panel; background-color: @color-panel-bg;
} }
} }
} }
.dijitCheckBox:not(.dijitChecked)::before { .dijitCheckBox:not(.dijitChecked)::before {
color : @fg-insensitive; color : @fg-insensitive;
background: @bg-panel; background: @color-panel-bg;
} }
.insensitive { .insensitive {
@ -226,11 +220,11 @@ body.flat.ttrss_main {
} }
.dijitDialog .dijitDialogPaneContent { .dijitDialog .dijitDialogPaneContent {
background : @bg-panel; background : @color-panel-bg;
} }
.dijitTab:not(.dijitTabChecked) { .dijitTab:not(.dijitTabChecked) {
background : @bg-panel; background : @color-panel-bg;
} }
.dijitTab.dijitTabChecked.dijitTabHover { .dijitTab.dijitTabChecked.dijitTabHover {
@ -238,11 +232,11 @@ body.flat.ttrss_main {
} }
label.dijitButton { label.dijitButton {
border: 1px solid @border-main; border: 1px solid @border-light;
} }
label.dijitButton:hover { label.dijitButton:hover {
border-color : lighten(@border-dark, 5%); border-color : lighten(@border-default, 5%);
background-color: @bg-main; background-color: @bg-main;
} }
@ -255,8 +249,8 @@ body.flat.ttrss_main {
} }
.panel { .panel {
background-color : @bg-panel; background-color : @color-panel-bg;
border-color : @border-main; border-color : @border-light;
} }
.dijitDialog .panel { .dijitDialog .panel {
@ -265,18 +259,18 @@ body.flat.ttrss_main {
#headlines-frame blockquote, #headlines-frame blockquote,
#content-insert blockquote { #content-insert blockquote {
color : @fg-main; color : @default-text;
border-color : @color-accent; border-color : @color-accent;
} }
pre { pre {
color : @fg-main; color : @default-text;
background : @bg-panel ! important; background : @color-panel-bg ! important;
} }
ul#filterDlg_Matches, ul#filterDlg_Actions { ul#filterDlg_Matches, ul#filterDlg_Actions {
background: @bg-panel; background: @color-panel-bg;
border-color : @border-main; border-color : @border-light;
} }
/* /*
@ -296,7 +290,7 @@ body.flat.ttrss_main {
} */ } */
.article-note { .article-note {
background : @bg-panel; background : @color-panel-bg;
border-color : #9a8c59; border-color : #9a8c59;
} }
@ -305,15 +299,15 @@ body.flat.ttrss_main {
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: @border-main; background-color: @border-light;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background-color: @bg-panel; background-color: @color-panel-bg;
} }
.alert { .alert {
background: @bg-panel; background: @color-panel-bg;
border-color : darken(@color-accent, 20%); border-color : darken(@color-accent, 20%);
} }

Loading…
Cancel
Save