mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
rework css a little
This commit is contained in:
@@ -1,35 +1,59 @@
|
|||||||
label,
|
html {
|
||||||
label input,
|
box-sizing: border-box;
|
||||||
label textarea,
|
}
|
||||||
label select {
|
|
||||||
|
*, *:before, *:after {
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
header h1 {
|
||||||
|
margin-left: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.letter-options {
|
||||||
|
width: 320px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.letter-options label {
|
||||||
display: block;
|
display: block;
|
||||||
width: 340px;
|
}
|
||||||
|
.letter-options input,
|
||||||
|
.letter-options textarea,
|
||||||
|
.letter-options select {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Collapsible {
|
||||||
|
background-color: #ddd;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.Collapsible__trigger {
|
||||||
|
padding-left: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Collapsible__trigger.is-closed:before {
|
||||||
|
content: "> ";
|
||||||
|
}
|
||||||
|
|
||||||
|
.Collapsible__trigger.is-open:before {
|
||||||
|
content: "< ";
|
||||||
}
|
}
|
||||||
|
|
||||||
.Collapsible {
|
.Collapsible {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Collapsible__contentInner label,
|
|
||||||
.Collapsible__contentInner label input,
|
|
||||||
.Collapsible__contentInner label textarea,
|
|
||||||
.Collapsible__contentInner label select {
|
|
||||||
width: 200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Collapsible__contentInner {
|
.Collapsible__contentInner {
|
||||||
|
background-color: #fff;
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Collapsible__trigger.is-closed:before {
|
|
||||||
content: "> ";
|
|
||||||
}
|
|
||||||
.Collapsible__trigger.is-open:before {
|
|
||||||
content: "< ";
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default function(props) {
|
|||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className="letter-options">
|
||||||
<Select
|
<Select
|
||||||
name="template"
|
name="template"
|
||||||
text="Vorlage"
|
text="Vorlage"
|
||||||
|
|||||||
Reference in New Issue
Block a user