UNPKG

@vidal-community/vidal-web-components

Version:

Vidal Web Components

170 lines (153 loc) 3.23 kB
import { css } from 'lit'; export const vidalSideEffectStyles = (itemCountByLine) => css ` :host { box-sizing: border-box; width: 100%; height: 100%; position: relative; display: flex; flex-flow: column wrap; justify-content: space-around; align-items: center; overflow: hidden; } #side-effect { position: relative; width: 98%; height: 80%; overflow: hidden; box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.23); font-family: Roboto, sans-serif; border-radius: 8px; background: white; } .menu { z-index: 1; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; width: 100%; margin-top: 8px; height: 30px; } .header { max-height: 5%; min-height: fit-content; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; color: white; background-color: #dc0017; font-family: Roboto, sans-serif; box-shadow: 0 3px 20px #00000029; border-radius: 10px; width: 98%; } .logo-image { height: 80%; margin-left: 12px; } .title { font-weight: bold; margin-left: 12px; } .meta-data { text-align: end; width: 13%; margin-right: 20px; } .range-container { position: relative; width: 100%; height: 75%; } .frequency-select { width: 100%; } .range-container-wrapper { width: 38%; display: flex; justify-content: flex-start; align-items: center; margin: 0px 15px 0px 10px; } .range-container-wrapper > span { width: 25%; margin: 10px; font-size: 14px; font-weight: bold; } .range-container:hover .bubble { opacity: 1; } .bubble { font-family: Roboto, sans-serif; background: #0075ff; color: white; padding: 4px 12px; position: absolute; border-radius: 4px; left: 50%; transform: translateX(-50%); z-index: 3; transition: opacity 500ms ease-in; opacity: 0; } .bubble::after { content: ''; position: absolute; width: 2px; height: 2px; background: #0075ff; top: -1px; left: 50%; } .message-empty-container { display: flex; justify-content: center; align-items: center; height: calc(100% - 30px); font-size: 1.5em; font-style: italic; } .captions { display: flex; flex-direction: column; justify-content: center; font-family: Roboto, sans-serif; font-weight: bold; width: 98%; height: 10%; box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.23); background: white; border-radius: 8px; } .caption-line { display: flex; justify-content: flex-start; width: 100%; padding-left: 10px; } .caption-item { display: flex; flex-direction: row; width: ${100 / itemCountByLine}%; align-items: center; font-size: 14px; } .color-element { min-height: 20px; min-width: 20px; margin-right: 4px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-weight: 600; cursor: pointer; } `; //# sourceMappingURL=vidal-side-effect-styles.js.map