night_base.less 5.8 KB

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