mapco.css 25 KB

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