Files
gerrit/polygerrit-ui/app/styles/gr-page-nav-styles.html
Hoa Tran ecbf06a671 Remove the left indent for class gr-main-header (PolyGerrit)
The patch set includes:
- Align the left indent of the header.
- Align the left indent of the list in Dashboard page.
- Align the left indent of the menu items in Admin page.

Bug: Issue 6339
Change-Id: I4c91cd3eaf02b14d2846135f585f2f9fa48fa015
2018-05-08 23:42:17 +07:00

65 lines
1.9 KiB
HTML

<!--
@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-family: var(--font-family-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-family: var(--font-family-bold);
}
.navStyles a {
color: var(--primary-text-color);
display: inline-block;
margin: .4em 0;
}
</style>
</template>
</dom-module>