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