aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/Display.scss
blob: 214cb18f6aea6dcc766589f0ce17add05cf09c9b (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
 * 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 {
  width: 100%;
  box-sizing: border-box;
}

.ItemsDisplay {
  margin: 3rem auto;
}

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

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

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

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

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

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

.ItemsDisplay .multiValue {
  display: flex;
  justify-content: space-around;
}

.ItemsDisplay .hideContents * {
  display: none;
}

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

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

.SummaryDisplay .SubmitButton {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.3rem;
}

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

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

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

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

@media only screen and (max-device-width: 480px) {
  .SummaryDisplay {
    width: auto;
    min-height: 16rem;
  }
}