Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

426 wiersze
8.9 KiB

  1. .gantt, .gantt2 {
  2. width: 100%;
  3. margin: 20px auto;
  4. border: 14px solid #ddd;
  5. -webkit-border-radius: 6px;
  6. -moz-border-radius: 6px;
  7. border-radius: 6px;
  8. -webkit-box-sizing: border-box;
  9. -moz-box-sizing: border-box;
  10. box-sizing: border-box;
  11. }
  12. .gantt:after {
  13. content: ".";
  14. visibility: hidden;
  15. display: block;
  16. height: 0;
  17. clear: both;
  18. }
  19. .fn-gantt {
  20. width: 100%;
  21. }
  22. .fn-gantt .fn-content {
  23. overflow: hidden;
  24. position: relative;
  25. width: 100%;
  26. }
  27. /* === LEFT PANEL === */
  28. .fn-gantt * {
  29. -webkit-box-sizing: content-box;
  30. -moz-box-sizing: content-box;
  31. box-sizing: content-box;
  32. }
  33. .fn-gantt .leftPanel {
  34. float: left;
  35. width: 225px;
  36. overflow: hidden;
  37. border-right: 1px solid #DDD;
  38. position: relative;
  39. z-index: 20;
  40. }
  41. .fn-gantt .row, .row .fn-gantt .row {
  42. float: left;
  43. height: 24px;
  44. line-height: 24px;
  45. margin-left: -24px;
  46. margin-right: 0px;
  47. }
  48. .fn-gantt .leftPanel .fn-label {
  49. display: inline-block;
  50. margin: 0 0 0 5px;
  51. color: #484A4D;
  52. width: 110px;
  53. white-space: nowrap;
  54. text-overflow: ellipsis;
  55. overflow: hidden;
  56. }
  57. .fn-gantt .leftPanel .row0 {
  58. border-top: 1px solid #DDD;
  59. }
  60. .fn-gantt .leftPanel .name, .fn-gantt .leftPanel .desc {
  61. float: left;
  62. height: 23px;
  63. margin: 0;
  64. border-bottom: 1px solid #DDD;
  65. background-color: #f6f6f6;
  66. }
  67. .fn-gantt .leftPanel .name {
  68. width: 110px;
  69. font-weight: bold;
  70. }
  71. .fn-gantt .leftPanel .desc {
  72. width: 115px;
  73. }
  74. .fn-gantt .leftPanel .fn-wide, .fn-gantt .leftPanel .fn-wide .fn-label {
  75. width: 225px;
  76. }
  77. .fn-gantt .spacer {
  78. margin: -2px 0 1px 0 !important;
  79. border-bottom: none;
  80. background-color: #f6f6f6;
  81. }
  82. /* === RIGHT PANEL === */
  83. .fn-gantt .rightPanel {
  84. overflow: hidden;
  85. }
  86. .fn-gantt .dataPanel {
  87. margin-left: 0px;
  88. border-right: 1px solid #DDD;
  89. background-image: url(lib/js/lib/jQuery.Gantt/img/grid.png);
  90. background-repeat: repeat;
  91. background-position: 24px 24px;
  92. }
  93. .fn-gantt .day, .fn-gantt .date {
  94. overflow: visible;
  95. width: 24px;
  96. line-height: 23px;
  97. text-align: center;
  98. border-left: 1px solid #DDD;
  99. border-bottom: 1px solid #DDD;
  100. margin: 0 0 0 -1px !important;
  101. font-size: 11px;
  102. color: #484a4d;
  103. text-shadow: 0 1px 0 rgba(255,255,255,0.75);
  104. text-align: center;
  105. }
  106. .fn-gantt .holiday {
  107. background-color: #ffd263;
  108. height: 23px;
  109. margin: 0 0 -1px -1px;
  110. }
  111. .fn-gantt .today {
  112. background-color: #fff8da;
  113. height: 23px;
  114. margin: 0 0 -1px -1px;
  115. font-weight: bold;
  116. text-align: center;
  117. }
  118. .fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd {
  119. height: 23px;
  120. margin: 0 0 0 -1px;
  121. text-align: center;
  122. }
  123. .fn-gantt .sa, .fn-gantt .sn {
  124. color: #939496;
  125. background-color: #f5f5f5;
  126. text-align: center;
  127. }
  128. .fn-gantt .wd {
  129. background-color: #f6f6f6;
  130. text-align: center;
  131. }
  132. .fn-gantt .rightPanel .month, .fn-gantt .rightPanel .year {
  133. float: left;
  134. overflow: hidden;
  135. border-left: 1px solid #DDD;
  136. border-bottom: 1px solid #DDD;
  137. height: 23px;
  138. margin: 0 0 0 -1px;
  139. background-color: #f6f6f6;
  140. font-weight: bold;
  141. font-size: 11px;
  142. color: #484a4d;
  143. text-shadow: 0 1px 0 rgba(255,255,255,0.75);
  144. text-align: center;
  145. }
  146. .fn-gantt-hint {
  147. border: 5px solid #edc332;
  148. background-color: #fff5d4;
  149. padding: 10px;
  150. position: absolute;
  151. display: none;
  152. z-index: 11;
  153. -webkit-border-radius: 4px;
  154. -moz-border-radius: 4px;
  155. border-radius: 4px;
  156. }
  157. .fn-gantt .bar {
  158. background-color: #D0E4FD;
  159. height: 18px;
  160. margin: 4px 3px 3px 3px;
  161. position: absolute;
  162. z-index: 10;
  163. text-align: center;
  164. -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
  165. -moz-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
  166. box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
  167. -webkit-border-radius: 3px;
  168. -moz-border-radius: 3px;
  169. border-radius: 3px;
  170. }
  171. .fn-gantt .bar .fn-label {
  172. line-height: 18px;
  173. font-weight: bold;
  174. white-space: nowrap;
  175. width: 100%;
  176. text-overflow: ellipsis;
  177. overflow: hidden;
  178. text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  179. color: #414B57 !important;
  180. text-align: center;
  181. font-size: 11px;
  182. }
  183. .fn-gantt .ganttRed {
  184. background-color: #F9C4E1;
  185. }
  186. .fn-gantt .ganttRed .fn-label {
  187. color: #78436D !important;
  188. }
  189. .fn-gantt .ganttGreen {
  190. background-color: #D8EDA3;
  191. }
  192. .fn-gantt .ganttGreen .fn-label {
  193. color: #778461 !important;
  194. }
  195. .fn-gantt .ganttOrange {
  196. background-color: #FCD29A;
  197. }
  198. .fn-gantt .ganttOrange .fn-label {
  199. color: #714715 !important;
  200. }
  201. /* === BOTTOM NAVIGATION === */
  202. .fn-gantt .bottom {
  203. clear: both;
  204. background-color: #f6f6f6;
  205. width: 100%;
  206. }
  207. .fn-gantt .navigate {
  208. border-top: 1px solid #DDD;
  209. padding: 10px 0 10px 225px;
  210. }
  211. .fn-gantt .navigate .nav-slider {
  212. height: 20px;
  213. display: inline-block;
  214. }
  215. .fn-gantt .navigate .nav-slider-left, .fn-gantt .navigate .nav-slider-right {
  216. text-align: center;
  217. height: 20px;
  218. display: inline-block;
  219. }
  220. .fn-gantt .navigate .nav-slider-left {
  221. float: left;
  222. }
  223. .fn-gantt .navigate .nav-slider-right {
  224. float: right;
  225. }
  226. .fn-gantt .navigate .nav-slider-content {
  227. text-align: left;
  228. width: 160px;
  229. height: 20px;
  230. display: inline-block;
  231. margin: 0 10px;
  232. }
  233. .fn-gantt .navigate .nav-slider-bar, .fn-gantt .navigate .nav-slider-button {
  234. position: absolute;
  235. display: block;
  236. }
  237. .fn-gantt .navigate .nav-slider-bar {
  238. width: 155px;
  239. height: 6px;
  240. background-color: #838688;
  241. margin: 8px 0 0 0;
  242. -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
  243. -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
  244. box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
  245. -webkit-border-radius: 3px;
  246. -moz-border-radius: 3px;
  247. border-radius: 3px;
  248. }
  249. .fn-gantt .navigate .nav-slider-button {
  250. width: 17px;
  251. height: 60px;
  252. background: url(lib/js/lib/jQuery.Gantt/img/slider_handle.png) center center no-repeat;
  253. left: 0px;
  254. top: 0px;
  255. margin: -26px 0 0 0;
  256. cursor: pointer;
  257. }
  258. .fn-gantt .navigate .page-number {
  259. display: inline-block;
  260. font-size: 10px;
  261. height: 20px;
  262. }
  263. .fn-gantt .navigate .page-number span {
  264. color: #666666;
  265. margin: 0 6px;
  266. height: 20px;
  267. line-height: 20px;
  268. display: inline-block;
  269. }
  270. .fn-gantt .navigate a:link, .fn-gantt .navigate a:visited, .fn-gantt .navigate a:active {
  271. text-decoration: none;
  272. }
  273. .fn-gantt .nav-link {
  274. margin: 0 3px 0 0;
  275. display: inline-block;
  276. width: 20px;
  277. height: 20px;
  278. font-size: 0px;
  279. background: #595959 url(lib/js/lib/jQuery.Gantt/img/icon_sprite.png) !important;
  280. border: 1px solid #454546;
  281. cursor: pointer;
  282. vertical-align: top;
  283. -webkit-border-radius: 2px;
  284. -moz-border-radius: 2px;
  285. border-radius: 2px;
  286. -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
  287. -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
  288. box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
  289. -webkit-box-sizing: border-box;
  290. -moz-box-sizing: border-box;
  291. box-sizing: border-box;
  292. }
  293. .fn-gantt .nav-link:active {
  294. -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
  295. -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
  296. box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
  297. }
  298. .fn-gantt .navigate .nav-page-back {
  299. background-position: 1px 0 !important;
  300. margin: 0;
  301. }
  302. .fn-gantt .navigate .nav-page-next {
  303. background-position: 1px -16px !important;
  304. margin-right: 15px;
  305. }
  306. .fn-gantt .navigate .nav-slider .nav-page-next {
  307. margin-right: 5px;
  308. }
  309. .fn-gantt .navigate .nav-begin {
  310. background-position: 1px -112px !important;
  311. }
  312. .fn-gantt .navigate .nav-prev-week {
  313. background-position: 1px -128px !important;
  314. }
  315. .fn-gantt .navigate .nav-prev-day {
  316. background-position: 1px -48px !important;
  317. }
  318. .fn-gantt .navigate .nav-next-day {
  319. background-position: 1px -64px !important;
  320. }
  321. .fn-gantt .navigate .nav-next-week {
  322. background-position: 1px -160px !important;
  323. }
  324. .fn-gantt .navigate .nav-end {
  325. background-position: 1px -144px !important;
  326. }
  327. .fn-gantt .navigate .nav-zoomOut {
  328. background-position: 1px -96px !important;
  329. }
  330. .fn-gantt .navigate .nav-zoomIn {
  331. background-position: 1px -80px !important;
  332. margin-left: 15px;
  333. }
  334. .fn-gantt .navigate .nav-now {
  335. background-position: 1px -32px !important;
  336. }
  337. .fn-gantt .navigate .nav-slider .nav-now {
  338. margin-right: 5px;
  339. }
  340. .fn-gantt-loader {
  341. background-image: url(lib/js/lib/jQuery.Gantt/img/loader_bg.png);
  342. z-index: 30;
  343. }
  344. .fn-gantt-loader-spinner {
  345. width: 100px;
  346. height: 20px;
  347. position: absolute;
  348. margin-left: 50%;
  349. margin-top: 50%;
  350. text-align: center;
  351. }
  352. .fn-gantt-loader-spinner span {
  353. color: #fff;
  354. font-size: 12px;
  355. font-weight: bold;
  356. }
  357. .row:after {
  358. clear: both;
  359. }