Gitlab@Informatics

Skip to content
Snippets Groups Projects
Select Git revision
  • 21969c3ebb86d45c082d316aebb33b32ebafbc97
  • main default protected
2 results

ganttChart.css

Blame
  • ganttChart.css 3.91 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 {
        flex: 1;
        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;
        top: 10px;
        height: 40px;