/********************************************************************************
 * Copyright (C) 2018 TypeFox and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License, version 2
 * with the GNU Classpath Exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
 ********************************************************************************/

.theia-git.git-diff-container {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.theia-git.git-diff-container .noWrapInfo {
  width: 100%;
}

.theia-git .listContainer {
  flex: 1;
  position: relative;
}

.theia-git .listContainer .commitList {
  height: 100%;
}

.theia-git .subject {
  font-size: var(--theia-ui-font-size2);
  font-weight: bold;
}

.theia-git .revision .row-title {
  width: 35px;
  display: inline-block;
}

.theia-git .diff-header {
  flex-shrink: 0;
}

.theia-git .header-row {
  display: flex;
  flex-direction: row;
}

.theia-git .header-row.diff-header,
.theia-git .header-row.diff-nav {
  margin-bottom: 10px;
}

.theia-git .header-value {
  margin: 9px 0px 5px 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theia-git .diff-header .header-value {
  align-self: center;
  margin: 0px;
}

.theia-git .diff-header .theia-header {
  align-self: center;
  padding-right: 5px;
}

.theia-git .diff-header .subject {
  font-size: var(--theia-ui-font-size2);
  font-weight: bold;
}

.theia-git .commit-info {
  padding-left: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.theia-git .commit-info-row {
  align-items: center;
  margin-top: 10px;
}

.theia-git .commit-info .header-row {
  margin: 4px 0;
}

.theia-git .commit-info .header-row .theia-header {
  margin: 1px 0;
}

.theia-git .commit-info .header-row .header-value {
  margin: 0 0 0 5px;
}

.theia-git .commit-info-row .image-container {
  display: flex;
}
