ansum.css 25 KB

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