common.scss 938 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. @import "transition.scss";
  2. .flex-box {
  3. display: flex;
  4. flex-direction: column;
  5. width: 100%;
  6. height: 100%;
  7. padding: 15px;
  8. box-sizing: border-box;
  9. }
  10. .flex {
  11. display: flex;
  12. }
  13. .center {
  14. justify-content: center;
  15. align-items: center;
  16. text-align: center;
  17. }
  18. a {
  19. text-decoration: none;
  20. }
  21. /** element-plus **/
  22. .el-icon {
  23. text-align: center;
  24. }
  25. /** 用于提示信息 **/
  26. .my-tip {
  27. background-color: #f1f1f1;
  28. padding: 5px 10px;
  29. text-align: left;
  30. border-radius: 4px;
  31. }
  32. .system-scrollbar {
  33. &::-webkit-scrollbar {
  34. display: none;
  35. width: 6px;
  36. }
  37. &::-webkit-scrollbar-thumb {
  38. border-radius: 10px;
  39. background: rgba(144, 147, 153, 0.3);
  40. }
  41. &:hover {
  42. &::-webkit-scrollbar {
  43. display: block;
  44. }
  45. &::-webkit-scrollbar-thumb {
  46. border-radius: 10px;
  47. background: rgba(144, 147, 153, 0.3);
  48. &:hover {
  49. background: rgba(144, 147, 153, 0.5);
  50. }
  51. }
  52. }
  53. }