Skip to content

Commit 4f4aba1

Browse files
committed
[FIX] - mockup2-style
1 parent bbec27e commit 4f4aba1

2 files changed

Lines changed: 38 additions & 10 deletions

File tree

herkunftcheck/herkunftcheck2/index.html

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta charset="UTF-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>HerkunftCheck</title>
9+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap-grid.min.css">
910

1011
<link rel="stylesheet" href="style/style_v1.css" />
1112
<link rel="stylesheet" href="style/map.css" />
@@ -59,19 +60,25 @@
5960

6061
<div class="bottom-sheet" id="product-card">
6162
<div class="drag-handle" onclick="toggleSheet()"></div>
63+
64+
6265
<div class="sheet-content">
6366

6467
<div class="product-header">
65-
<h1 id="product-name" class="product-name">Apfel-Birnen-Saft</h1>
66-
67-
<div class="info-card">
68-
69-
<img id="product-image" src="https://source.unsplash.com/400x220/?juice,fruit" alt="Produktbild">
68+
<h1 id="product-name" class="product-name text-left">Apfel-Birnen-Saft</h1>
7069
</div>
71-
</div>
72-
73-
<div class="product-info">
7470

71+
<div class="row">
72+
<div class="col-4">
73+
<div class="info-card p-0">
74+
<img id="product-image" class="product-image" src="https://source.unsplash.com/400x220/?juice,fruit" alt="Produktbild">
75+
</div>
76+
</div>
77+
78+
<div class="col-8">
79+
80+
81+
7582
<div class="info-card">
7683
<h3>Produktinformationen</h3>
7784
<p><strong>Hergestellt am:</strong> <span id="production-date">01.04.2025</span></p>
@@ -80,6 +87,18 @@ <h3>Produktinformationen</h3>
8087
<p><strong>Produzent:</strong> <span id="company-name">Obsthof Müller</span></p>
8188
</div>
8289

90+
91+
</div>
92+
</div>
93+
94+
95+
96+
97+
98+
99+
<div class="product-info">
100+
101+
83102
<div class="info-card">
84103
<h3>Produktionsschritte</h3>
85104
<ul class="steps-list">

herkunftcheck/herkunftcheck2/style/style_v1.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
:root {
22
--background-gray: #f2f2f7;
33
--background-gray: #f7f6f4;
4-
--card-white: #ffffff;
4+
--background-gray: #fff;
5+
--card-white: #efefef;
56
--text-dark: #1c1c1e;
67
--text-gray: #8e8e93;
78
--accent: #007aff;
@@ -105,7 +106,7 @@
105106
padding: 8px 0;
106107
}
107108

108-
.product-header img {
109+
.product-header img,.product-image {
109110
width: 100%;
110111
max-height: 220px;
111112
object-fit: cover;
@@ -177,4 +178,12 @@
177178
.leaflet-control-zoom a {
178179
background-color: #fff;
179180
color: var(--text-dark);
181+
}
182+
183+
.text-left{
184+
text-align: left;
185+
}
186+
187+
.p-0{
188+
padding: 0 !important;
180189
}

0 commit comments

Comments
 (0)