common.scss 1012 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. * {
  2. box-sizing: border-box;
  3. }
  4. #app {
  5. text-align: center;
  6. overflow-x: hidden;
  7. }
  8. body {
  9. overflow-x: hidden;
  10. margin: 0;
  11. padding: 0;
  12. font-family: 微软雅黑, Helvetica, Arial, sans-serif !important;
  13. }
  14. // 滚动条风格
  15. .base-html {
  16. ::-webkit-scrollbar {
  17. width: 8px;
  18. height: 8px;
  19. background-color: transparent;
  20. &:hover,
  21. &:active {
  22. width: 10px;
  23. }
  24. }
  25. ::-webkit-scrollbar-track {
  26. background-color: transparent;
  27. }
  28. ::-webkit-scrollbar-thumb {
  29. border-radius: 8px;
  30. background-color: rgba(125, 128, 134, 0.9);
  31. &:hover,
  32. &:active {
  33. background-color: rgba(125, 128, 134, 1);
  34. }
  35. }
  36. }
  37. // 表单必填符
  38. .required-before {
  39. &:before {
  40. content: '*';
  41. display: inline-block;
  42. width: 5px;
  43. color: red;
  44. margin-right: 0.2rem;
  45. }
  46. }
  47. // 描述性文字
  48. .desc {
  49. font-size: 12px;
  50. color: var(--text-color-place);
  51. }
  52. // 渐变绿色背景
  53. .primary-gradient-bg {
  54. background: linear-gradient(135deg, #53c461 0%, #299132 100%);
  55. }