common.css 2.0 KB

123456789101112131415161718192021222324252627
  1. body, html {height: 100%; position: relative; font-family: 'Microsoft yahei'; font-size: 13px; font-weight: 400;}
  2. img {vertical-align: middle;}
  3. a, a:hover, a:active, a:focus {text-decoration: none; -webkit-user-drag: none; outline: none; color: #000;}
  4. a i{font-size: 13px;}
  5. #main{padding: 10px 20px;}
  6. /* 数据表格 */
  7. body{font-size: 12px;}
  8. .table i{font-size: 12px; color: #000;}
  9. .bootstrap-table .table>thead>tr>th{border-bottom: none;}
  10. .bootstrap-table .table:not(.table-condensed), .bootstrap-table .table:not(.table-condensed)>tbody>tr>td, .bootstrap-table .table:not(.table-condensed)>tbody>tr>th, .bootstrap-table .table:not(.table-condensed)>tfoot>tr>td, .bootstrap-table .table:not(.table-condensed)>tfoot>tr>th, .bootstrap-table .table:not(.table-condensed)>thead>tr>td{padding: 12px 8px;}
  11. /* 分页 */
  12. .pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus{background: #f5f5f5; color: #000; border-color: #7d7d7d;}
  13. .pagination>li>a, .pagination>li>span{color: #000;}.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus{background-color: #999;}
  14. /* bootstrap */
  15. .jconfirm .jconfirm-box .jconfirm-buttons button{-webkit-border-radius: 0; border-radius: 0;}
  16. .btn:active{-webkit-box-shadow: none; box-shadow: none;}
  17. /* input */
  18. .jconfirm-content form{margin-top: 10px;}
  19. .crudDialog{padding: 0 0 2px;}
  20. .dialog-buttons a{font-weight: bold;}
  21. .form-group{margin-bottom: 20px;}
  22. .form-group label{position: absolute; line-height: 2; font-size: 16px; font-weight: normal; transition: all .2s; pointer-events: none; color: #999;}
  23. .form-group .active{transform: translateY(-65%); font-size: 12px; color: #337ab7;}
  24. .form-group .form-control{font-size: 14px; box-shadow: none; padding-left: 0; padding-right: 0; border-radius: 0; border: none; border-bottom: 2px solid #eee; outline: none; transition: all .5s;}
  25. .form-group .form-control:focus{box-shadow: none; border-color: #337ab7;}