ansum.css 25 KB

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