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,
|
||||
label input,
|
||||
label textarea,
|
||||
label select {
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.letter-options {
|
||||
width: 320px;
|
||||
}
|
||||
|
||||
.letter-options label {
|
||||
display: block;
|
||||
width: 340px;
|
||||
}
|
||||
.letter-options input,
|
||||
.letter-options textarea,
|
||||
.letter-options select {
|
||||
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 {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.Collapsible__contentInner label,
|
||||
.Collapsible__contentInner label input,
|
||||
.Collapsible__contentInner label textarea,
|
||||
.Collapsible__contentInner label select {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.Collapsible__contentInner {
|
||||
background-color: #fff;
|
||||
padding-top: 12px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.Collapsible__trigger.is-closed:before {
|
||||
content: "> ";
|
||||
}
|
||||
.Collapsible__trigger.is-open:before {
|
||||
content: "< ";
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ export default function(props) {
|
||||
];
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="letter-options">
|
||||
<Select
|
||||
name="template"
|
||||
text="Vorlage"
|
||||
|
||||
Reference in New Issue
Block a user