ansum.css 25 KB

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