move default (light) theme LESS source to a more appropriate place

add compact_dark theme variant
This commit is contained in:
Andrew Dolgov 2020-02-28 14:48:48 +03:00
parent 76c8b318e5
commit ad0a9c02e5
20 changed files with 2277 additions and 42 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,33 +1,2 @@
@import "../css/default_base.less";
/* rules specific to compact.css */
body.ttrss_main.ttrss_index.flat {
#feedTree.dijitTree .dijitTreeLabel {
font-size : 13px ! important;
}
.dijitMenu .dijitMenuItemLabel,
.content-inner,
#content-insert,
.cdm .content,
.post .content {
font-size : 12px ! important;
}
div[id*=RROW] {
i.material-icons {
font-size: 18px;
}
}
.hl,
.post .header .title,
#floatingTitle a.title,
.cdm .title {
font-size : 13px ! important;
}
}
@import "light/light_base.less";
@import "compact_base.less";

31
themes/compact_base.less Normal file
View File

@ -0,0 +1,31 @@
/* rules specific to compact.css */
body.ttrss_main.ttrss_index.flat {
#feedTree.dijitTree .dijitTreeLabel {
font-size : 13px ! important;
}
.dijitMenu .dijitMenuItemLabel,
.content-inner,
#content-insert,
.cdm .content,
.post .content {
font-size : 12px ! important;
}
div[id*=RROW] {
i.material-icons {
font-size: 18px;
}
}
.hl,
.post .header .title,
#floatingTitle a.title,
.cdm .title {
font-size : 13px ! important;
}
}

2232
themes/compact_night.css Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
@import "night_base.less";
@import "compact_base.less";

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
@import "../css/default_base.less";
@import "light/light_base.less";

0
css/cdm.less → themes/light/cdm.less Executable file → Normal file
View File

View File

@ -1,4 +1,4 @@
@import "defines.less";
@import "dijit_light.less";
@import "zoom.less";
@import "../lib/flat-ttrss/flat_combined.css";
@import "../lib/flat-ttrss/flat_combined.css";

0
css/tt-rss.less → themes/light/tt-rss.less Executable file → Normal file
View File

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
@import "../css/defines.less";
@import "../css/utility.less";
@import "../css/zoom.less";
@import "light/defines.less";
@import "light/utility.less";
@import "light/zoom.less";
@import "../lib/flat-ttrss/flat_combined_dark.css";
@color-accent: #b87d2c;

File diff suppressed because one or more lines are too long