This commit is contained in:
2021-08-29 22:04:03 +03:00
parent df99e877e3
commit 7c153a2e6d
7 changed files with 46 additions and 12 deletions
+4 -3
View File
@@ -24,7 +24,7 @@
}
@media (prefers-reduced-motion: reduce) {
.modal.fade .modal-dialog {
transition: none;
/*transition: none;*/
}
}
.modal.show .modal-dialog {
@@ -71,13 +71,14 @@
z-index: 1040;
width: 100vw;
height: 100vh;
background-color: #000;
background-color: var(--modal-backdrop-color-content, #000);
opacity: var(--modal-backdrop-opacity, 0.5);
}
.modal-backdrop.fade {
opacity: 0;
}
.modal-backdrop.show {
opacity: 0.5;
opacity: var(--modal-backdrop-opacity, 0.5);
}
.modal-header {
+3 -1
View File
@@ -73,7 +73,9 @@ kit.PluginManager.register('modal', function(module, exports, require){
* Class Definition
* ------------------------------------------------------------------------
*/
/**
* @class kit.Modal
*/
class Modal extends BaseComponent {
constructor(element, config) {
super(element)