Greasy Fork is available in English.

Aliyun RDC 云效美化

Aliyun RDC prettier

  1. // ==UserScript==
  2. // @name Aliyun RDC 云效美化
  3. // @namespace http://fulicat.com
  4. // @version 1.0.1
  5. // @description Aliyun RDC prettier
  6. // @author Jack.Chan (971546@qq.com)
  7. // @namespace http://fulicat.com
  8. // @url https://greatest.deepsurf.us/zh-CN/scripts/432047-aliyun-rdc-%E4%BA%91%E6%95%88%E7%BE%8E%E5%8C%96
  9. // @match https://rdc.aliyun.com/appcenter/list*
  10. // @match https://rdc.aliyun.com/appcenter/overview*
  11. // @match https://rdc.aliyun.com/ec/projects/*/apps/*/pipelines/*
  12. // @match https://rdc.aliyun.com/ec/projects/*/pipelines/*
  13. // @icon https://www.aliyun.com/favicon.ico
  14. // @grant none
  15. // ==/UserScript==
  16.  
  17. (function() {
  18. 'use strict';
  19. var cssRules = `
  20. .page{
  21. max-width: 1200px;
  22. margin-left: auto;
  23. margin-right: auto;
  24. }
  25. .page,
  26. #app-list,
  27. .overview-info-panel,
  28. .pagination{
  29. font-size: 14px;
  30. }
  31. #app-list .table.table-hover.tb>colgroup>col + col + col + col ~ col,
  32. .overview-info-panel .table.table-hover.tb>colgroup>col + col + col + col ~ col{
  33. display: none !important;
  34. }
  35. #app-list .table.table-hover.tb>colgroup>col + col,
  36. .overview-info-panel .table.table-hover.tb>colgroup>col + col{
  37. width: 15% !important;
  38. }
  39.  
  40. .aone-section .tab-extra {
  41. right: auto !important;
  42. left: 50% !important;
  43. }
  44. `;
  45. var style = document.createElement('style');
  46. style.type = 'text/css';
  47. style.innerText = cssRules;
  48. document.head.appendChild(style);
  49. })();