variable.scss 615 B

12345678910111213141516171819202122232425262728
  1. $zh-font-size: 12px !default;
  2. $zh-green: #28a745 !default;
  3. $zh-gray: #757575 !default;
  4. $zh-muted: #6c757d !default;
  5. $zh-light-gray: #bbb !default;
  6. $zh-blue: #007bff !default;
  7. $zh-red: #dc3545 !default;
  8. $zh-yellow: #ffc170 !default;
  9. $zh-white: #fff !default;
  10. $zh-line-color: rgba(0,0,0,.125) !default;
  11. // 实现0.5px的效果
  12. @mixin zh-border {
  13. position: relative;
  14. &::after {
  15. content: ' ';
  16. width: 100%;
  17. height: 100%;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. border-radius: inherit;
  22. pointer-events: none;
  23. box-sizing: border-box;
  24. z-index: 2;
  25. }
  26. }