mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
48 lines
1.1 KiB
CSS
48 lines
1.1 KiB
CSS
/* modal */
|
|
.modal {
|
|
display: none;
|
|
}
|
|
.fade {
|
|
transition: opacity 0.15s linear;
|
|
}
|
|
.fade:not(.show) {
|
|
opacity: 0;
|
|
}
|
|
.collapse:not(.show) {
|
|
display: none;
|
|
}
|
|
|
|
|
|
|
|
.btn-close {
|
|
box-sizing: content-box;
|
|
width: 1em;
|
|
height: 1em;
|
|
padding: 0.25em 0.25em;
|
|
color: #000;
|
|
background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
|
|
border: 0;
|
|
border-radius: 0.25rem;
|
|
opacity: 0.5;
|
|
}
|
|
.btn-close:hover {
|
|
color: #000;
|
|
text-decoration: none;
|
|
opacity: 0.75;
|
|
}
|
|
.btn-close:focus {
|
|
outline: 0;
|
|
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
opacity: 1;
|
|
}
|
|
.btn-close:disabled, .btn-close.disabled {
|
|
pointer-events: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
opacity: 0.25;
|
|
}
|
|
|
|
.btn-close-white {
|
|
filter: invert(1) grayscale(100%) brightness(200%);
|
|
} |