/*
 * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * Licensed 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.
 */

.table-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  overflow: auto;
}

.table-container div[class~="ant-table-small"] {
  border-radius: 0 0 4px 4px !important;
}

.table {
  height: auto;
  overflow: auto;
}

.table > div > div {
  filter: none !important;
}

.table-row {
  cursor: pointer;
  height: 35px;
}

.table-row:hover td:not(:last-child) {
  text-decoration: underline;
}

.table-controls-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  padding: 10px 22px 10px 10px;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  border-bottom: none;
}

.table-controls {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.table-control:not(:last-child) {
  margin-right: 10px;
}

.row-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.file-icon {
  margin-right: 8px;
}

.action {
  margin-right: 8px;
}

.cell {
  min-width: 100px;
}

.no-wrap-cell {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.name-cell {
  min-width: 150px;
  width: 200px;
}

.name-cell .cell-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.revision-cell,
.date-cell,
.author-cell {
  max-width: 200px;
}

.size-cell {
  min-width: 75px;
  max-width: 75px;
  width: 75px;
}

.message-cell {
  min-width: 150px;
  width: 200px;
}

.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.conflict-modal {
  display: flex;
  flex-direction: column;
}

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

.conflict-list {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
  list-style: disc;
}
