mapco.css 25 KB

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