Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

426 rindas
8.8 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 .leftPanel {
  29. float: left;
  30. width: 225px;
  31. overflow: hidden;
  32. border-right: 1px solid #DDD;
  33. position: relative;
  34. z-index: 20;
  35. }
  36. .fn-gantt .row {
  37. float: left;
  38. height: 24px;
  39. line-height: 24px;
  40. margin-left: -24px;
  41. }
  42. .fn-gantt .leftPanel .fn-label {
  43. display: inline-block;
  44. margin: 0 0 0 5px;
  45. color: #484A4D;
  46. width: 110px;
  47. white-space: nowrap;
  48. text-overflow: ellipsis;
  49. overflow: hidden;
  50. }
  51. .fn-gantt .leftPanel .row0 {
  52. border-top: 1px solid #DDD;
  53. }
  54. .fn-gantt .leftPanel .name, .fn-gantt .leftPanel .desc {
  55. float: left;
  56. height: 23px;
  57. margin: 0;
  58. border-bottom: 1px solid #DDD;
  59. background-color: #f6f6f6;
  60. }
  61. .fn-gantt .leftPanel .name {
  62. width: 110px;
  63. font-weight: bold;
  64. }
  65. .fn-gantt .leftPanel .desc {
  66. width: 115px;
  67. }
  68. .fn-gantt .leftPanel .fn-wide, .fn-gantt .leftPanel .fn-wide .fn-label {
  69. width: 225px;
  70. }
  71. .fn-gantt .spacer {
  72. margin: -2px 0 1px 0;
  73. border-bottom: none;
  74. background-color: #f6f6f6;
  75. }
  76. /* === RIGHT PANEL === */
  77. .fn-gantt .rightPanel {
  78. overflow: hidden;
  79. }
  80. .fn-gantt .dataPanel {
  81. margin-left: 0px;
  82. border-right: 1px solid #DDD;
  83. background-image: url(lib/js/lib/jQuery.Gantt/img/grid.png);
  84. background-repeat: repeat;
  85. background-position: 24px 24px;
  86. }
  87. .fn-gantt .day {
  88. overflow: visible;
  89. width: 24px;
  90. line-height: 24px;
  91. text-align: center;
  92. border-left: 1px solid #DDD;
  93. border-bottom: 1px solid #DDD;
  94. margin: -1px 0 0 -1px;
  95. font-size: 11px;
  96. color: #484a4d;
  97. text-shadow: 0 1px 0 rgba(255,255,255,0.75);
  98. text-align: center;
  99. }
  100. .fn-gantt .holiday {
  101. background-color: #ffd263;
  102. height: 23px;
  103. margin: 0 0 -1px -1px;
  104. }
  105. .fn-gantt .today {
  106. background-color: #fff8da;
  107. height: 23px;
  108. margin: 0 0 -1px -1px;
  109. font-weight: bold;
  110. text-align: center;
  111. }
  112. .fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd {
  113. height: 23px;
  114. margin: 0 0 0 -1px;
  115. text-align: center;
  116. }
  117. .fn-gantt .sa, .fn-gantt .sn {
  118. color: #939496;
  119. background-color: #f5f5f5;
  120. text-align: center;
  121. }
  122. .fn-gantt .wd {
  123. background-color: #f6f6f6;
  124. text-align: center;
  125. }
  126. .fn-gantt .rightPanel .month, .fn-gantt .rightPanel .year {
  127. float: left;
  128. overflow: hidden;
  129. border-left: 1px solid #DDD;
  130. border-bottom: 1px solid #DDD;
  131. height: 23px;
  132. margin: 0 0 0 -1px;
  133. background-color: #f6f6f6;
  134. font-weight: bold;
  135. font-size: 11px;
  136. color: #484a4d;
  137. text-shadow: 0 1px 0 rgba(255,255,255,0.75);
  138. text-align: center;
  139. }
  140. .fn-gantt-hint {
  141. border: 5px solid #edc332;
  142. background-color: #fff5d4;
  143. padding: 10px;
  144. position: absolute;
  145. display: none;
  146. z-index: 11;
  147. -webkit-border-radius: 4px;
  148. -moz-border-radius: 4px;
  149. border-radius: 4px;
  150. }
  151. .fn-gantt .bar {
  152. background-color: #D0E4FD;
  153. height: 18px;
  154. margin: 4px 3px 3px 3px;
  155. position: absolute;
  156. z-index: 10;
  157. text-align: center;
  158. -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
  159. -moz-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
  160. box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
  161. -webkit-border-radius: 3px;
  162. -moz-border-radius: 3px;
  163. border-radius: 3px;
  164. }
  165. .fn-gantt .bar .fn-label {
  166. line-height: 18px;
  167. font-weight: bold;
  168. white-space: nowrap;
  169. width: 100%;
  170. text-overflow: ellipsis;
  171. overflow: hidden;
  172. text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  173. color: #414B57 !important;
  174. text-align: center;
  175. font-size: 11px;
  176. }
  177. .fn-gantt .ganttRed {
  178. background-color: #F9C4E1;
  179. }
  180. .fn-gantt .ganttRed .fn-label {
  181. color: #78436D !important;
  182. }
  183. .fn-gantt .ganttGreen {
  184. background-color: #D8EDA3;
  185. }
  186. .fn-gantt .ganttGreen .fn-label {
  187. color: #778461 !important;
  188. }
  189. .fn-gantt .ganttOrange {
  190. background-color: #FCD29A;
  191. }
  192. .fn-gantt .ganttOrange .fn-label {
  193. color: #714715 !important;
  194. }
  195. .fn-gantt .ganttGray {
  196. background-color: #eee;
  197. }
  198. .fn-gantt .ganttGray .fn-label {
  199. color: #888 !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. }