content-tab.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @charset "UTF-8";
  2. /*滚动条美化**/
  3. ::-webkit-scrollbar-track{border-radius: 10px;-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);}
  4. ::-webkit-scrollbar-thumb{background-color: rgba(0,0,0,0.05);border-radius: 10px;-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);}
  5. ::-webkit-scrollbar-thumb{background-color: rgba(0,0,0,0.2);border-radius: 10px;-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);}
  6. ::-webkit-scrollbar{width: 16px;height: 16px;}
  7. ::-webkit-scrollbar-track,
  8. ::-webkit-scrollbar-thumb{border-radius: 999px;border: 5px solid transparent;}
  9. ::-webkit-scrollbar-track{box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;}
  10. ::-webkit-scrollbar-thumb{min-height: 20px;background-clip: content-box;box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;}
  11. ::-webkit-scrollbar-corner{background: transparent;}
  12. html {
  13. overflow-x: hidden;
  14. }
  15. /**
  16. Tab
  17. */
  18. .content-tabs{border-bottom:solid 2px #e7ebee;background:#fff !important;border-top:none;height:41px;}
  19. .content-tabs .page-tabs a.active{background:whitesmoke;color:#fff !important;border-right: solid 1px #e7ebee;}
  20. .content-tabs .roll-left{border-right: solid 1px #e7ebee;}
  21. .content-tabs .roll-right{border-left: solid 1px #e7ebee;}
  22. #content-wrapper{background-color:#f9f9f9;border-left:2px solid #e7ebee;}
  23. @media (min-width:768px) {
  24. .nav-small #nav-col {
  25. width: 64px;
  26. }
  27. .nav-small #content-wrapper {
  28. margin-left: 64px;
  29. }
  30. .content-tabs {
  31. position: relative;
  32. height: 42px;
  33. line-height: 39.5px;
  34. background: #fafafa;
  35. border-bottom: solid 2px #2c3e50;
  36. font-size: 12px;
  37. border-top: 1px solid #ddd;
  38. }
  39. .content-tabs .roll-nav, .page-tabs-list {
  40. position: absolute;
  41. width: 40px;
  42. height: 39px;
  43. text-align: center;
  44. color: #475059;
  45. z-index: 2;
  46. top: 0;
  47. }
  48. .content-tabs .roll-left {
  49. left: 0;
  50. border-right: solid 1px #ddd;
  51. }
  52. .content-tabs .roll-right {
  53. right: 0;
  54. border-left: solid 1px #ddd;
  55. }
  56. .content-tabs button {
  57. background: #fff;
  58. border: 0;
  59. height: 39px;
  60. line-height: 39px;
  61. width: 40px;
  62. outline: 0;
  63. }
  64. .content-tabs button:hover {
  65. background: #fafafa;
  66. }
  67. .content-tabs button i {
  68. color: #999;
  69. }
  70. .content-tabs nav.page-tabs {
  71. margin-left: 40px;
  72. width: 100000px;
  73. height: 40px;
  74. overflow: hidden;
  75. }
  76. .content-tabs nav.page-tabs .page-tabs-content {
  77. float: left;
  78. }
  79. .content-tabs .page-tabs a {
  80. display: block;
  81. float: left;
  82. border-right: solid 0px #ddd;
  83. padding: 0 15px;
  84. padding-right: 8px;
  85. text-decoration: none;
  86. color: #475059;
  87. }
  88. .content-tabs .page-tabs a:first-child {
  89. padding-right: 15px;
  90. }
  91. .content-tabs .page-tabs a.active {
  92. background: #2c3e50;
  93. color: #fff;
  94. border-right: solid 1px #2c3e50;
  95. }
  96. .content-tabs .page-tabs a i {
  97. margin-top: -10px;
  98. right: 0px;
  99. position: relative;
  100. color: #999;
  101. }
  102. .content-tabs .page-tabs a i:hover {
  103. color: #c00 !important;
  104. }
  105. .content-tabs .page-tabs a.active i:hover {
  106. color: #fff !important;
  107. }
  108. .content-tabs .roll-right.tabRight {
  109. right: 120px;
  110. }
  111. .content-tabs .roll-right.btn-group {
  112. right: 40px;
  113. width: 80px;
  114. padding: 0;
  115. }
  116. .content-tabs .roll-right.btn-group button {
  117. width: 80px;
  118. }
  119. .content-tabs .roll-right.tabExit {
  120. background: #fff;
  121. height: 39px;
  122. width: 40px;
  123. outline: 0;
  124. }
  125. }
  126. @media(max-width:768px) {
  127. .content-tabs {
  128. display: none;
  129. }
  130. }
  131. .nav-link {
  132. cursor: pointer;
  133. }