ansum.css 25 KB

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