.center-block { display: block; margin-right: auto; margin-left: auto; } .pull-right { float: right !important; } .pull-left { float: left !important; } small, .small { font-size: 85%; } .text-muted { color: #808080; } .text-muted a { color: #737373; } .text-muted a:hover, .text-muted a:active { color: #3949ab; } .text-primary { color: #3f51b5; } .text-primary:hover { color: #32408f; } .text-warning { color: #f1a325; } .text-warning:hover { color: #d5890e; } .text-danger { color: #ea644a; } .text-danger:hover { color: #e53d1c; } .text-success { color: #38b03f; } .text-success:hover { color: #2c8931; } .text-info { color: #03b8cf; } .text-info:hover { color: #028b9d; } .text-important { color: #bd7b46; } .text-important:hover { color: #996337; } .text-special { color: #8666b8; } .text-special:hover { color: #6c4aa1; } .text-link { color: #444; } .text-link:hover, .text-link:active { color: #3949ab; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-nowrap, .nobr { overflow: hidden; white-space: nowrap; } .text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /*面板*/ .panel { margin-bottom: 20px; background-color: #fff; border: 1px solid transparent; border-color: #ddd; border-radius: 0; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); box-shadow: 0 1px 1px rgba(0, 0, 0, .05); } .panel > .panel-heading { color: #333; background-color: #f5f5f5; border-color: #ddd; } .panel > .panel-heading + .panel-collapse .panel-body { border-top-color: #ddd; } .panel > .panel-footer + .panel-collapse .panel-body { border-bottom-color: #ddd; } .panel-body { padding: 15px; } .panel > .table { margin-bottom: 0; } .panel > .panel-body + .table { border-top: 1px solid #ddd; } .panel-heading { padding: 8px 15px; border-bottom: 1px solid transparent; border-top-left-radius: -1; border-top-right-radius: -1; } .panel-title { margin-top: 0; margin-bottom: 0; font-size: 15px; } .panel-title > a { color: inherit; } .panel-footer { padding: 10px 15px; background-color: #f5f5f5; border-top: 1px solid #ddd; border-bottom-right-radius: -1; border-bottom-left-radius: -1; } /*消息框*/ .alert { padding: 15px; margin-bottom: 20px; color: #373737; background-color: #f1f1f1; border-radius: 0; -webkit-transition: all .4s cubic-bezier(.175, .885, .32, 1); -o-transition: all .4s cubic-bezier(.175, .885, .32, 1); transition: all .4s cubic-bezier(.175, .885, .32, 1); } .alert hr { border-top-color: #e4e4e4; } .alert .alert-link { color: #252525; } .alert h4 { margin-top: 0; color: inherit; } .alert hr { margin: 10px 0; } .alert p, .alert ul { margin-bottom: 0; } .alert p + p { margin-top: 5px; } .alert-link { font-weight: bold; } .alert > [class*="icon-"] { float: left; margin-top: -5px; font-size: 42px; opacity: .6; -webkit-transition: opacity .2s cubic-bezier(.175, .885, .32, 1); -o-transition: opacity .2s cubic-bezier(.175, .885, .32, 1); transition: opacity .2s cubic-bezier(.175, .885, .32, 1); } .alert > [class*="icon-"] + .content { min-height: 30px; margin-left: 64px; } .alert.with-icon { display: table; width: 100%; } .alert.with-icon > [class*="icon-"], .alert.with-icon > [class*="icon-"] + .content { display: table-cell; float: none; min-height: 0; margin: 0; vertical-align: middle; } .alert.with-icon > [class*="icon-"] { width: 48px; text-align: center; } .alert.with-icon > [class*="icon-"] + .content { padding-left: 1em; } .alert-block { margin: 0; border-radius: 0; } .alert-dismissable { padding-right: 35px; } .alert-dismissable .close { position: relative; top: -6px; right: -21px; color: inherit; } .alert-primary { color: #373737; background-color: #e8eaf6; } .alert-primary hr { border-top-color: #ced3ec; } .alert-primary .alert-link { color: #252525; } .alert-success { color: #329d38; background-color: #ddf4df; } .alert-success hr { border-top-color: #bae8b6; } .alert-success .alert-link { color: #29822e; } .alert-info { color: #03a2b6; background-color: #ddf3f5; } .alert-info hr { border-top-color: #a2e4de; } .alert-info .alert-link { color: #028293; } .alert-warning { color: #ed980f; background-color: #fff0d5; } .alert-warning hr { border-top-color: #ffdcbc; } .alert-warning .alert-link { color: #cc830d; } .alert-danger { color: #e75033; background-color: #ffe5e0; } .alert-danger hr { border-top-color: #ffc6c7; } .alert-danger .alert-link { color: #dd391a; } /*分页*/ .pager { display: inline-block; padding-left: 0; margin: 20px 0; list-style: none; } .pager > li { display: inline; } .pager > li > a, .pager > li > span { position: relative; float: left; padding: 5px 12px; margin-left: -1px; line-height: 1.53846154; text-decoration: none; background-color: #fff; border: 1px solid #ddd; } .pager > li:first-child > a, .pager > li:first-child > span { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; } .pager > li:last-child > a, .pager > li:last-child > span { border-top-right-radius: 0; border-bottom-right-radius: 0; } .pager > li > a:hover, .pager > li > span:hover, .pager > li > a:focus, .pager > li > span:focus { z-index: 2; background-color: #e5e5e5; } .pager > li.active > a, .pager > li.active > span, .pager > li.active > a:hover, .pager > li.active > span:hover { z-index: 3; color: #fff; cursor: default; background-color: #1AA094; border-color: #1AA094; } .pager > li.disabled > span, .pager > li.disabled > span:hover, .pager > li.disabled > span:focus, .pager > li.disabled > a, .pager > li.disabled > a:hover, .pager > li.disabled > a:focus { color: #ddd; pointer-events: none; cursor: not-allowed; background-color: #fff; border-color: #ddd; } .pager-justify { display: block; } .pager-justify .next > a, .pager-justify .next > span { float: right; border-radius: 0; } .pager-justify .previous > a, .pager-justify .previous > span { float: left; border-radius: 0; } .layui-table~.pager { float: right; margin-top: 0 } /*简单的栅格*/ .x1, .x2, .x3, .x4, .x5, .x6, .x7, .x8, .x9, .x10, .x11, .x12 { float: left } .x1 { width: 8.33333333% } .x2 { width: 16.66666667% } .x3 { width: 25% } .x4 { width: 33.33333333% } .x5 { width: 41.66666667% } .x6 { width: 50% } .x7 { width: 58.33333333% } .x8 { width: 66.66666667% } .x9 { width: 75% } .x10 { width: 83.33333333% } .x11 { width: 91.66666667% } .x12 { width: 100% } .layui-table .layui-form-switch { margin: 0; }