_modal.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #modalWindow {
  2. opacity: 0;
  3. pointer-events: none;
  4. z-index: 10;
  5. position: absolute;
  6. left: 0px;
  7. right: 0px;
  8. top: 0px;
  9. bottom: 0px;
  10. transition: opacity .3s ease-in-out;
  11. display: flex;
  12. align-items: center;
  13. justify-content: center;
  14. overflow: hidden;
  15. }
  16. *:not(#modalWindow) {
  17. transition: filter .3s ease-in-out;
  18. }
  19. body.modal {
  20. & > *:not(#modalWindow) {
  21. filter: blur(3px);
  22. }
  23. & #modalWindow {
  24. opacity: 1;
  25. pointer-events: auto;
  26. }
  27. }
  28. #modalContent {
  29. width: auto;
  30. height: auto;
  31. max-height: 85%;
  32. max-width: 85%;
  33. background: rgba(230,240,255,0.4);
  34. border: 2px dashed transparent;
  35. box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.15);
  36. border-radius: 4px;
  37. overflow-x: hidden;
  38. overflow-y: auto;
  39. padding: 1.6rem;
  40. padding-top: 0px;
  41. }
  42. #leftWindow , #rightWindow , #currentRoomTab, #hyperlinksTab, #fakeparserTab , #statusLine {
  43. transition: filter .3s ease-in-out;
  44. }
  45. #mainPage.turn {
  46. & #leftWindow , #rightWindow , #currentRoomTab, #hyperlinksTab, #fakeparserTab , #statusLine {
  47. pointer-events: none;
  48. filter: blur(2px);
  49. }
  50. }
  51. #mainPage.intro {
  52. & #leftWindow , #rightWindow, #statusLine {
  53. display: none;
  54. }
  55. & #centerWindow {
  56. max-width: 100%;
  57. }
  58. }
  59. #loadingScreen {
  60. position: absolute;
  61. left: 0px;
  62. top: 0px;
  63. bottom: 0px;
  64. right: 0px;
  65. background: linear-gradient(1deg, #FFF, #EEE);
  66. background-size: 400% 400%;
  67. z-index: 99999;
  68. }