global.css
| 1 | /*-------------------------------------------------------------------------------------------- |
| 2 | * |
| 3 | * Global |
| 4 | * |
| 5 | *--------------------------------------------------------------------------------------------*/ |
| 6 | |
| 7 | /* Image Replacement */ |
| 8 | .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; font-size: 0; line-height: 0; } |
| 9 | input.ir { border: 0 none; background: none; } |
| 10 | |
| 11 | |
| 12 | /* Horizontal List */ |
| 13 | .hl { padding: 0; margin: 0; list-style: none; display: block; position: relative; } |
| 14 | .hl > li { float: left; display: block; margin: 0; padding: 0; } |
| 15 | .hl > li.right { float: right; } |
| 16 | |
| 17 | .hl.center { position: relative; overflow: visible; left: 50%; float: left; } |
| 18 | .hl.center > li { position: relative; left: -50%; } |
| 19 | |
| 20 | |
| 21 | /* Block List */ |
| 22 | .bl { padding: 0; margin: 0; list-style: none; display: block; position: relative; } |
| 23 | .bl > li { display: block; margin: 0; padding: 0; float: none; } |
| 24 | |
| 25 | |
| 26 | .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; } |
| 27 | .clearfix:after { clear: both; } |
| 28 | .clearfix { zoom: 1; } |
| 29 | |
| 30 | #icon-acf { |
| 31 | background: url("../images/sprite.png") no-repeat scroll 0 0 transparent !important; |
| 32 | } |
| 33 | |
| 34 | .acf-loading { |
| 35 | background: url("../../../../wp-admin/images/wpspin_light.gif") no-repeat scroll 50% 50% #EAEAEA; |
| 36 | border-radius: 30px; |
| 37 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset; |
| 38 | height: 16px; |
| 39 | margin: 10px auto; |
| 40 | padding: 6px; |
| 41 | width: 16px; |
| 42 | } |
| 43 | |
| 44 | .acf-remove-item { |
| 45 | -webkit-transition: all 0.4s 0s ease-in-out; |
| 46 | -moz-transition: all 0.4s 0s ease-in-out; |
| 47 | -o-transition: all 0.4s 0s ease-in-out; |
| 48 | transition: all 0.4s 0s ease-in-out; |
| 49 | |
| 50 | -webkit-transform: translate(25px, 0px); |
| 51 | -moz-transform: translate(25px, 0px); |
| 52 | -o-transform: translate(25px, 0px); |
| 53 | transform: translate(25px, 0px); |
| 54 | |
| 55 | opacity: 0; |
| 56 | } |
| 57 | |
| 58 | /*-------------------------------------------------------------------------------------------- |
| 59 | * |
| 60 | * WP Box |
| 61 | * |
| 62 | *--------------------------------------------------------------------------------------------*/ |
| 63 | |
| 64 | .wp-box { |
| 65 | background: none repeat scroll 0 0 #FFFFFF; |
| 66 | border: 1px solid #E1E1E1; |
| 67 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 68 | position: relative; |
| 69 | } |
| 70 | .wp-box .inner { |
| 71 | padding: 10px; |
| 72 | } |
| 73 | .wp-box .footer { |
| 74 | background: none repeat scroll 0 0 #F5F5F5; |
| 75 | border-top: 1px solid #E1E1E1; |
| 76 | overflow: hidden; |
| 77 | padding: 10px; |
| 78 | position: relative; |
| 79 | } |
| 80 | .wp-box .footer ul.left { |
| 81 | float: left; |
| 82 | } |
| 83 | .wp-box .footer ul li { |
| 84 | margin: 0; |
| 85 | padding: 0; |
| 86 | } |
| 87 | .wp-box .footer ul.left li { |
| 88 | margin-right: 10px; |
| 89 | } |
| 90 | .wp-box .footer ul.right { |
| 91 | float: right; |
| 92 | } |
| 93 | .wp-box .footer ul.right li { |
| 94 | margin-left: 10px; |
| 95 | } |
| 96 | |
| 97 | .wp-box h2 { |
| 98 | margin: .25em 0 .75em; |
| 99 | padding: 0; |
| 100 | } |
| 101 | |
| 102 | .wp-box h3 { |
| 103 | margin: 1.5em 0 0; |
| 104 | } |
| 105 | |
| 106 | .wp-box p { |
| 107 | margin-top: 0.5em; |
| 108 | } |
| 109 | |
| 110 | .wp-box-half.left { |
| 111 | width: 50%; |
| 112 | float: left; |
| 113 | } |
| 114 | |
| 115 | .wp-box-half.right { |
| 116 | width: 50%; |
| 117 | height: 100%; |
| 118 | right: 0; |
| 119 | position: absolute; |
| 120 | background: none repeat scroll 0 0 #F9F9F9; |
| 121 | border-left: 1px solid #E1E1E1; |
| 122 | } |
| 123 | |
| 124 | .wp-box-half.right .inner { |
| 125 | |
| 126 | } |
| 127 | |
| 128 | .wp-box select { |
| 129 | width: 99%; |
| 130 | height: auto !important; |
| 131 | } |
| 132 | |
| 133 | |
| 134 | /*--------------------------------------------------------------------------------------------- |
| 135 | Table |
| 136 | ---------------------------------------------------------------------------------------------*/ |
| 137 | table.acf_input { |
| 138 | border: 0 none; |
| 139 | } |
| 140 | |
| 141 | table.acf_input tbody tr td { |
| 142 | padding: 10px; |
| 143 | } |
| 144 | |
| 145 | table.acf_input tr.field_save { |
| 146 | |
| 147 | } |
| 148 | |
| 149 | table.acf_input tbody tr:last-child td { |
| 150 | border-bottom: 0 none; |
| 151 | } |
| 152 | |
| 153 | table.acf_input tbody tr td.label { |
| 154 | width: 24%; |
| 155 | vertical-align: top; |
| 156 | border-right: #ebebeb solid 1px; |
| 157 | } |
| 158 | |
| 159 | table.acf_input td.label ul.hl { |
| 160 | margin: 20px 0 0; |
| 161 | } |
| 162 | table.acf_input td.label ul.hl li { |
| 163 | margin: 0 3px 0 0; |
| 164 | |
| 165 | } |
| 166 | |
| 167 | table.acf_input td.label ul.hl li a.acf-button { |
| 168 | font-size: 12px; |
| 169 | padding: 6px 10px; |
| 170 | font-weight: normal; |
| 171 | } |
| 172 | |
| 173 | table.acf_input tbody tr td.label label{ |
| 174 | display: block; |
| 175 | font-size: 12px; |
| 176 | font-weight: bold; |
| 177 | padding: 0; |
| 178 | margin: 0; |
| 179 | color: #333; |
| 180 | |
| 181 | } |
| 182 | |
| 183 | table.acf_input tbody tr td.label label span.required { |
| 184 | color: #f00; |
| 185 | display: inline; |
| 186 | margin-right: 5px; |
| 187 | } |
| 188 | |
| 189 | |
| 190 | table.acf_input tbody tr td.label p{ |
| 191 | display: block; |
| 192 | font-size: 12px; |
| 193 | padding: 6px 0 !important; |
| 194 | margin: 0 !important; |
| 195 | font-style: normal; |
| 196 | line-height: 16px; |
| 197 | color: #666; |
| 198 | } |
| 199 | |
| 200 | table.acf_input input[type=text], |
| 201 | table.acf_input textarea, |
| 202 | table.acf_input select{ |
| 203 | width: 99.95%; |
| 204 | padding: 5px; |
| 205 | outline: none; |
| 206 | } |
| 207 | |
| 208 | table.acf_input select { |
| 209 | padding: 2px; |
| 210 | } |
| 211 | |
| 212 | table.acf_input input[type=text]:focus, |
| 213 | table.acf_input textarea:focus, |
| 214 | table.acf_input select:focus { |
| 215 | border-color:#98B6CB; |
| 216 | } |
| 217 | |
| 218 | |
| 219 | ul.radio_list { |
| 220 | position: relative; |
| 221 | overflow: hidden; |
| 222 | display: block; |
| 223 | padding: 3px 0; |
| 224 | margin: 0; |
| 225 | } |
| 226 | |
| 227 | ul.radio_list.horizontal li { |
| 228 | float: left; |
| 229 | margin-right: 20px; |
| 230 | } |
| 231 | |
| 232 | ul.checkbox_list { |
| 233 | background: transparent !important; |
| 234 | margin: 0; |
| 235 | } |
| 236 | |
| 237 | ul.radio_list input, |
| 238 | ul.checkbox_list input { |
| 239 | margin-right: 5px; |
| 240 | width: auto; |
| 241 | } |
| 242 | |
| 243 | |
| 244 | /*-------------------------------------------------------------------------------------------- |
| 245 | * |
| 246 | * Buttons |
| 247 | * |
| 248 | *--------------------------------------------------------------------------------------------*/ |
| 249 | |
| 250 | a.acf-button, |
| 251 | input[type="submit"].acf-button { |
| 252 | display: block; |
| 253 | border-radius: 4px; |
| 254 | background: #2c8bbe; |
| 255 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2c8bbe', endColorstr='#246f99'); /* for IE */ |
| 256 | background: -webkit-gradient(linear, left top, left bottom, from(#2c8bbe), to(#246f99)); /* for webkit browsers */ |
| 257 | background: -moz-linear-gradient(top, #2c8bbe, #246f99); /* for firefox 3.6+ */ |
| 258 | color: #FFFFFF; |
| 259 | font-weight: normal; |
| 260 | text-shadow: 0 1px 0 rgba(0,0,0,0.5); |
| 261 | font-size: 13px; |
| 262 | line-height: 1em; |
| 263 | padding: 6px 11px; |
| 264 | border: 0 none; |
| 265 | box-shadow: 0 1px 3px rgba(0,0,0,0.2); |
| 266 | cursor: pointer; |
| 267 | position: relative; |
| 268 | text-align: center; |
| 269 | text-decoration: none; |
| 270 | } |
| 271 | |
| 272 | a.acf-button:hover, |
| 273 | input[type="submit"].acf-button:hover { |
| 274 | box-shadow: 0 1px 3px rgba(0,0,0,0.4); |
| 275 | background: #3b97c9; |
| 276 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3b97c9', endColorstr='#246f99'); /* for IE */ |
| 277 | background: -webkit-gradient(linear, left top, left bottom, from(#3b97c9), to(#246f99)); /* for webkit browsers */ |
| 278 | background: -moz-linear-gradient(top, #3b97c9, #246f99); /* for firefox 3.6+ */ |
| 279 | } |
| 280 | |
| 281 | a.acf-button:active, |
| 282 | input[type="submit"].acf-button:active { |
| 283 | box-shadow: 0 1px 3px rgba(0,0,0,0.2); |
| 284 | top: 1px; |
| 285 | |
| 286 | } |
| 287 | |
| 288 | a.acf-button.grey, |
| 289 | input[type="submit"].acf-button.grey { |
| 290 | text-shadow: 0 1px 0 #fff; |
| 291 | color: #454545; |
| 292 | background: #fff; |
| 293 | filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#ffffff', endColorstr='#ececec'); /* for IE */ |
| 294 | background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ececec)); /* for webkit browsers */ |
| 295 | background: -moz-linear-gradient(top, #fff, #ececec); /* for firefox 3.6+ */ |
| 296 | |
| 297 | } |
| 298 | |
| 299 | a.acf-button[disabled], |
| 300 | .disabled a.acf-button, |
| 301 | input[type="submit"].acf-button[disabled] { |
| 302 | opacity: 0.7; |
| 303 | } |
| 304 | |
| 305 | a.acf-button[disabled]:hover, |
| 306 | .disabled a.acf-button:hover, |
| 307 | input[type="submit"].acf-button[disabled]:hover { |
| 308 | background: #2c8bbe; |
| 309 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2c8bbe', endColorstr='#246f99'); /* for IE */ |
| 310 | background: -webkit-gradient(linear, left top, left bottom, from(#2c8bbe), to(#246f99)); /* for webkit browsers */ |
| 311 | background: -moz-linear-gradient(top, #2c8bbe, #246f99); /* for firefox 3.6+ */ |
| 312 | box-shadow: 0 1px 3px rgba(0,0,0,0.2); |
| 313 | } |
| 314 |