| 1 |
form { |
| 2 |
margin-top: 4em; |
| 3 |
} |
| 4 |
|
| 5 |
.container { |
| 6 |
margin-bottom: 2em; |
| 7 |
max-width: 800px; |
| 8 |
font-size: 18px; |
| 9 |
} |
| 10 |
|
| 11 |
.container:first-child { |
| 12 |
margin-bottom: 1em; |
| 13 |
} |
| 14 |
|
| 15 |
.label { |
| 16 |
float: left; |
| 17 |
margin-right: 2em; |
| 18 |
padding: 1em 0; |
| 19 |
vertical-align: center; |
| 20 |
} |
| 21 |
|
| 22 |
.helptext { |
| 23 |
clear: both; |
| 24 |
} |
| 25 |
|
| 26 |
.helptext p { |
| 27 |
line-height: 2; |
| 28 |
} |
| 29 |
|
| 30 |
code { |
| 31 |
margin: 1em 0; |
| 32 |
padding: 1em 2em; |
| 33 |
display: block; |
| 34 |
} |
| 35 |
|
| 36 |
.input-group { |
| 37 |
float: right; |
| 38 |
width: 50%; |
| 39 |
} |
| 40 |
|
| 41 |
.input-group input { |
| 42 |
padding: 1em; |
| 43 |
} |
| 44 |
|
| 45 |
.input-group input[type='number'], |
| 46 |
.input-group input[type='text'], |
| 47 |
.input-group textarea, |
| 48 |
.input-group select { |
| 49 |
width: 100%; |
| 50 |
} |
| 51 |
|
| 52 |
.input-group input[type='checkbox'] { |
| 53 |
margin: 1.34em; |
| 54 |
margin-right: 0; |
| 55 |
float: right; |
| 56 |
} |
| 57 |
|
| 58 |
.input-group select { |
| 59 |
margin: 0.9em; |
| 60 |
margin-right: 0; |
| 61 |
float: right; |
| 62 |
} |
| 63 |
|
| 64 |
/* |
| 65 |
* For Flexbox Support |
| 66 |
*/ |
| 67 |
|
| 68 |
.container > label { |
| 69 |
display: -webkit-box; |
| 70 |
display: -moz-box; |
| 71 |
display: -ms-flexbox; |
| 72 |
display: -webkit-flex; |
| 73 |
display: flex; |
| 74 |
justify-content: space-between; |
| 75 |
} |
| 76 |
|
| 77 |
.container .input-group { |
| 78 |
width: initial; |
| 79 |
flex: 1 1 auto; |
| 80 |
} |
| 81 |
|
| 82 |
/* Shortcode Example page */ |
| 83 |
.flex, |
| 84 |
.examples { |
| 85 |
display: -webkit-box; |
| 86 |
display: -moz-box; |
| 87 |
display: -ms-flexbox; |
| 88 |
display: -webkit-flex; |
| 89 |
display: flex; |
| 90 |
flex-flow: row wrap; |
| 91 |
justify-content: space-around; |
| 92 |
} |
| 93 |
.flex > label { |
| 94 |
flex: 0 1 200px; |
| 95 |
} |
| 96 |
.flex > input { |
| 97 |
flex: 1 1 400px; |
| 98 |
} |
| 99 |
.examples .list-item { |
| 100 |
flex: 1 1 250px; |
| 101 |
} |
| 102 |
p { |
| 103 |
vertical-align: top; |
| 104 |
word-wrap: break-word; |
| 105 |
} |
| 106 |
.list-item { |
| 107 |
width: 250px; |
| 108 |
display: inline-block; |
| 109 |
vertical-align: top; |
| 110 |
padding: 15px; |
| 111 |
} |
| 112 |
.list-item p { |
| 113 |
font-size: 1.2em; |
| 114 |
} |
| 115 |
|