aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/Display.scss
blob: 592f4ecc1c0a72006d8dc21532df960747ecf453 (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
/*
 * 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;
}

.SummaryDisplayTR td {
  color: $foreground2;
  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 $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;
  }
}