123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863 |
- /*building SAAS 0.1*/
- /*bootstrap 初始化*/
- body {
- font-size: 0.9rem;
- overflow: hidden;
- background: #e4e7ea
- }
- .dropdown-menu {
- font-size: 12px
- }
- .btn.text-primary.disabled, .btn.text-primary:disabled {
- color:#666!important
- }
- .btn,.btn-group {
- vertical-align: baseline;
- }
- .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
- background-color: #e4e7ea;
- color:#333;
- font-weight: 600
- }
- .custom-file-sm,.custom-file-sm .custom-file-label{
- height: calc(1.5em + .5rem + 2px);
- padding-top: .25rem;
- padding-bottom: .25rem;
- padding-left: .5rem;
- }
- .custom-file-sm .custom-file-label:after{
- height: calc(1.4em + .5rem + 2px);
- padding-top: .25rem;
- padding-bottom: .25rem;
- font-size: .875rem;
- }
- .custom-file-sm input{
- height: calc(1.5em + .5rem + 2px);
- font-size: .875rem;
- }
- .table th {
- background: #e9ecef;
- font-weight: normal;
- color:#000;
- }
- .form-check,.form-check-label{
- cursor: pointer;
- line-height: 22px;
- }
- .input-group-text .group-checkbox[type="checkbox"],.input-group-text .group-checkbox[type="radio"]{
- margin-top: .3rem;
- }
- .custom-control {
- min-height: 1.2rem
- }
- .custom-control-label {
- cursor: pointer;
- }
- .popover {
- background-color: #000
- }
- .popover-body{
- color:#fff;
- }
- .bs-popover-auto[x-placement^="bottom"] .arrow::after, .bs-popover-bottom .arrow::after{
- border-bottom-color:#000;
- }/*
- .btn.disabled, .btn:disabled {
- opacity:.4
- }*/
- .btn-primary.disabled, .btn-primary:disabled {
- color:#fff;
- border-color:#666;
- background: #666
- }
- .btn-outline-primary.disabled, .btn-outline-primary:disabled {
- color:#666;
- border-color:#666;
- background: #ddd
- }
- .btn-outline-primary.disabled .badge, .btn-outline-primary:disabled .badge{
- background: #999
- }
- .group-tab .btn-light{
- color:#007bff;
- border-color:#d3d9df;
- cursor: pointer;
- }
- .group-tab .btn-light.active{
- cursor: default;
- }
- /*在谷歌下移除input[number]的上下箭头*/
- input.nospin[type='number']::-webkit-outer-spin-button,
- input.nospin[type='number']::-webkit-inner-spin-button{
- -webkit-appearance: none !important;
- margin: 0;
- }
- /*在firefox下移除input[number]的上下箭头*/
- input.nospin[type="number"]{-moz-appearance:textfield;}
- /*自定义css*/
- .in-1{padding-left:5px!important}
- .in-2{padding-left:21px!important}
- .in-3{padding-left:42px!important}
- .in-4{padding-left:63px!important}
- .in-5{padding-left:84px!important}
- .in-6{padding-left:105px!important}
- /*滚动条*/
- /* 滚动条 */
- /*水平滚动条的样式*/
- /*::-webkit-scrollbar-thumb:horizontal {
- width: 5px;
- background-color: #e9ecef;
- -webkit-border-radius: 0;
- }*/
- /*滚动条的背景颜色,滚动条的圆角宽度*/
- /*::-webkit-scrollbar-track-piece {
- background-color: #efefef;
- -webkit-border-radius: 0;
- }*/
- /*滚动条的宽度,滚动条的高度*/
- /*::-webkit-scrollbar {
- width: 14px;
- height: 14px;
- }*/
- /*垂直滚动条的样式*/
- /*::-webkit-scrollbar-thumb:vertical {
- height: 50px;
- background-color: #e9ecef;
- -webkit-border-radius: 0;
- outline: 1px solid #fff;
- outline-offset: -1px;
- border: 1px solid #ced4da;
- }*/
- /*滚动条的hover样式*/
- /*::-webkit-scrollbar-thumb:hover {
- height: 50px;
- background-color: #ced4da;
- -webkit-border-radius: 0;
- }*/
- .sjs-height-1,.sjs-height-2,.sjs-sh,.sjs-sh-1,.sjs-sh-2,.sjs-sh-3,.sjs-sh-4,.sjs-sh-5{
- overflow: hidden;
- }
- .sjs-height-4,.sjs-height-5,.sjs-height-6,.sjs-option-height{
- overflow: auto;
- }
- .sjs-bar-1,.sjs-bar-2,.sjs-bar-3,.sjs-bar-4{
- height:30px;
- padding-top:3px;
- }
- .sjs-bar{
- height:30px;
- padding-top:3px;
- }
- .sjs-bar .nav {
- margin-top:-3px;
- }
- .sjs-bottom{
- height:400px;
- }
- .sjs-bottom-2{
- height:360px;
- overflow-y: auto;
- }
- .form-signin {
- max-width:400px;
- margin-left:auto;
- background: #fff;
- padding:30px;
- border:1px solid #ddd;
- border-radius: .25rem
- }
- .bg-404{
- background:#dcdcdc url("404.png") bottom center no-repeat;
- }
- .has-danger {
- -webkit-animation: shake 1s .2s ease both;
- -moz-animation: shake 1s .2s ease both;
- animation: shake 1s .2s ease both;
- }
- @-webkit-keyframes shake {
- 0%, 100% {
- -webkit-transform: translateX(0);
- }
- 10%, 30%, 50%, 70%, 90% {
- -webkit-transform: translateX(-10px);
- }
- 20%, 40%, 60%, 80% {
- -webkit-transform: translateX(10px);
- }
- }
- @-moz-keyframes shake {
- 0%, 100% {
- -moz-transform: translateX(0);
- }
- 10%, 30%, 50%, 70%, 90% {
- -moz-transform: translateX(-10px);
- }
- 20%, 40%, 60%, 80% {
- -moz-transform: translateX(10px);
- }
- }
- @keyframes shake {
- 0%, 100% {
- transform: translateX(0);
- }
- 10%, 30%, 50%, 70%, 90% {
- transform: translateX(-10px);
- }
- 20%, 40%, 60%, 80% {
- transform: translateX(10px);
- }
- }
- /*2.主体框架*/
- .header {
- background:#fff;
- position: fixed;
- z-index: 10;
- width: 100%;
- height: 50px;
- top: 0;
- left: 0
- }
- .main{
- position: relative;
- z-index: 4;
- }
- .main-nav {
- position: fixed;
- z-index: 99;
- width:55px;
- left: 0;
- top: 0;
- height: 100%;
- background: #33425b;
- }
- .main-panel{
- padding-left:55px;
- box-sizing: border-box;
- }
- .panel-sidebar{
- box-sizing: border-box;
- background: #fbfcfd;
- position: fixed;
- height: 100%;
- z-index: 4;
- left:55px;
- /*padding-top:50px;*/
- border-right: 1px solid #ddd;
- width: 200px;
- }
- .side-fold{
- position: absolute;
- bottom:10px;
- right:20px;
- }
- .min-side .side-fold{
- position: absolute;
- bottom:15px;
- right:5px;
- height: 20px
- }
- .min-side{
- border-right: 1px solid #ddd;
- margin-right:10px;
- padding-right:15px;
- position: relative;
- }
- .min-side .side-switch i{
- font-size: 20px
- }
- .min-side .side-menu{
- position: absolute;
- left:-15px;
- top:50px;
- background:#fff;
- width:150px;
- border-right:1px solid #ddd;
- border-bottom:1px solid #ddd;
- box-shadow: 0 1px 3px rgba(0,0,0,.1);
- }
- .panel-content{
- padding:65px 0 0;
- position: relative;
- z-index: 3;
- box-sizing: border-box;
- overflow-y: auto;
- height: 100vh;
- }
- .panel-content .content-wrap{
- margin:0 15px 15px;
- position: relative;
- }
- .panel-sidebar+.panel-content{
- padding: 65px 0 0 200px;
- }
- .panel-title, .panel-title>.title-bar {
- height:50px;
- line-height: 50px
- }
- .panel-title .dropdown-item,.panel-title .dropdown-item-text,.panel-title .form-group {
- line-height: normal;
- }
- .panel-title{
- position: fixed;
- top:0px;
- z-index: 98;
- width: 100%;
- box-sizing: border-box;
- background: #fff;
- box-shadow: 0 1px 3px rgba(0,0,0,.05);
- border-top: 1px solid #ddd;
- }
- .panel-sidebar .panel-title{
- width:200px;
- border-right: 1px solid #ddd;
- box-shadow: 0 1px 3px rgba(0,0,0,.1);
- }
- .panel-content .panel-title{
- left: 0;
- padding-left: 255px;
- padding-right: 20px;
- }
- .panel-content .panel-title.fluid{
- padding-left:55px
- }
- .panel-title>.title-bar{
- padding-left: 20px
- }
- .panel-title>.title-bar>h2,.panel-title>.title-main>h2{
- font-size: 16px;
- margin:0;
- height: 50px;
- line-height: 50px;
- display:block
- }
- .panel-title>.title-bar>h2 .btn{
- margin-right:15px
- }
- .panel-title>.title-main .btn.pull-right {
- margin:10px 0 0 10px
- }
- .panel-title>.title-main .form-control {
- margin:10px 0 0 0
- }
- .panel-title>.title-main{
- padding-left: 15px
- }
- .panel-title .alert {
- line-height: normal;
- z-index: 999
- }
- .sidebar-title{
- padding: 10px;
- border-bottom: 1px solid #ddd;
- margin-bottom: 10px;
- }
- .side-menu{
- position: fixed;
- right:15px;
- top:65px
- }
- .side-menu .nav-link{
- line-height: 16px;
- font-size: 14px;
- color:#007bff;
- }
- .side-menu .nav-link:hover{
- background:#dcdee3;
- color:#333;
- }
- .sub-content{
- margin:0;
- }
- .pr-46{
- padding-right:36px
- }
- .bcontent-wrap{
- height: 350px
- }
- @media only screen and (max-height: 768px) {
- .bcontent-wrap{
- height: 250px
- }
- }
- .modal-xl {
- max-width: 1200px
- }
- .border-right-1 {
- border-right:1px solid #dee2e6;
- }
- .border-left-1 {
- border-left:1px solid #dee2e6;
- }
- .border-top-1 {
- border-top:1px solid #dee2e6;
- }
- .border-bottom-1 {
- border-bottom:1px solid #dee2e6;
- }
- /*滚动*/
- .scrollbar-auto {
- overflow-y: auto;
- position: absolute;
- bottom: 0;
- left: 0;
- top: 0;
- right: 0;
- }
- .panel-sidebar .scrollbar-auto{
- padding-top: 20px;
- box-sizing: border-box;
- }
- .panel-sidebar .scrollbar-auto {
- height: calc(100vh - 100px);
- width: 100%;
- overflow-y: auto;
- position: static;
- }
- /*结构宽度高度调整条*/
- .resize-y{
- height:5px;
- width:100%;
- float: left;
- margin-top:-5px;
- cursor: s-resize;
- z-index: 999
- }
- .resize-x{
- width:5px;
- height:100%;
- float: left;
- margin-left:-5px;
- cursor: w-resize;
- z-index: 999
- }
- /*头部*/
- .header .logo {
- float: left;
- box-shadow: 1px 0 6px rgba(0,0,0,.06);
- margin-right: 20px;
- margin:0
- }
- .header .logo>a{
- width:120px;
- height:50px;
- line-height: 50px;
- display: inline-block;
- color:#fff;
- font-size:24px;
- padding:0 10px;
- transition: all ease .4s;
- background:#207fd1 url(logo.png) no-repeat;
- text-indent: -9999px;
- vertical-align: top
- }
- .header .logo>a:hover{
- background-color:#5596cf;
- text-decoration: none;
- }
- .header-user > div {
- float:left
- }
- .avatar .pic {
- height: 35px;
- width: 35px;
- border-radius: 100%;
- display: inline-block;
- float:left;
- margin:7px 7px 0 0
- }
- .avatar .pic img{
- display: block;
- width: 100%;
- height: 100%;
- border-radius: 100%;
- }
- .avatar > a,.msg >a{
- display: block;
- height:50px;
- line-height: 50px;
- color:#666;
- padding:0 15px;
- cursor: pointer;
- }
- .avatar > a:hover,.msg > a:hover{
- text-decoration: none;
- box-shadow: inset 0 3px 5px rgba(0,0,0,.125)
- }
- .header-user .msg{
- border-left:1px solid #eee
- }
- .header-user .msg .glyphicon{
- font-size:20px;
- vertical-align: middle;
- }
- .header-user .msg .badge{
- margin:0 0 0 5px
- }
- .header .poj-name {
- float:left;
- padding:0 0 0 15px;
- font-size:18px
- }
- .header .poj-name a{
- color:#666
- }
- .header .poj-name > span{
- height:50px;
- line-height:50px;
- }
- /*侧栏主菜单*/
- .nav-top,.nav-bottom{
- width: 55px
- }
- .bg-nav a{
- color:#7786ab;
- width:55px;
- text-align: center;
- display: inline-block;
- padding:15px 0;
- font-size: 12px
- }
- .bg-nav a i{
- font-size:22px;
- }
- .bg-nav a span{
- display: none;
- }
- .bg-nav > li{
- width:120px
- }
- .bg-nav > li.active{
- background: #192948
- }
- .bg-nav > li.active a{
- border-radius: 0;
- background: #192948
- }
- .bg-nav > li > a:hover,.bg-nav > li.active > a:hover{
- background: #192948;
- color:#f2f2f2;
- text-decoration: none;
- }
- .bg-nav > li > a.maintain-icon:hover{
- background:none;
- color:none;
- text-decoration: none;
- }
- .bg-nav > li.active a span{
- display: block;
- }
- .bg-nav > li + li {
- margin-top:0;
- }
- .bg-nav .sub-menu {
- list-style:none;
- padding:0 0 0 20px;
- width:120px;
- display: none
- }
- .bg-nav .sub-menu a {
- width:100px;
- height:30px;
- line-height:30px
- }
- .bg-nav .sub-menu:last-child{
- margin:0 0 20px 0
- }
- .bg-nav .menu-arrow{
- margin:22px 8px 0 0
- }
- .nav-box h3{
- font-size: 14px;
- font-weight: 700;
- padding-bottom: 4px;
- border-bottom: 1px solid #e2eaec;
- padding-right: 15px;
- margin-bottom: 10px;
- margin-left: 17px
- }
- .nav-box > .sub-list > li > a{
- padding-left: 40px
- }
- .nav-box .tips-dot {
- right:20px;
- top:8px
- }
- .nav-box .nav-list li{
- position: relative;
- }
- .contarl-box{
- padding:1rem 2rem 1rem 2rem;
- border-top:1px solid #ddd;
- }
- .nav-list li a{
- color: #333;
- display: block;
- height: 35px;
- line-height: 35px;
- box-sizing: border-box;
- padding-left: 17px;
- padding-right: 45px;
- text-overflow: ellipsis;
- position: relative;
- }
- .nav-list li a:hover{
- text-decoration: none;
- background:#e4e7ea;
- cursor: pointer;
- }
- .nav-list li a .badge{
- position: absolute;
- right:17px;
- top:9px
- }
- .nav-list li.active a{
- background:#e4e7ea;
- font-weight: 600
- }
- .side-menu .nav-link{
- padding:.5rem .6rem;
- }
- /*内容区*/
- .c-header {
- padding:0 0 5px
- }
- .c-body{
- padding:1px;
- background:#fff;
- }
- .right-nav{
- width:36px
- }
- .right-nav .nav-link.active{
- background: #fff;
- color:#495057
- }
- .form-group .necessary{
- font-size:18px;
- color:#f90000
- }
- .bg-gray {
- background-color:#bbb!important;
- }
- .datepickers-container {
- z-index: 9999
- }
- .modal-height-500{
- height:450px;
- overflow: hidden
- }
- .modal-height-300{
- height:300px;
- overflow:auto
- }
- .scroll-y {
- overflow-y: auto;
- }
- .scroll-x {
- overflow-x: auto;
- }
- .modal-lgx {
- max-width:1000px
- }
- .title-main .nav{
- line-height: 16px;
- margin-top:8px
- }
- .msg-content {
- font-size: 14px
- }
- .bd-toc {
-
- position: sticky;
- top:3rem;
- height: calc(100vh - 10rem);
- overflow-y: auto;
- }
- /*界面紧凑相关代码*/
- body{
- font-size:12px;
- }
- .btn-group-sm > .btn, .btn-sm{
- font-size: 12px;
- padding:1px 0.6rem;
- }
- .panel-title, .panel-title > .title-bar{
- height:34px;
- line-height: 30px;
- }
- .panel-title > .title-main .btn.pull-right {
- margin: 5px 0 0 0
- }
- .panel-content{
- padding-top:35px;
- overflow: hidden
- }
- .panel-content .content-wrap{
- margin:0;
- }
- .table td, .table th {
- padding:.3rem;
- }
- .form-control-sm {
- font-size:12px;
- padding-top:.1rem;
- }
- label{
- margin-bottom:.3rem;
- color:#757575;
- }
- .form-control-plaintext.form-control-lg, .form-control-plaintext.form-control-sm {
- padding-left:.5rem;
- background: #f2f2f280
- }
- .invalid-feedback{
- font-size:100%;
- }
- .modal-header{
- padding:.5rem 1rem
- }
- .modal-title{
- font-size:16px;
- }
- .modal-footer {
- padding:.5rem 1rem
- }
- .modal-body h6,.modal-body h5{
- font-size:12px;
- }
- .panel-title > .title-bar{
- padding-left:10px;
- }
- .panel-sidebar .panel-title{
- width:120px;
- }
- .panel-title > .title-bar > h2, .panel-title > .title-main > h2{
- height:34px;
- line-height: 34px;
- font-size: 12px
- }
- .panel-title > .title-main .form-control {
- margin: 4px 0 0 0;
- }
- .panel-sidebar {
- width:120px;
- }
- .panel-sidebar .scrollbar-auto{
- padding-top:0;
- }
- .nav-list li a{
- padding-right:0px;
- height:30px;
- line-height: 30px
- }
- .nav-box h3{
- margin-left:12px;
- }
- .nav-box > .sub-list > li > a{
- padding-left:32px;
- }
- .panel-sidebar + .panel-content{
- padding:35px 0 0 120px;
- overflow: hidden;
- }
- .contarl-box{
- padding:1rem 1rem;
- }
- .min-side .side-menu {
- top:34px;
- }
- .panel-content .panel-title{
- padding-left:175px;
- background: linear-gradient( #ccc,2%, #ffffff);
- }
- .nav-link{
- padding:.3rem .5rem;
- }
- .side-menu .nav-link{
- font-size:12px;
- }
- legend {
- font-size:16px;
- }
- .input-group-sm > .custom-select, .input-group-sm > .form-control:not(textarea) {
- height: calc(1.4125rem + 2px);
- }
- .input-group-sm>.form-control, .input-group-sm>.input-group-append>.btn, .input-group-sm>.input-group-append>.input-group-text, .input-group-sm>.input-group-prepend>.btn, .input-group-sm>.input-group-prepend>.input-group-text{
- height: calc(1.4125rem + 2px);
- }
- .input-group-sm > .custom-select, .input-group-sm > .form-control, .input-group-sm > .input-group-append > .btn, .input-group-sm > .input-group-append > .input-group-text, .input-group-sm > .input-group-prepend > .btn, .input-group-sm > .input-group-prepend > .input-group-text {
- font-size:12px;
- padding:.1rem .5rem;
- }
- .side-menu{
- right:0;
- top:35px;
- }
- .custom-control-label::before{
- top:.1rem;
- }
- .custom-control-label::after{
- top:.1rem;
- }
- .form-control-sm{
- height:calc(1.4125rem + 2px);
- }
- .form-group {
- margin-bottom:.5rem;
- }
- .badge{
- font-size:100%;
- }
- .sjs-height-0{
- overflow: auto;
- }
- .nav-box h3{
- margin-bottom:5px;
- }
- .min-side .side-menu{
- padding-bottom:10px;
- }
- .side-fold {
- right:50px;
- bottom:5px;
- }
- .side-fold a{
- font-size:24px;
- }
- .min-side {
- padding-bottom:5px;
- }
- .min-side .side-fold{
- bottom:10px;
- }
- .min-side .side-fold a{
- font-size:18px;
- }
- .form-text{
- font-size:12px;
- }
- .btn-sm .badge{
- font-size:10px;
- padding:.2em .4em;
- top:0;
- }
- .custom-switch .custom-control-label::after{
- top:.25rem;
- }
- .search-group {
- position: relative;
- }
- .search-group .remove-btn {
- position:absolute;
- right:10px;
- top:3px;
- }
- .fontawesome {
- color:#33425b;
- }
- .fontawesome div{
- background-color: #fff;
- width:80px;
- }
|