ansum.css 26 KB

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