From e783359ff309848ad37a2cd4b2b67a8be78db4b4 Mon Sep 17 00:00:00 2001 From: Becky Siegel Date: Fri, 14 Jul 2017 16:50:08 -0700 Subject: [PATCH] Change gr-page-nav styles to be in a css template Previously, gr-page-nav styled passed from a parent element. Because Polymer2 does not allow for reaching into to style content as was done before, the styles have to be imported to the element that originally creates the content. Change-Id: I6b12a90545482254df259a5b438f19153a947569 --- .../admin/gr-admin-view/gr-admin-view.html | 4 +- .../gr-settings-view/gr-settings-view.html | 4 +- .../shared/gr-page-nav/gr-page-nav.html | 42 ------------- .../app/styles/gr-page-nav-styles.html | 63 +++++++++++++++++++ 4 files changed, 69 insertions(+), 44 deletions(-) create mode 100644 polygerrit-ui/app/styles/gr-page-nav-styles.html diff --git a/polygerrit-ui/app/elements/admin/gr-admin-view/gr-admin-view.html b/polygerrit-ui/app/elements/admin/gr-admin-view/gr-admin-view.html index 087f0697c8..5bfa407244 100644 --- a/polygerrit-ui/app/elements/admin/gr-admin-view/gr-admin-view.html +++ b/polygerrit-ui/app/elements/admin/gr-admin-view/gr-admin-view.html @@ -19,6 +19,7 @@ limitations under the License. + @@ -34,7 +35,8 @@ limitations under the License.