Branch: refs/heads/master

  Home:   https://github.com/jenkinsci/jenkins

  Commit: 673a18c63745f5034e0567510af8a2c5239cf374

      
https://github.com/jenkinsci/jenkins/commit/673a18c63745f5034e0567510af8a2c5239cf374

  Author: Félix Queiruga <fqueir...@cloudbees.com>

  Date:   2020-02-20 (Thu, 20 Feb 2020)



  Changed paths:

    M core/src/main/java/hudson/Functions.java

    M 
core/src/main/resources/jenkins/management/AdministrativeMonitorsDecorator/footer.jelly

    M 
core/src/main/resources/jenkins/management/AdministrativeMonitorsDecorator/footer.properties

    M 
core/src/main/resources/jenkins/management/AdministrativeMonitorsDecorator/footer_de.properties

    M 
core/src/main/resources/jenkins/management/AdministrativeMonitorsDecorator/resources.css

    M core/src/main/resources/lib/layout/breadcrumbBar.jelly

    M core/src/main/resources/lib/layout/breadcrumbs.css

    M core/src/main/resources/lib/layout/html.jelly

    M core/src/main/resources/lib/layout/layout.jelly

    A core/src/main/resources/lib/layout/pageHeader.jelly

    A core/src/main/resources/lib/layout/svgIcon.jelly

    M core/src/test/java/hudson/FunctionsTest.java

    M test/pom.xml

    A war/src/main/less/abstracts/colors.less

    A war/src/main/less/base-styles-v2.less

    A war/src/main/less/base/layout-commons.less

    A war/src/main/less/base/style.less

    A war/src/main/less/modules/page-header.less

    A war/src/main/less/ui-refresh-overrides.less

    M war/src/main/webapp/css/style.css

    A war/src/main/webapp/images/jenkins-header-logo-v2.svg

    A war/src/main/webapp/images/material-icons/svg-sprite-action-symbol.svg

    A war/src/main/webapp/images/material-icons/svg-sprite-social-symbol.svg

    A war/src/main/webapp/scripts/svgxuse.min.js

    M war/webpack.config.js



  Log Message:

  -----------

  [JENKINS 60920] header breadcrumbs CSS update (#4463)



* New styles for breadcrumbs and warnings monitor



* Adds the svgxuse polyfill for svg sprites on IE 11



* Created new styles for the page header



- Used the material icons svg sprites to deliver the icons

- Icons are rendered using a <svg> tag



* Create new base styles file and undo changes to the layout-common and style 
css files



* Fixes and refactor for the new UI CSS code



* Make the new header color and logo section opt-in



- The new UI can be toggled with the -Dui.enableNewUi=true flag



* Rename and refactor the page-header css



- Rename the css class namespace from .main-header to .page-header

- Page header CSS moved into a modules folder and now included on the 
new-base-styles.css. This is done to avoid loading a separate file everytime.

- Extracted color variables to their own file



* Updated localization for header and admin monitor



- The pageHeader template receives localization strings as props

- Missing translation for the admin monitor on the it, bg and pl locales



* Update core/src/main/resources/lib/layout/layout.jelly



Co-Authored-By: Tim Jacomb <t.jac...@kainos.com>



* Most measurements migrated to REMs



* Code cleanup and apply new-ui toggle to the html.jelly file



* Breadcrumb fixes



- Reverts breadcrumb link styling to use nested selectors instead of the 
.breadcrumbs__link class. The reason is that several plugins would break.

- Shifted margins so that breadcrumbs can be fullwidth in the absence of the 
auto refresh link



* Implemented some fixes from the feedback received



- Removed box shadow webkit prefix

- Fixed formatting on the breadcrumbs.css and layout-commons.less files

- Renamed the new UI toggle class from _new-ui_ to _ui-refresh_

- Renamed references to the _new ui_ to _v2_



* Created jelly helper to use svg icons



* Fix: restore proper icon for the user on the header



* Fixes for Edge, IE 11 and IE 10



* Improvements on the header and breadcrumbs



- Logo v2 changed and optimized using the svgo frontend 
https://jakearchibald.github.io/svgomg/

- Refactored the ammonitor insertion code

- Breadcrumbs are no longer capitalized

- Classic logo link no longer stretches past the images

- Fixed classic logo link on IE11

- Updated color of the footer

- Menu items background is also changed when hovering over the menu selector

- Removed copyright notice on top of some files



* Bumped JTH version with the SVG download fix



* Update test/pom.xml



Co-Authored-By: Tim Jacomb <t.jac...@kainos.com>



* Added a function to check boolean system properties from jelly



* Fix header links and add svg styles for legacy layout



*  Some bug fixing for the new header



- The ui-refresh changes were not properly being enabled with the boolean 
system property. Added explicit true check on the jelly templates.

- Added an explicit width for the ui-refresh logo because it would mess with 
the layout



* Update core/src/main/java/hudson/Functions.java



Co-Authored-By: Adrien Lecharpentier <adrien.lecharpent...@gmail.com>



* Do not check the system property on every page render



Co-authored-by: Tim Jacomb <t.jac...@kainos.com>

Co-authored-by: Adrien Lecharpentier <adrien.lecharpent...@gmail.com>

Co-authored-by: Daniel Beck <1831569+daniel-b...@users.noreply.github.com>





-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/71c5fa-673a18%40github.com.

Reply via email to