@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
97 lines (81 loc) • 1.27 kB
CSS
/* mixins & extensions */
@keyframes in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes in-down {
0% {
opacity: 0;
transform: translate3D(0, -5px, 0);
}
100% {
opacity: 1;
transform: translate3D(0, 0, 0);
}
}
@keyframes in-up {
0% {
opacity: 0;
transform: translate3D(0, 5px, 0);
}
100% {
opacity: 1;
transform: translate3D(0, 0, 0);
}
}
@keyframes in-scale {
0% {
opacity: 0;
transform: scale3D(0.95, 0.95, 1);
}
100% {
opacity: 1;
transform: scale3D(1, 1, 1);
}
}
/**
* Currently only used in Checkbox.
*/
:root {
--calcite-popper-transition: 150ms ease-in-out;
}
:host([hidden]) {
display: none;
}
:host {
display: block;
}
.container {
width: 100%;
display: -ms-inline-grid;
display: inline-grid;
-ms-grid-columns: 1fr auto;
grid-template-columns: 1fr auto;
align-items: center;
}
.preview {
-ms-grid-column: 2;
-ms-grid-column-span: 1;
grid-column: 2/3;
display: flex;
align-items: center;
pointer-events: none;
margin: 0 6px;
z-index: 1;
}
.preview,
.input {
-ms-grid-row: 1;
grid-row: 1;
}
.input {
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1/3;
text-transform: uppercase;
width: 100%;
}