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