aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/Display.scss
blob: d86f4e9cd87d432f9bc234db82fc0a9ce8c0b4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
 * 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;
}