night_base.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. @import "../css/defines.less";
  2. @import "../lib/flat-ttrss/flat_combined_dark.css";
  3. @color-accent: #b87d2c;
  4. @color-panel-bg : #222;
  5. @default-text: #ccc;
  6. @default-fg: @default-text;
  7. @border-default: #222;
  8. @default-bg : #333;
  9. @border-light : #666;
  10. @default-text: #ccc;
  11. @fg-text-muted: darken(@default-text, 20%);
  12. @fg-light : lighten(@default-text, 10%);
  13. body.flat.ttrss_main.ttrss_prefs {
  14. #main, #footer {
  15. background: @color-panel-bg;
  16. }
  17. #footer a {
  18. color : #fff;
  19. }
  20. td.filename,
  21. div.prefHelp {
  22. color : @fg-text-muted;
  23. }
  24. #filterNewRuleDlg {
  25. .invalid {
  26. background : #503030;
  27. }
  28. .valid {
  29. background : #305030;
  30. }
  31. }
  32. }
  33. body.flat.ttrss_main {
  34. img[src*='indicator_white.gif'] {
  35. filter : invert(1);
  36. }
  37. a:hover {
  38. color : lighten(@color-link, 20%);
  39. }
  40. #main, #overlay {
  41. color : @default-text;
  42. background: @default-bg;
  43. }
  44. #toolbar-frame #toolbar {
  45. background : @color-panel-bg;
  46. color : @fg-light;
  47. }
  48. #feeds-holder {
  49. background : @color-panel-bg;
  50. box-shadow : inset -1px 0px 2px -1px @border-light;
  51. #feedTree {
  52. .counterNode.aux {
  53. background: @color-panel-bg;
  54. color: @default-text;
  55. border-color: @default-bg;
  56. }
  57. .dijitTreeRowSelected {
  58. background : @default-bg;
  59. border-color : @default-bg transparent;
  60. color : @fg-light;
  61. }
  62. .dijitTreeRowSelected .dijitTreeLabel {
  63. text-shadow : none;
  64. }
  65. }
  66. }
  67. #floatingTitle {
  68. background-color : @default-bg;
  69. .feed a {
  70. color : @fg-light;
  71. }
  72. i.material-icons {
  73. opacity : 0.7;
  74. }
  75. }
  76. div#floatingTitle.Unread a.title {
  77. color : @fg-light;
  78. }
  79. #headlines-frame {
  80. .hl:not(.active):not(.Selected):not(.Unread),
  81. .cdm.expandable:not(.active):not(.Selected):not(.Unread) {
  82. background : @default-bg;
  83. }
  84. .hl.Unread:not(.active):not(.Selected),
  85. .cdm.expandable.Unread:not(.active):not(.Selected) {
  86. background : @color-panel-bg;
  87. }
  88. .cdm.expanded {
  89. background: @default-bg;
  90. }
  91. .hl.Unread .title,
  92. .cdm.Unread .title {
  93. color : @fg-light;
  94. }
  95. .hl.active,
  96. .hl.Selected,
  97. .cdm.expandable.Selected {
  98. > * {
  99. filter : invert(1);
  100. img {
  101. filter : invert(1);
  102. }
  103. }
  104. .dijitCheckBox {
  105. filter : invert(1);
  106. }
  107. }
  108. .hl.Selected.marked,
  109. .cdm.expandable.Selected.marked,
  110. .hl.active.marked {
  111. i.marked-pic {
  112. filter : invert(1);
  113. }
  114. }
  115. .hl.Selected.published,
  116. .cdm.expandable.Selected.published,
  117. .hl.active.published {
  118. i.pub-pic {
  119. filter : invert(1);
  120. }
  121. }
  122. .cdm.expanded.active .title,
  123. .cdm.expandable.active .title {
  124. color : @color-accent;
  125. }
  126. .cdm.expandable.active {
  127. background : @color-panel-bg ! important;
  128. }
  129. .hl, .cdm {
  130. color : @default-text;
  131. .title {
  132. color : @default-text;
  133. }
  134. .author {
  135. color : @fg-text-muted;
  136. }
  137. .updated, .content {
  138. color : @default-text;
  139. }
  140. .feed a {
  141. color : @fg-light;
  142. }
  143. }
  144. .cdm .footer {
  145. border-color : @color-panel-bg;
  146. color : @default-text;
  147. }
  148. .left {
  149. i.material-icons,
  150. .dijitCheckBox {
  151. opacity: 0.7;
  152. }
  153. }
  154. }
  155. .dijitToolbar {
  156. .dijitSelect {
  157. .dijitButtonContents, .dijitButtonNode {
  158. transition: background-color 0.3s linear;
  159. }
  160. }
  161. .dijitSelect:not(.dijitHover) {
  162. .dijitButtonContents, .dijitButtonNode {
  163. background-color: @color-panel-bg;
  164. }
  165. }
  166. }
  167. .dijitCheckBox:not(.dijitChecked)::before {
  168. color : @fg-text-muted;
  169. background: @color-panel-bg;
  170. }
  171. .text-muted {
  172. color : @fg-text-muted;
  173. }
  174. .dijitAccordionInnerContainerSelected .dijitAccordionTitle {
  175. color : white;
  176. }
  177. .dijitDialog .dijitDialogPaneContent {
  178. background : @color-panel-bg;
  179. }
  180. .dijitTab:not(.dijitTabChecked) {
  181. background : @color-panel-bg;
  182. }
  183. .dijitTab.dijitTabChecked.dijitTabHover {
  184. color : @fg-light;
  185. }
  186. label.dijitButton {
  187. border: 1px solid @border-light;
  188. }
  189. label.dijitButton:hover {
  190. border-color : lighten(@border-default, 5%);
  191. background-color: @default-bg;
  192. }
  193. textarea {
  194. color : @fg-light;
  195. }
  196. code {
  197. color : #c90 ! important;
  198. }
  199. .panel {
  200. background-color : @color-panel-bg;
  201. border-color : @border-light;
  202. }
  203. .dijitDialog .panel {
  204. background-color : @default-bg;
  205. }
  206. #headlines-frame blockquote,
  207. #content-insert blockquote {
  208. color : @default-text;
  209. border-color : @color-accent;
  210. }
  211. pre {
  212. color : @default-text;
  213. background : @color-panel-bg ! important;
  214. }
  215. ul#filterDlg_Matches, ul#filterDlg_Actions {
  216. background: @color-panel-bg;
  217. border-color : @border-light;
  218. }
  219. /*
  220. .post .content img,
  221. .cdm .content-inner img,
  222. .post .content video,
  223. .cdm .content-inner video {
  224. transition : opacity 0.2s linear, filter 0.2s linear;
  225. }
  226. .post .content img:not(:hover),
  227. .cdm .content-inner img:not(:hover),
  228. .post .content video:not(:hover),
  229. .cdm .content-inner video:not(:hover) {
  230. opacity : 0.5;
  231. filter: grayscale(80%);
  232. } */
  233. .article-note {
  234. background : @color-accent;
  235. border-color : @color-accent;
  236. color : @default-bg;
  237. i.material-icons {
  238. color : @default-bg;
  239. }
  240. }
  241. ::-webkit-scrollbar {
  242. width: 4px;
  243. }
  244. ::-webkit-scrollbar-thumb {
  245. background-color: @border-light;
  246. }
  247. ::-webkit-scrollbar-track {
  248. background-color: @color-panel-bg;
  249. }
  250. .alert {
  251. background: @color-panel-bg;
  252. border-color : darken(@color-accent, 20%);
  253. }
  254. }