This repository has been archived by the owner on May 29, 2019. It is now read-only.
forked from apache/ambari-logsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.component.less
94 lines (89 loc) · 2.43 KB
/
app.component.less
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
@import '../modules/shared/main';
:host {
background-color: @main-background-color; // TODO implement actual color
display: flex;
flex-direction: column;
line-height: @default-line-height;
min-height: 100vh;
.navbar {
align-items: center;
background-color: @navbar-background-color;
border-radius: 0;
color: #fff;
margin-bottom: 0;
.stretch-flex;
h1 {
align-items: center;
align-self: stretch;
background: @navbar-logo-background-color url('/resources/assets/images/ambari-logo.png') no-repeat;
background-position: .5em center;
background-size: 25px;
display: flex;
font-size: 20px;
margin: 0 2em 0 0;
padding: 0 2em;
&.full-flex-width {
flex-basis: 100%;
}
}
breadcrumbs {
font-size: 20px;
.stretch-flex;
}
/deep/ top-menu {
margin-left: auto;
margin-right: 5em;
}
&:not(.authorized) {
h1 {
margin: 0;
}
}
}
.auth-checking-in-progress {
align-content: center;
align-items: center;
display: flex;
justify-content: center;
margin: 1rem 0;
}
.request-indicator {
background: rgba(255,255,255,.7);
top: calc(-1 * (3em + .3em));
color: @info-color;
left: 50%;
margin-left: auto;
margin-right: auto;
opacity: .7;
padding: .3em;
position: fixed;
transition: top 500ms ease-in-out;
transform: translateX(-50%);
z-index: 1200;
&.open {
top: 0;
}
// &:before {
// .circle-spinner(1em, 2px, @info-color);
// content: ' ';
// display: inline-block;
// line-height: 1.1em;
// }
}
}