mapco.css 26 KB

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