ansum.css 26 KB

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