ansum.css 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330
  1. @font-face {
  2. font-family: "lato";
  3. font-style: normal;
  4. font-stretch: normal;
  5. font-weight: 400;
  6. src: local("Lato"), url("../fonts/LatoLatin-Regular.woff") format("woff");
  7. }
  8. @font-face {
  9. font-family: "lato";
  10. font-style: italic;
  11. font-stretch: normal;
  12. font-weight: 400;
  13. src: local("Lato"), url("../fonts/LatoLatin-Italic.woff") format("woff");
  14. }
  15. @font-face {
  16. font-family: "lato";
  17. font-style: normal;
  18. font-stretch: normal;
  19. font-weight: 700;
  20. src: local("Lato"), url("../fonts/LatoLatin-Bold.woff") format("woff");
  21. }
  22. @font-face {
  23. font-family: "lato";
  24. font-style: italic;
  25. font-stretch: normal;
  26. font-weight: 700;
  27. src: local("Lato"), url("../fonts/LatoLatin-BoldItalic.woff") format("woff");
  28. }
  29. @font-face {
  30. font-family: "spectral";
  31. font-style: normal;
  32. font-stretch: normal;
  33. font-weight: 400;
  34. src: local("Spectral"), url("../fonts/Spectral-Regular.woff") format("woff");
  35. }
  36. @font-face {
  37. font-family: "spectral";
  38. font-style: italic;
  39. font-stretch: normal;
  40. font-weight: 400;
  41. src: local("Spectral"), url("../fonts/Spectral-Italic.woff") format("woff");
  42. }
  43. @font-face {
  44. font-family: "spectral";
  45. font-style: normal;
  46. font-stretch: normal;
  47. font-weight: 700;
  48. src: local("Spectral"), url("../fonts/Spectral-Bold.woff") format("woff");
  49. }
  50. @font-face {
  51. font-family: "spectral";
  52. font-style: italic;
  53. font-stretch: normal;
  54. font-weight: 700;
  55. src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff");
  56. }
  57. /* stylelint-disable property-no-vendor-prefix */
  58. /* FUNCTIONS */
  59. /* btns */
  60. .btn {
  61. margin: 0;
  62. padding: 0.5rem 1.5rem;
  63. background: #fcfaf8;
  64. color: #766556;
  65. font-size: 1rem;
  66. border: none;
  67. border-radius: 5px;
  68. min-height: 25px;
  69. min-width: 15px;
  70. line-height: 25px;
  71. vertical-align: middle;
  72. transition: all 0.15s ease-in-out;
  73. }
  74. .btn.btn-important {
  75. background: #ca7227;
  76. color: #fff;
  77. }
  78. .btn.btn-important:hover, .btn.btn-important:active {
  79. background: #b7641d;
  80. }
  81. .btn.btn-important img {
  82. filter: brightness(3);
  83. }
  84. .btn.btn-attention {
  85. background: #f5633e;
  86. color: #fff;
  87. }
  88. .btn.btn-attention:hover, .btn.btn-attention:active {
  89. background: #73341f;
  90. }
  91. .btn:hover {
  92. text-decoration: none;
  93. }
  94. /*=== Forms */
  95. legend {
  96. margin: 2rem 0 1rem 0;
  97. padding: 0;
  98. display: inline-block;
  99. width: auto;
  100. font-size: 1rem;
  101. clear: both;
  102. text-transform: uppercase;
  103. letter-spacing: 1px;
  104. font-weight: 700;
  105. }
  106. label {
  107. min-height: 25px;
  108. padding: 5px 0;
  109. cursor: pointer;
  110. color: #766556;
  111. }
  112. textarea {
  113. max-width: 100%;
  114. width: 360px;
  115. height: 100px;
  116. }
  117. input, select, textarea, button {
  118. padding: 5px 10px;
  119. background: #fff;
  120. color: #766556;
  121. font-family: "lato", "Helvetica", "Arial", sans-serif;
  122. font-size: 1rem;
  123. border: 1px solid #f5f0ec;
  124. border-radius: 2px;
  125. min-height: 25px;
  126. line-height: 25px;
  127. vertical-align: middle;
  128. }
  129. select {
  130. padding-top: 9px;
  131. padding-bottom: 9px;
  132. }
  133. option {
  134. padding: 0 0.5em;
  135. }
  136. input:focus, select:focus, textarea:focus {
  137. color: #363330;
  138. border-color: #ca7227;
  139. }
  140. input:invalid, select:invalid {
  141. color: #f5633e;
  142. border-color: #f5633e;
  143. box-shadow: none;
  144. }
  145. input:disabled, select:disabled {
  146. color: #ba9;
  147. border-color: #ba9;
  148. }
  149. .form-group {
  150. padding: 5px;
  151. border-radius: 3px;
  152. }
  153. .form-group::after {
  154. display: block;
  155. clear: both;
  156. }
  157. .form-group .group-name {
  158. padding: 10px 0;
  159. }
  160. .form-group .group-controls {
  161. min-height: 25px;
  162. padding: 5px 0;
  163. }
  164. .form-group .group-controls .control {
  165. line-height: 2em;
  166. }
  167. .form-group.form-actions {
  168. margin: 15px 0 25px;
  169. padding: 5px 0;
  170. }
  171. .form-group.form-actions .btn {
  172. margin: 0 0.5rem 0 0;
  173. }
  174. /*=== Tables */
  175. table {
  176. border-collapse: collapse;
  177. }
  178. th, td {
  179. border: 1px solid #e4d8cc;
  180. }
  181. th {
  182. background: #fcfaf8;
  183. }
  184. .config-articleicons td,
  185. .config-articleicons th {
  186. font-weight: normal;
  187. text-align: center;
  188. }
  189. /*=== COMPONENTS */
  190. /*===============*/
  191. /*=== Forms */
  192. /*=== Horizontal-list */
  193. .horizontal-list {
  194. padding: 0.1rem 0;
  195. }
  196. .horizontal-list .item:first-child {
  197. padding-left: 0.5rem;
  198. }
  199. /*=== Dropdown */
  200. .dropdown .dropdown-target:target + .btn {
  201. background-color: #e4d8cc;
  202. }
  203. .dropdown-menu {
  204. margin: 9px 0 0 0;
  205. padding: 0.5rem 0 1rem 0;
  206. background: #fcfaf8;
  207. font-size: 1rem;
  208. border: none;
  209. border-radius: 3px;
  210. box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
  211. text-align: left;
  212. }
  213. .dropdown-menu::after {
  214. border: none;
  215. right: 17px;
  216. }
  217. .dropdown-menu .dropdown-header,
  218. .dropdown-menu .dropdown-section .dropdown-section-title {
  219. padding: 1rem 1.5rem;
  220. font-weight: bold;
  221. text-align: left;
  222. color: #766556;
  223. text-transform: uppercase;
  224. letter-spacing: 1px;
  225. }
  226. .dropdown-menu .item {
  227. transition: all 0.075s ease-in-out;
  228. }
  229. .dropdown-menu .item > a,
  230. .dropdown-menu .item > span,
  231. .dropdown-menu .item > .as-link {
  232. padding: 0 2rem;
  233. color: #363330;
  234. font-size: inherit;
  235. line-height: 2.5em;
  236. }
  237. .dropdown-menu .item > a span.icon,
  238. .dropdown-menu .item > span span.icon,
  239. .dropdown-menu .item > .as-link span.icon {
  240. padding: 0 0.25rem !important;
  241. }
  242. .dropdown-menu .item > a:not(.addItem):hover,
  243. .dropdown-menu .item > .as-link:not(.addItem):hover {
  244. background: #ca7227;
  245. color: #fff;
  246. }
  247. .dropdown-menu .item > a:not(.addItem):hover .icon,
  248. .dropdown-menu .item > .as-link:not(.addItem):hover .icon {
  249. filter: grayscale(100%) brightness(2.5);
  250. }
  251. .dropdown-menu .item.dropdown-section {
  252. margin-top: 0.75rem;
  253. }
  254. .dropdown-menu .item.dropdown-section ~ .dropdown-section {
  255. border-top-color: #f5f0ec;
  256. }
  257. .dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item .as-link {
  258. padding-left: 2rem;
  259. }
  260. .dropdown-menu .item:not(.addItem) > a:hover,
  261. .dropdown-menu .item:not(.addItem) button:hover {
  262. background: #ca7227;
  263. color: #fff;
  264. }
  265. .dropdown-menu .item:not(.addItem) > a:hover .icon,
  266. .dropdown-menu .item:not(.addItem) button:hover .icon {
  267. filter: brightness(3);
  268. }
  269. .dropdown-menu .item[aria-checked=true] a::before {
  270. margin: 0 0 0 -14px;
  271. font-weight: bold;
  272. }
  273. .dropdown-menu .item ~ .dropdown-header {
  274. margin-top: 0.75rem;
  275. padding-top: 1.75rem;
  276. border-top-color: #f5f0ec;
  277. }
  278. .dropdown-menu .item.separator {
  279. margin-top: 0.75rem;
  280. border-top-color: #f5f0ec;
  281. }
  282. .dropdown-menu .input select, .dropdown-menu .input input {
  283. margin: 0 auto 5px;
  284. padding: 2px 5px;
  285. border-radius: 3px;
  286. }
  287. .tree .tree-folder .tree-folder-items .dropdown-menu .item {
  288. padding: 0;
  289. }
  290. .tree .tree-folder .tree-folder-items .dropdown-menu .item a,
  291. .tree .tree-folder .tree-folder-items .dropdown-menu .item button {
  292. color: #363330;
  293. }
  294. .tree .tree-folder .tree-folder-items .dropdown-menu .item a:hover,
  295. .tree .tree-folder .tree-folder-items .dropdown-menu .item button:hover {
  296. color: #fff;
  297. }
  298. .tree .tree-folder .tree-folder-items .dropdown-menu .item:hover {
  299. background: #ca7227;
  300. }
  301. /*=== Alerts */
  302. .alert {
  303. background: #fcfaf8;
  304. color: #766556;
  305. font-size: 1rem;
  306. border: 1px solid #d9ccbf;
  307. border-radius: 3px;
  308. text-shadow: 0 0 1px #f5f0ec;
  309. }
  310. .alert-head {
  311. font-size: 1.15em;
  312. }
  313. .alert > a {
  314. text-decoration: underline;
  315. color: inherit;
  316. }
  317. .alert-warn {
  318. background: #fdfde0;
  319. color: #73762f;
  320. border: 1px solid #73762f33;
  321. }
  322. .alert-success {
  323. background: #cffdef;
  324. color: #0c7556;
  325. border: 1px solid #0c755633;
  326. }
  327. .alert-error {
  328. background: #fde0d8;
  329. color: #73341f;
  330. border: 1px solid #73341f33;
  331. }
  332. /*=== Pagination */
  333. .pagination {
  334. background: #f5f0ec;
  335. color: #363330;
  336. }
  337. .pagination .item a {
  338. color: #363330;
  339. }
  340. #load_more.loading,
  341. #load_more.loading:hover {
  342. background: url("loader.gif") center center no-repeat #34495e;
  343. }
  344. /*=== Boxes */
  345. .box {
  346. background: #fff;
  347. border: none;
  348. border-radius: 3px;
  349. box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
  350. }
  351. .box .box-title {
  352. margin: 0;
  353. padding: 0.5rem 0.75rem;
  354. background: #f5f0ec;
  355. color: #363330;
  356. border-radius: 2px 2px 0 0;
  357. }
  358. .box .box-content {
  359. padding-left: 30px;
  360. }
  361. .box .box-content .item {
  362. padding: 0.5rem 0;
  363. color: #363330;
  364. font-size: 1rem;
  365. border-bottom: 1px solid #f5f0ec;
  366. line-height: 1.7em;
  367. }
  368. .box .box-content .item:last-child {
  369. border-bottom: none;
  370. }
  371. .box .configure {
  372. margin-right: 0.5rem;
  373. padding: 0.25rem;
  374. border-radius: 3px;
  375. }
  376. .box .configure .icon {
  377. vertical-align: middle;
  378. }
  379. .box .configure:hover {
  380. border-radius: 2px;
  381. background-color: #ca7227;
  382. }
  383. .box .configure:hover .icon {
  384. filter: brightness(3);
  385. }
  386. /*=== "Load more" part */
  387. #bigMarkAsRead {
  388. text-align: center;
  389. text-decoration: none;
  390. background: #fdf6ef;
  391. color: #ca7227;
  392. transition: all 0.15s ease-in-out;
  393. }
  394. #bigMarkAsRead:hover {
  395. background: #ca7227;
  396. color: #fff;
  397. }
  398. #bigMarkAsRead:hover .bigTick {
  399. filter: brightness(7);
  400. }
  401. #bigMarkAsRead .bigTick {
  402. margin: 0.5rem 0;
  403. background: url(icons/tick-color.svg) center no-repeat;
  404. display: inline-block;
  405. width: 64px;
  406. height: 64px;
  407. text-indent: -9999px;
  408. white-space: nowrap;
  409. }
  410. /*=== DIVERS */
  411. /*===========*/
  412. .aside.aside_feed .nav-form input,
  413. .aside.aside_feed .nav-form select {
  414. width: 140px;
  415. }
  416. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  417. right: -20px;
  418. }
  419. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  420. right: 33px;
  421. }
  422. /*=== Tree */
  423. .tree {
  424. margin: 10px 0;
  425. }
  426. .tree#sidebar {
  427. scrollbar-color: rgba(255, 255, 0, 0.1) rgba(0, 0, 0, 0.05);
  428. scrollbar-color: #36333033 #36333022;
  429. }
  430. .tree .tree-folder {
  431. border-bottom: 1px solid #f0e7da;
  432. box-shadow: inset -1px -11px 8px rgba(0, 0, 0, 0.2);
  433. }
  434. .tree .tree-folder .tree-folder-title {
  435. padding: 1rem;
  436. background: #fbf9f6;
  437. position: relative;
  438. font-size: 0.85rem;
  439. letter-spacing: 1px;
  440. font-weight: 700;
  441. text-transform: uppercase;
  442. }
  443. .tree .tree-folder .tree-folder-title .title {
  444. background: inherit;
  445. color: #363330;
  446. }
  447. .tree .tree-folder .tree-folder-title .title:hover {
  448. text-decoration: none;
  449. }
  450. .tree .tree-folder.active .tree-folder-title {
  451. background: #fbf9f6;
  452. font-weight: bold;
  453. }
  454. .tree .tree-folder .tree-folder-items {
  455. background: #f7f2ea;
  456. }
  457. .tree .tree-folder .tree-folder-items .item {
  458. padding: 0 1rem;
  459. line-height: 2.5rem;
  460. font-size: 1rem;
  461. font-weight: 400;
  462. transition: all 0.15s ease-in-out;
  463. }
  464. .tree .tree-folder .tree-folder-items .item.active {
  465. background: #ca7227;
  466. }
  467. .tree .tree-folder .tree-folder-items .item.active .dropdown li a {
  468. color: #363330;
  469. }
  470. .tree .tree-folder .tree-folder-items .item.active .dropdown li a:hover {
  471. color: #363330;
  472. }
  473. .tree .tree-folder .tree-folder-items .item.active a {
  474. color: #ffffff;
  475. }
  476. .tree .tree-folder .tree-folder-items .item:hover {
  477. background: #efe3d3;
  478. }
  479. .tree .tree-folder .tree-folder-items .item a {
  480. text-decoration: none;
  481. color: #363330;
  482. }
  483. /*=== Buttons */
  484. .stick input, .stick .btn,
  485. .group input,
  486. .group .btn {
  487. border-radius: 0;
  488. }
  489. .stick .btn:first-child,
  490. .group .btn:first-child {
  491. border-radius: 5px 0 0 5px;
  492. }
  493. .stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn,
  494. .group .btn:last-child,
  495. .group input:last-child,
  496. .group .dropdown:last-child > .btn {
  497. border-radius: 0 5px 5px 0;
  498. }
  499. .stick .btn + .btn,
  500. .stick .btn + input,
  501. .stick .btn + .dropdown > .btn,
  502. .stick input + .btn,
  503. .stick input + input,
  504. .stick input + .dropdown > .btn,
  505. .stick .dropdown + .btn,
  506. .stick .dropdown + input,
  507. .stick .dropdown + .dropdown > .btn,
  508. .group .btn + .btn,
  509. .group .btn + input,
  510. .group .btn + .dropdown > .btn,
  511. .group input + .btn,
  512. .group input + input,
  513. .group input + .dropdown > .btn,
  514. .group .dropdown + .btn,
  515. .group .dropdown + input,
  516. .group .dropdown + .dropdown > .btn {
  517. border-left: 1px solid #e4d8cc;
  518. }
  519. .aside {
  520. background: #fbf9f6;
  521. }
  522. .aside.aside_feed {
  523. padding: 10px 0;
  524. text-align: center;
  525. background: #fbf9f6;
  526. border-right: 1px solid #f0e7da;
  527. }
  528. .aside.aside_feed .tree {
  529. margin: 10px 0 50px;
  530. }
  531. /* Sidebar des pages de configuration */
  532. /*=== Navigation */
  533. .nav-list {
  534. font-size: 1rem;
  535. }
  536. .nav-list .item.nav-header,
  537. .nav-list .item {
  538. min-height: 2.5em;
  539. line-height: 2.5em;
  540. }
  541. .nav-list .item {
  542. background: #fbf9f6;
  543. min-height: 2.5em;
  544. line-height: 2.5em;
  545. }
  546. .nav-list .item.nav-header {
  547. min-height: 2.5em;
  548. line-height: 2.5em;
  549. }
  550. .nav-list .item a {
  551. padding: 0 1rem;
  552. color: #363330;
  553. transition: all 0.15s ease-in-out;
  554. }
  555. .nav-list .item a:hover {
  556. background: #efe3d3;
  557. text-decoration: none;
  558. }
  559. .nav-list .item.active {
  560. background: #ca7227;
  561. color: #fff;
  562. }
  563. .nav-list .item.active a {
  564. background: #ca7227;
  565. color: #fff;
  566. text-decoration: none;
  567. }
  568. .nav-list .nav-header {
  569. padding: 0 1rem;
  570. font-weight: bold;
  571. color: #766556;
  572. text-transform: uppercase;
  573. letter-spacing: 1px;
  574. }
  575. .nav-list .nav-form {
  576. padding: 3px;
  577. text-align: center;
  578. }
  579. /*=== Aside main page (categories) */
  580. .aside_feed .tree-folder-title > .title:not([data-unread="0"]) {
  581. width: calc(100% - 35px - 35px);
  582. }
  583. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  584. margin: 1rem 0 0 0;
  585. background-color: rgba(35, 35, 0, 0.15);
  586. }
  587. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  588. margin: 0.5em 0 0 0;
  589. background-color: rgba(35, 35, 0, 0.15);
  590. }
  591. .feed.item.empty.active {
  592. background: #766556;
  593. }
  594. .feed.item.error.active {
  595. background: #766556;
  596. }
  597. .feed.item.empty,
  598. .feed.item.empty > a {
  599. color: #766556;
  600. }
  601. .feed.item.error,
  602. .feed.item.error > a {
  603. color: #766556;
  604. }
  605. .feed.item.empty.active,
  606. .feed.item.error.active,
  607. .feed.item.empty.active > a,
  608. .feed.item.error.active > a {
  609. color: #fff;
  610. }
  611. .aside_feed .tree-folder-items .dropdown-menu::after {
  612. left: 2px;
  613. }
  614. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  615. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  616. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  617. border-radius: 3px;
  618. }
  619. .aside_feed .stick #btn-add {
  620. border-left-color: #fbf9f6;
  621. }
  622. /*=== STRUCTURE */
  623. /*===============*/
  624. /*=== Header */
  625. .header {
  626. background: #fbf9f6;
  627. }
  628. .header .item {
  629. vertical-align: middle;
  630. }
  631. .header .item.title a {
  632. padding: 0.5rem 1rem;
  633. }
  634. .header .item.title a .logo {
  635. filter: invert(80%);
  636. }
  637. .header .item.title a:hover .logo {
  638. filter: invert(80%) opacity(80%);
  639. }
  640. .header .item.search input {
  641. width: 350px;
  642. color: #363330;
  643. border: none;
  644. border-radius: 2px 0 0 2px;
  645. background-color: #f7f2ea;
  646. transition: all 0.15s ease-in-out;
  647. }
  648. .header .item.search input:hover {
  649. background-color: #efe3d3;
  650. }
  651. .header .item.search input:focus {
  652. color: #766556;
  653. background-color: #fff;
  654. }
  655. .header .item.search input:focus ~ .btn,
  656. .header .item.search input:hover ~ .btn {
  657. background-color: #ca7227;
  658. }
  659. .header .item.search input:focus ~ .btn .icon,
  660. .header .item.search input:hover ~ .btn .icon {
  661. filter: brightness(3);
  662. }
  663. .header .item.search .btn {
  664. width: 3rem;
  665. border-radius: 0 2px 2px 0;
  666. background-color: #f7f2ea;
  667. border-left-width: 0;
  668. min-height: 35px;
  669. }
  670. .header .item.search .btn .icon {
  671. filter: invert(49%) sepia(13%) saturate(2426%) hue-rotate(346deg) brightness(99%) contrast(95%);
  672. }
  673. .header .item.search .btn:hover {
  674. background-color: #b7641d;
  675. }
  676. .header .item.search .btn:hover .icon {
  677. filter: brightness(3);
  678. }
  679. .header .item.configure {
  680. text-align: center;
  681. }
  682. .header .item.configure .btn {
  683. padding: 0.25rem 1rem;
  684. background-color: transparent;
  685. }
  686. /*=== Body */
  687. #global {
  688. height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom)));
  689. }
  690. /*=== Prompt (centered) */
  691. main.prompt {
  692. background: #f5f0ec;
  693. border-radius: 5px;
  694. }
  695. /*=== New article notification */
  696. #new-article {
  697. background: #ca7227;
  698. font-size: 1rem;
  699. text-align: center;
  700. }
  701. #new-article > a {
  702. padding: calc(0.75rem + var(--frss-padding-top-bottom)) 1rem;
  703. font-weight: bold;
  704. color: #fff;
  705. }
  706. #new-article > a:hover {
  707. text-decoration: none;
  708. background: #b7641d;
  709. }
  710. /*=== Day indication */
  711. .day {
  712. padding: 1rem 0 0 1.25rem;
  713. color: #6d655f;
  714. font-size: 0.875rem;
  715. font-weight: 700;
  716. line-height: 3em;
  717. letter-spacing: 1px;
  718. text-transform: uppercase;
  719. }
  720. .day .name {
  721. padding: 0 1rem 0 1rem;
  722. color: #363330;
  723. font-size: 0.875rem;
  724. position: relative;
  725. left: 0;
  726. text-transform: uppercase;
  727. }
  728. .btn {
  729. border-left-width: 0;
  730. padding: 0.5rem 1rem;
  731. background-color: #f5f0ec;
  732. background-position: center;
  733. background-repeat: no-repeat;
  734. transition: all 0.15s ease-in-out;
  735. }
  736. .btn:hover {
  737. background-color: #e4d8cc;
  738. }
  739. .btn.active {
  740. background-color: #ca7227;
  741. }
  742. /*=== Index menu */
  743. .nav_menu {
  744. text-align: center;
  745. padding: 5px 0;
  746. }
  747. .nav_menu .btn {
  748. border-left-width: 0;
  749. padding: 0.5rem 1rem;
  750. background-color: #fcfaf8;
  751. background-position: center;
  752. background-repeat: no-repeat;
  753. }
  754. .nav_menu .btn:hover {
  755. background-color: #e4d8cc;
  756. }
  757. .nav_menu .stick .btn,
  758. .nav_menu .group .btn {
  759. border-left-width: 0;
  760. padding: 0.5rem 1rem;
  761. background-color: #fcfaf8;
  762. background-position: center;
  763. background-repeat: no-repeat;
  764. transition: all 0.15s ease-in-out;
  765. }
  766. .nav_menu .stick .btn:hover,
  767. .nav_menu .group .btn:hover {
  768. background-color: #e4d8cc;
  769. }
  770. .nav_menu .stick .btn.active,
  771. .nav_menu .group .btn.active {
  772. background-color: #ca7227;
  773. }
  774. .nav_menu .stick .btn.active .icon,
  775. .nav_menu .group .btn.active .icon {
  776. filter: brightness(5);
  777. }
  778. .nav_menu .stick .btn.read_all,
  779. .nav_menu .group .btn.read_all {
  780. padding: 5px 16px;
  781. color: #363330;
  782. background-color: #fcfaf8;
  783. transition: all 0.15s ease-in-out;
  784. }
  785. .nav_menu .stick .btn.read_all:hover,
  786. .nav_menu .group .btn.read_all:hover {
  787. background-color: #e4d8cc;
  788. }
  789. .nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle,
  790. .nav_menu .group .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle {
  791. border-left-width: 0;
  792. background-image: url(icons/more.svg);
  793. }
  794. .nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon,
  795. .nav_menu .group .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon {
  796. display: none;
  797. }
  798. .nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle,
  799. .nav_menu .group #dropdown-search-wrapper.dropdown a.dropdown-toggle {
  800. border-left-width: 0;
  801. }
  802. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  803. vertical-align: middle;
  804. border-radius: 3px;
  805. }
  806. /*=== Content of feed articles */
  807. .content, .content.thin {
  808. padding: 20px 10px;
  809. font-size: 1.125rem;
  810. line-height: 1.8rem;
  811. }
  812. .content h1.title a, .content h1 a, .content.thin h1.title a, .content.thin h1 a {
  813. color: #363330;
  814. font-family: "spectral", serif;
  815. font-size: 2rem;
  816. }
  817. .content h1.title a:hover, .content h1 a:hover, .content.thin h1.title a:hover, .content.thin h1 a:hover {
  818. color: #ca7227;
  819. text-decoration: none;
  820. }
  821. .content .author, .content.thin .author {
  822. color: #6d655f;
  823. font-size: 1.125rem;
  824. }
  825. .content p, .content ul, .content.thin p, .content.thin ul {
  826. font-size: 1.125rem;
  827. line-height: 1.8rem;
  828. }
  829. .content .content hr, .content.thin .content hr {
  830. margin: 30px 10px;
  831. background: #e4d8cc;
  832. height: 1px;
  833. border: 0;
  834. box-shadow: 0 2px 5px #ccc;
  835. }
  836. .content pre, .content.thin pre {
  837. margin: 10px auto;
  838. padding: 10px 20px;
  839. overflow: auto;
  840. background: #221f1d;
  841. color: #fff;
  842. font-size: 0.9rem;
  843. border-radius: 3px;
  844. }
  845. .content pre code, .content.thin pre code {
  846. background: transparent;
  847. color: #fff;
  848. border: none;
  849. }
  850. .content code, .content.thin code {
  851. padding: 2px 5px;
  852. background: #fcfaf8;
  853. border: 1px solid #f5f0ec;
  854. border-radius: 3px;
  855. }
  856. .content blockquote, .content.thin blockquote {
  857. margin: 0;
  858. padding: 5px 20px;
  859. background: #fcfaf8;
  860. display: block;
  861. color: #363330;
  862. border-top: 1px solid #e4d8cc;
  863. border-bottom: 1px solid #e4d8cc;
  864. }
  865. .content blockquote p, .content.thin blockquote p {
  866. margin: 0;
  867. }
  868. /*=== Notification and actualize notification */
  869. .notification {
  870. padding: 1rem 0;
  871. background: #e4d8cc;
  872. width: 100%;
  873. height: 3rem;
  874. color: #766556;
  875. font-size: 1em;
  876. border: none;
  877. position: fixed;
  878. top: auto;
  879. bottom: 0;
  880. left: 0;
  881. right: 0;
  882. text-align: center;
  883. vertical-align: middle;
  884. }
  885. .notification a {
  886. color: #000;
  887. }
  888. .notification .msg {
  889. display: inline-block;
  890. font-size: 1rem;
  891. }
  892. .notification.good {
  893. background: #10f5b2;
  894. color: #fff;
  895. }
  896. .notification.bad {
  897. background: #f5633e;
  898. color: #fff;
  899. }
  900. .notification a.close {
  901. border-radius: 0 3px 3px 0;
  902. }
  903. .notification.good a.close:hover {
  904. background: #0c7556;
  905. }
  906. .notification.bad a.close:hover {
  907. background: #73341f;
  908. }
  909. .notification#actualizeProgress br {
  910. display: none;
  911. }
  912. .notification#actualizeProgress .title {
  913. margin: 0 2rem;
  914. }
  915. /*=== Navigation menu (for articles) */
  916. #nav_entries {
  917. margin: 0;
  918. text-align: center;
  919. line-height: 3em;
  920. table-layout: fixed;
  921. background: #fbf9f6;
  922. }
  923. /*=== Feed articles */
  924. .flux {
  925. background: #fff;
  926. transition: all 0.15s ease-in-out;
  927. }
  928. .flux .flux_header:hover {
  929. background: #fcfaf8;
  930. }
  931. .flux .flux_header:hover:not(.current):hover .item .title {
  932. background: #fcfaf8;
  933. }
  934. .flux.current {
  935. background: #fff;
  936. border-left-color: #ca7227;
  937. }
  938. .flux.current:not(.active) {
  939. background: #fcfaf8;
  940. }
  941. .flux.not_read:not(.current) {
  942. background: #f2f6f8;
  943. }
  944. .flux.not_read:not(.current):hover .item .title {
  945. background: #f2f6f8;
  946. }
  947. .flux.not_read .item .title a {
  948. color: #161a38;
  949. }
  950. .flux.not_read .item.website a {
  951. color: #161a38;
  952. }
  953. .flux.not_read .item .date {
  954. color: rgba(22, 26, 56, 0.5);
  955. }
  956. .flux.favorite {
  957. border-left-color: #ffc300;
  958. transition: all 0.15s ease-in-out;
  959. }
  960. .flux.favorite:not(.current) {
  961. background: #fff6da;
  962. }
  963. .flux.favorite:not(.current):hover .item .title {
  964. background: #fff6da;
  965. }
  966. .flux .website a {
  967. color: #363330;
  968. opacity: 0.75;
  969. }
  970. .flux .flux_header .date,
  971. .flux .flux_content .bottom .date {
  972. color: rgba(54, 51, 48, 0.5);
  973. font-size: 0.85rem;
  974. }
  975. .flux .bottom {
  976. font-size: 1rem;
  977. text-align: center;
  978. }
  979. .flux_header {
  980. font-size: 1rem;
  981. cursor: pointer;
  982. border-top: 1px solid #f5f0ec;
  983. }
  984. .flux_header .title {
  985. font-size: 1rem;
  986. }
  987. /*=== GLOBAL VIEW */
  988. /*================*/
  989. #stream .box.category:not([data-unread="0"]) .box-title .title {
  990. font-weight: bold;
  991. }
  992. #stream .box.category .box-title {
  993. padding: 1.5rem;
  994. background: none;
  995. }
  996. #stream .box.category .box-title a.title {
  997. color: #766556;
  998. font-size: 1rem;
  999. font-weight: normal;
  1000. text-decoration: none;
  1001. text-align: left;
  1002. text-transform: uppercase;
  1003. letter-spacing: 1px;
  1004. }
  1005. #stream .box.category .box-title a.title:not([data-unread="0"])::after {
  1006. margin: -0.5rem 1rem 0 0;
  1007. padding: 0 0.75rem;
  1008. background: #f5f0ec;
  1009. border-radius: 12px;
  1010. position: absolute;
  1011. top: 1.75rem;
  1012. right: 0;
  1013. line-height: 1.5rem;
  1014. text-align: center;
  1015. }
  1016. #stream .box.category .box-title a.title:hover {
  1017. color: #ca7227;
  1018. }
  1019. #stream .box.category .box-content .item.feed a {
  1020. color: #363330;
  1021. font-weight: 400;
  1022. }
  1023. #stream .box.category .box-content .item.feed a:hover {
  1024. color: #ca7227;
  1025. text-decoration: none;
  1026. }
  1027. #overlay {
  1028. background: rgba(0, 0, 0, 0.65);
  1029. }
  1030. #panel {
  1031. top: 3rem;
  1032. right: 3rem;
  1033. bottom: 3rem;
  1034. left: 3rem;
  1035. border-radius: 3px;
  1036. }
  1037. /*=== READER VIEW */
  1038. /*================*/
  1039. #stream.reader .flux {
  1040. background: #f5f0ec;
  1041. color: #363330;
  1042. border: none;
  1043. }
  1044. #stream.reader .flux .content {
  1045. background-color: #fff;
  1046. border: none;
  1047. }
  1048. #stream.reader .flux .content .author {
  1049. color: #ba9;
  1050. }
  1051. /*=== Configuration pages */
  1052. .post {
  1053. font-size: 1rem;
  1054. }
  1055. .post h1, .post h2 {
  1056. color: #363330;
  1057. font-size: 2rem;
  1058. margin-top: 1.75rem;
  1059. font-weight: 300;
  1060. line-height: 1.2em;
  1061. }
  1062. .post h2 {
  1063. font-size: 1.5rem;
  1064. }
  1065. .post a[href="./"] {
  1066. margin: 0;
  1067. padding: 0.75rem 1.5rem;
  1068. background: #fcfaf8;
  1069. display: inline-block;
  1070. color: #766556;
  1071. font-size: 1rem;
  1072. border: 1px solid #e4d8cc;
  1073. border-radius: 5px;
  1074. min-width: 15px;
  1075. line-height: 25px;
  1076. vertical-align: middle;
  1077. cursor: pointer;
  1078. overflow: hidden;
  1079. }
  1080. .post a[href="./"]:hover {
  1081. background: #ca7227;
  1082. color: white;
  1083. border: 1px solid #ca7227;
  1084. text-decoration: none;
  1085. }
  1086. #slider {
  1087. border-left: none;
  1088. box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
  1089. }
  1090. .theme-preview-list .preview-container .properties {
  1091. padding: 1rem;
  1092. background: rgba(0, 0, 0, 0.75);
  1093. color: white;
  1094. border: 0;
  1095. }
  1096. .theme-preview-list .preview-container .properties .page-number {
  1097. right: 1rem;
  1098. top: 1rem;
  1099. }
  1100. /*=== LOGS */
  1101. /*=========*/
  1102. .log-item.log-error {
  1103. background-color: rgba(202, 114, 39, 0.2);
  1104. }
  1105. /*=== STATISTICS */
  1106. /*===============*/
  1107. .stat {
  1108. margin: 10px 0 20px;
  1109. }
  1110. .stat th,
  1111. .stat td,
  1112. .stat tr {
  1113. border: none;
  1114. }
  1115. .stat > table td,
  1116. .stat > table th {
  1117. border-bottom: 1px solid #e4d8cc;
  1118. }
  1119. /*=== MOBILE */
  1120. /*===========*/
  1121. @media (max-width: 840px) {
  1122. .aside {
  1123. transition: all 0.2s ease-in-out;
  1124. }
  1125. .aside.aside_feed {
  1126. padding: 0;
  1127. }
  1128. .aside .tree .tree-folder .tree-folder-items .item a {
  1129. padding: 0.5rem 1rem;
  1130. }
  1131. .aside .toggle_aside,
  1132. #overlay .close,
  1133. .dropdown-menu .toggle_aside,
  1134. #slider .toggle_aside {
  1135. background-color: #ca7227;
  1136. }
  1137. .aside .toggle_aside:hover,
  1138. #overlay .close:hover,
  1139. .dropdown-menu .toggle_aside:hover,
  1140. #slider .toggle_aside:hover {
  1141. background-color: #b7641d;
  1142. }
  1143. .aside .toggle_aside .icon,
  1144. #overlay .close .icon,
  1145. .dropdown-menu .toggle_aside .icon,
  1146. #slider .toggle_aside .icon {
  1147. filter: grayscale(100%) brightness(2.5);
  1148. }
  1149. .header .item.search {
  1150. display: none;
  1151. }
  1152. .header .item.configure {
  1153. position: absolute;
  1154. top: 0;
  1155. right: 0;
  1156. }
  1157. #global {
  1158. height: calc(100% - 8rem);
  1159. }
  1160. #panel {
  1161. top: 0;
  1162. right: 0;
  1163. bottom: 0;
  1164. left: 0;
  1165. }
  1166. .post {
  1167. padding-left: 1rem;
  1168. padding-right: 1rem;
  1169. }
  1170. .nav_menu .btn {
  1171. margin: 0;
  1172. padding: 0.85rem 1.25rem;
  1173. }
  1174. .nav_menu .stick,
  1175. .nav_menu .group {
  1176. margin: 0.5rem 0.5rem;
  1177. }
  1178. .nav_menu .stick .btn,
  1179. .nav_menu .group .btn {
  1180. margin: 0;
  1181. padding: 0.85rem 1.25rem;
  1182. }
  1183. .nav_menu .stick .btn.read_all,
  1184. .nav_menu .group .btn.read_all {
  1185. padding: 0.85rem 1.25rem;
  1186. }
  1187. .nav_menu .search .input {
  1188. max-width: 97%;
  1189. width: 90px;
  1190. }
  1191. .nav_menu .search .input:focus {
  1192. width: 400px;
  1193. }
  1194. #stream .flux .flux_header {
  1195. padding: 0.5rem 0;
  1196. }
  1197. .dropdown-target:target ~ .dropdown-toggle::after {
  1198. background-color: #fcfaf8;
  1199. border-top: 1px solid #f5f0ec;
  1200. border-left: 1px solid #f5f0ec;
  1201. right: 21px;
  1202. bottom: -14px;
  1203. }
  1204. .dropdown-target:target ~ a.dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1205. margin-top: 0;
  1206. }
  1207. .dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after {
  1208. bottom: -17px;
  1209. }
  1210. .day {
  1211. text-align: center;
  1212. padding: 1rem 0;
  1213. }
  1214. .day .name {
  1215. padding: 0;
  1216. display: block;
  1217. width: 100%;
  1218. line-height: 1.5rem;
  1219. margin-bottom: 1rem;
  1220. }
  1221. #nav_entries {
  1222. line-height: 4.5rem;
  1223. }
  1224. .notification {
  1225. border-radius: 0;
  1226. }
  1227. .notification a.close {
  1228. background: transparent;
  1229. display: block;
  1230. left: 0;
  1231. }
  1232. .notification a.close:hover {
  1233. opacity: 0.5;
  1234. }
  1235. .notification a.close .icon {
  1236. display: none;
  1237. }
  1238. }
  1239. /*=== GENERAL */
  1240. /*============*/
  1241. html, body {
  1242. background: #f5f0ec;
  1243. color: #161a38;
  1244. font-family: "lato", "Helvetica", "Arial", sans-serif;
  1245. font-size: 0.875rem;
  1246. }
  1247. body.formLogin,
  1248. body.register {
  1249. background: #fbf9f6;
  1250. }
  1251. /*=== Links */
  1252. a, button.as-link {
  1253. outline: none;
  1254. color: #ca7227;
  1255. }