You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

284 lines
5.5 KiB

  1. /* 设置左侧侧边栏的高度 */
  2. #main-nav{
  3. width: 160px;
  4. height: calc(100vh - 55px);
  5. background: #3a3f51;
  6. }
  7. /* 设置一级菜单的宽度 */
  8. .navbar-left > li + li {
  9. margin-bottom: 3px;
  10. }
  11. /* 设置一级菜单的宽度 */
  12. .navbar-left > li.first-li {
  13. width: 160px;
  14. margin-bottom: 3px;
  15. position: relative;
  16. display: block;
  17. float: left;
  18. background: #3a3f51;
  19. }
  20. /* 设置一级菜单的左右边距 */
  21. .navbar-left > li > a {
  22. padding: 10px 15px;
  23. font-size: 12px;
  24. font-weight: 400;
  25. color: #bbc0cf;
  26. background-color: transparent;
  27. /*border: 1px solid #D5D5D5; */
  28. border-radius: 4px;
  29. }
  30. /* 去掉下划线 */
  31. .none-underline {
  32. border-bottom: 0px !important;
  33. }
  34. .none-topline{
  35. border-bottom: 0px!important;
  36. }
  37. /* 设置一级ul的样式 */
  38. .navbar-left > li > ul.custom-style{
  39. position: relative;
  40. }
  41. /* 设置一级菜单向下按钮样式 */
  42. .navbar-left > li.first-li > a >span.glyphicon-chevron-toggle:before {
  43. content: "\e114";
  44. }
  45. /* 设置一级菜单向上按钮样式 */
  46. .navbar-left > li > a.active >span.glyphicon-chevron-toggle:before {
  47. content: "\e113";
  48. }
  49. /* 一级菜单激活和悬浮事件 */
  50. .navbar-left > li.first-li > a.active , .navbar-left > li.first-li > a:hover {
  51. color: #FFF;
  52. background: -webkit-linear-gradient(top, #4A515B 0%,#3C4049 100%);
  53. border-color: #2B2E33;
  54. }
  55. /* 设置二级菜单的宽度 */
  56. li.second-li {
  57. width: 160px;
  58. float: none;
  59. display: block;
  60. margin-right: 20px;
  61. padding-left: 10px;
  62. }
  63. /* 设置二级菜单的字体 */
  64. li.second-li > a{
  65. font-size: 12px;
  66. padding-left: 20px;
  67. padding-top: 10px;
  68. padding-right: 20px;
  69. padding-bottom: 6px;
  70. color: #e1eaf1;
  71. background: #363a4b;
  72. }
  73. /* 设置二级菜单的激活和悬浮式样式 */
  74. li.second-li > a.active,
  75. li.second-li > a:hover{
  76. color: #FFF;
  77. background: -webkit-linear-gradient(top, #4A515B 0%,#3C4049 100%);
  78. border-color: #2B2E33;
  79. }
  80. .navbar-right > li{
  81. width: 200px;
  82. }
  83. /* 图标的颜色设置 */
  84. img.img-logo {
  85. margin-left: -12px;
  86. margin-top: -23px;
  87. height: 69px;
  88. background-color: #21212100;
  89. }
  90. .collapsed.glyphicon-chevron-toggle, .glyphicon-chevron-toggle:before {
  91. content: "\e113";
  92. }
  93. .collapsed.glyphicon-chevron-toggle:before {
  94. content: "\e114";
  95. }
  96. /*展示区域的数据样式*/
  97. .main-show{
  98. background-color: #fff;
  99. position: absolute;
  100. margin-left: 160px;
  101. overflow-y: auto;
  102. left: 2x;
  103. width: calc(100vw - 165px)!important;
  104. /* top: 80px;距离顶部的距离 */
  105. height: calc(100vh - 55px);
  106. }
  107. /* 右边的侧边栏 */
  108. .navbar-right{
  109. position: absolute;
  110. left: calc(100vw - 160px);
  111. top: 0px;
  112. height: 26px;
  113. z-index: 9999;
  114. }
  115. /* 欢迎语句的样式 */
  116. .navbar-right > li.right-huan-ying{
  117. width: 140px;
  118. margin-left: -35px;
  119. height: 26px;
  120. }
  121. .navbar-right > li.log-out{
  122. width: 60px;
  123. height: 26px;
  124. margin-left: -10px;
  125. }
  126. .navbar-right > li > a{
  127. color: #333;
  128. height: 39px;
  129. }
  130. /* 页签的样式 */
  131. ul#main-tabs{
  132. height: 30px;
  133. }
  134. /* 各个页签之间的间距控制 */
  135. ul#main-tabs > li{
  136. padding-right: 1px;
  137. margin-left: 1px;
  138. height: 29px;
  139. font-size: 12px;
  140. background-color: #363a4b;
  141. }
  142. /* 设置字体的样式 */
  143. ul#main-tabs > li > a{
  144. height: 30px;
  145. padding: 6px 5px;
  146. font-size: 12px;
  147. color: #fff;
  148. border: 0px;
  149. background-color: #363a4b;
  150. }
  151. /*激活状态的页签背景颜色*/
  152. ul#main-tabs > li.active > a{
  153. color: #333;
  154. font-size: 12px;
  155. background: #f2f2f2;
  156. }
  157. /* 页签第一个li的样式 */
  158. ul#main-tabs > li:nth-child(1){
  159. margin-left: -5px;
  160. width: 50px;
  161. font-size: 12px;
  162. padding-left: 5px;
  163. }
  164. /* iframe样式控制 */
  165. .tab-content > div{
  166. display: none;
  167. }
  168. /* 显示激活的div */
  169. .tab-content > div.active{
  170. display: block;
  171. }
  172. /* 关闭按钮的样式 */
  173. .fa-times{
  174. margin-left: 15px;
  175. margin-right: 3px !important;
  176. font-size: 12px;
  177. }
  178. /* 设置统一的样式标签 */
  179. ul.nav.nav-tabs{
  180. background-color: #363a4b;
  181. }
  182. /*设置bootstrap边线*/
  183. .panel-header, .panel-body {
  184. border-width: 0px;
  185. padding: 0px;
  186. border-style: hidden;
  187. }
  188. /* table边框字体大小 */
  189. table tr td .btn{
  190. font-size: 12px;
  191. height: 20px;
  192. padding-top: 2px;
  193. }
  194. /* 设置table的header字体*/
  195. .fixed-table-container thead th .th-inner{
  196. padding-top: 0px!important;
  197. padding-bottom: 0px!important;
  198. font-size: 12px;
  199. }
  200. /*table行间距*/
  201. .bootstrap-table .table:not(.table-condensed)> tbody > tr > td{
  202. padding-top: 2px;
  203. padding-bottom: 2px;
  204. padding-left: 2px;
  205. padding-right: 2px;
  206. font-size: 12px;
  207. }
  208. /* 搜索框的字体 */
  209. .panel-heading > span{
  210. font-size: 12px;
  211. }
  212. /* 图标菜单间距 */
  213. .glyphicon{
  214. margin-right: 5px;
  215. }
  216. body {
  217. font-family: 'Microsoft Yahei', '微软雅黑', '宋体', \5b8b\4f53, Tahoma, Arial, Helvetica, STHeiti;
  218. margin: 0;
  219. }
  220. .panel-heading{
  221. background: -webkit-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
  222. }
  223. /* 设置checkbox的pading */
  224. .th-inner{
  225. padding: 3px 0px !important;
  226. }
  227. /* 设置所有的内部宽度 */
  228. th.bs-checkbox td.bs-checkbox> .th-inner{
  229. width: 30px;
  230. }
  231. /* 设置宽度 */
  232. .th-inner > label{
  233. height: 20px;
  234. }
  235. /* bootstrap模态框样式 */
  236. /*设置模态框的样式行*/
  237. .col-sm-x{
  238. width: 150px!important;
  239. font-size: 12px;
  240. }
  241. .col-sm-t{
  242. width: 80px!important;
  243. margin-left: 5px;
  244. padding: 0px;
  245. font-size: 12px;
  246. }
  247. .col-sm-3{
  248. padding-right: 0px;
  249. }
  250. /* 标签字体 */
  251. .title-span{
  252. font-size: 12px;
  253. margin-left: 5px;
  254. }
  255. span.huan-ying{
  256. font-size: 14px;
  257. color: #00a2d4;
  258. }
  259. /*重置标签的样式*/
  260. .panel{
  261. border: 0px solid transparent;
  262. }
  263. .nav-tabs {
  264. border-bottom: 0px solid #ddd;
  265. }