ansum.css 26 KB

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