4
0

ansum.css 26 KB

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