﻿/*****************
 * OA common.css *
 *****************/

/* Reset
---------------------------------------------------------------------------------------------------*/
html {
  height: 100%;
}
body {
  background-color: #32404E;
  height: 100%;
  box-shadow: 1px 1px 1px 0 #999;
}
a:link    {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover   {text-decoration:none;}
a:active  {text-decoration:none;}

/* Common
---------------------------------------------------------------------------------------------------*/

/* custom bootstrap
--------------------------------------------------------------------------------------------------*/
.form-control,      /* 按钮/输入框/按钮组去圆角 */
.nav-pills > li > a,
.btn,
.btn-group .btn {
  border-radius: 0;
}
.table {  /* 表 */
  background-color: white;
  box-shadow: 1px 1px 1px 0 #999;
}
.table caption {  /* 表标题 */
  background-color: white;
  box-shadow: 1px 1px 1px 0 #999;
  padding: 8px;
  border: solid 1px #ddd;
  margin-bottom: 4px;
  font-weight: bold;
  color: black;
}
.text-center th { /* 表头居中 */
  text-align: center;
}
.table tbody > tr > td.media-middle { /* td 上下居中*/
  vertical-align: middle;
}
.text-muted { /* 减弱 */
  color: #ccc;
}

@media (min-width: 768px) { /* 修正内联表单 */
  .form-inline .form-group {
    white-space:nowrap;
  }
}
.container-fluid {
  clear: both;
}

/* Weight
--------------------------------------------------------------------------------------------------*/
.m-header-status-space { /* 顶部状态条占位 */
  height: 65px;
}
.m-header-status {  /* 顶部状态条 */
  background-color: #fff;
  box-shadow: 1px 1px 1px 0 #999;
  z-index: 1;
  position: fixed;
  width: 100%;
}
.m-header-status .logo {
  background-color: #35baf6;
  font-size: 20px;
  height: 65px;
  color: white;
  line-height: 65px;
  font-family: consolas,微软雅黑;
  overflow: hidden;
}
.m-header-status .logo a {
  color: #fff;
}
.m-header-status .logo img {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-bottom: 5px;
}
.m-header-status .toolbar {
  height: 65px;
  line-height: 65px;
  text-align: right;
  font-size: 16px;
}
.m-header-status .toolbar a {
  margin-left: 20px;
}
.m-header-status .toolbar .user-head {
  border-radius: 18px;
  width: 35px;
  height: 35px;
  margin: 10px 0 10px 0px;
}
section.container-fluid,section.container-fluid .row { /* 内容区 */
  padding-top: 0px;
  height: 100%;
}

.m-left-menu {  /* 左侧导航条 */
  padding-left: 0;
  padding-right: 0;
  font-size: 16px;
}
.m-left-menu a:link    {color:#aaa;text-decoration:none;}
.m-left-menu a:visited {color:#aaa;text-decoration:none;}
.m-left-menu a:hover   {color:#eee;text-decoration:none;}
.m-left-menu a:active  {color:#aaa;text-decoration:none;}
.m-left-menu ul {
  margin: 0;
  padding: 0;
}
.m-left-menu li {
  list-style: none;
  margin: 0;
  padding: 20px 0 20px 20px;
}
.m-left-menu li a span {
  margin-right: 1em;  
}
.m-left-menu li.active {
  background-color: #475360
}
.m-left-menu li:hover {
  background-color: #3C4A57;
}

#m-container { /*主内容区*/
  padding-top: 15px;
  background-color: #eee;
  min-height: 100%;
}


.m-bar {  /* 基本块组件 */
  padding: 15px;
  margin-bottom: 15px;
  background-color: white;
  box-shadow: 1px 1px 1px 0 #999;
}
.m-bar-no-shadow {
  box-shadow: none;
}
.m-bar-no-pb {
  padding-bottom: 0;
}
.m-bar-no-pt {
  padding-top: 0;
}
.m-bar-no-pl {
  padding-left: 0;
}
.m-bar-no-pr {
  padding-right: 0;
}

.m-bar-no-mb {
  margin-bottom: 0;
}
.m-bar-no-mt {
  margin-top: 0;
}

.m-copyright {    /* 版权 */
  font-size: 14px;
  line-height: 2em;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #ccc;
  background-color: #069;
  box-shadow: 0 -1px 3px 0 #69c;
  position:relative;
  height: 100px;
}
.m-domain {
  color: #fff;
  font-weight: bold;
}
.m-debug {  /* Debug */
  font-size: 12px;
  font-family: consolas;
  color: #ccc;
}
.fws-msg {  /* 消息提示框 */
  display: none;
  position: absolute;
  padding: 0 16px;
  border-radius: 4px;
  height: 38px;
  min-width: 400px;
  overflow: hidden;
  z-index: 9000;
}
.fws-msg-background {
  background-color: #999;
  z-index: 9001;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  filter: alpha(opacity=80);
    -moz-opacity: 0.8;
	-khtml-opacity: 0.8;
         opacity: 0.8;
}
.fws-msg-body {
  position: absolute;
  width: 100%;
  top: 8px;
  height: 24px;
  z-index: 9002;
  color: white;
  font-weight: bold;
}
.fws-msg-body p {
  margin: 0;
  padding: 0;
}
.fws-msg-body img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

/* test
---------------------------------------------------------------------------------------------------*/
