/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.user-project-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* project info */
.description-container {
  padding: 2.5%;
}

/* for workflow items */

/* .saved-workflow-container {
    display: grid;
    grid-template-rows: 120px calc((100% - 120px));
} */

.ant-btn-icon-only {
  margin-right: 10px;
}

.subsection-grid-container {
  min-width: 100%;
  width: 100%;
  min-height: 100%;
  height: 100%;
}

.workflow-list-container {
  grid-row-start: 2;
  grid-row-end: 3;
  overflow: auto;
}

.workflow-list-item {
  margin-bottom: 1.5%;
  height: 70px;
  padding: 5px 0 5px 0;
}

.time-space {
  margin-left: 3%;
}

.workflow-name {
  font-size: 20px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
}

.workflow-dashboard-entry {
  display: flex;
  align-items: center;
}

.workflow-dashboard-entry > i {
  position: relative;
  font-size: 17px;
  margin-bottom: 6px;
}

.workflow-name:hover {
  cursor: pointer;
}

.workflow-time {
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: gray;
}

button {
  border-radius: 5px;
  border: none;
}

.color-tag {
  display: inline-block;
  cursor: pointer;
}

#left-div {
  padding: 1.5px 7px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

#right-div {
  padding: 1.5px 7px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  margin-right: 10px;
}

.light-color {
  border: 1px solid gainsboro;
}

.light-color:hover {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4) 0 0);
}

.dark-color:hover {
  background-image: linear-gradient(rgba(255, 255, 255, 0.345) 0 0);
}

// temporarily here for the file section, TODO : will be removed once file service PR approved
.file-project-label-container {
  width: 40%;
  display: flex;
  flex-direction: row-reverse;
  overflow-x: auto;

  .file-project-label {
    display: inline;
    white-space: nowrap;
  }
}

texera-saved-workflow-section {
  flex: 1;
}
