File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< script id ="docs-header.html " type ="text/ng-template ">
2- < header header title = "{{pageTitle}}" >
3- < div class = "row row--right" >
4- < div class = "col margin-vertical" >
5- < a href = "https://github.com/GoogleCloudPlatform/gcloud-node/issues/new"
6- class = "v-btn skip-external-link" >
7- < img src = "site/img/icon-link-github.svg" />
8- Report an Issue
9- </ a >
10- </ div >
11- </ div >
12- </ header >
2+ < header header title = "{{pageTitle}}" />
133</ script >
144
155< div subpage
Original file line number Diff line number Diff line change @@ -6,7 +6,16 @@ <h1 class="logo">
66 < span class ="gcloud "> gcloud</ span >
77 </ a >
88 </ h1 >
9+
910 < div language-switcher > </ div >
11+
12+ < div class ="header--right ">
13+ < a href ="https://github.com/GoogleCloudPlatform/gcloud-node/issues/new "
14+ class ="v-btn skip-external-link ">
15+ < img src ="site/img/icon-link-github.svg " />
16+ Report an Issue
17+ </ a >
18+ </ div >
1019 </ header >
1120
1221 < header ng-if ="headerTemplateUrl " ng-include ="headerTemplateUrl "> </ header >
Original file line number Diff line number Diff line change @@ -293,6 +293,32 @@ ul {
293293 padding : 0 ;
294294}
295295
296+ .header--right {
297+ display : none;
298+ position : absolute;
299+ }
300+
301+ .page-header .fixed .v-btn {
302+ background-color : # fff ;
303+ color : # 444 ;
304+ border-radius : 8px ;
305+ border : 0 ;
306+ border-right : 2px solid # A0C2F4 ;
307+ border-bottom : 2px solid # A0C2F4 ;
308+ padding : 11px 10px ;
309+ font-size : .8em ;
310+ transition : border-color 1s , border-width .1s ;
311+ }
312+
313+ .page-header .fixed .v-btn : hover {
314+ opacity : 1 ;
315+ border-color : # aaa ;
316+ }
317+
318+ .page-header .fixed .v-btn : active {
319+ border-width : 1px ;
320+ }
321+
296322/*
297323 Logo
298324*/
@@ -1130,6 +1156,14 @@ ul {
11301156 Modify as content requires.
11311157 ========================================================================== */
11321158
1159+ @media only screen and (min-width : 19em ) {
1160+ .header--right {
1161+ display : block;
1162+ right : 54px ;
1163+ top : 10px ;
1164+ }
1165+ }
1166+
11331167@media only screen and (min-width : 37em ) {
11341168
11351169 /*
@@ -1175,7 +1209,6 @@ ul {
11751209 width : 0.6em ;
11761210 height : 0.6em ;
11771211 }
1178-
11791212}
11801213
11811214@media only screen and (min-width : 45em ) {
@@ -1205,6 +1238,11 @@ ul {
12051238 line-height : 70px ;
12061239 }
12071240
1241+ .header--right {
1242+ top : 20px ;
1243+ right : 20px ;
1244+ }
1245+
12081246 /*
12091247 Logo
12101248 */
You can’t perform that action at this time.
0 commit comments