global.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // Reset default browser styles
  2. * {
  3. box-sizing: border-box;
  4. }
  5. #root {
  6. min-height: 100vh;
  7. }
  8. html,
  9. body,
  10. ul,
  11. ol,
  12. li,
  13. dl,
  14. dt,
  15. dd,
  16. h1,
  17. h2,
  18. h3,
  19. h4,
  20. h5,
  21. h6,
  22. pre,
  23. code,
  24. form,
  25. fieldset,
  26. legend,
  27. input,
  28. textarea,
  29. p,
  30. blockquote,
  31. th,
  32. td,
  33. hr,
  34. button {
  35. margin: 0;
  36. padding: 0;
  37. font-size: 100%;
  38. font-family: inherit;
  39. vertical-align: baseline;
  40. border: 0 none;
  41. color: inherit;
  42. background: transparent;
  43. box-sizing: border-box;
  44. -webkit-font-smoothing: antialiased;
  45. -moz-osx-font-smoothing: grayscale;
  46. }
  47. // Remove list styles on ul, ol
  48. ul,
  49. ol {
  50. list-style: none;
  51. }
  52. // Remove link styles
  53. a {
  54. text-decoration: none;
  55. color: inherit;
  56. }
  57. // Remove table border
  58. table {
  59. border-collapse: collapse;
  60. border-spacing: 0;
  61. }
  62. // Remove input styling for IE
  63. input[type='text'],
  64. input[type='password'],
  65. input[type='number'],
  66. textarea {
  67. appearance: none;
  68. -webkit-appearance: none;
  69. -moz-appearance: none;
  70. // border-radius: 0;
  71. }
  72. // Remove button styling for IE
  73. button,
  74. input[type='submit'],
  75. input[type='reset'] {
  76. appearance: none;
  77. -webkit-appearance: none;
  78. -moz-appearance: none;
  79. border: 0 none;
  80. background: none;
  81. padding: 0;
  82. cursor: pointer;
  83. }
  84. // Remove outline on focus
  85. *:focus {
  86. outline: none;
  87. }
  88. #pg-photo-container {
  89. width: 100% !important;
  90. height: unset !important;
  91. }
  92. #pg-photo-container > img {
  93. width: 100% !important;
  94. height: unset !important;
  95. }
  96. .ant-pro-global-header {
  97. background: transparent;
  98. background-image: url(@/assets/header.png);
  99. background-size: cover;
  100. background-repeat: no-repeat;
  101. margin-inline: 0;
  102. height: 79px;
  103. }
  104. .ant-pro-layout .ant-layout-header.ant-pro-layout-header {
  105. background-color: transparent;
  106. height: 79px;
  107. }
  108. .ant-layout .ant-layout-header {
  109. height: 79px;
  110. line-height: 79px;
  111. }
  112. .ant-pro-global-header-logo-mix {
  113. margin-left: 62px;
  114. }