mapco.css 25 KB

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