| /* |
| * Copyright (C) 2013-2020 Apple Inc. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| * are met: |
| * 1. Redistributions of source code must retain the above copyright |
| * notice, this list of conditions and the following disclaimer. |
| * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. |
| * |
| * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' |
| * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS |
| * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| * THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| |
| .hierarchical-path-component { |
| display: flex; |
| position: relative; |
| height: 20px; |
| min-width: 32px; |
| |
| font-size: 11px; |
| font-family: -webkit-system-font, sans-serif; |
| } |
| |
| .hierarchical-path-component.show-selector-arrows { |
| min-width: 44px; |
| } |
| |
| .hierarchical-path-component.collapsed { |
| min-width: 24px; |
| } |
| |
| .hierarchical-path-component.collapsed > .icon { |
| display: none; |
| } |
| |
| .hierarchical-path-component.collapsed > .title { |
| margin-left: 3px; |
| } |
| |
| .hierarchical-path-component.collapsed > select { |
| display: none; |
| } |
| |
| .hierarchical-path-component > .icon { |
| vertical-align: top; |
| width: 16px; |
| height: 16px; |
| } |
| |
| .hierarchical-path-component > :matches(.icon, .selector-arrows) { |
| margin-top: 2px; |
| margin-bottom: 2px; |
| margin-inline: 4px 3px; |
| } |
| |
| .hierarchical-path-component > .selector-arrows { |
| vertical-align: top; |
| width: 5px; |
| height: 16px; |
| opacity: 0.6; |
| } |
| |
| .hierarchical-path-component > .title { |
| display: flex; |
| flex: 1; |
| |
| vertical-align: top; |
| |
| line-height: 20px; |
| height: 20px; |
| |
| min-width: 0; |
| max-width: 400px; |
| } |
| |
| .hierarchical-path-component > .title > .content { |
| min-width: 0; |
| width: 100%; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| } |
| |
| .hierarchical-path-component > select { |
| opacity: 0; |
| |
| position: absolute; |
| top: -1px; |
| bottom: 0; |
| |
| /* Positioned so the text in the menu aligns with the text in .title. */ |
| inset-inline: 13px 0; |
| } |
| |
| .hierarchical-path:not(.always-show-last-path-component-separator) > .hierarchical-path-component:last-child > .separator { |
| visibility: hidden; |
| } |
| |
| .hierarchical-path-component > .separator { |
| display: inline-block; |
| width: 7px; |
| height: 20px; |
| margin-inline-start: 3px; |
| vertical-align: top; |
| background-image: url(../Images/HierarchicalNavigationItemChevron.svg); |
| background-repeat: no-repeat; |
| background-position-y: center; |
| opacity: 0.75; |
| } |
| |
| body[dir=rtl] .hierarchical-path-component > .separator { |
| transform: scaleX(-1); |
| } |
| |
| .hierarchical-path-component.text-only { |
| padding-inline: 5px 1px; |
| |
| /* Positions so the text in the menu aligns with the text in .title for text-only path components. */ |
| inset-inline-start: -8px; |
| } |