index.less 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @import './transition/index.less';
  2. @import './var/index.less';
  3. @import './ant/index.less';
  4. @import './public.less';
  5. @import './theme.less';
  6. @import './entry.less';
  7. input:-webkit-autofill {
  8. box-shadow: 0 0 0 1000px white inset !important;
  9. }
  10. :-webkit-autofill {
  11. transition: background-color 5000s ease-in-out 0s !important;
  12. }
  13. html {
  14. overflow: hidden;
  15. text-size-adjust: 100%;
  16. }
  17. html,
  18. body {
  19. width: 100%;
  20. height: 100%;
  21. overflow: hidden !important;
  22. &.color-weak {
  23. filter: invert(80%);
  24. }
  25. &.gray-mode {
  26. filter: grayscale(100%);
  27. filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
  28. }
  29. }
  30. a:focus,
  31. a:active,
  32. button,
  33. div,
  34. svg,
  35. span {
  36. outline: none !important;
  37. }
  38. .table {
  39. width: 100%;
  40. border-spacing: 0;
  41. border-collapse: collapse;
  42. border: 1px solid #f0f0f0;
  43. th,
  44. td {
  45. padding: 8px;
  46. border: 1px solid #f0f0f0;
  47. vertical-align: middle;
  48. }
  49. th {
  50. font-weight: normal;
  51. background-color: #fafafa;
  52. }
  53. tr:hover {
  54. background-color: #fafafa;
  55. .table {
  56. background-color: #fff;
  57. }
  58. }
  59. }
  60. .ant-tabs {
  61. .ant-tabs-tab-btn {
  62. color: fade(@text-color-base, 75);
  63. }
  64. }
  65. .ant-card {
  66. .ant-card-head-title {
  67. font-weight: normal;
  68. }
  69. }