-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
142 lines (121 loc) · 2.59 KB
/
style.css
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
body {
font-family: Arial, sans-serif;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.form-group,
.cost-group {
margin-bottom: 15px;
display: flex;
justify-content: space-between; /* Align labels and inputs horizontally */
}
label {
width: 30%; /* Label size */
display: block;
margin-bottom: 5px;
}
input, select {
width: 65%; /* Input size */
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
#calculate-button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-top: 20px;
}
#result {
margin-top: 20px;
font-weight: bold;
}
#inputsContainer {
display: flex; /* Enable flexbox layout */
justify-content: space-between;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
padding: 15px;
}
#inputNameProduct {
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
padding: 15px;
}
/* Added styles for cost input section */
.inputsPerBlocks {
display: flex;
flex-direction: column;
width: 100%;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
padding: 15px; /* Add padding for better spacing */
margin: 15px;
}
.inputsPerBlocks h3 {
margin-bottom: 10px; /* Add margin for heading */
}
/* Calculation history */
#result-container {
margin-top: 20px;
border: 1px solid #ccc;
border-radius: 4px;
padding: 15px;
}
#result-title {
margin-bottom: 10px;
}
#calculation-list {
list-style: none;
padding: 0;
margin: 0;
}
#calculation-list li {
margin-bottom: 5px;
padding: 10px;
border-bottom: 1px solid #ddd;
}
#total-cost, #total-co2-impact {
margin-top: 10px;
font-weight: bold;
}
#total-cost-value, #total-co2-impact-value {
color: #007bff;
}
/* Export container */
#export-container {
margin-top: 15px;
text-align: center;
}
/* Export button */
#export-button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
/* Logo Creation */
#inputsContainerHeader {
display: flex; /* Enable flexbox layout */
justify-content: space-between;
}
.inputsPerBlocksHeader {
display: flex;
flex-direction: column;
width: 100%;
margin-top: 10px;
padding: 0px 15px 0px 15px;
}
.inputsPerBlocksHeader h3 {
margin-bottom: 10px;
}