rebuild flat theme with dark base color and rebase night.css on it
parent
1e3a53c037
commit
b786713560
File diff suppressed because one or more lines are too long
@ -1 +1,4 @@
|
||||
@import "defines.less";
|
||||
@import "dijit_light.less";
|
||||
@import "zoom.less";
|
||||
@import "../lib/flat-ttrss/flat_combined.css";
|
@ -0,0 +1,22 @@
|
||||
.flat {
|
||||
|
||||
.dijitDialog .dijitDialogPaneContent {
|
||||
background : @color-panel-bg;
|
||||
}
|
||||
|
||||
.dijitTab:not(.dijitTabChecked) {
|
||||
background : @color-panel-bg;
|
||||
}
|
||||
|
||||
.dijitCheckBox {
|
||||
background : #ccc;
|
||||
}
|
||||
|
||||
.dijitTree {
|
||||
.dijitTreeNode .dijitTreeRow {
|
||||
padding : 4px 0px 4px;
|
||||
border-width : 1px;
|
||||
color : #333;
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1,276 +1,177 @@
|
||||
@import "../css/default.css";
|
||||
|
||||
:root {
|
||||
--bg-main : #333;
|
||||
--border-main : #666;
|
||||
--border-dark : #222;
|
||||
--bg-panel : #222;
|
||||
--fg-main: #999;
|
||||
--fg-light : #ccc;
|
||||
--bg-active: #2a89bc;
|
||||
@import "../css/defines.less";
|
||||
@import "../lib/flat-ttrss/flat_combined_dark.css";
|
||||
|
||||
@bg-main : #333;
|
||||
@border-main : #666;
|
||||
@border-dark : #222;
|
||||
@bg-panel : #222;
|
||||
@fg-main: #ccc;
|
||||
@fg-light : #ccc;
|
||||
@bg-active: #2a89bc;
|
||||
|
||||
body.flat.ttrss_main.ttrss_prefs {
|
||||
#main, #footer {
|
||||
background: @bg-panel;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
color : #fff;
|
||||
}
|
||||
}
|
||||
|
||||
/* main layout overrides */
|
||||
|
||||
body.flat.ttrss_main.ttrss_index {
|
||||
|
||||
#feeds-holder {
|
||||
background : var(--bg-panel);
|
||||
box-shadow : inset -1px 0px 2px -1px var(--border-main);
|
||||
}
|
||||
|
||||
#headlines-frame,
|
||||
div.whiteBox {
|
||||
border-color : var(--border-main);
|
||||
}
|
||||
|
||||
#main,
|
||||
#overlay {
|
||||
background : var(--bg-main);
|
||||
color : var(--fg-main);
|
||||
}
|
||||
|
||||
#content-insert {
|
||||
background : var(--bg-main);
|
||||
}
|
||||
|
||||
#content-insert_splitter {
|
||||
border-color : var(--border-main);
|
||||
background : var(--bg-panel);
|
||||
}
|
||||
|
||||
#feeds-holder_splitter {
|
||||
border-color : var(--border-main);
|
||||
background : var(--bg-main);
|
||||
}
|
||||
|
||||
/* misc */
|
||||
|
||||
.insensitive {
|
||||
color : var(--fg-light);
|
||||
}
|
||||
|
||||
hr,
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
border-color : var(--border-dark);
|
||||
}
|
||||
|
||||
code {
|
||||
color : #c90 ! important;
|
||||
}
|
||||
|
||||
pre {
|
||||
color : var(--fg-main);
|
||||
background : var(--bg-panel) ! important;
|
||||
}
|
||||
|
||||
/* feeds */
|
||||
|
||||
#feeds-holder {
|
||||
#feedTree .dijitTreeRow {
|
||||
color : var(--fg-light) ! important;
|
||||
}
|
||||
|
||||
#feedTree.dijitTree .dijitTreeRowHover {
|
||||
background : var(--bg-panel);
|
||||
border-color : var(--border-main) transparent;
|
||||
}
|
||||
|
||||
#feedTree.dijitTree .dijitTreeRowSelected {
|
||||
background : var(--bg-main);
|
||||
border-color : var(--bg-main) transparent;
|
||||
}
|
||||
|
||||
#feedTree .dijitTreeRowSelected .dijitTreeLabel {
|
||||
text-shadow : none;
|
||||
}
|
||||
|
||||
#feedTree .counterNode.aux {
|
||||
background : var(--bg-panel);
|
||||
color : var(--fg-main);
|
||||
border-color : var(--bg-main);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* headlines */
|
||||
|
||||
#headlines-frame {
|
||||
background : var(--bg-main);
|
||||
color : var(--fg-light);
|
||||
|
||||
i.material-icons,
|
||||
.dijitCheckBox {
|
||||
opacity : 0.7;
|
||||
}
|
||||
|
||||
.hl {
|
||||
border-color : var(--border-dark);
|
||||
}
|
||||
|
||||
.hl:not(.Selected):not(.active) .title a {
|
||||
color : var(--fg-main);
|
||||
}
|
||||
|
||||
.hl.Unread:not(.Selected):not(.active) .title a {
|
||||
color : var(--fg-light);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* toolbar */
|
||||
|
||||
#toolbar-frame #toolbar {
|
||||
background : var(--bg-panel);
|
||||
border-color : var(--border-dark);
|
||||
|
||||
.dijitButtonText {
|
||||
color : var(--fg-light);
|
||||
}
|
||||
|
||||
.dijitSelect,
|
||||
.dijitDropDownButton .dijitButtonNode,
|
||||
.dijitComboButton .dijitButtonNode,
|
||||
.dijitSelect .dijitButtonText {
|
||||
background : var(--bg-panel);
|
||||
}
|
||||
}
|
||||
|
||||
.hl .feed a,
|
||||
.cdm .feed a {
|
||||
color : white;
|
||||
}
|
||||
|
||||
|
||||
.post .header {
|
||||
background : var(--bg-panel);
|
||||
border-color : var(--border-main);
|
||||
}
|
||||
|
||||
.post .content,
|
||||
.cdm .content-inner {
|
||||
color : var(--fg-main);
|
||||
}
|
||||
|
||||
.post .content img,
|
||||
.cdm .content-inner img,
|
||||
.post .content video,
|
||||
.cdm .content-inner video {
|
||||
transition : opacity 0.5s linear, filter 0.5s linear;
|
||||
}
|
||||
|
||||
.post .content img:not(:hover),
|
||||
.cdm .content-inner img:not(:hover),
|
||||
.post .content video:not(:hover),
|
||||
.cdm .content-inner video:not(:hover) {
|
||||
opacity : 0.5;
|
||||
filter: grayscale(80%);
|
||||
}
|
||||
|
||||
div.cdm div.footer {
|
||||
border-color : var(--border-dark);
|
||||
color : var(--fg-light);
|
||||
}
|
||||
|
||||
div.cdm .header a.title {
|
||||
color : var(--fg-main);
|
||||
}
|
||||
|
||||
div.cdm.Unread .header a.title {
|
||||
color : var(--fg-light);
|
||||
}
|
||||
|
||||
.cdm.expandable.active .header a.title,
|
||||
.cdm.expanded.active .header a.title {
|
||||
color : #2a89bc;
|
||||
}
|
||||
|
||||
#headlines-frame .cdm {
|
||||
border-color : var(--border-dark);
|
||||
}
|
||||
|
||||
#headlines-frame .cdm .header .author {
|
||||
color : var(--fg-main);
|
||||
}
|
||||
|
||||
#headlines-frame .cdm.expandable {
|
||||
background : var(--bg-main) ! important;
|
||||
}
|
||||
|
||||
#headlines-frame .cdm.expandable.Selected {
|
||||
background : var(--bg-active) ! important;
|
||||
}
|
||||
|
||||
#headlines-frame .cdm.expandable.active {
|
||||
background : var(--bg-main);
|
||||
}
|
||||
|
||||
#headlines-frame .cdm.expanded.active {
|
||||
background : var(--bg-main);
|
||||
}
|
||||
|
||||
#content-insert blockquote,
|
||||
#headlines-frame blockquote,
|
||||
.dijitContentPane blockquote {
|
||||
color : var(--fg-main);
|
||||
border-color : var(--border-main);
|
||||
}
|
||||
|
||||
.dijitInputField.dijitButtonText {
|
||||
background : var(--bg-main);
|
||||
}
|
||||
|
||||
.cdm .footer img {
|
||||
opacity : 0.6;
|
||||
}
|
||||
|
||||
#floatingTitle {
|
||||
background : var(--bg-panel);
|
||||
border-color : var(--border-main);
|
||||
}
|
||||
|
||||
#floatingTitle * {
|
||||
color : var(--fg-light) ! important;
|
||||
}
|
||||
|
||||
/* other dijits */
|
||||
|
||||
.dijitMenu,
|
||||
.dijitMenuTable,
|
||||
.dijitMenu .dijitMenuItem td {
|
||||
border-color : var(--bg-panel);
|
||||
background : var(--bg-panel);
|
||||
color : var(--fg-main);
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuItemSelected,
|
||||
.dijitMenu .dijitMenuItemSelected td {
|
||||
background : black;
|
||||
color : white;
|
||||
}
|
||||
|
||||
.dijitMenu .dijitMenuSeparator * {
|
||||
border-bottom-color : var(--border-dark) ! important;
|
||||
}
|
||||
|
||||
.article-note {
|
||||
background : var(--bg-panel);
|
||||
border-color : #9a8c59;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: var(--border-main);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: var(--bg-panel);
|
||||
}
|
||||
body.flat.ttrss_main {
|
||||
color : @fg-main;
|
||||
|
||||
#main, #overlay {
|
||||
color : @fg-main;
|
||||
background: @bg-main;
|
||||
}
|
||||
|
||||
#toolbar-frame #toolbar {
|
||||
background : @bg-panel;
|
||||
border-color : @border-dark;
|
||||
color : @fg-light;
|
||||
}
|
||||
|
||||
#feeds-holder {
|
||||
background : @bg-panel;
|
||||
box-shadow : inset -1px 0px 2px -1px @border-main;
|
||||
|
||||
#feedTree {
|
||||
.counterNode.aux {
|
||||
background: @bg-panel;
|
||||
color: @fg-main;
|
||||
border-color: @bg-main;
|
||||
}
|
||||
|
||||
.dijitTreeRowSelected {
|
||||
background : @bg-main;
|
||||
border-color : @bg-main transparent;
|
||||
color : @fg-light;
|
||||
}
|
||||
|
||||
.dijitTreeRowSelected .dijitTreeLabel {
|
||||
text-shadow : none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#headlines-frame {
|
||||
.hl:not(.active):not(.Selected),
|
||||
.cdm:not(.Selected) {
|
||||
background: @bg-main;
|
||||
}
|
||||
|
||||
.hl, .cdm {
|
||||
border-color : @border-dark;
|
||||
color : @fg-main;
|
||||
|
||||
.title {
|
||||
color : darken(@fg-main, 30%);
|
||||
}
|
||||
|
||||
.feed a {
|
||||
color : @fg-light;
|
||||
}
|
||||
|
||||
.content {
|
||||
color : @fg-main;
|
||||
}
|
||||
}
|
||||
|
||||
.cdm .footer {
|
||||
border-color : @bg-panel;
|
||||
color : @fg-main;
|
||||
}
|
||||
|
||||
.hl.Unread .title,
|
||||
.cdm.Unread .title {
|
||||
color : @fg-light;
|
||||
}
|
||||
|
||||
i.material-icons,
|
||||
.dijitCheckBox {
|
||||
opacity : 0.7;
|
||||
}
|
||||
|
||||
.cdm.expandable.active {
|
||||
background : darken(@bg-main, 5%) ! important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#content-insert {
|
||||
.post {
|
||||
.header {
|
||||
background : @bg-panel;
|
||||
border-color: @border-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.insensitive {
|
||||
color : @fg-light;
|
||||
}
|
||||
|
||||
.dijitAccordionInnerContainerSelected .dijitAccordionTitle {
|
||||
color : white;
|
||||
}
|
||||
|
||||
textarea {
|
||||
color : @fg-light;
|
||||
}
|
||||
|
||||
code {
|
||||
color : #c90 ! important;
|
||||
}
|
||||
|
||||
#headlines-frame blockquote,
|
||||
#content-insert blockquote {
|
||||
color : @fg-main;
|
||||
border-color : @color-accent;
|
||||
}
|
||||
|
||||
pre {
|
||||
color : @fg-main;
|
||||
background : @bg-panel ! important;
|
||||
}
|
||||
|
||||
ul#filterDlg_Matches, ul#filterDlg_Actions {
|
||||
background: @bg-panel;
|
||||
border-color : @border-main;
|
||||
}
|
||||
|
||||
.post .content img,
|
||||
.cdm .content-inner img,
|
||||
.post .content video,
|
||||
.cdm .content-inner video {
|
||||
transition : opacity 0.5s linear, filter 0.5s linear;
|
||||
}
|
||||
|
||||
.post .content img:not(:hover),
|
||||
.cdm .content-inner img:not(:hover),
|
||||
.post .content video:not(:hover),
|
||||
.cdm .content-inner video:not(:hover) {
|
||||
opacity : 0.5;
|
||||
filter: grayscale(80%);
|
||||
}
|
||||
|
||||
.article-note {
|
||||
background : @bg-panel;
|
||||
border-color : #9a8c59;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: @border-main;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: @bg-panel;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue