Moco

This is your new file, start writing code

目前为 2024-11-25 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Moco
  3. // @description This is your new file, start writing code
  4. // @match *://*.mocoapp.com/*
  5. // @grant GM_addStyle
  6. // @version 1.0.2
  7. // @namespace https://greasyfork.org/users/1402164
  8. // ==/UserScript==
  9.  
  10. (function(){
  11. var style = document.createElement('style');
  12. style.type = 'text/css';
  13. style.innerHTML = `body {
  14. padding-bottom: 100px;
  15. }
  16. .master-navigation .row .col-xs-8 {
  17. width: auto;
  18. }
  19.  
  20. .container__app-header {
  21. background:transparent;
  22. margin:0;
  23. }
  24. .header-options {
  25. width: auto;
  26. position: absolute;
  27. right: 0;
  28. }
  29. .app-header {
  30. background:transparent;
  31. }
  32. .app-header > .row > .col-xs-4:first-child {
  33. display: none;
  34. }
  35. .app-header > .row > .col-xs-8 {
  36. position: fixed;
  37. bottom: 0;
  38. background-color: #fff7;
  39. backdrop-filter: blur(5px);
  40. width: 100%;
  41. left: 0;
  42. padding: 10px;
  43. z-index: 200;
  44. }
  45.  
  46.  
  47.  
  48. #intercom-frame,
  49. .intercom-lightweight-app {
  50. display: none !important;
  51. }
  52.  
  53. .container {
  54. width: 100% !important;
  55. padding: 0 15px;
  56. }
  57.  
  58. @media (max-width:600px) {
  59. .container--application .grid {
  60. display:block;
  61. }
  62. .sidebar {
  63. margin-top: -46px;
  64. padding-top: 0;
  65. }
  66. .sidebar .nav-list {
  67. margin: 0;
  68. }
  69. .grid .col-span-13 > div > div .section {
  70. margin: 0 -15px;
  71. }
  72. .grid .col-span-13 > div > div .section > .section-content{
  73. padding: 30px 10px !important;
  74. }
  75. .master-navigation .row .col-xs-8 > .flex {
  76. flex-wrap: wrap;
  77. gap: 0 1rem;
  78. font-size: 0.7rem;
  79. }
  80. }
  81. `;
  82.  
  83. document.getElementsByTagName('head')[0].appendChild(style);
  84. })();