pafat.rtl.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. :root {
  5. --font-color-white: #fff;
  6. --font-color-grey-light: #c5c6ca;
  7. --font-color-grey: #666;
  8. --font-color-hover: #000;
  9. --font-color-link-title: #333;
  10. --font-color-link-general: #2980b9;
  11. --font-color-link-general-hover: #038;
  12. --font-color-unread-articles: #428bca;
  13. --font-color-article: #41444f;
  14. --font-color-blockquote: #41444f;
  15. --font-color-code: #d14;
  16. --background-color-white: #fff;
  17. --background-color-grey-light: #fafafa;
  18. --background-color-grey: #f4f4f4;
  19. --background-color-grey-transparent: #f3f3f3bb;
  20. --background-color-grey-hover: #f0f0f0;
  21. --background-color-grey-button-active: #eee;
  22. --background-color-dark: #41444f;
  23. --background-color-navlist-active: #3498db;
  24. --background-color-favorite: #fff6da;
  25. --background-color-favorite-hover: #fff9e8;
  26. --background-color-button-important: #5cb85c;
  27. --background-color-button-important-hover: #47a447;
  28. --background-color-button-attention: #d9534f;
  29. --background-color-button-attention-hover: #d2322d;
  30. --background-color-active-feed: #5cb85c;
  31. --background-color-mainstream: #428bca;
  32. --background-color-mainstream-active: #3276b1;
  33. --background-color-favorites: #f0ad4e;
  34. --background-color-favorites-active: #ed9c28;
  35. --background-color-category: #5bc0de;
  36. --background-color-category-active: #39b3d7;
  37. --background-color-new-article: #428bca;
  38. --background-color-new-article-hover: #3276b1;
  39. --color-empty-feed: #f39c12;
  40. --color-error-feed: #bd362f;
  41. --color-warning-icon-folder: #f0ad4e;
  42. --notification-good-background-color: #ffe;
  43. --notification-good-border-color: #eeb;
  44. --notification-good-font-color: #c95;
  45. --notification-bad-background-color: #fdd;
  46. --notification-bad-font-color: #844;
  47. --notification-bad-border-color: #ecc;
  48. --notification-box-shadow-color: #ddd;
  49. --alert-warn-background-color: #ffe;
  50. --alert-warn-border-color: #eeb;
  51. --alert-warn-font-color: #c95;
  52. --alert-success-background-color: #dfd;
  53. --alert-success-border-color: #cec;
  54. --alert-success-font-color: #484;
  55. --alert-error-background-color: #fdd;
  56. --alert-error-font-color: #844;
  57. --alert-error-border-color: #ecc;
  58. --invalid-box-border-color: #f00;
  59. --invalid-box-shadow-color: #fdd;
  60. --border-color-white: #fff;
  61. --border-color-grey-dark: #aaa;
  62. --border-color-grey-light: #ddd;
  63. --border-left-article: #5cb85c;
  64. --border-left-article-current: #39b3d7;
  65. --border-left-article-unread: #d9534f;
  66. --border-left-article-favorite: #428bca;
  67. }
  68. html, body {
  69. background-color: var(--background-color-grey-light);
  70. color: var(--font-color-grey);
  71. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  72. }
  73. /*=== Links */
  74. a, .as-link, button.as-link {
  75. color: var(--font-color-link-general);
  76. outline: none;
  77. }
  78. /*=== Forms */
  79. legend {
  80. margin: 20px 0 5px;
  81. padding: 5px 0;
  82. font-size: 1.4em;
  83. border-bottom: 1px solid var(--border-color-grey-light);
  84. }
  85. label {
  86. min-height: 25px;
  87. padding: 5px 0;
  88. cursor: pointer;
  89. }
  90. input, select, textarea {
  91. background-color: var(--background-color-white);
  92. color: var(--font-color-grey);
  93. border: 1px solid var(--border-color-grey-dark);
  94. border-radius: 3px;
  95. }
  96. option {
  97. padding: 0 .5em;
  98. }
  99. input:focus, select:focus, textarea:focus {
  100. border-color: var(--border-color-grey-dark);
  101. }
  102. input:invalid, select:invalid {
  103. border-color: var(--invalid-box-border-color);
  104. box-shadow: 0 0 2px 2px var(--invalid-box-shadow-color) inset;
  105. }
  106. /*=== Tables */
  107. table {
  108. border-collapse: collapse;
  109. }
  110. th, td {
  111. border: 1px solid var(--border-color-grey-light);
  112. }
  113. th {
  114. background-color: var(--background-color-grey);
  115. }
  116. .config-articleicons td,
  117. .config-articleicons th {
  118. font-weight: normal;
  119. text-align: center;
  120. }
  121. /*=== COMPONENTS */
  122. /*===============*/
  123. /*=== Forms */
  124. .form-group.form-actions {
  125. padding: 5px 0;
  126. background-color: var(--background-color-grey-transparent);
  127. border-top: 1px solid var(--border-color-grey-light);
  128. }
  129. .form-group.form-actions .btn {
  130. margin: 0 10px;
  131. }
  132. .form-group .group-name {
  133. padding: 10px 0;
  134. }
  135. .form-group .group-controls {
  136. margin-bottom: 10px;
  137. padding: 5px 0;
  138. min-height: 25px;
  139. }
  140. /*=== Buttons */
  141. .stick input,
  142. .stick .btn,
  143. .group .btn {
  144. border-radius: 0;
  145. }
  146. .stick .btn:first-child,
  147. .group .btn:first-child,
  148. .stick input:first-child {
  149. border-radius: 0 3px 3px 0;
  150. }
  151. .stick .btn-important:first-child {
  152. width: 176px;
  153. }
  154. .stick .btn:last-child,
  155. .group .btn:last-child,
  156. .stick input:last-child {
  157. border-radius: 3px 0 0 3px;
  158. }
  159. .group > .btn:only-child,
  160. .group > .dropdown:only-child > .btn {
  161. border-radius: 3px;
  162. }
  163. .stick .btn + .btn,
  164. .group .btn + .btn,
  165. .stick .btn + input,
  166. .stick .btn + .dropdown > .btn,
  167. .group .btn + .dropdown > .btn,
  168. .stick input + .btn,
  169. .stick input + input,
  170. .stick input + .dropdown > .btn,
  171. .stick .dropdown + .btn,
  172. .group .dropdown + .btn,
  173. .stick .dropdown + input,
  174. .stick .dropdown + .dropdown > .btn,
  175. .group .dropdown + .dropdown > .btn {
  176. border-right: none;
  177. }
  178. .stick .btn + .dropdown > .btn,
  179. .group .btn + .dropdown:last-child > .btn,
  180. .group .dropdown + .dropdown:last-child > .btn {
  181. border-right: none;
  182. border-radius: 3px 0 0 3px;
  183. }
  184. .btn {
  185. margin: 0;
  186. padding: 1px 5px;
  187. background-color: var(--background-color-white);
  188. color: var(--font-color-grey);
  189. font-size: 0.9rem;
  190. border: 1px solid var(--border-color-grey-dark);
  191. border-radius: 3px;
  192. min-height: 25px;
  193. min-width: 15px;
  194. line-height: 1.7;
  195. vertical-align: middle;
  196. }
  197. .read_all.btn {
  198. height: 29px;
  199. }
  200. .btn:hover {
  201. background-color: var(--background-color-grey-hover);
  202. text-decoration: none;
  203. }
  204. .btn.active,
  205. .btn:active,
  206. .dropdown-target:target ~ .btn.dropdown-toggle {
  207. background-color: var(--background-color-grey-button-active);
  208. }
  209. .btn-important {
  210. background-color: var(--background-color-button-important);
  211. color: var(--font-color-white);
  212. border: none;
  213. font-weight: normal;
  214. }
  215. .btn-important:hover, .btn-important:active {
  216. background-color: var(--background-color-button-important-hover);
  217. border: none;
  218. }
  219. .btn-important .icon {
  220. filter: brightness(3);
  221. }
  222. .btn-attention {
  223. background-color: var(--background-color-button-attention);
  224. color: var(--font-color-white);
  225. border: none;
  226. }
  227. .btn-attention:hover {
  228. background-color: var(--background-color-button-attention-hover);
  229. border: none;
  230. }
  231. .btn-attention:active {
  232. background-color: var(--background-color-button-attention-hover);
  233. }
  234. /*=== Navigation */
  235. .nav-list {
  236. font-size: 0.9rem;
  237. }
  238. .nav-list .item,
  239. .nav-list .item.nav-header {
  240. min-height: 2.5em;
  241. line-height: 2.5;
  242. }
  243. .nav-list .item a:hover,
  244. .nav-list .item .as-link:hover {
  245. color: var(--font-color-link-general-hover);
  246. background-color: var(--background-color-grey-hover);
  247. }
  248. .nav-list .item.active,
  249. .nav-list .item.active a:hover,
  250. .nav-list .item.active .as-link:hover {
  251. background-color: var(--background-color-navlist-active);
  252. color: var(--font-color-white);
  253. }
  254. .nav-list .item.active a,
  255. .nav-list .item.active .as-link {
  256. color: var(--font-color-white);
  257. }
  258. .nav-list .item > a,
  259. .nav-list .item > .as-link {
  260. padding: 0 1rem;
  261. }
  262. .nav-list a:hover,
  263. .nav-list .as-link:hover {
  264. text-decoration: none;
  265. }
  266. .nav-list .nav-header {
  267. padding: 0 1rem;
  268. background-color: var(--background-color-grey);
  269. color: var(--font-color-grey);
  270. font-weight: bold;
  271. }
  272. .nav-list .nav-form {
  273. padding: 3px;
  274. text-align: center;
  275. }
  276. /*=== Dropdown */
  277. .dropdown-menu {
  278. margin: 5px 0 0;
  279. padding: 0.5rem 0 0.25rem 0;
  280. font-size: 0.8rem;
  281. border: 1px solid var(--border-color-grey-dark);
  282. border-radius: 5px;
  283. text-align: right;
  284. }
  285. .dropdown-menu::after {
  286. border-color: var(--border-color-grey-dark);
  287. left: 8px;
  288. }
  289. .dropdown-header,
  290. .dropdown-section .dropdown-section-title {
  291. padding: 0 5px 5px;
  292. color: var(--font-color-grey);
  293. font-weight: bold;
  294. text-align: right;
  295. }
  296. .dropdown-menu .item > a,
  297. .dropdown-menu .item > span,
  298. .dropdown-menu .item > .as-link {
  299. padding: 0 22px;
  300. line-height: 2.5;
  301. color: var(--font-color-grey);
  302. font-size: inherit;
  303. }
  304. .dropdown-menu .dropdown-section .item > a,
  305. .dropdown-menu .dropdown-section .item > span,
  306. .dropdown-menu .dropdown-section .item > .as-link {
  307. padding-right: 2rem;
  308. }
  309. .dropdown-menu .dropdown-section .item:last-child {
  310. margin-bottom: 0.5rem;
  311. }
  312. .dropdown-menu .item > a:focus,
  313. .dropdown-menu .item > a:hover,
  314. .dropdown-menu .item > button:focus:not([disabled]),
  315. .dropdown-menu .item > button:hover:not([disabled]),
  316. .dropdown-menu .item > label:focus:not(.noHover),
  317. .dropdown-menu .item > label:hover:not(.noHover) {
  318. background-color: var(--background-color-grey-hover);
  319. color: var(--font-color-grey);
  320. }
  321. .dropdown-menu > .item[aria-checked="true"] > a::before {
  322. font-weight: bold;
  323. margin: 0 -14px 0 0;
  324. }
  325. .dropdown-menu .input select,
  326. .dropdown-menu .input input {
  327. margin: 0 auto 5px;
  328. padding: 2px 5px;
  329. border-radius: 3px;
  330. }
  331. .item ~ .dropdown-header,
  332. .dropdown-section ~ .dropdown-section,
  333. .item.separator {
  334. border-top-color: var(--border-color-grey-light);
  335. }
  336. /*=== Alerts */
  337. .alert {
  338. background-color: var(--background-color-grey);
  339. color: var(--font-color-grey);
  340. font-size: 0.9em;
  341. border: 1px solid var(--border-color-grey-light);
  342. border-left: 1px solid var(--border-color-grey-dark);
  343. border-bottom: 1px solid var(--border-color-grey-dark);
  344. border-radius: 5px;
  345. }
  346. .alert-head {
  347. font-size: 1.15em;
  348. }
  349. .alert > a {
  350. color: inherit;
  351. text-decoration: underline;
  352. }
  353. .alert-warn {
  354. background: var(--alert-warn-background-color);
  355. color: var(--alert-warn-font-color);
  356. border: 1px solid var(--alert-warn-border-color);
  357. }
  358. .alert-success {
  359. background-color: var(--alert-success-background-color);
  360. color: var(--alert-success-font-color);
  361. border: 1px solid var(--alert-success-border-color);
  362. }
  363. .alert-error {
  364. background: var(--alert-error-background-color);
  365. color: var(--alert-error-font-color);
  366. border: 1px solid var(--alert-error-border-color);
  367. }
  368. /*=== Pagination */
  369. .pagination:first-child .item {
  370. border-bottom: 1px solid var(--border-color-grey-dark);
  371. }
  372. .pagination:last-child .item {
  373. border-top: 1px solid var(--border-color-grey-dark);
  374. }
  375. /*=== Boxes */
  376. .box {
  377. border: 1px solid var(--border-color-grey-dark);
  378. border-radius: 5px;
  379. }
  380. .box .box-title {
  381. background-color: var(--background-color-grey);
  382. border-bottom: 1px solid var(--border-color-grey-dark);
  383. border-radius: 5px 5px 0 0;
  384. }
  385. .box .box-title .configure {
  386. margin-left: 4px;
  387. }
  388. .box .box-content {
  389. padding-right: 30px;
  390. max-height: 260px;
  391. }
  392. .box .box-content .item {
  393. font-size: 0.9rem;
  394. }
  395. /*=== Tree */
  396. .tree {
  397. margin: 10px 0;
  398. }
  399. .tree-folder {
  400. padding: 0.25rem 0.5rem;
  401. }
  402. .tree-folder-title {
  403. padding: 0.125rem 0.5rem;
  404. background-color: var(--background-color-category);
  405. color: var(--font-color-white);
  406. font-size: 0.9rem;
  407. border-top: 1px solid transparent;
  408. border-bottom: 1px solid transparent;
  409. border-radius: 0.25rem;
  410. position: relative;
  411. line-height: 2.15;
  412. }
  413. .tree-folder-title:hover {
  414. background-color: var(--background-color-category-active);
  415. }
  416. .tree-folder-title .title {
  417. background: inherit;
  418. color: var(--font-color-white);
  419. }
  420. .tree-folder-title .title:hover {
  421. text-decoration: none;
  422. }
  423. .item.feed.error .item-title::before {
  424. font-size: 1rem;
  425. font-weight: normal;
  426. line-height: 1;
  427. }
  428. .tree-folder-title .title.error::before {
  429. color: var(--color-warning-icon-folder);
  430. font-size: 1.2rem;
  431. font-weight: normal;
  432. line-height: 1;
  433. }
  434. .tree-folder-title > .icon,
  435. .tree-folder-title .title .icon {
  436. filter: brightness(2.5);
  437. }
  438. .tree-folder.active .tree-folder-title {
  439. background-color: var(--background-color-category-active);
  440. font-weight: bold;
  441. }
  442. .tree-folder.active .tree-folder-title::before {
  443. background-color: var(--background-color-white);
  444. width: 0.5rem;
  445. height: 0.5rem;
  446. position: absolute;
  447. top: 1rem;
  448. right: -0.25rem;
  449. z-index: 10;
  450. transform: rotate(-45deg);
  451. }
  452. .aside_feed .configure-feeds .btn {
  453. padding: 0.125rem 0.75rem;
  454. }
  455. .aside_feed .tree-folder-items > .item.feed {
  456. padding-right: 0.5rem;
  457. font-size: 0.8rem;
  458. }
  459. .aside .feed .item-title:not([data-unread="0"])::after {
  460. left: 0.5rem;
  461. }
  462. .tree-folder-items > .item.active {
  463. background-color: var(--background-color-active-feed);
  464. }
  465. .tree-folder-items > .item > a {
  466. text-decoration: none;
  467. }
  468. .tree-folder-items > .item.active > a {
  469. color: var(--font-color-white);
  470. }
  471. /*=== STRUCTURE */
  472. /*===============*/
  473. /*=== Header */
  474. .header {
  475. background-color: var(--background-color-dark);
  476. }
  477. .header > .item {
  478. border-bottom: 1px solid var(--border-color-grey-dark);
  479. vertical-align: middle;
  480. text-align: center;
  481. }
  482. .header > .item.title .logo {
  483. filter: grayscale(100%) brightness(2.5);
  484. }
  485. .header > .item.title a:hover .logo {
  486. filter: grayscale(100%) brightness(4);
  487. }
  488. a.signin {
  489. text-decoration: none;
  490. color: var(--font-color-grey-light);
  491. }
  492. .header > .item.search input {
  493. width: 230px;
  494. height: 29px;
  495. box-sizing: border-box;
  496. }
  497. .header > .item.search button {
  498. box-sizing: border-box;
  499. height: 29px;
  500. }
  501. .header .item.search input {
  502. width: 350px;
  503. }
  504. /*=== Body */
  505. .aside {
  506. background-color: var(--background-color-white);
  507. border-left: 1px solid var(--border-color-grey-dark);
  508. }
  509. .aside.aside_feed {
  510. padding: 10px 0;
  511. text-align: center;
  512. }
  513. .aside.aside_feed .tree {
  514. margin: 10px 0 50px;
  515. }
  516. /*=== Aside main page (categories) */
  517. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after,
  518. .global .box.category .title:not([data-unread="0"])::after {
  519. margin: 0.55em 0 0 0;
  520. background-color: var(--background-color-white);
  521. color: var(--font-color-unread-articles);
  522. }
  523. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  524. background-color: var(--background-color-category);
  525. color: var(--font-color-white);
  526. }
  527. .aside.aside_feed .tree-folder.category.active .feed .item-title:not([data-unread="0"])::after {
  528. background-color: var(--background-color-category-active);
  529. font-size: 0.7rem;
  530. }
  531. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  532. left: 0.5rem;
  533. }
  534. .aside.aside_feed .feed.active .item-title:not([data-unread="0"])::after {
  535. background-color: transparent;
  536. color: var(--font-color-white);
  537. border: 1px solid var(--border-color-white);
  538. font-weight: bold;
  539. }
  540. .aside_feed .tree-folder.all .tree-folder-title {
  541. background-color: var(--background-color-mainstream);
  542. }
  543. .aside_feed .tree-folder.all:hover .tree-folder-title,
  544. .aside_feed .tree-folder.all.active .tree-folder-title {
  545. background-color: var(--background-color-mainstream-active);
  546. }
  547. .aside_feed .tree-folder.favorites .tree-folder-title {
  548. background-color: var(--background-color-favorites);
  549. }
  550. .aside_feed .tree-folder.favorites:hover .tree-folder-title,
  551. .aside_feed .tree-folder.favorites.active .tree-folder-title {
  552. background-color: var(--background-color-favorites-active);
  553. }
  554. /*=== Aside main page (feeds) */
  555. .feed.item.empty.active {
  556. background: var(--color-empty-feed);
  557. }
  558. .feed.item.error.active {
  559. background: var(--color-empty-feed);
  560. }
  561. .feed.item.empty,
  562. .feed.item.empty > a {
  563. color: var(--color-empty-feed);
  564. }
  565. .feed.item.error,
  566. .feed.item.error > a {
  567. color: var(--color-error-feed);
  568. }
  569. .feed.item.empty.active,
  570. .feed.item.error.active,
  571. .feed.item.empty.active > a,
  572. .feed.item.error.active > a {
  573. color: var(--font-color-white);
  574. }
  575. .aside_feed .tree-folder-items .dropdown-menu::after {
  576. right: 2px;
  577. }
  578. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  579. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  580. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  581. border-radius: 3px;
  582. background-color: var(--background-color-white);
  583. }
  584. .aside_feed .tree-folder-title .dropdown-toggle .icon {
  585. filter: brightness(3);
  586. }
  587. /*=== Prompt (centered) */
  588. .prompt .form-group {
  589. margin-bottom: 1rem;
  590. }
  591. .prompt .form-group::after {
  592. display: none;
  593. }
  594. .prompt .form-group.form-group-actions {
  595. display: flex;
  596. margin-top: 2rem;
  597. align-items: center;
  598. justify-content: space-between;
  599. }
  600. .prompt .btn.btn-important {
  601. padding-right: 1.5rem;
  602. padding-left: 1.5rem;
  603. font-size: 1.1rem;
  604. }
  605. /*=== New article notification */
  606. #new-article {
  607. background-color: var(--background-color-new-article);
  608. text-align: center;
  609. font-size: 0.9em;
  610. }
  611. #new-article > a {
  612. padding: 0.75rem;
  613. color: var(--font-color-white);
  614. font-weight: bold;
  615. }
  616. #new-article > a:hover {
  617. text-decoration: none;
  618. background-color: var(--background-color-new-article-hover);
  619. }
  620. /*=== Transition indication, e.g. day */
  621. .transition {
  622. padding: 0 10px;
  623. background-color: var(--background-color-white);
  624. color: var(--font-color-grey);
  625. border-top: 1px solid var(--border-color-grey-dark);
  626. border-bottom: 1px solid var(--border-color-grey-dark);
  627. font-weight: bold;
  628. line-height: 3;
  629. }
  630. .transition span {
  631. line-height: 1.5;
  632. }
  633. #new-article + .transition {
  634. border-top: none;
  635. }
  636. .transition .name {
  637. padding: 0 0 0 10px;
  638. color: var(--font-color-grey);
  639. font-size: 1.8em;
  640. opacity: 0.3;
  641. font-style: italic;
  642. text-align: left;
  643. }
  644. /*=== Index menu */
  645. .nav_menu {
  646. padding: 5px 2.5rem 0 0;
  647. background-color: var(--background-color-grey-light);
  648. border-bottom: 1px solid var(--border-color-grey-dark);
  649. text-align: center;
  650. }
  651. /*=== Feed articles */
  652. .flux {
  653. background-color: var(--background-color-grey-light);
  654. border-right: 2px solid var(--border-left-article);
  655. }
  656. .flux .flux_header:hover,
  657. .flux.current .flux_header {
  658. background-color: var(--background-color-grey-hover);
  659. }
  660. .flux .flux_header:hover .title {
  661. color: var(--font-color-hover);
  662. }
  663. .flux.current {
  664. background-color: var(--background-color-white);
  665. border-right: 2px solid var(--border-left-article-current);
  666. }
  667. .flux.not_read {
  668. border-right: 2px solid var(--border-left-article-unread);
  669. }
  670. .flux .flux_header .item .title a,
  671. .flux.not_read:not(.current):hover .flux_header .item .title {
  672. color: var(--font-color-link-title);
  673. }
  674. .flux.favorite {
  675. border-right: 2px solid var(--border-left-article-favorite);
  676. }
  677. .flux.favorite:not(.current) {
  678. background-color: var(--background-color-favorite);
  679. }
  680. .flux.favorite:not(.current):hover .flux_header .title,
  681. .flux.favorite:not(.current) .flux_header:hover,
  682. .flux.favorite.current .flux_header {
  683. background-color: var(--background-color-favorite-hover);
  684. }
  685. /* stylelint-disable-next-line no-duplicate-selectors */
  686. .flux.current {
  687. border-right-width: 5px;
  688. border-right-style: double;
  689. }
  690. .flux.current > .flux_header {
  691. background: linear-gradient(to left, transparent 0, transparent 3px, var(--background-color-hover) 3px);
  692. margin-right: -3px; /* Compensate increased border-left-width */
  693. }
  694. .flux.not_read.current > .flux_header, .flux.not_read.current > .flux_header:hover {
  695. background: linear-gradient(to left, transparent 0, transparent 3px, var(--unread-article-background-color-hover) 3px);
  696. }
  697. .flux.favorite.current > .flux_header, .flux.favorite.current > .flux_header:hover {
  698. background: linear-gradient(to left, transparent 0, transparent 3px, var(--favorite-article-background-color-hover) 3px);
  699. }
  700. .flux_header {
  701. font-size: 0.8rem;
  702. border-top: 1px solid var(--border-color-grey-light);
  703. cursor: pointer;
  704. }
  705. .flux_header .title {
  706. font-size: 0.9rem;
  707. }
  708. .flux_header .title .item-element {
  709. padding: 0.425rem;
  710. }
  711. .flux .flux_header .date,
  712. .flux .flux_content .bottom .date {
  713. color: var(--font-color-grey);
  714. }
  715. .flux .bottom {
  716. font-size: 0.8rem;
  717. text-align: center;
  718. }
  719. /*=== Content of feed articles */
  720. .content {
  721. padding: 20px 10px;
  722. }
  723. .content > h1.title > a {
  724. color: var(--font-color-link-title);
  725. }
  726. .content hr {
  727. margin: 30px 10px;
  728. background-color: var(--background-color-grey);
  729. height: 1px;
  730. border: 0;
  731. }
  732. .content pre {
  733. background-color: var(--background-color-dark);
  734. color: var(--font-color-white);
  735. border-radius: 3px;
  736. }
  737. .content code {
  738. background-color: var(--background-color-grey-light);
  739. color: var(--font-color-code);
  740. border-color: var(--border-color-grey-light);
  741. border-radius: 3px;
  742. }
  743. .content pre code {
  744. background: transparent;
  745. color: var(--font-color-white);
  746. border: none;
  747. }
  748. .content blockquote {
  749. margin: 0;
  750. padding: 5px 20px;
  751. background-color: var(--background-color-grey-light);
  752. display: block;
  753. color: var(--font-color-blockquote);
  754. border-top: 1px solid var(--border-color-grey-light);
  755. border-bottom: 1px solid var(--border-color-grey-light);
  756. }
  757. .content blockquote p {
  758. margin: 0;
  759. }
  760. /*=== Notification and actualize notification */
  761. .notification {
  762. font-size: 0.9em;
  763. border: 1px solid var(--notification-good-border-color);
  764. border-radius: 3px;
  765. box-shadow: 0 0 5px var(--notification-box-shadow-color);
  766. text-align: center;
  767. font-weight: bold;
  768. vertical-align: middle;
  769. }
  770. .notification.good {
  771. background-color: var(--notification-good-background-color);
  772. color: var(--notification-good-font-color);
  773. border: 1px solid var(--notification-good-border-color);
  774. }
  775. .notification.bad {
  776. background-color: var(--notification-bad-background-color);
  777. color: var(--notification-bad-font-color);
  778. border: 1px solid var(--notification-bad-border-color);
  779. }
  780. .notification.good .close:hover {
  781. background-color: var(--notification-good-border-color);
  782. }
  783. .notification.bad .close:hover {
  784. background-color: var(--notification-bad-border-color);
  785. }
  786. .notification .close .icon {
  787. filter: brightness(1.5);
  788. }
  789. .notification .close:hover .icon {
  790. filter: brightness(0.5);
  791. }
  792. /*=== "Load more" part */
  793. #bigMarkAsRead.big {
  794. background-color: var(--background-color-grey-light);
  795. color: var(--font-color-grey);
  796. text-align: center;
  797. text-decoration: none;
  798. }
  799. #bigMarkAsRead:hover {
  800. background-color: var(--background-color-grey-hover);
  801. color: var(--font-color-hover);
  802. }
  803. /*=== Navigation menu (for articles) */
  804. #nav_entries {
  805. background-color: var(--background-color-white);
  806. border-top: 1px solid var(--border-color-grey-light);
  807. }
  808. #nav_entries .item:hover {
  809. background-color: var(--background-color-grey-hover);
  810. }
  811. /*=== READER VIEW */
  812. /*================*/
  813. #stream.reader .flux {
  814. background-color: var(--background-color-grey-light);
  815. color: var(--font-color-article);
  816. border: none;
  817. }
  818. #stream.reader .flux .flux_content {
  819. background-color: var(--background-color-white);
  820. border-color: var(--border-color-grey-light);
  821. }
  822. #stream.reader .flux .author {
  823. color: var(--font-color-grey);
  824. }
  825. /*=== GLOBAL VIEW */
  826. /*================*/
  827. .box.category .box-title .title {
  828. font-weight: normal;
  829. text-decoration: none;
  830. text-align: right;
  831. }
  832. .box.category:not([data-unread="0"]) .box-title {
  833. background-color: var(--background-color-category);
  834. }
  835. .box.category:not([data-unread="0"]) .box-title .title {
  836. font-weight: bold;
  837. color: var(--font-color-white);
  838. }
  839. .box.category .title:not([data-unread="0"])::after {
  840. background: none;
  841. border: none;
  842. }
  843. #stream.global .feed .item-title:not([data-unread="0"])::after {
  844. background-color: var(--background-color-category);
  845. color: var(--font-color-white);
  846. }
  847. /*=== DIVERS */
  848. /*===========*/
  849. .aside.aside_feed .nav-form input,
  850. .aside.aside_feed .nav-form select {
  851. width: 140px;
  852. }
  853. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  854. left: -20px;
  855. }
  856. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  857. left: 33px;
  858. }
  859. /*=== STATISTICS */
  860. /*===============*/
  861. .stat {
  862. margin: 10px 0 20px;
  863. }
  864. .stat th,
  865. .stat td,
  866. .stat tr {
  867. border: none;
  868. }
  869. .stat > table td,
  870. .stat > table th {
  871. border-bottom: 1px solid var(--border-color-grey-light);
  872. text-align: center;
  873. }
  874. /*=== MOBILE */
  875. /*===========*/
  876. @media (max-width: 840px) {
  877. .form-group .group-name {
  878. padding-bottom: 0;
  879. }
  880. .aside {
  881. transition: width 200ms linear;
  882. }
  883. .aside .toggle_aside,
  884. #overlay .close,
  885. .dropdown-menu .toggle_aside {
  886. background-color: var(--background-color-grey);
  887. border-bottom: 1px solid var(--border-color-grey-light);
  888. }
  889. .aside.aside_feed {
  890. padding: 0;
  891. }
  892. .nav_menu {
  893. padding-right: 0;
  894. padding-bottom: 5px;
  895. .btn {
  896. margin: 5px 10px;
  897. }
  898. .stick,
  899. .group {
  900. margin: 0 10px;
  901. min-width: 0;
  902. }
  903. .stick .btn,
  904. .group .btn {
  905. margin: 5px 0;
  906. }
  907. }
  908. .dropdown-target:target ~ .dropdown-toggle::after {
  909. border-top: 1px solid var(--border-color-grey-dark);
  910. border-right: 1px solid var(--border-color-grey-dark);
  911. }
  912. .nav_menu .stick #mark-read-menu .dropdown-toggle.btn {
  913. border-right: 1px solid var(--border-color-grey-dark);
  914. border-top-right-radius: 3px;
  915. border-bottom-right-radius: 3px;
  916. }
  917. .transition .name {
  918. font-size: 1.1rem;
  919. text-shadow: none;
  920. }
  921. .notification .close {
  922. background: transparent;
  923. display: block;
  924. right: 0;
  925. }
  926. .notification .close:hover {
  927. opacity: 0.5;
  928. }
  929. .notification .close .icon {
  930. display: none;
  931. }
  932. .post {
  933. padding-right: 15px;
  934. padding-left: 15px;
  935. }
  936. #overlay {
  937. background-color: var(--background-color-grey);
  938. }
  939. }