/*
 * Copyright 2017-2020 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.
 */

.layer {
  display: flex;
  align-items: center;
  line-height: 36px;
  height: 36px;
  font-size: larger;
  cursor: pointer;
  padding: 0 5px;
}

.layer .index {
  margin-right: 5px;
}

.layer .command {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.layer .size {
  width: 100px;
  text-align: right;
}

.code {
  padding: 20px;
  font-size: larger;
  word-break: break-word;
}

.code pre {
  white-space: pre-line;
}

.generate-dockerfile-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.generate-dockerfile-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
}

.generate-dockerfile-row .generate-dockerfile-title {
  margin-right: 5px;
}

.generate-dockerfile-row .generate-dockerfile-input {
  flex: 1;
}
