@finos/perspective-viewer
Version:
The `<perspective-viewer>` Custom Element, frontend for Perspective.js
69 lines (59 loc) • 1.79 kB
text/less
/******************************************************************************
*
* Copyright (c) 2017, the Perspective Authors.
*
* This file is part of the Perspective library, distributed under the terms
* of the Apache License 2.0. The full license can be found in the LICENSE
* file.
*
*/
@amber400: #ffca28;
:host {
.plugin_information {
color: var(--warning--color, inherit);
box-sizing: border-box;
display: flex;
position: absolute;
flex-direction: row;
justify-content: flex-start;
padding: 0.5rem;
width: 100%;
z-index: 10000;
&.plugin_information--warning {
background: @amber400;
}
.plugin_information__text {
font-size: 12px;
margin-right: 0.25rem;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.plugin_information__text:before {
content: var(--overflow_hint--before);
font-family: var(--overflow_hint--font-family);
color: var(--overflow_hint--color);
padding: var(--overflow_hint--padding);
font-size: 16px;
}
.plugin_information__action {
font-size: 12px;
text-decoration: underline;
cursor: pointer;
margin-right: 0.25rem;
}
.plugin_information__actions {
margin-left: auto;
display: flex;
align-items: center;
flex-direction: row;
justify-content: flex-start;
}
.plugin_information--overflow-hint-percent {
font-weight: 700;
}
.plugin_information--overflow-hint {
white-space: nowrap;
}
}
}