/**
 * scap默认样式设置.
 * 
 * ## README
 * 调整adminlte的某些样式设置.

 * ## CHANGELOG
 * ### 20230418.fuy
 * - 增加了 .card .card-body类 样式
 * ### 20230414.fuy
 * - 增加了 footer：main-footer类 样式
 * - 增加了 系统默认用户表单样式：table.usertable类 样式
 * 
 * @version: $Id: default.css 3 2026-01-12 05:31:11Z  $
 */

/*设置rem基准值, 某些os下不设置html大小, 默认为`16px`.*/
html,
body {
  font-size: 12px;
  background: #f4f6f9;
}

body {
  /*优化中文显示字体.*/
  font-family: Helvetica, Tahoma, Arial, STXihei, "Microsoft YaHei", "微软雅黑", "华文细黑", Heiti,
    "黑体", SimSun, "宋体", sans-serif;
}

/* 菜单相关 */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: transparent;
}

/* toast组件样式 */
.toast {
  min-width: 300px;
}

/* .card .card-body 样式.*/
.card .card-body {
  padding: 1.25rem 1.25rem 3.25rem 1.25rem;
}

/* footer 样式.*/
.main-footer {
  position: fixed;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  padding: 0;
}
body:not(.sidebar-mini-md) .main-footer {
  margin-left: 0;
}

/* 系统默认用户表单样式>>>*/
table.usertable {
  border: 1px solid #ced4da;
  border-top: 0px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12px;
  margin: 0 auto; /*居中*/
}
table.usertable td {
  border: 1px solid #ced4da;
  text-align: left;
  padding: 2px 0;
}
/*表格中的突出显示标题  */
table.usertable .title {
  padding-left: 10px;
  background-color: #ebeadb;
  font-weight: bold;
  letter-spacing: 7px;
}
/*设置列宽行的显示*/
table.usertable .set_width td {
  background-color: #28a745;
  padding: 0px;
  border: 0px;
}

/* 非小屏的设置 */
@media (min-width: 576px) {
  .form-group.row > .col-form-label {
    text-align: right;
  }
}

.form-group.row > .col-form-label {
  font-size: 12px;
  font-weight: 400;
}

/* radio, checkbox样式调整 */
.form-group.row > .radio,
.form-group.row > .checkbox {
  min-height: 30px;
  padding-top: 5.5px;
  font-size: 12px;
}
