mapco.css 25 KB

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