| 1 |
/** common style for Nette examples */ |
| 2 |
|
| 3 |
html { |
| 4 |
font: 16px/1.5 sans-serif; |
| 5 |
border-top: 4.7em solid #F4EBDB; |
| 6 |
} |
| 7 |
|
| 8 |
body { |
| 9 |
max-width: 990px; |
| 10 |
margin: -4.7em auto 0; |
| 11 |
background: white; |
| 12 |
color: #333; |
| 13 |
} |
| 14 |
|
| 15 |
h1 { |
| 16 |
font-size: 1.9em; |
| 17 |
margin: .5em 0 1.5em; |
| 18 |
background: url(logo.png) right center no-repeat; |
| 19 |
color: #7A7772; |
| 20 |
text-shadow: 1px 1px 0 white; |
| 21 |
} |
| 22 |
|
| 23 |
fieldset { |
| 24 |
padding: .2em 1em 1em; |
| 25 |
margin: .5em 0; |
| 26 |
background: #E4F1FC; |
| 27 |
border: 1px solid #B2D1EB; |
| 28 |
} |
| 29 |
|
| 30 |
textarea, |
| 31 |
select, |
| 32 |
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="image"]):not([type="range"]) { |
| 33 |
padding: .3em .5em; |
| 34 |
color: black; |
| 35 |
background: white; |
| 36 |
border: 1px solid silver; |
| 37 |
} |
| 38 |
|
| 39 |
.has-error textarea, |
| 40 |
.has-error select, |
| 41 |
.has-error input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="image"]):not([type="range"]) { |
| 42 |
border-color: #E22; |
| 43 |
} |
| 44 |
|
| 45 |
select { |
| 46 |
padding-right: .3em; |
| 47 |
} |
| 48 |
|
| 49 |
input[type="submit"] { |
| 50 |
font-size: 120%; |
| 51 |
} |
| 52 |
|
| 53 |
th { |
| 54 |
width: 10em; |
| 55 |
text-align: right; |
| 56 |
font-weight: normal; |
| 57 |
} |
| 58 |
|
| 59 |
.required label { |
| 60 |
font-weight: bold; |
| 61 |
} |
| 62 |
|
| 63 |
.error { |
| 64 |
color: #E22; |
| 65 |
font-weight: bold; |
| 66 |
margin-left: 1em; |
| 67 |
} |
| 68 |
|
| 69 |
footer a { |
| 70 |
font-size: 70%; |
| 71 |
color: gray; |
| 72 |
} |
| 73 |
|