Gitlab@Informatics

Skip to content
Snippets Groups Projects
Select Git revision
  • 71c32b6e07b74750e4f6183c467d78a0f8e9c9d5
  • main default protected
2 results

ganttChart.css

Blame
  • ganttChart.css 4.20 KiB
    .gantt-chart {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    
    .header {
      display: flex;
      background: #fff;
    }
    
    .gantt-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      /* จัดให้ Calendar อยู่ซ้าย, ปุ่มอยู่ขวา */
      margin-bottom: 16px;
    }
    
    .machine-label {
      width: 150px;
      text-align: center;
      font-weight: bold;
      background: #ffffff;
      line-height: 60px;
      border-bottom: 1px solid #ffffff;
    }
    
    .time-scale {
      display: flex;
      flex: 1;
    }
    
    .time-cell {
      width: calc(100% / 10);
      text-align: center;
      border-bottom: 1px solid #ddd;
      font-size: 15px;
      line-height: 40px;
      font-weight: bold;
    }
    
    .rows {
      flex: 1;
      overflow-y: auto;
    }
    
    .row {
      display: flex;
      min-height: 60px;
      border-bottom: 1px solid #ddd;
    }
    
    .row-timeline {
      position: relative;
      flex: 1;
      overflow: hidden;
    }
    
    .vertical-line {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 1px;
      background-color: #ddd;
    }
    
    .order {
      position: absolute;