<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[169] sites/trunk/jobs.wordpress.net/public_html/wp-content: jobs.wordpress.net: improve responsiveness for the job listings.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://meta.trac.wordpress.org/changeset/169">169</a></dd>
<dt>Author</dt> <dd>coffee2code</dd>
<dt>Date</dt> <dd>2013-12-24 08:39:56 +0000 (Tue, 24 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>jobs.wordpress.net: improve responsiveness for the job listings. see <a href="http://meta.trac.wordpress.org/ticket/84">#84</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkjobswordpressnetpublic_htmlwpcontentpluginsjobswpjobswptemplatephp">sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php</a></li>
<li><a href="#sitestrunkjobswordpressnetpublic_htmlwpcontentthemesjobswpstylecss">sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkjobswordpressnetpublic_htmlwpcontentpluginsjobswpjobswptemplatephp"></a>
<div class="modfile"><h4>Modified: sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php (168 => 169)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php 2013-12-21 17:21:25 UTC (rev 168)
+++ sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php 2013-12-24 08:39:56 UTC (rev 169)
</span><span class="lines">@@ -80,10 +80,8 @@
</span><span class="cx"> $link .= '>';
</span><span class="cx"> $link .= apply_filters( 'list_cats', $category->name, $category ).'</a>';
</span><span class="cx"> }
</span><del>- $link .= ' '.$after;
- $output .= $link;
- $output .= '<div class="grid_2 omega jobs-count">';
</del><span class="cx">
</span><ins>+ $orig_jobscnt = $jobscnt;
</ins><span class="cx"> if ( is_search() ) {
</span><span class="cx"> $feed_link = get_search_feed_link();
</span><span class="cx"> $jobscnt = '';
</span><span class="lines">@@ -92,7 +90,11 @@
</span><span class="cx"> $jobscnt = sprintf( _n( '%d job', '%d jobs', $jobscnt, 'jobswp' ), $jobscnt );
</span><span class="cx"> }
</span><span class="cx">
</span><del>- $output .= '<a href="' . $feed_link . '"><div class="dashicons dashicons-rss"></div></a>' . $jobscnt . '</div>
</del><ins>+ $link .= " <span>($orig_jobscnt)</span> $after";
+ $output .= $link;
+ $output .= '<div class="grid_2 omega jobs-count">';
+
+ $output .= '<a href="' . $feed_link . '"><div class="dashicons dashicons-rss"></div></a><span>' . $jobscnt . '</span></div>
</ins><span class="cx"> </div>
</span><span class="cx"> <div class="clear"></div>
</span><span class="cx"> <div class="row job-list-col-labels">
</span><span class="lines">@@ -119,7 +121,7 @@
</span><span class="cx"> $field_name = esc_attr( $field_name );
</span><span class="cx"> $field_label = esc_html( $field_label );
</span><span class="cx">
</span><del>- echo '<div class="post-job-input post-job-input-$field_name">' . "\n";
</del><ins>+ echo '<div class="post-job-input post-job-input-' . $field_name . '">' . "\n";
</ins><span class="cx"> echo "<label for='$field_name'>$field_label" . ( $required ? '*' : '' ) . "</label>\n";
</span><span class="cx">
</span><span class="cx"> $html5_input_types = array( 'color', 'date', 'datetime', 'datetime-local', 'email', 'month', 'number',
</span></span></pre></div>
<a id="sitestrunkjobswordpressnetpublic_htmlwpcontentthemesjobswpstylecss"></a>
<div class="modfile"><h4>Modified: sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css (168 => 169)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css 2013-12-21 17:21:25 UTC (rev 168)
+++ sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css 2013-12-24 08:39:56 UTC (rev 169)
</span><span class="lines">@@ -848,6 +848,9 @@
</span><span class="cx"> font-size: 1.5em;
</span><span class="cx"> margin: 0;
</span><span class="cx"> }
</span><ins>+.job-list-head h2 span {
+ display: none;
+}
</ins><span class="cx"> .job-list-head h2 a {
</span><span class="cx"> text-decoration: none;
</span><span class="cx"> color: #000;
</span><span class="lines">@@ -1145,7 +1148,6 @@
</span><span class="cx"> #wporg-footer {
</span><span class="cx"> clear: both;
</span><span class="cx"> overflow: auto;
</span><del>- min-width: 932px;
</del><span class="cx"> margin: 0 auto;
</span><span class="cx"> padding: 22px 14px 65px 14px;
</span><span class="cx"> border-top: 1px solid #dfdfdf;
</span><span class="lines">@@ -1211,7 +1213,7 @@
</span><span class="cx"> padding-right: 0;
</span><span class="cx"> }
</span><span class="cx"> .jobswp #wporg-footer .wrapper {
</span><del>- width: inherit;
</del><ins>+ width: 100%;
</ins><span class="cx"> text-align: left;
</span><span class="cx"> }
</span><span class="cx"> .jobswp #wporg-footer p {
</span><span class="lines">@@ -1247,6 +1249,9 @@
</span><span class="cx"> #subhead .wporg-link a {
</span><span class="cx"> font-size: 0.78em;
</span><span class="cx"> }
</span><ins>+ #wporg-footer ul {
+ width: 110px;
+ }
</ins><span class="cx"> }
</span><span class="cx"> @media only screen and (max-width: 767px) {
</span><span class="cx"> .container .hentry .grid_3,
</span><span class="lines">@@ -1295,7 +1300,7 @@
</span><span class="cx"> margin-left: 20px;
</span><span class="cx"> }
</span><span class="cx"> #content {
</span><del>- padding-top: 30px;
</del><ins>+ padding-top: 20px;
</ins><span class="cx"> }
</span><span class="cx"> #logo {
</span><span class="cx"> text-align: center;
</span><span class="lines">@@ -1344,10 +1349,67 @@
</span><span class="cx"> width: 100%;
</span><span class="cx"> height: 50px;
</span><span class="cx"> }
</span><ins>+ .search-form .search-field {
+ font-size: 0.8em;
+ }
+ .search-form input[type="submit"] {
+ padding-top: 11px;
+ padding-bottom: 11px;
+ }
</ins><span class="cx"> #wporg-footer {
</span><span class="cx"> min-width: inherit;
</span><span class="cx"> }
</span><ins>+ .container .jobs-group .job-list-head.grid_7 {
+ width: 260px;
+ }
+ .container .jobs-group .job-list-head h2 {
+ display: inline;
+ }
+ .container .jobs-group .jobs-count.grid_2 {
+ display: inline-block;
+ padding-right: 0;
+ width: 116px;
+ }
+ .container .job-list-col-labels {
+ display: none;
+ }
+ .container .jobs-group .job-date {
+ width: 75px;
+ text-align: center;
+ padding-right: 0;
+ float: left;
+ line-height: 1.1em;
+ padding-top: 3px;
+ padding-left: 20px;
+ margin-left: -75px;
+ }
+ .container .jobs-group .job-title.grid_4 {
+ width: 250px;
+ padding-right: 10px;
+ width: 311px;
+ padding-left: 10px;
+ }
+ .container .jobs-group .job-type {
+ display: inline-block;
+ text-align: inherit;
+ width: 120px;
+ padding-right: 10px;
+ padding-left: 10px;
+ font-size: 12px;
+ color: #999;
+ }
+ .container .jobs-group .job-location {
+ display: inline-block;
+ width: 181px;
+ text-align: right;
+ padding-left: 0;
+ padding-right: 0;
+ }
+ .row.row-0, .row.row-1 {
+ padding-left: 65px;
+ }
</ins><span class="cx"> }
</span><ins>+
</ins><span class="cx"> @media only screen and (max-width: 600px) {
</span><span class="cx"> .menu {
</span><span class="cx"> display: none;
</span><span class="lines">@@ -1368,4 +1430,71 @@
</span><span class="cx"> margin-left: 15px;
</span><span class="cx"> vertical-align: middle;
</span><span class="cx"> }
</span><ins>+
</ins><span class="cx"> }
</span><ins>+
+@media only screen and (max-width: 479px) {
+ #subhead .container, #content {
+ padding-left: 10px;
+ padding-right: 10px;
+ margin-left: 0;
+ margin-right: 0;
+ width: 100%;
+ }
+ #subhead .container .grid_9 {
+ width: 100%;
+ }
+ .container .content-area.grid_9, .container .widget-area.grid_3 {
+ width: 100%;
+ }
+ .container .jobs-group .job-list-head.grid_7 {
+ width: 235px;
+ }
+ .container .jobs-group .job-title.grid_4 {
+ width: 100%;
+ padding-left: 0;
+ }
+ .container .jobs-group .job-date {
+ margin-left: -75px;
+ font-size: 0.9em;
+ }
+ .container .jobs-group .job-type {
+ display: inherit;
+ width: inherit;
+ padding-left: 0;
+ }
+ .container .jobs-group .job-location {
+ display: block;
+ width: inherit;
+ text-align: left;
+ padding-left: 0;
+ }
+ .row.row-0, .row.row-1 {
+ padding-left: 65px;
+ }
+ .container .jobs-group .row-head {
+ position: relative;
+ }
+ .job-list-head h2:before {
+ font-size: 28px;
+ margin-top: 2px;
+ }
+ .job-list-head h2 {
+ font-size: 1.35em;
+ margin: 0;
+ }
+ .container .jobs-group .jobs-count.grid_2 {
+ position: absolute;
+ right: 0;
+ top: 4px;
+ font-size: 1em;
+ }
+ .job-list-head h2 span {
+ display: inline;
+ font-size: 0.7em;
+ }
+ .container .jobs-group .jobs-count.grid_2 span {
+ display: none;
+ }
+}
+
</ins></span></pre>
</div>
</div>
</body>
</html>