旭捷内部项目管理系统
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.

320 lines
5.9 KiB

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