@import "../components/hour-scheduling-test-object/style/material.scss";

@include export-module('cc-hour-scheduling-layout') {
  .co-hour-scheduling {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    background: #FFF;
    .time-block {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      background-color: #ffffff;
    }

    .hour-label {
      font-weight: bold;
      width: 60px;
      padding: 0 10px;
      position: relative;
      top: -10px;
    }
    .drag-over {
      background-color: rgba(26, 115, 232, 0.2);
      transition: background-color 0.3s ease;
    }
    .object-display {
      display: flex;
      width: 100%;
      flex-direction: column;
      .object-half {
        padding: 5px;
        min-height: 30px;
        border-style: solid;
        border-color: #F5F5FC;
        border-width: 1px 0 1px 0;
        transition: background-color 0.3s ease;
        &.has-objects {
          cursor: grab;
          background: #F5F5FC;
          border: 1px solid #F5F5FC;
          &:hover {
            background-color: rgba(26, 115, 232, 0.2);
          }
          &.active {
            background-color: rgba(26, 115, 232, 0.2);
            border: 1px solid #1A73E8;
          }
        }
      }
    }

    .scheduled-object {
      padding: 0.5em;
      background-color: #4CAF50;
      color: white;
      border-radius: 3px;
      cursor: pointer;
      display: flex;
      flex-direction: column;

      .title {
        font-weight: bold;
      }
    }
  }
}
