night_base.less 5.0 KB

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