/*
 * OpenBills - Self hosted browser app to generate and keep track of simple invoices
 * Version - 0
 * Licensed under the MIT license - https://opensource.org/licenses/MIT
 *
 * Copyright (c) 2021 Vidhu Kant Sharma
*/

@import "../../styles/theme";

.ItemsDisplay,
.ItemsDisplay table {
  width: 100%;
}

.ItemsDisplay {
  margin: 3rem auto;
}

.ItemsDisplay .legend {
  background-color: $altBG;
}

.ItemsDisplay th {
  font-size: 1.2rem;
}

.ItemsDisplay td {
  text-align: center;
  border-bottom: 1px solid $tableDefBorderColor;
  font-size: 1.5rem;
}

.ItemsDisplay .disabledBorder {
  border-bottom: 1px solid $tableDisabledBorderColor;
}

.ItemsDisplay .warningBorder {
  border-bottom: 1px solid $warningBorderColor;
}

.ItemsDisplay .leftAlign {
  text-align: left;
}

.SummaryDisplayTR td {
  color: $altFG;
  font-size: 1.7rem;
}

.SummaryDisplay {
  width: 30%;
  padding: 0.5rem 2rem;
}

.SummaryDisplay h1 {
  font-size: 3rem;
  margin: 0.5rem -1.5rem;
  border-bottom: 1px dotted $labelUnderlineColor;
}

.SummaryDisplay table {
  width: 100%;
  margin: auto;
}

.SummaryDisplay td {
  font-size: 1.25rem;
  padding: 0.2rem 0;
}

.SummaryDisplay .grandTotal td {
  font-size: 2rem;
  color: $altFG;
}