ansum.css 26 KB

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