common.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // 全局变量
  2. @import './variables.scss';
  3. // ele样式覆盖
  4. @import './element-ui.scss';
  5. // 顶部右侧显示
  6. @import './top.scss';
  7. // 导航标签
  8. @import './tags.scss';
  9. // 工具类函数
  10. @import './mixin.scss';
  11. // 侧面导航栏
  12. @import './sidebar.scss';
  13. // 动画
  14. @import './animate/vue-transition.scss';
  15. //主题
  16. @import './element-theme/index.css';
  17. //适配
  18. @import './media.scss';
  19. //通用配置
  20. @import './normalize.scss';
  21. //element - 重写的样式
  22. @import url(./element-rewrite/index.scss);
  23. //avue - 重写的样式
  24. @import url(./avue.scss);
  25. a{
  26. text-decoration: none;
  27. color:#333;
  28. }
  29. *{
  30. outline: none;
  31. }
  32. //滚动条样式
  33. @include scrollBar;
  34. .center{
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. }
  39. .full{
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .linkHover:hover{
  44. cursor: pointer;
  45. text-shadow: 2px 2px 2px #007e8c;
  46. text-decoration: underline;
  47. }
  48. .enterBuilding:hover:after{
  49. content: "(进入楼栋)";
  50. }
  51. .toRight{
  52. animation: to-right 1s ease-in-out ;
  53. }
  54. @keyframes to-right {
  55. from{
  56. opacity: 0;
  57. transform: translate(-100%,0);
  58. }
  59. }
  60. .toLeft{
  61. animation: to-left 1s ease-in-out;
  62. }
  63. @keyframes to-left {
  64. from{
  65. opacity: 0;
  66. transform: translate(100%,0);
  67. }
  68. }
  69. .toTop{
  70. animation: to-top 1s ease-in-out ;
  71. }
  72. @keyframes to-top {
  73. from{
  74. opacity: 0;
  75. transform: translate(0,100%);
  76. }
  77. }
  78. .toBottom{
  79. animation: to-bottom 1s ease-in-out;
  80. }
  81. @keyframes to-bottom {
  82. from{
  83. opacity: 0;
  84. transform: translate(0,-100%);
  85. }
  86. }