_modal.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. #sceneAnimation {
  46. transition: opacity .3s ease-in-out;
  47. }
  48. #mainPage.turn {
  49. & #sceneAnimation {
  50. opacity: 1;
  51. }
  52. & #leftWindow , #rightWindow , #currentRoomTab, #hyperlinksTab, #fakeparserTab , #statusLine {
  53. pointer-events: none;
  54. filter: blur(2px);
  55. }
  56. }
  57. #mainPage.intro {
  58. & #leftWindow , #rightWindow, #statusLine {
  59. display: none;
  60. }
  61. & #centerWindow {
  62. max-width: 100%;
  63. }
  64. }
  65. #loadingScreen {
  66. position: absolute;
  67. left: 0px;
  68. top: 0px;
  69. bottom: 0px;
  70. right: 0px;
  71. background: linear-gradient(1deg, #FFF, #EEE);
  72. background-size: 400% 400%;
  73. z-index: 99999;
  74. }