|  | <!-- | 
|  | @license | 
|  | Copyright (C) 2017 The Android Open Source Project | 
|  |  | 
|  | Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | you may not use this file except in compliance with the License. | 
|  | You may obtain a copy of the License at | 
|  |  | 
|  | http://www.apache.org/licenses/LICENSE-2.0 | 
|  |  | 
|  | Unless required by applicable law or agreed to in writing, software | 
|  | distributed under the License is distributed on an "AS IS" BASIS, | 
|  | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | See the License for the specific language governing permissions and | 
|  | limitations under the License. | 
|  | --> | 
|  | <dom-module id="gr-page-nav-styles"> | 
|  | <template> | 
|  | <style> | 
|  | .navStyles ul { | 
|  | padding: 1em 0; | 
|  | } | 
|  | .navStyles li { | 
|  | border-bottom: 1px solid transparent; | 
|  | border-top: 1px solid transparent; | 
|  | display: block; | 
|  | padding: 0 calc(var(--default-horizontal-margin) + 0.5em); | 
|  | } | 
|  | .navStyles li a { | 
|  | display: block; | 
|  | overflow: hidden; | 
|  | text-overflow: ellipsis; | 
|  | white-space: nowrap; | 
|  | } | 
|  | .navStyles .subsectionItem { | 
|  | padding-left: calc(var(--default-horizontal-margin) + 1.5em); | 
|  | } | 
|  | .navStyles .hideSubsection { | 
|  | display: none; | 
|  | } | 
|  | .navStyles li.sectionTitle { | 
|  | padding: 0 2em 0 var(--default-horizontal-margin); | 
|  | } | 
|  | .navStyles li.sectionTitle:not(:first-child) { | 
|  | margin-top: 1em; | 
|  | } | 
|  | .navStyles .title { | 
|  | font-weight: var(--font-weight-bold); | 
|  | margin: .4em 0; | 
|  | } | 
|  | .navStyles .selected { | 
|  | background-color: var(--view-background-color); | 
|  | border-bottom: 1px solid var(--border-color); | 
|  | border-top: 1px solid var(--border-color); | 
|  | font-weight: var(--font-weight-bold); | 
|  | } | 
|  | .navStyles a { | 
|  | color: var(--primary-text-color); | 
|  | display: inline-block; | 
|  | margin: .4em 0; | 
|  | } | 
|  | </style> | 
|  | </template> | 
|  | </dom-module> |