mapco.css 26 KB

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