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.
 
 
 
 
 
 

520 lines
10 KiB

  1. .lr-gantt {
  2. position: relative;
  3. width: 100%;
  4. height: 100%;
  5. padding: 36px 0;
  6. }
  7. .lr-gantt.lr-gantt-nopage {
  8. padding-bottom: 0px;
  9. }
  10. .lr-gantt.lr-gantt-nopage .lr-gantt-footer {
  11. display: none;
  12. }
  13. .lr-gantt-title {
  14. position: absolute;
  15. width: 100%;
  16. height: 36px;
  17. border-bottom: 1px solid #ccc;
  18. left: 0;
  19. top: 0;
  20. padding-left: 15px;
  21. }
  22. .lr-gantt-title-text {
  23. position: relative;
  24. height: 35px;
  25. line-height: 35px;
  26. float: left;
  27. }
  28. .lr-gantt-title .btn-group {
  29. margin-top: 3.5px;
  30. margin-left: 5px;
  31. }
  32. .lr-gantt-title .btn-group-sm > .btn {
  33. padding: 3px 10px;
  34. }
  35. .lr-gantt-title .btn-default:hover, .lr-gantt-title .btn-default.active {
  36. color: #fff;
  37. background-color: #3286ed;
  38. border-color: transparent;
  39. }
  40. .lr-gantt-footer {
  41. position: absolute;
  42. width: 100%;
  43. height: 36px;
  44. border-top: 1px solid #ccc;
  45. left: 0;
  46. bottom: 0;
  47. }
  48. .lr-gantt-body {
  49. position: relative;
  50. width: 100%;
  51. height: 100%;
  52. padding-left: 200px;
  53. }
  54. .lr-gantt-showtext-active .lr-gantt-body {
  55. padding-right: 200px;
  56. }
  57. .lr-gantt-left {
  58. position: absolute;
  59. width: 200px;
  60. height: 100%;
  61. border-right: 1px solid #ccc;
  62. top: 0;
  63. left: 0;
  64. padding-top: 49px;
  65. }
  66. .lr-gantt-left-content {
  67. position: relative;
  68. width: 100%;
  69. height: 100%;
  70. border-top: 1px solid #ccc;
  71. }
  72. .lr-gantt-right {
  73. position: relative;
  74. width: 100%;
  75. height: 100%;
  76. padding-top: 50px;
  77. overflow: hidden;
  78. }
  79. .lr-gantt-rightheader {
  80. position: absolute;
  81. top: 0;
  82. left: 0;
  83. min-width: 100%;
  84. height: 50px;
  85. }
  86. .lr-gantt-rightheader-months, .lr-gantt-rightheader-days {
  87. position: relative;
  88. height: 25px;
  89. width: 100%;
  90. border-bottom: 1px solid #ccc;
  91. }
  92. .lr-gantt-rightheader-month {
  93. position: relative;
  94. height: 24px;
  95. line-height: 24px;
  96. border-right: 1px solid #ccc;
  97. text-align: center;
  98. float: left;
  99. overflow: hidden;
  100. }
  101. .lr-gantt-rightheader-day {
  102. position: relative;
  103. height: 24px;
  104. line-height: 24px;
  105. width: 28px;
  106. border-right: 1px solid #ccc;
  107. text-align: center;
  108. float: left;
  109. }
  110. .lr-gantt-rightheader-day.lr-gantt-weekend {
  111. color: #ff5d48;
  112. }
  113. .lr-gantt-grid-row {
  114. width: 100%;
  115. }
  116. .lr-gantt-grid-row:nth-of-type(even) .lr-gantt-grid-row-cell {
  117. background-color: #f5f5f5;
  118. }
  119. .lr-gantt-grid-row-cell {
  120. height: 25px;
  121. width: 28px;
  122. border-right: 1px solid #f0f0f0;
  123. border-bottom: 1px solid #f0f0f0;
  124. float: left;
  125. }
  126. .lr-gantt-blocks {
  127. position: absolute;
  128. z-index: 2;
  129. top: 0;
  130. left: 0;
  131. width: 100%;
  132. }
  133. .lr-gantt-block-container {
  134. position: relative;
  135. width: 100%;
  136. height: 25px;
  137. }
  138. .lr-gantt-block {
  139. position: absolute;
  140. top: 2px;
  141. left: 0;
  142. height: 20px;
  143. border: 1px solid #ccc;
  144. border-radius: 3px;
  145. -moz-border-radius: 3px;
  146. -webkit-border-radius: 3px;
  147. cursor: pointer;
  148. }
  149. .lr-gantt-block-text {
  150. position: relative;
  151. width: 100%;
  152. height: 18px;
  153. line-height: 18px;
  154. padding-left: 5px;
  155. font-size: 12px;
  156. color: #fff;
  157. overflow: hidden;
  158. white-space: nowrap;
  159. text-overflow: ellipsis;
  160. }
  161. .lr-gantt-block-icon {
  162. position: absolute;
  163. top: 0;
  164. right: -18px;
  165. height: 18px;
  166. line-height:18px;
  167. width: 18px;
  168. text-align: center;
  169. color: #ff5d48;
  170. font-size:14px;
  171. cursor:pointer;
  172. }
  173. .lr-gantt-showtext {
  174. position: absolute;
  175. top: 0;
  176. right: 0;
  177. width: 200px;
  178. height: 100%;
  179. border-left:1px solid #ccc;
  180. display:none;
  181. }
  182. .lr-gantt-showtext.active {
  183. display: block;
  184. }
  185. .lr-gantt-showtext-title-remove {
  186. position: absolute;
  187. top: 0;
  188. right: 4px;
  189. z-index: 1;
  190. cursor: pointer;
  191. color: #333;
  192. font-size:16px;
  193. }
  194. .lr-gantt-showtext-content {
  195. position: relative;
  196. width: 100%;
  197. height: 100%;
  198. padding: 6px 6px 0 6px;
  199. }
  200. .lr-gantt-showtext .title {
  201. height: 28px;
  202. line-height: 28px;
  203. }
  204. .lr-gantt-showtext .text, .lr-gantt-showtext .textarea {
  205. display: block;
  206. width: 100%;
  207. height: 34px;
  208. padding: 6px 12px;
  209. font-size: 14px;
  210. line-height: 1.42857143;
  211. color: #555;
  212. background-color: #fff;
  213. background-image: none;
  214. border: 1px solid #ccc;
  215. border-radius: 4px;
  216. -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  217. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  218. -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  219. -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  220. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  221. color: #000;
  222. border-radius: 0;
  223. box-shadow: none;
  224. font-size: 9pt;
  225. height: 28px;
  226. padding-top: 0;
  227. padding-bottom: 1px;
  228. padding-right: 0;
  229. padding-left: 5px;
  230. resize: none;
  231. border-radius: 2px;
  232. }
  233. .lr-gantt-showtext .textarea {
  234. height:200px;
  235. }
  236. /*翻页条*/
  237. .lr-gantt-page-bar {
  238. -moz-user-select: none;
  239. -webkit-user-select: none;
  240. -ms-user-select: none;
  241. -khtml-user-select: none;
  242. user-select: none;
  243. position: relative;
  244. bottom: 0;
  245. left: 0;
  246. width: 100%;
  247. height: 35px;
  248. background-color: #fff;
  249. border-radius: 0px 0px 3px 3px;
  250. z-index: 5;
  251. }
  252. .lr-gantt-page-bar-info {
  253. position: absolute;
  254. top: 0;
  255. left: 10px;
  256. font-size: 12px;
  257. height: 100%;
  258. line-height: 34px;
  259. color: #475059;
  260. }
  261. .lr-gantt-page-bar-info > span {
  262. position: relative;
  263. top: -1px;
  264. color: #475059;
  265. }
  266. .lr-gantt-page-bar .paginations {
  267. margin: 0px;
  268. position: absolute;
  269. right: 4px;
  270. top: 4px;
  271. height: 26px;
  272. line-height: 26px;
  273. }
  274. .lr-gantt-page-bar .pagination input {
  275. display: block;
  276. top: 0;
  277. left: 0;
  278. height: 26px;
  279. margin: 0;
  280. top: 0;
  281. border-radius: 4px;
  282. width: 45px;
  283. line-height: 1.5;
  284. position: relative;
  285. float: left;
  286. text-align: center;
  287. }
  288. .lr-gantt-page-bar .pagination {
  289. margin: 0px;
  290. }
  291. .lr-gantt-page-bar .pagination > li > a, .pagination > li > span {
  292. color: #475059;
  293. }
  294. .lr-gantt-page-bar .pagination-sm > li > a {
  295. padding: 3px 8px;
  296. font-size: 12px;
  297. line-height: 1.5;
  298. }
  299. .lr-gantt-page-bar .pagination > li > span {
  300. padding: 3px 0px;
  301. font-size: 12px;
  302. line-height: 1.5;
  303. border: 0px;
  304. }
  305. .pagination > li > a.active,
  306. .pagination > li > a:focus {
  307. color: #ffffff;
  308. background-color: #3498DB;
  309. border-color: #3498DB;
  310. }
  311. .pagination > li > span.active,
  312. .pagination > li > span:focus {
  313. color: #475059;
  314. }
  315. .pagination > li > span:hover {
  316. background-color: #fff;
  317. color: #475059;
  318. }
  319. /*没数据的情况下显示图片*/
  320. .lr-gantt-nodata-img {
  321. position: absolute;
  322. top: 50%;
  323. left: 50%;
  324. height: 180px;
  325. width: 380px;
  326. margin: -90px 0px 0px -190px;
  327. z-index: 1;
  328. display: none;
  329. }
  330. /*调动左侧框大小的滑块*/
  331. .lr-gantt-move {
  332. position: absolute;
  333. top: 0;
  334. z-index: 1;
  335. right: -4px;
  336. width: 8px;
  337. height: 100%;
  338. cursor: col-resize;
  339. }
  340. /*左侧树形数据*/
  341. .lr-gantt-left ul,
  342. .lr-gantt-left li {
  343. list-style-type: none;
  344. margin: 0px;
  345. padding: 0px;
  346. }
  347. .lr-gantt-tree-icon,
  348. .lr-gantt-tree-ec-icon,
  349. .lr-gantt-tree-node-cb,
  350. .lr-gantt-tree-node-icon {
  351. border: 0 none;
  352. height: 18px;
  353. margin: 0;
  354. padding: 0;
  355. margin-top: 3px;
  356. vertical-align: top;
  357. width: 16px;
  358. background-repeat: no-repeat;
  359. }
  360. .lr-gantt-tree-node-cb {
  361. height: 16px;
  362. padding: 2px;
  363. margin-top: 4.5px;
  364. margin-right: 5px;
  365. }
  366. ul.lr-gantt-tree-node-ct {
  367. line-height: 0;
  368. zoom: 1;
  369. }
  370. .lr-gantt-tree-node-expanded > .lr-gantt-tree-ec-icon {
  371. background-image: url(/Content/images/learuntree/arrows.gif) !important;
  372. background: transparent no-repeat -16px 0;
  373. }
  374. .lr-gantt-tree-node-expanded > .lr-gantt-tree-ec-icon:hover {
  375. background: transparent no-repeat -48px 0;
  376. }
  377. .lr-gantt-tree-node-collapsed > .lr-gantt-tree-ec-icon {
  378. background-image: url(/Content/images/learuntree/arrows.gif) !important;
  379. background: transparent no-repeat 0px 0;
  380. }
  381. .lr-gantt-tree-node-collapsed > .lr-gantt-tree-ec-icon:hover {
  382. background: transparent no-repeat -32px 0;
  383. }
  384. .lr-gantt-tree-node {
  385. white-space: nowrap;
  386. color: #000;
  387. }
  388. .lr-gantt-tree-node {
  389. color: #000;
  390. }
  391. .lr-gantt-tree-node i {
  392. font-size: 13px;
  393. width: 13px;
  394. color: #666666;
  395. }
  396. .lr-gantt-tree-node a {
  397. text-decoration: none;
  398. -moz-user-select: none;
  399. -webkit-user-select: none;
  400. -ms-user-select: none;
  401. -khtml-user-select: none;
  402. user-select: none;
  403. -kthml-user-focus: normal;
  404. -moz-user-focus: normal;
  405. -moz-outline: 0 none;
  406. outline: 0 none;
  407. }
  408. .lr-gantt-tree-node a span {
  409. text-decoration: none;
  410. padding: 1px 3px 1px 2px;
  411. }
  412. .lr-gantt-tree-node a:hover {
  413. text-decoration: none;
  414. }
  415. .lr-gantt-tree-node .lr-gantt-tree-selected {
  416. background-color: #2F94EE !important;
  417. color: #fff;
  418. }
  419. .lr-gantt-tree-node .lr-gantt-tree-selected a span {
  420. color: #fff;
  421. }
  422. .lr-gantt-tree-node .lr-gantt-tree-selected i {
  423. color: #fff;
  424. }
  425. .lr-gantt-tree-node-el {
  426. position: relative;
  427. line-height: 24px;
  428. cursor: default;
  429. cursor: pointer;
  430. border-bottom: 1px solid #f0f0f0;
  431. background-color: #fff;
  432. }
  433. .lr-gantt-tree-node:nth-of-type(even) > .lr-gantt-tree-node-el {
  434. background-color: #f5f5f5;
  435. }
  436. .lr-gantt-tree-node:nth-of-type(odd) > .lr-gantt-tree-node-ct > .lr-gantt-tree-node:nth-of-type(odd) > .lr-gantt-tree-node-el {
  437. background-color: #f5f5f5;
  438. }
  439. .lr-gantt-tree-node:nth-of-type(odd) > .lr-gantt-tree-node-ct > .lr-gantt-tree-node:nth-of-type(even) > .lr-gantt-tree-node-el {
  440. background-color: #fff;
  441. }
  442. .lr-gantt-tree-node-el:hover {
  443. background-color: #eee;
  444. }
  445. .lr-gantt-tree-loading {
  446. position: absolute;
  447. top: 3px;
  448. right: 5px;
  449. display: none;
  450. }
  451. .lr-gantt-tree-loading > img {
  452. height: 14px;
  453. width: 14px;
  454. }