forked from huge/frontEnd/hugeOA

Mr Ke
2020-10-20 6bf92751fe8dfa0624285268968a1fd7a8a7e7e5
src/style/reset.scss
@@ -1,10 +1,73 @@
.ant-layout-content {
  margin: 22px 24px;
  background: #fff;
  height: 100%;
  padding: 18px;
}
.margin-bottom {
  margin-bottom: 20px;
}
.ant-layout-sider-trigger {
  background: #cc4e45;
}
.ant-layout-sider {
  background-color: #fff !important;
}
*::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}
*::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 2.5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #ccc;
}
*::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px #fff;
  border-radius: 2.5px;
  background: #fff;
}
.ant-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ant-layout-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
// 弹性盒 -- 纵向
.flex-box-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}
// 弹性盒 -- 纵向
.flex-box-row {
  display: flex;
}
.flex-1 {
  flex: 1;
  overflow-y: auto;
}
.align-center{
  align-items: center;
}
.space-between {
  justify-content: space-between;
}
.ant-modal-body {
  padding: 5px 8px 15px 8px;
}
.ant-tabs-bar {
  margin-bottom: 5px;
}