Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trac header and footer for updated navigation link colors #89

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 45 additions & 4 deletions trac.wordpress.org/templates/wporg-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<nav class="wp-container-18 global-footer__navigation-external wp-block-navigation" aria-label=""><ul class="wp-block-navigation__container"><li class=" wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content" href="https://wordpress.com/?ref=wporg-footer"><span class="wp-block-navigation-item__label">WordPress.com</span></a></li><li class=" wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content" href="https://ma.tt/"><span class="wp-block-navigation-item__label">Matt</span></a></li><li class=" wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content" href="https://wordpress.org/about/privacy/"><span class="wp-block-navigation-item__label">Privacy</span></a></li><li class=" wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content" href="https://publiccode.eu/"><span class="wp-block-navigation-item__label">Public Code</span></a></li></ul></nav>
</div>
<div class="wp-container-22 wp-block-group global-footer__logos-container">
<div class="is-content-justification-left wp-container-20 wp-block-group">
<div class="wp-container-20 is-content-justification-left wp-block-group">
<figure class="wp-block-image global-footer__wporg-logo-mark">
<a href="https://wordpress.org/">
<svg xmlns="http://www.w3.org/2000/svg" role="img" width="28" height="28" viewbox="0 0 28 28">
Expand Down Expand Up @@ -71,12 +71,53 @@
<style>.wp-container-21 {display: flex;gap: 0.5em;flex-wrap: wrap;align-items: center;}.wp-container-21 > * { margin: 0; }</style>
<style>.wp-container-22 > .alignleft { float: left; margin-inline-start: 0; margin-inline-end: 2em; }.wp-container-22 > .alignright { float: right; margin-inline-start: 2em; margin-inline-end: 0; }.wp-container-22 > .aligncenter { margin-left: auto !important; margin-right: auto !important; }</style>
<style>.wp-container-23 > .alignleft { float: left; margin-inline-start: 0; margin-inline-end: 2em; }.wp-container-23 > .alignright { float: right; margin-inline-start: 2em; margin-inline-end: 0; }.wp-container-23 > .aligncenter { margin-left: auto !important; margin-right: auto !important; }</style>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20191001" id="jetpack-photon-js"/>
<script type="text/javascript" src="https://s.w.org/wp-content/themes/pub/wporg/js/skip-link-focus-fix.min.js?ver=20151215" id="wporg-plugins-skip-link-focus-fix-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-includes/js/dist/vendor/lodash.min.js?ver=4.17.19" id="lodash-js"/>
<script type="text/javascript" id="lodash-js-after">//<![CDATA[
window.lodash = _.noConflict();
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-includes/js/dist/vendor/moment.min.js?ver=2.29.4" id="moment-js"/>
<script type="text/javascript" id="moment-js-after">//<![CDATA[
moment.updateLocale( 'en_US', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":0},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} );
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/dom-ready/index.min.js?ver=222ad38e3e5e302c8bbf" id="wp-dom-ready-js"/>
<script type="text/javascript" id="wp-dom-ready-js-after">//<![CDATA[
wp.galleryBlockV2Enabled = true;
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/a11y/index.min.js?ver=aefdd2523cc4b947d519" id="wp-a11y-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/deprecated/index.min.js?ver=a6c6d4c69fd417744058" id="wp-deprecated-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/dom/index.min.js?ver=e261d9dd4c18babfe851" id="wp-dom-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/escape-html/index.min.js?ver=fbad781820bda8333f76" id="wp-escape-html-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/element/index.min.js?ver=4c2f42c463d52ea8f151" id="wp-element-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/is-shallow-equal/index.min.js?ver=5299ef30233b42ce5199" id="wp-is-shallow-equal-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/keycodes/index.min.js?ver=a3a8e2ae16444745f04c" id="wp-keycodes-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/priority-queue/index.min.js?ver=6c6ae9ab4bf3e96ca1ac" id="wp-priority-queue-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/compose/index.min.js?ver=8668e47c2d239c83beb8" id="wp-compose-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/date/index.min.js?ver=aa0eba8ad4ea84cc6a81" id="wp-date-js"/>
<script type="text/javascript" id="wp-date-js-after">//<![CDATA[
wp.date.setSettings( {"l10n":{"locale":"en_US","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"meridiem":{"am":"am","pm":"pm","AM":"AM","PM":"PM"},"relative":{"future":"%s from now","past":"%s ago"},"startOfWeek":0},"formats":{"time":"g:i a","date":"F j, Y","datetime":"F j, Y g:i a","datetimeAbbreviated":"M j, Y g:i a"},"timezone":{"offset":0,"string":"UTC","abbr":"UTC"}} );
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/primitives/index.min.js?ver=9bab352d0620a6132df8" id="wp-primitives-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/redux-routine/index.min.js?ver=77304ecb13ce81b5a0cc" id="wp-redux-routine-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/data/index.min.js?ver=d9984093176a80497056" id="wp-data-js"/>
<script type="text/javascript" id="wp-data-js-after">//<![CDATA[
( function() {
var userId = 0;
var storageKey = "WP_DATA_USER_" + userId;
wp.data
.use( wp.data.plugins.persistence, { storageKey: storageKey } );
wp.data.plugins.persistence.__unstableMigrate( { storageKey: storageKey } );
} )();
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/rich-text/index.min.js?ver=317d90de6b73122c9158" id="wp-rich-text-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/warning/index.min.js?ver=24c7e8a7f6d5d3062b74" id="wp-warning-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/components/index.min.js?ver=6d9e757f767f6320a686" id="wp-components-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/screenshot-preview/build/index.js?ver=17df7fb7fd4b5537389a" id="wporg-screenshot-preview-js"/>
<script type="text/javascript" id="wporg-global-header-script-js-extra">//<![CDATA[
/* <![CDATA[ */
var wporgGlobalHeaderI18n = {"openSearchLabel":"Open Search","closeSearchLabel":"Close Search","overflowMenuLabel":"More menu"};
/* ]]]]><![CDATA[> */
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20191001" id="jetpack-photon-js"/>
<script type="text/javascript" src="https://s.w.org/wp-content/themes/pub/wporg/js/skip-link-focus-fix.min.js?ver=20151215" id="wporg-plugins-skip-link-focus-fix-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/global-header-footer/js/wporg-global-header-script.js?ver=1656434980" id="wporg-global-header-script-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/global-header-footer/js/wporg-global-header-script.js?ver=1656434742" id="wporg-global-header-script-js"/>
</html>
25 changes: 17 additions & 8 deletions trac.wordpress.org/templates/wporg-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
})(window,document,'script','dataLayer','GTM-P24PF4B');
//]]></script>
<script type="text/javascript">//<![CDATA[
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/wordpress.org\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.1-alpha-53589"}};
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/wordpress.org\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.1-alpha-53756"}};
/*! This file is auto-generated */
!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode,e=(p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0),i.toDataURL());return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([129777,127995,8205,129778,127999],[129777,127995,8203,129778,127999])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&&e.twemoji&&(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings);
//]]></script>
Expand All @@ -39,18 +39,27 @@
}
</style>
<link rel="stylesheet" id="open-sans-css" href="https://fonts.googleapis.com/css2?family=Open+Sans%3Aital%2Cwght%400%2C300%3B0%2C400%3B0%2C600%3B1%2C300%3B1%2C400%3B1%2C600&amp;display=swap" type="text/css" media="all"/>
<link rel="stylesheet" id="wp4-styles-css" href="https://s.w.org/style/wp4.css?ver=1645139111" type="text/css" media="all"/>
<link rel="stylesheet" id="wp-block-library-css" href="https://wordpress.org/wp-content/plugins/gutenberg/build/block-library/style.css?ver=13.5.2" type="text/css" media="all"/>
<link rel="stylesheet" id="wp4-styles-css" href="https://s.w.org/style/wp4.css?ver=1645139115" type="text/css" media="all"/>
<link rel="stylesheet" id="wp-block-library-css" href="https://wordpress.org/wp-content/plugins/gutenberg/build/block-library/style.css?ver=13.6.0" type="text/css" media="all"/>
<style id="wp-block-library-inline-css" type="text/css">
.has-text-align-justify{text-align:justify;}
</style>
<link rel="stylesheet" id="mediaelement-css" href="https://wordpress.org/wp-includes/js/mediaelement/mediaelementplayer-legacy.min.css?ver=4.2.16" type="text/css" media="all"/>
<link rel="stylesheet" id="wp-mediaelement-css" href="https://wordpress.org/wp-includes/js/mediaelement/wp-mediaelement.min.css?ver=6.1-alpha-53589" type="text/css" media="all"/>
<link rel="stylesheet" id="dashicons-css" href="https://s.w.org/wp-includes/css/dashicons.min.css?ver=6.1-alpha-53589" type="text/css" media="all"/>
<link rel="stylesheet" id="wporg-global-fonts-css" href="https://wordpress.org/wp-content/mu-plugins/pub-sync/global-fonts/style.css?ver=1645722402" type="text/css" media="all"/>
<link rel="stylesheet" id="wporg-global-header-footer-css" href="https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/global-header-footer/build/style.css?ver=1656434727" type="text/css" media="all"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/block-library/blocks/navigation/view.min.js?ver=a09fe0a32341dea057ff" id="wp-block-navigation-view-js"/>
<link rel="stylesheet" id="wp-mediaelement-css" href="https://wordpress.org/wp-includes/js/mediaelement/wp-mediaelement.min.css?ver=6.1-alpha-53756" type="text/css" media="all"/>
<link rel="stylesheet" id="wporg-screenshot-preview-style-css" href="https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/screenshot-preview//css/style.css?ver=1658364693" type="text/css" media="all"/>
<link rel="stylesheet" id="dashicons-css" href="https://s.w.org/wp-includes/css/dashicons.min.css?ver=6.1-alpha-53756" type="text/css" media="all"/>
<link rel="stylesheet" id="wporg-global-fonts-css" href="https://wordpress.org/wp-content/mu-plugins/pub-sync/global-fonts/style.css?ver=1645722414" type="text/css" media="all"/>
<link rel="stylesheet" id="wporg-global-header-footer-css" href="https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/global-header-footer/build/style.css?ver=1657172199" type="text/css" media="all"/>
<script type="text/javascript" src="https://wordpress.org/wp-admin/load-scripts.php?c=0&amp;load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill&amp;ver=6.1-alpha-53756"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/block-library/blocks/navigation/view.min.js?ver=ff8ab3d932c18722f9ad" id="wp-block-navigation-view-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/block-library/blocks/navigation/view-modal.min.js?ver=a308a84545a768017eeb" id="wp-block-navigation-view-modal-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/hooks/index.min.js?ver=da24a732bf5c2bfffa4b" id="wp-hooks-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/i18n/index.min.js?ver=6fdf6f309c3796e73a49" id="wp-i18n-js"/>
<script type="text/javascript" id="wp-i18n-js-after">//<![CDATA[
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//]]></script>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=6.1-alpha-53756" id="react-js"/>
<script type="text/javascript" src="https://wordpress.org/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1-alpha-53756" id="react-dom-js"/>
<link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""/>
<style>
@media screen and (max-width: 782px) {
Expand Down
2 changes: 1 addition & 1 deletion trac.wordpress.org/templates/wporg-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="wp-block-navigation__responsive-dialog" aria-label="Menu">
<button aria-label="Close menu" data-micromodal-close="" class="wp-block-navigation__responsive-container-close"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" width="24" height="24" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"/></svg></button>
<div class="wp-block-navigation__responsive-container-content" id="modal-5-content">
<form role="search" method="GET" action="/search" class="wp-block-search__button-inside wp-block-search__icon-button wp-block-search"><label for="wp-block-search__input-4" class="wp-block-search__label">Search</label><div class="wp-block-search__inside-wrapper "><input type="search" id="wp-block-search__input-4" class="wp-block-search__input " name="q" value="" placeholder="Search Trac..." required=""/><button type="submit" class="wp-block-search__button has-icon wp-element-button" aria-label="Search"><svg class="search-icon" viewbox="0 0 24 24" width="24" height="24">
<form role="search" method="GET" action="/search" class="wp-block-search__button-inside wp-block-search__icon-button wp-block-search"><label for="wp-block-search__input-4" class="wp-block-search__label">Search</label><div class="wp-block-search__inside-wrapper "><input type="search" id="wp-block-search__input-4" class="wp-block-search__input " name="q" value="" placeholder="Search Trac..." required=""/><button type="submit" class="wp-block-search__button has-icon wp-element-button" aria-label="Search"><svg class="search-icon" viewbox="0 0 24 24" width="24" height="24">
<path d="M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"/>
</svg></button></div></form>
</div>
Expand Down