All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.frontend.fcEnhancedTabs.fc-enhanced-tabs.css Maven / Gradle / Ivy

/*-
 * #%L
 * Enhanced Tabs Add-on
 * %%
 * Copyright (C) 2023 Flowing Code
 * %%
 * 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.
 * #L%
 */
vaadin-menu-bar[theme~='fc-enhanced-tabs'] {
  width : 100%;
  min-width: var(--lumo-size-m);	
  box-shadow: inset 0 -1px 0 0 var(--lumo-contrast-10pct);
}
    
vaadin-menu-bar-button[theme~='fc-enhanced-tabs'] {
  background: transparent;
  box-shadow: none;
}

vaadin-menu-bar-button[theme~='fc-enhanced-tabs']::before {
  display: none;
}

vaadin-menu-bar-button[theme~='fc-enhanced-tabs']::after {
  display: none;
}

vaadin-menu-bar-button[theme~='fc-enhanced-tabs'], 
vaadin-menu-bar-button[theme~='fc-enhanced-tabs'] vaadin-menu-bar-item,
vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-menu-bar-item {
  margin: 0;
  padding: 0;
}

vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-menu-bar-item::part(checkmark) {
  display: none
}

vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab {
  text-align: start;
  transform-origin: 0% 50%;
  padding: 0.25rem 1rem;
  min-height: var(--lumo-size-m);
  min-width: 0;
}

vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab::before, 
vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab::after {
  left: 0;
  bottom: 50%;
  transform: translateY(50%) scale(0);
  width: 2px;
  height: var(--lumo-size-xs);
  border-radius: 0 var(--lumo-border-radius) var(--lumo-border-radius) 0;
  transform-origin: 100% 50%;
}

vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab[selected]::before, 
vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab[selected]::after {
  transform: translateY(50%) scale(1);
}

/*
:host([orientation="vertical"]) ::slotted(a[href]) {
  justify-content: normal;
}

:host([dir="rtl"][selected]:not([orientation="vertical"]))::before, :host([dir="rtl"][selected]:not([orientation="vertical"]))::after {
  transform: translateX(50%) scale(1);
}

:host([orientation="vertical"][dir="rtl"]) {
  transform-origin: 100% 50%;
}

:host([dir="rtl"][orientation="vertical"])::before, :host([dir="rtl"][orientation="vertical"])::after {
  left: auto;
        right: 0;
        border-radius: var(--lumo-border-radius) 0 0 var(--lumo-border-radius);
        transform-origin: 0% 50%;
}*/






© 2015 - 2025 Weber Informatics LLC | Privacy Policy