/*
 * Copyright 2023 Haulmont.
 *
 * 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.
 */

/*
 *  todo
 *   deprecated since 2.3.0
 *   will be removed in the future releases
 *   styles have been added to the project templates
 */

vaadin-app-layout.jmix-main-view-top-menu-app-layout::part(navbar) {
  min-height: 0;
  border-bottom: 0;
}

.jmix-main-view-top-menu-navigation-bar-box {
  padding: 0;
  gap: 0;
  width: 100%;
}

.jmix-main-view-top-menu-navigation {
  display: flex;
  flex-grow: 1;
  overflow: auto;
}

.jmix-main-view-top-menu-header {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--lumo-contrast-10pct)
}

.jmix-main-view-top-menu-logo-container {
  display: flex;
  margin: 0 var(--lumo-space-m);
}

.jmix-main-view-top-menu-logo {
  width: var(--lumo-size-m);
  height: var(--lumo-size-m);
}

.jmix-main-view-top-menu-user-box {
  align-self: flex-end;
  align-items: center;
  margin: 0 var(--lumo-space-m);
  max-width: 20em;
}

.jmix-main-view-top-menu-view-header-box {
  border-bottom: 1px solid var(--lumo-contrast-10pct);
  padding: 0;
  width: 100%;
}

.jmix-main-view-top-menu-view-title {
  font-size: var(--lumo-font-size-l);
  margin: var(--lumo-space-s) var(--lumo-space-m);
}

