@use 'variables' as vars;
@use 'mixin';
@forward 'layout';
@forward 'sidebar';
@forward 'transition';
@forward 'element';

/* 全局样式 */
html, body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  height: 100%;
  width: 100%;
  overflow-x: hidden; /* 防止浏览器默认滚动条 */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 页面容器 */
.app-container {
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  // max-width: 1200px;
  margin: 0 auto;
}

/* 间距 */
.ml-sm { margin-left: 5px; }
.ml-md { margin-left: 10px; }
.ml-lg { margin-left: 20px; }

.mt-sm { margin-top: 5px; }
.mt-md { margin-top: 10px; }
.mt-lg { margin-top: 20px; }

/* 辅助样式 */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* 浮动 */
.pull-left { float: left; }
.pull-right { float: right; }
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
