ansum.rtl.css 25 KB

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