pafat.rtl.css 24 KB

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