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