diff --git a/app/theme/client/imports/general/base_old.css b/app/theme/client/imports/general/base_old.css index 69bfd73e2c3..12d365c1f14 100644 --- a/app/theme/client/imports/general/base_old.css +++ b/app/theme/client/imports/general/base_old.css @@ -3948,197 +3948,6 @@ rc-old select, margin-top: 1em; } -.rc-old .rocket-modal { - position: fixed; - z-index: 1000; - top: 0; - left: 0; - - visibility: hidden; - - width: 100%; - height: 100%; - - &.fluid .modal { - height: 100%; - - & main { - position: absolute; - - overflow-y: scroll; - - height: calc(100% - 112px); - } - } - - &.opened { - animation: fadeIn 0.1s ease-out forwards; - - & .modal { - animation: modalEnter 0.35s cubic-bezier(0.5, 0, 0.1, 1) forwards 0.1s; - } - } - - &.closed { - animation: fadeOut 0.2s ease-out forwards; - - & .modal { - animation: modalExit 0.25s cubic-bezier(0.5, 0, 0.1, 1) forwards; - } - } - - &.overflow .modal { - overflow: visible; - - & main { - position: relative; - - overflow: visible; - } - } - - & .wrapper { - position: relative; - - display: table; - - width: 100%; - height: 100%; - } - - & .window { - position: relative; - - display: table-cell; - - width: 100%; - height: 100%; - - text-align: center; - vertical-align: middle; - } - - & fieldset { - margin-bottom: 8px; - } - - & legend { - position: relative; - z-index: 2; - - display: block; - - margin-bottom: 18px; - - text-transform: uppercase; - - font-size: 13px; - - & i { - margin-right: 4px; - } - - &::before { - position: absolute; - z-index: 1; - top: 19px; - left: 0; - - width: 100%; - height: 1px; - - content: " "; - } - } - - & .modal { - position: relative; - - display: block; - overflow: hidden; - - width: 90%; - max-width: 800px; - margin: 0 auto; - padding: 56px 0; - - text-align: left; - - opacity: 0; - border-radius: var(--border-radius); - box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15); - - & header { - position: absolute; - z-index: 1; - top: 0; - - width: 100%; - height: 55px; - padding: 0 25px; - - text-align-last: right; - - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); - - font-size: 14px; - - & h3 { - display: inline-block; - overflow: hidden; - - margin: 0; - - text-align: left; - text-overflow: ellipsis; - - font-size: 18px; - font-weight: 600; - line-height: 55px; - } - - & .close { - position: absolute; - top: 16px; - right: 20px; - - width: 20px; - height: 26px; - - opacity: 1; - - & i { - font-size: 24px; - } - } - } - - & main { - display: block; - overflow-x: hidden; - overflow-y: auto; - - width: 100%; - height: 100%; - padding: 20px 25px; - } - - & footer { - position: absolute; - z-index: 1; - bottom: 0; - - width: 100%; - height: 55px; - padding: 11px 25px 0; - - text-align: right; - - box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15); - } - } -} - .rc-old .avatarPrompt { & header p { font-size: 14px; diff --git a/app/ui/client/index.js b/app/ui/client/index.js index 80197cff270..6f9b6c0f3c2 100644 --- a/app/ui/client/index.js +++ b/app/ui/client/index.js @@ -8,7 +8,6 @@ import './lib/parentTemplate'; import './lib/codeMirror/codeMirror'; import './lib/textarea-cursor'; import './views/cmsPage.html'; -import './views/modal.html'; import './views/404/roomNotFound.html'; import './views/404/invalidSecretURL.html'; import './views/app/audioNotification.html'; @@ -29,7 +28,6 @@ import './views/app/videoCall/videoButtons.html'; import './views/app/videoCall/videoCall.html'; import './views/app/photoswipe.html'; import './views/cmsPage'; -import './views/modal'; import './views/404/roomNotFound'; import './views/app/burger'; import './views/app/createChannel'; diff --git a/app/ui/client/views/modal.html b/app/ui/client/views/modal.html deleted file mode 100644 index 5a9e8f74839..00000000000 --- a/app/ui/client/views/modal.html +++ /dev/null @@ -1,25 +0,0 @@ - diff --git a/app/ui/client/views/modal.js b/app/ui/client/views/modal.js deleted file mode 100644 index fecf7b82f47..00000000000 --- a/app/ui/client/views/modal.js +++ /dev/null @@ -1,3 +0,0 @@ -import { Template } from 'meteor/templating'; - -Template.modal.rendered = function() {};