blob: b9eb90776554ef67536be1c0d807e56e9c547b1a [file] [log] [blame]
/**
* 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;
}
}
}
}