@microblink/blinkid-in-browser-sdk
Version:
A simple ID scanning library for WebAssembly-enabled browsers.
69 lines (68 loc) • 1.23 kB
CSS
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/
:host {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
visibility: hidden;
display: flex;
justify-content: center;
align-items: flex-start;
overflow: hidden;
overflow-y: auto;
padding: 24px;
}
:host .mb-modal {
width: 100%;
max-width: 552px;
position: relative;
background-color: var(--mb-component-background);
color: var(--mb-component-font-color);
padding: 24px;
}
:host .mb-modal .close-wrapper {
position: absolute;
right: 24px;
top: 24px;
cursor: pointer;
}
:host .mb-modal .close-wrapper svg {
width: 24px;
height: 24px;
}
:host .mb-modal .title {
text-align: center;
font-weight: 500;
font-size: 16px;
line-height: 24px;
}
:host .mb-modal .content {
margin: 24px 0;
font-weight: 400;
font-size: 14px;
line-height: 20px;
}
:host .mb-modal .content.centered {
text-align: center;
}
:host .mb-modal .actions {
display: flex;
justify-content: center;
}
:host .mb-modal .actions button {
width: 126px;
height: 32px;
border-radius: 0;
border: 0;
background: #48B2E8;
color: #ffffff;
cursor: pointer;
}
:host(.visible) {
visibility: visible;
opacity: 1;
}