Popover.css (628B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ 4 5 .popover { 6 position: fixed; 7 z-index: 100; 8 --gap-size: 10px; 9 --left-offset: -55px; 10 } 11 12 .popover.orientation-right { 13 display: flex; 14 flex-direction: row; 15 } 16 17 .popover.orientation-right .gap { 18 width: var(--gap-size); 19 } 20 21 .popover:not(.orientation-right) .gap { 22 height: var(--gap-size); 23 margin-left: var(--left-offset); 24 } 25 26 .popover:not(.orientation-right) .preview-popup { 27 margin-left: var(--left-offset); 28 }