jsgantt.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982
  1. /* Sample CSS for jsGanttImproved v1.8.0 */
  2. div.gantt {
  3. font-family: tahoma, arial, verdana, Sans-serif;
  4. font-size: 10px;
  5. color: #656565;
  6. }
  7. .gantt table {
  8. border-collapse: collapse;
  9. }
  10. .gantt td {
  11. padding: 0px;
  12. }
  13. /* cell defaults */
  14. .headweekends div {
  15. font-size: 8px;
  16. width: 100% !important;
  17. margin: 0;
  18. }
  19. .gmajorheading,
  20. .gminorheading,
  21. .gminorheadingwkend,
  22. .gtaskcell,
  23. .gtaskcellcurrent,
  24. .gtaskcellwkend {
  25. height: 19px;
  26. font-size: 12px;
  27. border: #efefef 1px solid;
  28. text-align: center;
  29. cursor: default
  30. }
  31. .gtasklist {
  32. height: 19px;
  33. min-width: 5px;
  34. max-width: 5px;
  35. width: 5px;
  36. border: #efefef 1px solid;
  37. border-right: none;
  38. }
  39. .gtasknolist-label{
  40. padding: 10px 50px;
  41. }
  42. /* all three width values set just to make sure - helps resizing code */
  43. /* Additional values for some cell elements */
  44. .gtaskheading,
  45. .gmajorheading,
  46. .gminorheading {
  47. background-color: #ffffff;
  48. font-weight: bold;
  49. font-size: 9px;
  50. white-space: nowrap;
  51. }
  52. .gtaskcellwkend,
  53. .gtaskcellcurrent,
  54. .gminorheadingwkend {
  55. background-color: #f7f7f7;
  56. font-weight: bold;
  57. font-size: 9px;
  58. white-space: nowrap;
  59. }
  60. .gtaskcellcurrent {
  61. background-color: #e1e0f7;
  62. }
  63. td.gtaskcell {
  64. text-align: left;
  65. }
  66. td.gspanning {
  67. border-left: none;
  68. border-right: none;
  69. }
  70. .gtaskcelldiv {
  71. position: relative;
  72. }
  73. /* Task list defaults */
  74. .gtaskheading,
  75. .gname,
  76. .gtaskname,
  77. .gres,
  78. .gdur,
  79. .gcomp,
  80. .gstartdate,
  81. .gplanstartdate,
  82. .gplanenddate,
  83. .gcost,
  84. .genddate {
  85. height: 18px;
  86. white-space: nowrap;
  87. border: #efefef 1px solid;
  88. }
  89. .gtaskheading div,
  90. .gname div,
  91. .gtaskname div,
  92. .gres div,
  93. .gdur div,
  94. .gcomp div,
  95. .gstartdate div,
  96. .gplanstartdate div,
  97. .gplanenddate div,
  98. .gcost div,
  99. .genddate div {
  100. white-space: nowrap;
  101. overflow: hidden;
  102. text-overflow: ellipsis;
  103. }
  104. .gtaskbarcontainer.gplan {
  105. position: absolute !important;
  106. top: 0px;
  107. opacity: 0.3;
  108. background: white;
  109. z-index: 10000;
  110. border: 1px solid black;
  111. }
  112. /* Additional values for some task list elements */
  113. /* needed for IE8 */
  114. .gstartdate div,
  115. .gplanstartdate,
  116. .gplanenddate,
  117. .gstartdate,
  118. .genddate {
  119. text-align: center;
  120. min-width: 105px;
  121. width: 105px;
  122. max-width: 105px;
  123. font-size: 10px;
  124. }
  125. .gtaskheading {
  126. text-align: center;
  127. }
  128. .gtaskname div,
  129. /* needed for IE8 */
  130. .gtaskname {
  131. min-width: 170px;
  132. max-width: 170px;
  133. width: 170px;
  134. font-size: 9px;
  135. border-left: none;
  136. }
  137. .gtaskheading,
  138. .gtaskname {
  139. text-overflow: ellipsis;
  140. overflow: hidden;
  141. }
  142. .gtaskname.gtaskeditable div,
  143. .gtaskname.gtaskeditable {
  144. overflow: unset;
  145. }
  146. .gselector {
  147. text-align: left;
  148. white-space: nowrap;
  149. min-width: 170px;
  150. max-width: 170px;
  151. width: 170px;
  152. }
  153. .gformlabel {
  154. position: relative;
  155. top: 0px;
  156. cursor: pointer;
  157. border: #ffffff 1px solid;
  158. margin-left: 2px;
  159. padding-left: 2px;
  160. padding-right: 2px;
  161. }
  162. span.gformlabel:hover,
  163. span.gselected {
  164. background-color: #dbecff;
  165. border: #cccccc 1px solid;
  166. }
  167. span.gfoldercollapse {
  168. color: #000000;
  169. cursor: pointer;
  170. font-weight: bold;
  171. font-size: 12px;
  172. font-family: Courier, "Courier New", monospace;
  173. }
  174. .gtasktableh,
  175. .gtasktable {
  176. border-right: #efefef 1px solid;
  177. width: 100%;
  178. }
  179. .gcharttableh,
  180. .gtasktableh,
  181. .gtasktable,
  182. .gcharttable {
  183. border-collapse: collapse;
  184. }
  185. .gcharttable,
  186. .gcharttableh {
  187. table-layout: fixed;
  188. }
  189. .gcharttable {
  190. border: #efefef 1px solid;
  191. }
  192. /* for some reason firefox needs this */
  193. /* Differentiate Group, Milestone and Ordinary task items (applied to row) */
  194. .ggroupitem {
  195. background-color: #fbfbfb;
  196. font-weight: bold;
  197. }
  198. .gmileitem,
  199. .glineitem {
  200. background-color: #ffffff;
  201. }
  202. /* highlight row (applied to row) */
  203. .gitemhighlight td {
  204. background-image: none;
  205. background-color: #fffde5;
  206. }
  207. /* task bar caption text styles */
  208. .gmilecaption,
  209. .ggroupcaption,
  210. .gcaption {
  211. font-weight: normal;
  212. font-size: 9px;
  213. text-align: left;
  214. white-space: nowrap;
  215. top: 1px;
  216. position: absolute;
  217. top: 2px;
  218. }
  219. .ggroupcaption,
  220. .gcaption {
  221. right: -126px;
  222. }
  223. /* Task complete %age bar shared attributes */
  224. .gtaskcomplete {
  225. float: left;
  226. overflow: hidden;
  227. }
  228. /* Task complete %age bar */
  229. .gtaskcomplete {
  230. height: 5px;
  231. background-color: #000000;
  232. margin-top: 4px;
  233. opacity: 0.4;
  234. filter: alpha(opacity=40);
  235. }
  236. /* Milestones */
  237. .gmilestone {
  238. font-size: 14px;
  239. position: absolute;
  240. top: -2px;
  241. }
  242. .gmdtop {
  243. top: 2px;
  244. overflow: hidden;
  245. width: 0px;
  246. height: 0px;
  247. border-bottom: 5px solid black;
  248. border-left: 5px solid transparent;
  249. border-top: 5px solid transparent;
  250. border-right: 5px solid transparent;
  251. }
  252. .gmdbottom {
  253. top: 2px;
  254. overflow: hidden;
  255. width: 0px;
  256. height: 0px;
  257. border-top: 5px solid black;
  258. border-left: 5px solid transparent;
  259. border-bottom: 5px solid transparent;
  260. border-right: 5px solid transparent;
  261. }
  262. /* Task bar shared attributes */
  263. .ggroupblack,
  264. .gtaskblue,
  265. .gtaskred,
  266. .gtaskgreen,
  267. .gtaskyellow,
  268. .gtaskpurple,
  269. .gtaskpink {
  270. height: 13px;
  271. filter: alpha(opacity=90);
  272. opacity: 0.9;
  273. margin-top: 1px;
  274. }
  275. /* Task bars - ggroupblack is set as the default class on the task if it is undefined */
  276. .ggroupblack {
  277. height: 7px;
  278. background: #000000;
  279. margin-top: 2px;
  280. }
  281. .ggroupblackendpointleft {
  282. overflow: hidden;
  283. width: 0px;
  284. height: 0px;
  285. top: 2px;
  286. border-top: 4px solid black;
  287. border-left: 4px solid transparent;
  288. border-bottom: 4px solid transparent;
  289. border-right: 4px solid transparent;
  290. float: left;
  291. }
  292. .ggroupblackendpointright {
  293. overflow: hidden;
  294. width: 0px;
  295. height: 0px;
  296. top: 2px;
  297. border-top: 4px solid black;
  298. border-left: 4px solid transparent;
  299. border-bottom: 4px solid transparent;
  300. border-right: 4px solid transparent;
  301. float: right;
  302. }
  303. .ggroupblackcomplete {
  304. float: left;
  305. overflow: hidden;
  306. height: 3px;
  307. filter: alpha(opacity=80);
  308. opacity: 0.8;
  309. background-color: #777777;
  310. margin-top: 2px;
  311. margin-bottom: 2px;
  312. }
  313. .gtaskblue {
  314. background: rgb(58, 132, 195);
  315. /* Old browsers */
  316. background: linear-gradient(to bottom, rgba(58, 132, 195, 1) 0%, rgba(65, 154, 214, 1) 20%, rgba(75, 184, 240, 1) 40%, rgba(58, 139, 194, 1) 70%, rgba(38, 85, 139, 1) 100%);
  317. /* W3C */
  318. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4bb8f0', endColorstr='#3a84c3', GradientType=0);
  319. /* IE6-9 */
  320. }
  321. .gtaskred {
  322. background: rgb(196, 58, 58);
  323. /* Old browsers */
  324. background: linear-gradient(to bottom, rgba(196, 58, 58, 1) 0%, rgba(211, 65, 65, 1) 20%, rgba(239, 76, 76, 1) 40%, rgba(196, 58, 58, 1) 70%, rgba(135, 37, 37, 1) 100%);
  325. /* W3C */
  326. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef4c4c', endColorstr='#c43a3a', GradientType=0);
  327. /* IE6-9 */
  328. }
  329. .gtaskgreen {
  330. background: rgb(80, 193, 58);
  331. /* Old browsers */
  332. background: linear-gradient(to bottom, rgba(80, 193, 58, 1) 0%, rgba(88, 209, 64, 1) 20%, rgba(102, 237, 75, 1) 40%, rgba(80, 193, 58, 1) 70%, rgba(53, 132, 37, 1) 100%);
  333. /* W3C */
  334. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#66ED4B', endColorstr='#50c13a', GradientType=0);
  335. /* IE6-9 */
  336. }
  337. .gtaskyellow {
  338. background: rgb(247, 228, 56);
  339. /* Old browsers */
  340. background: linear-gradient(to bottom, rgba(247, 228, 56, 1) 0%, rgba(239, 239, 55, 1) 20%, rgba(255, 255, 58, 1) 40%, rgba(242, 236, 55, 1) 70%, rgba(241, 218, 54, 1) 100%);
  341. /* W3C */
  342. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff3a', endColorstr='#f7e438', GradientType=0);
  343. /* IE6-9 */
  344. }
  345. .gtaskpurple {
  346. background: rgb(193, 58, 193);
  347. /* Old browsers */
  348. background: linear-gradient(to bottom, rgba(193, 58, 193, 1) 0%, rgba(211, 65, 211, 1) 20%, rgba(239, 76, 239, 1) 40%, rgba(193, 58, 193, 1) 70%, rgba(137, 38, 137, 1) 100%);
  349. /* W3C */
  350. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef4cef', endColorstr='#892689', GradientType=0);
  351. /* IE6-9 */
  352. }
  353. .gtaskpink {
  354. background: rgb(249, 177, 245);
  355. /* Old browsers */
  356. background: linear-gradient(to bottom, rgba(249, 177, 245, 1) 0%, rgba(247, 192, 243, 1) 20%, rgba(247, 202, 244, 1) 40%, rgba(249, 192, 246, 1) 70%, rgba(252, 174, 247, 1) 100%);
  357. /* W3C */
  358. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7caf4', endColorstr='#fcaef7', GradientType=0);
  359. /* IE6-9 */
  360. }
  361. .gtaskbluecomplete,
  362. .gtaskredcomplete,
  363. .gtaskgreencomplete,
  364. .gtaskyellowcomplete,
  365. .gtaskpurplecomplete,
  366. .gtaskpinkcomplete {
  367. float: left;
  368. overflow: hidden;
  369. height: 5px;
  370. filter: alpha(opacity=40);
  371. opacity: 0.4;
  372. background-color: #000000;
  373. margin-top: 4px;
  374. }
  375. /* END Task bar styles */
  376. .glinev {
  377. border-left: 1px solid;
  378. width: 0px;
  379. }
  380. .glineh {
  381. border-top: 1px solid;
  382. height: 0px;
  383. }
  384. .gDepFS,
  385. .gDepSS,
  386. .gDepSF,
  387. .gDepFF {
  388. border-color: #ff0000;
  389. }
  390. .gDepFSArw,
  391. .gDepSSArw {
  392. overflow: hidden;
  393. width: 0px;
  394. height: 0px;
  395. border-bottom: 4px solid transparent;
  396. border-left: 4px solid #ff0000;
  397. border-top: 4px solid transparent;
  398. border-right: 4px solid transparent;
  399. }
  400. .gDepFFArw,
  401. .gDepSFArw {
  402. overflow: hidden;
  403. width: 0px;
  404. height: 0px;
  405. border-bottom: 4px solid transparent;
  406. border-left: 4px solid transparent;
  407. border-top: 4px solid transparent;
  408. border-right: 4px solid #ff0000;
  409. }
  410. .gCurDate {
  411. border-color: #0000ff;
  412. }
  413. div.gtaskbarcontainer {
  414. z-index: 1;
  415. position: absolute;
  416. top: 0px
  417. }
  418. .textbar {
  419. word-break: break-all;
  420. white-space: nowrap;
  421. overflow: hidden;
  422. text-overflow: ellipsis;
  423. width: 40%;
  424. display: inline-block;
  425. }
  426. .JSGanttToolTip {
  427. position: absolute;
  428. display: block;
  429. z-index: 10000;
  430. }
  431. .JSGanttToolTipcont {
  432. font-family: tahoma, arial, verdana;
  433. font-size: 10px;
  434. display: block;
  435. background: #ffffff;
  436. color: #656565
  437. }
  438. .gTaskInfo {
  439. background: #dbecff;
  440. width: 400px;
  441. border: #656565 1px solid;
  442. border-radius: 10px;
  443. padding: 4px 6px 4px 6px;
  444. float: left;
  445. }
  446. .gTtTitle {
  447. display: block;
  448. font-size: 12px;
  449. font-weight: bold;
  450. color: #404040;
  451. margin-left: 4px;
  452. margin-bottom: 1em;
  453. }
  454. .gTaskLabel {
  455. font-size: 11px;
  456. font-weight: bold;
  457. color: #656565;
  458. margin-left: 4px;
  459. }
  460. .gTaskText {
  461. position: absolute;
  462. left: 90px;
  463. padding-top: 1px;
  464. font-size: 10px;
  465. font-weight: normal;
  466. color: #656565;
  467. }
  468. .gTaskNotes {
  469. font-size: 11px;
  470. font-weight: normal;
  471. color: #323232;
  472. padding: 0 15px;
  473. display: block;
  474. }
  475. .gTIn {
  476. padding-top: 10px;
  477. }
  478. .gantt {
  479. min-width: 632px;
  480. /* 2x LC width */
  481. }
  482. .gchartcontainer {
  483. /* padding-left: 532px; LC width */
  484. line-height: 1;
  485. /* Overrides inherited CSS (e.g. from Bootstrap) */
  486. display: flex;
  487. }
  488. .gcontainercol {
  489. position: relative;
  490. }
  491. /* Add a max-height value here if wanted */
  492. .glistgrid {
  493. min-width: 132px;
  494. /* LC width */
  495. float: left;
  496. /* LC width */
  497. padding-right: 0px;
  498. padding-left: 0px;
  499. padding-bottom: 0px;
  500. padding-top: 0px;
  501. background-color: #ffffff;
  502. overflow: hidden;
  503. }
  504. .glistlbl {
  505. min-width: 132px;
  506. /* LC width */
  507. float: left;
  508. /* LC width */
  509. padding-right: 0px;
  510. padding-left: 0px;
  511. padding-bottom: 0px;
  512. padding-top: 0px;
  513. background-color: #ffffff;
  514. overflow: hidden;
  515. flex: none;
  516. }
  517. .glistlbl,
  518. .gchartgrid {
  519. display: flex;
  520. flex-direction: column;
  521. }
  522. .glabelfooter {
  523. clear: both;
  524. }
  525. .ggridfooter {
  526. clear: both;
  527. }
  528. .rhscrpad {
  529. width: 150px;
  530. position: absolute;
  531. top: 0px;
  532. height: 1px;
  533. }
  534. .gchartgrid {
  535. padding-right: 0px;
  536. padding-left: 0px;
  537. padding-bottom: 0px;
  538. padding-top: 0px;
  539. background-color: #ffffff;
  540. position: relative;
  541. /* overflow: auto; */
  542. overflow: unset;
  543. overflow-y: auto;
  544. min-height: 0%;
  545. }
  546. .gchartlbl {
  547. padding-right: 0px;
  548. padding-left: 0px;
  549. padding-bottom: 0px;
  550. padding-top: 0px;
  551. background-color: #ffffff;
  552. position: relative;
  553. overflow: hidden;
  554. flex: none;
  555. }
  556. /* Old Internet Explorer version hacks */
  557. .gantt {
  558. _height: 100%
  559. }
  560. /* otherwise the chart disappears! */
  561. div .gantt {
  562. /* _width: 1064px; ie6 fixed width */
  563. }
  564. div.gchartlbl,
  565. div.gchartgrid {
  566. /* _width: 532px; */
  567. }
  568. /* ie6 fixed width */
  569. div.glistlbl,
  570. div.glistgrid {
  571. *right: 0px;
  572. /* ie7 pulls the content too far left with the negative margin */
  573. _right: 532px;
  574. /* but ie6 fixed width needs this */
  575. _margin-left: -532px;
  576. /* ie6 fixed width */
  577. float: left;
  578. }
  579. div.gchartgrid {
  580. *padding-bottom: 20px;
  581. *overflow-y: hidden;
  582. }
  583. /* variable height design, no need for vertical scroll */
  584. td.gmajorheading div {
  585. *overflow: hidden;
  586. }
  587. /* stops resizing fixed width columns if the text is too wide */
  588. td.gspanning div {
  589. *overflow: hidden;
  590. }
  591. /* stops resizing fixed width columns if the text is too wide */
  592. /* border transparency tricks */
  593. .ggroupblackendpointleft {
  594. _border-top: 4px solid black;
  595. _border-left: 4px solid pink;
  596. _border-bottom: 4px solid pink;
  597. _border-right: 4px solid pink;
  598. _filter: chroma(color=pink);
  599. }
  600. .ggroupblackendpointright {
  601. _border-top: 4px solid black;
  602. _border-left: 4px solid pink;
  603. _border-bottom: 4px solid pink;
  604. _border-right: 4px solid pink;
  605. _filter: chroma(color=pink);
  606. }
  607. .gmdtop {
  608. _border-left: 5px solid pink;
  609. _border-top: 5px solid pink;
  610. _border-right: 5px solid pink;
  611. _filter: chroma(color=pink);
  612. }
  613. .gmdbottom {
  614. _border-left: 5px solid pink;
  615. _border-bottom: 5px solid pink;
  616. _border-right: 5px solid pink;
  617. _filter: chroma(color=pink);
  618. }
  619. .gDepFSArw,
  620. .gDepSSArw {
  621. _border-bottom: 4px solid pink;
  622. _border-top: 4px solid pink;
  623. _border-right: 4px solid pink;
  624. _filter: chroma(color=pink);
  625. }
  626. .gDepFFArw,
  627. .gDepSFArw {
  628. _border-bottom: 4px solid pink;
  629. _border-left: 4px solid pink;
  630. _border-top: 4px solid pink;
  631. _filter: chroma(color=pink);
  632. }
  633. /* Workaround for odd bug in old versions of Opera - no other browser needs this */
  634. .glinediv {
  635. position: absolute;
  636. top: 0px;
  637. left: 0px;
  638. z-index: 1px;
  639. }
  640. .gantt-inputtable {
  641. max-width: 100%;
  642. max-height: 16px;
  643. }
  644. .gadditional {
  645. border: #efefef 1px solid;
  646. }
  647. .gadditional,
  648. .gres,
  649. .gdur,
  650. .gcomp,
  651. .gcost {
  652. text-align: center;
  653. width: 70px;
  654. max-width: 70px;
  655. min-width: 70px;
  656. font-size: 10px;
  657. }
  658. @media print {
  659. /* All your print styles go here */
  660. html,
  661. .gchartgrid {
  662. overflow: unset !important;
  663. }
  664. .glistgrid {
  665. float: none !important;
  666. }
  667. }
  668. /* if using setUseSingleCell(1) the following is a suggested set of CSS3 styles to recreate the table grid - won't work on old browsers
  669. .ggrouphour td,
  670. .gmilehour td,
  671. .gitemhour td { background-size: 19px 1px; background-image: linear-gradient(to left, #efefef, transparent 1px, transparent 18px); width: 100%; height: 19px; }
  672. .ggroupday td,
  673. .gmileday td,
  674. .gitemday td { background-size: 19px 1px, 133px 1px; background-image: linear-gradient(to left, #efefef, transparent 1px, transparent 18px), linear-gradient(to left, #f7f7f7 39px, transparent 1px, transparent 92px); width: 100%; height: 19px; }
  675. .ggroupweek td,
  676. .gmileweek td,
  677. .gitemweek td { background-size: 37px 1px; background-image: linear-gradient(to left, #efefef, transparent 1px, transparent 36px); width: 100%; height: 19px; }
  678. .ggroupmonth td,
  679. .gmilemonth td,
  680. .gitemmonth td { background-size: 37px 1px; background-image: linear-gradient(to left, #efefef, transparent 1px, transparent 36px); width: 100%; height: 19px; }
  681. .ggroupquarter td,
  682. .gmilequarter td,
  683. .gitemquarter td { background-size: 19px 1px; background-image: linear-gradient(to left, #efefef, transparent 1px, transparent 18px); width: 100%; height: 19px; }
  684. */
  685. .gmain {
  686. height: 100%;
  687. display: flex;
  688. flex-direction: column;
  689. }
  690. .gmainright {
  691. overflow: hidden;
  692. flex: auto;
  693. }
  694. .gmainleft {
  695. overflow: hidden;
  696. flex: 0 0 50%;
  697. }
  698. .gtasktableh tr,
  699. .gcharttable tr,
  700. .gcharttableh tr,
  701. .gtasktable tr {
  702. height: 22px !important;
  703. }
  704. .gtasktableouterwrapper {
  705. overflow: hidden;
  706. }
  707. .gtasktablewrapper {
  708. overflow-y: scroll;
  709. flex: auto;
  710. height: 100%;
  711. }
  712. .chartgrid {
  713. overflow: auto;
  714. flex: auto;
  715. }
  716. /* .gtasktable {
  717. margin-bottom: 14px;
  718. } */
  719. /* Printer friendly styles - we could use these all the time but they are not as pretty! */
  720. /* note that "@media print" is not supported in IE6 or 7. Fully patched IE8 should be OK */
  721. @media print {
  722. .ggroupblack {
  723. height: 0px;
  724. border-top: 7px solid;
  725. border-color: #000000;
  726. }
  727. .gtaskblue {
  728. height: 0px;
  729. border-top: 13px solid;
  730. border-color: rgb(58, 132, 195);
  731. }
  732. .gtaskred {
  733. height: 0px;
  734. border-top: 13px solid;
  735. border-color: rgb(196, 58, 58);
  736. }
  737. .gtaskgreen {
  738. height: 0px;
  739. border-top: 13px solid;
  740. border-color: rgb(80, 193, 58);
  741. }
  742. .gtaskyellow {
  743. height: 0px;
  744. border-top: 13px solid;
  745. border-color: rgb(247, 228, 56);
  746. }
  747. .gtaskpurple {
  748. height: 0px;
  749. border-top: 13px solid;
  750. border-color: rgb(193, 58, 193);
  751. }
  752. .gtaskpink {
  753. height: 0px;
  754. border-top: 13px solid;
  755. border-color: rgb(249, 177, 245);
  756. }
  757. .gtaskbluecomplete,
  758. .gtaskredcomplete,
  759. .gtaskgreencomplete,
  760. .gtaskyellowcomplete,
  761. .gtaskpurplecomplete,
  762. .gtaskpinkcomplete {
  763. height: 0px;
  764. filter: alpha(opacity=40);
  765. opacity: 0.4;
  766. margin-top: -9px;
  767. border-top: 5px solid;
  768. border-color: #000000;
  769. }
  770. .ggroupblackcomplete {
  771. height: 0px;
  772. filter: alpha(opacity=80);
  773. opacity: 0.8;
  774. margin-top: -5px;
  775. border-top: 3px solid;
  776. border-color: #777777;
  777. }
  778. .gmainright,
  779. .gmainleft {
  780. overflow: hidden;
  781. width: auto;
  782. }
  783. table {
  784. page-break-after: auto
  785. }
  786. tr {
  787. page-break-inside: avoid;
  788. page-break-after: auto
  789. }
  790. td {
  791. page-break-inside: avoid;
  792. page-break-after: auto
  793. }
  794. thead {
  795. display: table-header-group
  796. }
  797. tfoot {
  798. display: table-footer-group
  799. }
  800. }
  801. /* Fix for OSx trackpad hiding the scroll bars*/
  802. .frame::-webkit-scrollbar {
  803. -webkit-appearance: none;
  804. }
  805. .frame::-webkit-scrollbar:vertical {
  806. width: 11px;
  807. }
  808. .frame::-webkit-scrollbar:horizontal {
  809. height: 11px;
  810. }
  811. .frame::-webkit-scrollbar-thumb {
  812. border-radius: 8px;
  813. border: 2px solid white;
  814. /* should match background, can't be transparent */
  815. background-color: rgba(0, 0, 0, .5);
  816. }
  817. .frame::-webkit-scrollbar-track {
  818. background-color: #fff;
  819. border-radius: 8px;
  820. }
  821. .gscrollbar-calculation-container {
  822. visibility: hidden;
  823. overflow: scroll;
  824. -ms-overflow-style: scrollbar;
  825. display: block;
  826. }