123
gaoshp
21 分钟以前 4c2a27b9d7604287c4f94c88a84a1f10a44ad39c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// 全局变量
@use './variables.scss' as variables;
@use './mixin.scss' as *;
 
// ele样式覆盖
@use './element-ui.scss';
// 顶部右侧显示
@use './top.scss';
// 导航标签
@use './tags.scss';
// 工具类函数
@use './mixin.scss';
// 侧面导航栏
@use './sidebar.scss';
//主题
@use './theme/index.scss';
//通用配置
@use './normalize.scss';
//图标配置
@use './iconfont.scss';
//登录样式
@use "./login.scss";
//适配
@use './media.scss';
//滚动条样式
@include scrollBar;
 
a {
  text-decoration: none;
  color: #333;
}
 
* {
  outline: none;
}
 
.avue-sidebar,
.avue-top,
.avue-logo,
.avue-layout,
.login-logo,
.avue-main {
  transition: all .3s;
}
 
.avue-layout {
  display: flex;
  height: 100%;
  overflow: hidden;
 
  &--horizontal {
    flex-direction: column;
 
    .avue-sidebar {
      width: 100%;
      height: variables.$top_height;
      display: flex;
 
      .avue-menu, .el-menu-item, .el-sub-menu__title {
        height: variables.$top_height;
        line-height: variables.$top_height;
      }
 
      .is-active:before {
        display: none;
      }
    }
 
    .avue-logo {
      width: variables.$sidebar_width
    }
  }
}
 
.avue-contail {
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  background-size: 100%;
  background-repeat: no-repeat;
}
 
.avue--collapse {
  .avue-sidebar,
  .avue-logo {
    width: variables.$sidebar_collapse;
  }
}
 
.avue-main {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
  overflow: hidden;
  background: #f0f2f5;
}
 
#avue-view {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 10px;
}
 
.avue-view {
  width: 100%;
  box-sizing: border-box;
}
 
.avue-footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
 
  .copyright {
    color: #666;
    font-size: 12px;
  }
}
 
.mac_bg {
  background-image: url("/img/bg.jpg");
  background-color: #000;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}