Ticket #84: meta-84-responsive-job-listings.diff
File meta-84-responsive-job-listings.diff, 5.4 KB (added by , 11 years ago) |
---|
-
sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php
80 80 $link .= '>'; 81 81 $link .= apply_filters( 'list_cats', $category->name, $category ).'</a>'; 82 82 } 83 $link .= ' '.$after;84 $output .= $link;85 $output .= '<div class="grid_2 omega jobs-count">';86 83 84 $orig_jobscnt = $jobscnt; 87 85 if ( is_search() ) { 88 86 $feed_link = get_search_feed_link(); 89 87 $jobscnt = ''; … … 92 90 $jobscnt = sprintf( _n( '%d job', '%d jobs', $jobscnt, 'jobswp' ), $jobscnt ); 93 91 } 94 92 95 $output .= '<a href="' . $feed_link . '"><div class="dashicons dashicons-rss"></div></a>' . $jobscnt . '</div> 93 $link .= " <span>($orig_jobscnt)</span> $after"; 94 $output .= $link; 95 $output .= '<div class="grid_2 omega jobs-count">'; 96 97 $output .= '<a href="' . $feed_link . '"><div class="dashicons dashicons-rss"></div></a><span>' . $jobscnt . '</span></div> 96 98 </div> 97 99 <div class="clear"></div> 98 100 <div class="row job-list-col-labels"> … … 119 121 $field_name = esc_attr( $field_name ); 120 122 $field_label = esc_html( $field_label ); 121 123 122 echo '<div class="post-job-input post-job-input- $field_name">' . "\n";124 echo '<div class="post-job-input post-job-input-' . $field_name . '">' . "\n"; 123 125 echo "<label for='$field_name'>$field_label" . ( $required ? '*' : '' ) . "</label>\n"; 124 126 125 127 $html5_input_types = array( 'color', 'date', 'datetime', 'datetime-local', 'email', 'month', 'number', -
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css
848 848 font-size: 1.5em; 849 849 margin: 0; 850 850 } 851 .job-list-head h2 span { 852 display: none; 853 } 851 854 .job-list-head h2 a { 852 855 text-decoration: none; 853 856 color: #000; … … 1145 1148 #wporg-footer { 1146 1149 clear: both; 1147 1150 overflow: auto; 1148 min-width: 932px;1149 1151 margin: 0 auto; 1150 1152 padding: 22px 14px 65px 14px; 1151 1153 border-top: 1px solid #dfdfdf; … … 1211 1213 padding-right: 0; 1212 1214 } 1213 1215 .jobswp #wporg-footer .wrapper { 1214 width: inherit;1216 width: 100%; 1215 1217 text-align: left; 1216 1218 } 1217 1219 .jobswp #wporg-footer p { … … 1247 1249 #subhead .wporg-link a { 1248 1250 font-size: 0.78em; 1249 1251 } 1252 #wporg-footer ul { 1253 width: 110px; 1254 } 1250 1255 } 1251 1256 @media only screen and (max-width: 767px) { 1252 1257 .container .hentry .grid_3, … … 1344 1349 width: 100%; 1345 1350 height: 50px; 1346 1351 } 1352 .search-form .search-field { 1353 font-size: 0.8em; 1354 } 1355 .search-form input[type="submit"] { 1356 padding-top: 11px; 1357 padding-bottom: 11px; 1358 } 1347 1359 #wporg-footer { 1348 1360 min-width: inherit; 1349 1361 } 1362 .container .jobs-group .job-list-head.grid_7 { 1363 width: 260px; 1364 } 1365 .container .jobs-group .job-list-head h2 { 1366 display: inline; 1367 } 1368 .container .jobs-group .jobs-count.grid_2 { 1369 display: inline-block; 1370 padding-right: 0; 1371 width: 116px; 1372 } 1373 .container .job-list-col-labels { 1374 display: none; 1375 } 1376 .container .jobs-group .job-date { 1377 width: 65px; 1378 text-align: center; 1379 padding-right: 0; 1380 float: left; 1381 line-height: 1.1em; 1382 padding-top: 3px; 1383 padding-left: 20px; 1384 margin-left: -65px; 1385 } 1386 .container .jobs-group .job-title.grid_4 { 1387 width: 250px; 1388 padding-right: 10px; 1389 width: 311px; 1390 padding-left: 10px; 1391 } 1392 .container .jobs-group .job-type { 1393 display: inline-block; 1394 text-align: inherit; 1395 width: 120px; 1396 padding-right: 10px; 1397 padding-left: 10px; 1398 font-size: 12px; 1399 color: #999; 1400 } 1401 .container .jobs-group .job-location { 1402 display: inline-block; 1403 width: 181px; 1404 text-align: right; 1405 padding-left: 0; 1406 padding-right: 0; 1407 } 1408 .row.row-0, .row.row-1 { 1409 padding-left: 65px; 1410 } 1350 1411 } 1412 1351 1413 @media only screen and (max-width: 600px) { 1352 1414 .menu { 1353 1415 display: none; … … 1368 1430 margin-left: 15px; 1369 1431 vertical-align: middle; 1370 1432 } 1433 1371 1434 } 1435 1436 @media only screen and (max-width: 479px) { 1437 #subhead .container, #content { 1438 padding-left: 10px; 1439 padding-right: 10px; 1440 margin-left: 0; 1441 margin-right: 0; 1442 width: 100%; 1443 } 1444 #subhead .container .grid_9 { 1445 width: 100%; 1446 } 1447 .container .content-area.grid_9, .container .widget-area.grid_3 { 1448 width: 100%; 1449 } 1450 .container .jobs-group .job-list-head.grid_7 { 1451 width: 235px; 1452 } 1453 .container .jobs-group .job-title.grid_4 { 1454 width: 100%; 1455 padding-left: 0; 1456 } 1457 .container .jobs-group .job-date { 1458 margin-left: -65px; 1459 font-size: 0.9em; 1460 } 1461 .container .jobs-group .job-type { 1462 display: inherit; 1463 width: inherit; 1464 padding-left: 0; 1465 } 1466 .container .jobs-group .job-location { 1467 display: block; 1468 width: inherit; 1469 text-align: left; 1470 padding-left: 0; 1471 } 1472 .row.row-0, .row.row-1 { 1473 padding-left: 65px; 1474 } 1475 .container .jobs-group .row-head { 1476 position: relative; 1477 } 1478 .job-list-head h2:before { 1479 font-size: 28px; 1480 margin-top: 2px; 1481 } 1482 .job-list-head h2 { 1483 font-size: 1.35em; 1484 margin: 0; 1485 } 1486 .container .jobs-group .jobs-count.grid_2 { 1487 position: absolute; 1488 right: 0; 1489 top: 4px; 1490 font-size: 1em; 1491 } 1492 .job-list-head h2 span { 1493 display: inline; 1494 font-size: 0.7em; 1495 } 1496 .container .jobs-group .jobs-count.grid_2 span { 1497 display: none; 1498 } 1499 } 1500 No newline at end of file