-
Notifications
You must be signed in to change notification settings - Fork 0
/
nanjarapalli-style-header-1.0.html
62 lines (59 loc) · 2.27 KB
/
nanjarapalli-style-header-1.0.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<dom-module>
<!--
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.
-->
<script>
Gerrit.install(plugin => {});
</script>
<style>
/* Background customize */
.gr-app-0 gr-main-header.gr-app {
background-color: #528bf2; /*rgb(82, 139, 242);*/
box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.2);
padding: 0.5em; /* Can be removed if no adding required */
border-bottom: 0px;
}
/* header title, signin,resgister button text color customize */
.gr-main-header-0 .linksTitle.gr-main-header, .gr-main-header-0 .bigTitle.gr-main-header, .gr-main-header-0 .loginButton.gr-main-header, .gr-main-header-0 .registerButton.gr-main-header {
color: rgb(255,255,255);
}
/* Settings icon on right color customize */
.gr-main-header-0 iron-icon.gr-main-header {
color: rgb(255,255,255);
}
/* title text font customize, ex: Gerrit */
.gr-main-header-0 .titleText.gr-main-header {
font-size: 1.1em;
}
/* Organisation title text customize */
.gr-main-header-0 .titleText.gr-main-header::after {
content: 'My Organisation';
}
/* Organisation logo customize preceding title text */
.gr-main-header-0 .titleText.gr-main-header::before {
background-image: url(/static/logo.png);
background-size: 1.1em 1.1em;
background-repeat: no-repeat;
content: "";
display: inline-block;
height: 1.1em;
margin-right: calc(1em / 2);
margin-left: calc(1em / 3);
margin-bottom: calc(1em / 7);
vertical-align: middle;
width: 1.1em;
}
/* search bar customize */
.gr-search-bar-0 gr-autocomplete.gr-search-bar {
border-radius: 4px;
}
</style>
</dom-module>