mapco.css 25 KB

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