Files
gerrit/polygerrit-ui/app/styles/gr-menu-page-styles.html
Becky Siegel e88c3a2d8c Add subsection dropdown to gr-admin-view
Bug: Issue 8671
Change-Id: I9f84e6d11477f3a18ea966dd6ded3ca79f9e10ac
2018-04-23 15:28:56 -07:00

73 lines
1.8 KiB
HTML

<!--
@license
Copyright (C) 2016 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-menu-page-styles">
<template>
<style>
:host {
background-color: var(--view-background-color);
display: block;
}
main {
margin: 2em auto;
max-width: 50em;
}
.mainHeader {
margin-left: 14em;
padding: 1em 0 1em 2em;
}
main.table,
.mainHeader {
margin-top: 0;
margin-right: 0;
margin-left: 14em;
max-width: none;
}
h2.edited:after {
color: #444;
content: ' *';
}
.loading {
color: var(--deemphasized-text-color);
padding: 1em var(--default-horizontal-margin);
}
@media only screen and (max-width: 67em) {
main {
margin: 2em 0 2em 15em;
}
main.table {
margin-left: 14em;
}
}
@media only screen and (max-width: 53em) {
.loading {
padding: 0 var(--default-horizontal-margin);
}
main {
margin: 2em 1em;
}
main.table {
margin: 0;
}
.mainHeader {
margin-left: 0;
padding: .5em 0 .5em 1em;
}
}
</style>
</template>
</dom-module>