Wieder etwas Kosmentik
This commit is contained in:
18
src/App.css
18
src/App.css
@@ -6,8 +6,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
/* width: 98%;
|
max-width: 600px;
|
||||||
*/ margin: auto;
|
margin: auto;
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
background: lightgray;
|
background: lightgray;
|
||||||
}
|
}
|
||||||
@@ -20,17 +20,21 @@ button {
|
|||||||
|
|
||||||
.nachbearbeitung {
|
.nachbearbeitung {
|
||||||
background-color: yellow;
|
background-color: yellow;
|
||||||
|
height: 50px;
|
||||||
|
padding-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
border-bottom : 1px solid rgb(187, 185, 185);
|
border-bottom : 1px solid rgb(187, 185, 185);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin: 0 auto 20px auto;
|
margin: 0 auto 20px auto;
|
||||||
padding-left: 1em;
|
padding: 0 0em 1em 2em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.infeldsm {
|
||||||
|
width: 12em;
|
||||||
|
}
|
||||||
|
|
||||||
.fstdiv {
|
.fstdiv {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
@@ -42,7 +46,7 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.okbutton {
|
.okbutton {
|
||||||
margin-left: 3em;
|
margin-left: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.selspende {
|
.selspende {
|
||||||
@@ -56,6 +60,10 @@ section {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.beminfeld {
|
||||||
|
width: 14em;
|
||||||
|
}
|
||||||
|
|
||||||
.lastline {
|
.lastline {
|
||||||
border-top: 1px solid blue;
|
border-top: 1px solid blue;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ function App() {
|
|||||||
Sonderführung vom <br className="umbruch" />{datum}
|
Sonderführung vom <br className="umbruch" />{datum}
|
||||||
</h2>
|
</h2>
|
||||||
<h4>für {name}</h4>
|
<h4>für {name}</h4>
|
||||||
<h3 className="nachbearbeitung">Nachbearbeitung</h3>
|
<h2 className="nachbearbeitung">Nachbearbeitung</h2>
|
||||||
</div>
|
</div>
|
||||||
<FandStatt />
|
<FandStatt />
|
||||||
<BesucherBar title="Besucher-Anzahl" euro="" />
|
<BesucherBar title="Besucher-Anzahl" euro="" />
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
export default function BesucherBar({title, euro}) {
|
export default function BesucherBar({title, euro}) {
|
||||||
|
let inClass = 'infeld'
|
||||||
|
if (euro !== '') {
|
||||||
|
inClass = 'infeldsm'
|
||||||
|
}
|
||||||
return(
|
return(
|
||||||
|
|
||||||
<section id="besucherbar">
|
<section id="besucherbar">
|
||||||
<h3>{title}:</h3>
|
<h3>{title}:</h3>
|
||||||
<div className="besadiv">
|
<div className="besadiv">
|
||||||
<input className="infeld" />
|
<input className={inClass} />
|
||||||
{euro}
|
{euro}
|
||||||
<button className="okbutton">OK</button>
|
<button className="okbutton">OK</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user