mapco.css 25 KB

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