/*building SAAS 0.1*/ /*bootstrap 初始化*/ html{ height:100%; width:100% } /*自定义css*/ body{ color: #505458 !important; background-color: #ebeff2; font-size: 14px; width:100%; } body.login-body{ height: 100% } @-webkit-keyframes tada { 0% { -webkit-transform: scale(1) } 10%, 20% { -webkit-transform: scale(0.9) rotate(-3deg) } 30%, 50%, 70%, 90% { -webkit-transform: scale(1.1) rotate(3deg) } 40%, 60%, 80% { -webkit-transform: scale(1.1) rotate(-3deg) } 100% { -webkit-transform: scale(1) rotate(0) } } @-moz-keyframes tada { 0% { -moz-transform: scale(1) } 10%, 20% { -moz-transform: scale(0.9) rotate(-3deg) } 30%, 50%, 70%, 90% { -moz-transform: scale(1.1) rotate(3deg) } 40%, 60%, 80% { -moz-transform: scale(1.1) rotate(-3deg) } 100% { -moz-transform: scale(1) rotate(0) } } .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); } } .login-bg { width: 100%; height: 100%; background:#f0f0f0 url("../img/login-bg.jpg") bottom center no-repeat; background-size: 100% auto; display: inline-block; } .form-signin { width: 420px; margin: 0 auto; position: absolute; left: 0; right: 0; top: 20%; } .wrapper{ position: relative; } .top-bar{ position: fixed; top: 0; left: 0; width: 100%; z-index: 9; } .top-bar .logo{ height:60px; width: 250px; position: absolute; text-align: center; background: #ffffff; border-top: 3px solid #007bff; } .top-bar .logo a{ line-height: 60px; } .top-bar .nav{ background-color: #ebeff2; } .top-bar .nav .title{ font-size: 16px; font-weight: 600; line-height:60px; margin: 0; } .top-bar .nav{ margin-left: 250px; border-top: 3px solid #007bff; padding: 0 15px; } .top-bar .nav .action-area{ position: absolute; right: 15px; top: 0; } .aside{ background: #ffffff none repeat scroll 0 0; bottom: 50px; box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02); height: 100%; margin-bottom: -70px; margin-top: 0; padding-bottom: 70px; position: fixed; top: 60px; width: 250px; z-index: 2; } .aside .user-info{ padding: 10px 0 20px; text-align: center; } .aside .user-info .user-img{ height: 88px; width: 88px; overflow: hidden; margin: 0 auto; } .aside .user-info .user-img img{ max-width: 100%; border-radius: 50%; padding: 4px; border: 1px solid #ebeff2; } .aside .user-info h5{ color: #98a6ad; } .aside .min-menu{ margin: 0; padding: 0; list-style: none; } .aside .min-menu li{ display: inline; margin-left: 4px; } .aside .min-menu li a{ color: #98a6ad; } .aside .min-menu li a:hover{ color: #007bff !important; } .aside .menu, .aside .sub-menu{ list-style: none; margin: 0; padding: 0; } .aside .sub-menu{ display: none; } .aside .menu li{ position: relative; } .aside .menu > li.active > a{ border-left: 3px solid #007bff; } .aside .menu li.active > a{ color: #007bff !important; } .aside .menu li a:hover{ color: #007bff !important; } .aside .menu > li > a{ border-left: 3px solid transparent; color: #435966; display: block; margin: 4px 0; padding: 12px 20px; text-decoration: none; transition: all 0.3s ease-out 0s; } .aside .menu > li a i{ margin-left: 3px; margin-right: 15px; } .aside .menu > li a .menu-arrow{ position: absolute; right: 0; top: 17px; } .aside .sub-menu > li > a{ color: #63747c; display: block; padding: 10px 20px 10px 58px; transition: all 0.3s ease-out 0s; text-decoration: none; } .wrapper .content-page{ margin-left: 250px; margin-top:60px; width: auto; } .grid-view{ clear: both; } .grid-view .summary{ text-align: right; } .grid-view .pagination{ float: right; display: inline-block; } .card-box{ background-color: #ffffff; padding: 20px; border-radius: 5px; position: relative; } .card-box > h5{ padding: 8px 15px; margin-bottom: 20px; margin-top: 0; } .card-box .dropdown.action{ position: absolute; right: 20px; top: 27px; } .card-box .data{ margin-top: 20px; } .card-box .dropdown.action > a{ color: #98a6ad; } .breadcrumb { background: none } /* tree */ .tree::before{ border-left: 1px solid #666; bottom: 16px; content: ""; display: block; left: 0; position: absolute; top: -21px; width: 1px; z-index: 1; } .tree{ position: relative; overflow: auto; padding-left: 14px; } .tree .tree-folder::before, .tree .tree-item::before{ border-top: 1px solid #666; content: ""; display: inline-block; height: 0; left: -13px; position: absolute; top: 14px; width: 18px; z-index: 1; } .tree .tree-item, .tree .tree-folder { border: 1px solid #fff; cursor: pointer !important; } .tree .tree-folder, .tree .tree-item { position: relative; } .tree .tree-folder { min-height: 20px; width: auto; } .tree .tree-item{ cursor: default; } .tree .tree-item, .tree .tree-folder .tree-folder-header{ box-sizing: content-box; color: #333; margin: 0; padding: 4px 5px 6px; } .tree .tree-folder .tree-folder-header{ position: relative; line-height: 20px; } .tree .tree-folder .tree-folder-content::before{ border-left: 1px solid #666; bottom: 16px; content: ""; display: inline-block; left: -12px; position: absolute; top: -9px; width: 1px; z-index: 1; } .tree .tree-folder .tree-folder-content{ margin-left: 23px; position: relative; } .tree .tree-folder, .tree .tree-item{ position: relative; } .tree-folder .tree-folder-header:hover, .tree-item .tree-folder-header:hover{ background-color: rgba(113, 182, 249, 0.2); border-radius: 4px; } .tree .tree-item-name{ margin-left: 2px; display: inline-block; } .tree-folder-content .child{ display: none; } .tree-action{ position: absolute; right: 4px; top: 5px; display: none; } .tree-action a{ color: #999; } .tree-action a:hover{ color: #666; } .tree-item{ padding-left: 0 !important; padding-right: 0 !important; } .form-control-plaintext{ width:100% } .ztree-warp { border:1px solid #ddd; overflow: auto; } /**帮助**/ .help-content .sticky-top{ float:right; top:80px; right:80px; border-left: 1px solid #ccc; padding:10px 0 10px 20px; } .help-content .sticky-top li{ margin:5px 0; } .help-content .sticky-top a{ color:#333 } .help-content .sticky-top a:hover{ color:#007bff; text-decoration: none } .help-content legend{ border-bottom:1px solid #ccc; padding-bottom:10px; font-size: 2rem } .help-content h2,.help-content h3,.help-content h4{ font-weight:600px } .help-content h2 { font-size:1.75rem; margin:1rem 0; } .help-content h3 { font-size:1.5rem; padding-left:5px; margin-left:2px; border-left: 2px solid #007bff; margin:1rem 0; } .help-content h4 { font-size:1.25rem; padding-left:6px; margin-left:2px; border-left: 1px solid #007bff; margin:1rem 0; } .help-content p { font-size:1rem; margin-left:9px } .help-content pre[class*="language-"]{ margin-left:9px; } .help-content .badge-light{ font-size:0.9rem; background-color: #dee2e6; margin:0 1px; }