summaryrefslogtreecommitdiffstats
path: root/polygerrit-ui/app/styles/gr-page-nav-styles.html
diff options
context:
space:
mode:
Diffstat (limited to 'polygerrit-ui/app/styles/gr-page-nav-styles.html')
-rw-r--r--polygerrit-ui/app/styles/gr-page-nav-styles.html21
1 files changed, 11 insertions, 10 deletions
diff --git a/polygerrit-ui/app/styles/gr-page-nav-styles.html b/polygerrit-ui/app/styles/gr-page-nav-styles.html
index 0c4d20fb38..18ec143ea9 100644
--- a/polygerrit-ui/app/styles/gr-page-nav-styles.html
+++ b/polygerrit-ui/app/styles/gr-page-nav-styles.html
@@ -1,4 +1,5 @@
<!--
+@license
Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,38 +24,38 @@ limitations under the License.
border-bottom: 1px solid transparent;
border-top: 1px solid transparent;
display: block;
- padding: 0 2em;
+ padding: 0 calc(var(--default-horizontal-margin) + 0.5em);
}
- .navStyles li a {
+ .navStyles li a {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.navStyles .subsectionItem {
- padding-left: 3em;
+ padding-left: calc(var(--default-horizontal-margin) + 1.5em);
}
.navStyles .hideSubsection {
display: none;
}
.navStyles li.sectionTitle {
- padding: 0 2em 0 1.5em;
+ 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);
+ font-weight: var(--font-weight-bold);
margin: .4em 0;
}
.navStyles .selected {
- background-color: #fff;
- border-bottom: 1px dotted #808080;
- border-top: 1px dotted #808080;
- font-family: var(--font-family-bold);
+ 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: black;
+ color: var(--primary-text-color);
display: inline-block;
margin: .4em 0;
}