mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
72 lines
1.2 KiB
SCSS
72 lines
1.2 KiB
SCSS
@charset "utf-8";
|
|
|
|
|
|
html {
|
|
font-size:625%;
|
|
}
|
|
html, body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
SimSun, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
background: #ececec;
|
|
}
|
|
|
|
div, article, p, table, tr, td, th, ul, ol, li, h1, h2, h3, form, dl, dt, dd {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
&:active, &:hover, &:visited{
|
|
text-decoration: none
|
|
}
|
|
}
|
|
|
|
a:hover {
|
|
color: #636363;
|
|
}
|
|
|
|
em {
|
|
font-style: normal;
|
|
}
|
|
|
|
// 页面最外层元素 样式
|
|
.router-main {
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
height: 100%;
|
|
.router-container{
|
|
min-height:calc(100% - 2.47rem);
|
|
}
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
// 布局容器 guitter: 16px
|
|
.g-row {
|
|
max-width: 12.08rem; // Col宽度 (1208+16)/24 = 51
|
|
min-width: 7.52rem; // Col宽度 (752+16)/24 = 32
|
|
margin: 0 auto;
|
|
padding: 0 .24rem;
|
|
}
|
|
|
|
.m-container {
|
|
margin: .24rem auto;
|
|
padding: .24rem;
|
|
}
|
|
|
|
.ant-dropdown .user-menu {
|
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
|
|
}
|