UNPKG

@vidal-community/vidal-web-components

Version:

Vidal Web Components

276 lines (236 loc) 5.22 kB
import { css } from 'lit'; import { atcColorStyle } from './atc-colors-styles'; export const styles = css ` :host { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; font-family: Roboto, sans-serif; } .vidal-header { position: absolute; top: 0; width: 99%; height: 50px; display: flex; justify-content: flex-start; align-items: center; border-radius: 8px; background: transparent linear-gradient(171deg, #c0273e 0, #fe2b6a 100%) 0 0 no-repeat padding-box; color: #fff; font-size: 2em; } .vidal-header span { display: flex; margin-left: 12px; } .vidal-header .patient { flex-grow: 1; display: flex; justify-content: flex-end; align-items: center; margin-right: 18px; font-size: 0.8em; } .vidal-header .patient * { margin-left: 8px; } .sub-header.first { margin-top: 40px; } .sub-header.last { margin-top: 10px; } .sub-header { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; width: 99%; } .meta-data { opacity: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; width: 50%; } .data-date-value { font-weight: bold; } .available-soon { font-style: italic; margin-top: 20px; color: #838383; font-size: 1.3em; } .hidden-div { display: none; } .timeline-container { opacity: 0; margin-top: 12px; position: relative; border: black 1px solid; border-radius: 10px; width: 99%; height: 80%; overflow: auto; background: white; } .timeline-container .vis-labelset .vis-group-level-1.vis-label { background-color: white; font-weight: 600; } .vis-dot { border-color: #106da5; cursor: auto; } .timeline-container .vis-itemset .vis-item-content { opacity: 0; } .timeline-container .vis-item.vis-point.vis-selected { background-color: transparent; } .timeline-container .vis-labelset .vis-group-level-2.vis-label { font-weight: 600; color: black; } .timeline-container .vis-item.vis-dot { position: absolute; padding: 0; border-width: 8px; border-style: solid; border-radius: 50%; } .vidal-header .patient .gender-logo { background-color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; height: 40px; width: 40px; } .vidal-header .patient .gender-logo img { margin: 0; } .vis-background.link.fading { background-color: rgb(127, 137, 144); opacity: 0.4; border-top-right-radius: 10px; border-bottom-right-radius: 10px; -webkit-mask-image: linear-gradient( to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) ); -webkit-mask-size: 100% 100%; } .link.first-link { border-top-left-radius: 10px; border-bottom-left-radius: 10px; } .link.last-link { border-top-right-radius: 10px; border-bottom-right-radius: 10px; } .link.first-link.last-link { border-radius: 10px; } .vis-label.autre { font-style: italic; } .vis-timeline { cursor: move; } .vis-timeline .vis-panel.vis-left { border: 1px solid grey; box-shadow: rgb(136 136 136) 6px 5px 12px; } .arrow { position: absolute; cursor: pointer; width: 0; height: 0; } .arrowWrapper { cursor: pointer; display: flex; justify-content: center; position: absolute; width: 50px; height: 50px; z-index: 5; } .arrowWrapper.previous { left: 33%; } .arrowWrapper.next { right: 33%; } .arrow.previous { border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right: 10px solid rgb(67, 67, 67); } .arrow.next { border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 10px solid rgb(67, 67, 67); } .warning-icon { display: inline; position: relative; width: 30px; top: 6px; opacity: 0; } .todayButton { height: 30px; font-size: 1em; border-radius: 8px; background: white; cursor: pointer; font-weight: bold; font-family: Roboto, sans-serif; box-shadow: rgb(67, 67, 67) 1px 1px 1px; } .todayButtonWrapper { width: 15%; height: 30px; display: flex; justify-content: flex-start; margin-left: 2%; } .regroupment-container { display: flex; width: 75%; justify-content: flex-start; align-items: center; margin-left: 15px; } .regroupment-container .regroupment-label { padding: 4px 10px; border-radius: 19px; margin-right: 5px; background: white; color: black; font-weight: bold; } .regroupment-container .order-by-arrow { border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 10px solid rgb(67, 67, 67); margin-right: 5px; margin-left: 5px; } ${atcColorStyle} `; //# sourceMappingURL=vidal-history-ttt.styles.js.map