File tree Expand file tree Collapse file tree 3 files changed +58
-8
lines changed Expand file tree Collapse file tree 3 files changed +58
-8
lines changed Original file line number Diff line number Diff line change 88@import " partials/_alerts" ;
99@import " partials/_filters" ;
1010@import " partials/_global_alerts" ;
11+ @import " partials/_local_nav" ;
1112@import " partials/_pagination" ;
1213@import " partials/_panels" ;
1314@import " partials/_search" ;
Original file line number Diff line number Diff line change 1+ .wrap-outer-header-local {
2+ .local-identity {
3+ padding : 1rem 0 ;
4+ }
5+
6+ .wrap-header-local {
7+ padding-top : 1rem ;
8+ padding-bottom : 1rem ;
9+
10+ .wrap-local-nav {
11+ margin : 0 ;
12+
13+ .local-nav {
14+ display : flex ;
15+ font-weight : $fw-bold ;
16+
17+ .wrap-gis-links {
18+ text-align : right ;
19+ margin-left : auto ;
20+
21+ :first-child :after {
22+ margin : 0 5px ;
23+ }
24+
25+ .nav-item {
26+ padding-left : 5px ;
27+ padding-right : 5px ;
28+ margin : 0 ;
29+ text-decoration : underline ;
30+ & :hover ,
31+ & :active ,
32+ & :focus {
33+ transition : all .25s ease-in-out 0s ;
34+ color : $brand-primary-accent ;
35+ background-color : #fff ;
36+ }
37+ }
38+ }
39+ }
40+ }
41+ }
42+ }
Original file line number Diff line number Diff line change 11< div class ="wrap-outer-header-local layout-band ">
22 < div class ="wrap-header-local ">
3- < div class ="local-identity ">
4- < h2 class ="title title-site "> < a href ="/ "> TIMDEX UI</ a > </ h2 >
5- </ div >
6- < div class ="wrap-local-nav ">
7- < div class ="wrap-bar ">
8- < nav class ="local-nav " aria-label ="Main menu ">
9- <%= nav_link_to ( "Home" , root_path ) %>
10- </ nav >
3+ <% unless ENV [ 'PLATFORM_NAME' ] %>
4+ < div class ="local-identity ">
5+ < h2 class ="title title-site "> < a href ="/ "> TIMDEX UI</ a > </ h2 >
116 </ div >
7+ <% end %>
8+ < div class ="wrap-local-nav ">
9+ < nav class ="local-nav " aria-label ="Main menu ">
10+ <%= nav_link_to ( "Home" , root_path ) %>
11+ <% if Flipflop . enabled? ( :gdt ) %>
12+ < div class ="wrap-gis-links ">
13+ <%= nav_link_to ( "GIS at MIT" , "https://libraries.mit.edu/gis" ) %>
14+ < span class ="nav-divider " aria-hidden ="true "> |</ span >
15+ <%= nav_link_to ( "Ask GIS" , "https://libraries.mit.edu/ask-gis" ) %>
16+ </ div >
17+ <% end %>
18+ </ nav >
1219 </ div >
1320 </ div >
1421</ div >
You can’t perform that action at this time.
0 commit comments