_index.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. ul,
  2. ol {
  3. list-style: none;
  4. margin: 0;
  5. padding: 0;
  6. }
  7. html,
  8. body {
  9. width: 100%;
  10. height: 100%;
  11. margin: 0;
  12. box-sizing: border-box;
  13. overflow-x: hidden;
  14. }
  15. body {
  16. font-family: "Trebuchet MS", sans-serif;
  17. padding: 15px;
  18. }
  19. .demoHeaders {
  20. margin-top: 2em;
  21. }
  22. #dialog-link {
  23. padding: 0.4em 1em 0.4em 20px;
  24. text-decoration: none;
  25. position: relative;
  26. }
  27. #dialog-link span.ui-icon {
  28. margin: 0 5px 0 0;
  29. position: absolute;
  30. left: 0.2em;
  31. top: 50%;
  32. margin-top: -8px;
  33. }
  34. #icons {
  35. margin: 0;
  36. padding: 0;
  37. }
  38. #icons li {
  39. margin: 2px;
  40. position: relative;
  41. padding: 4px 0;
  42. cursor: pointer;
  43. float: left;
  44. list-style: none;
  45. }
  46. #icons span.ui-icon {
  47. float: left;
  48. margin: 0 4px;
  49. }
  50. .fakewindowcontain .ui-widget-overlay {
  51. position: absolute;
  52. }
  53. select {
  54. width: 200px;
  55. }
  56. .panorama-box {
  57. display: flex;
  58. fieldset:first-child{
  59. flex: 1;
  60. }
  61. fieldset:last-child{
  62. width: 300px;
  63. }
  64. .video-container {
  65. border: 1.5px solid #c0c0c0;
  66. margin-top: 15px;
  67. display: flex;
  68. position: relative;
  69. cursor: pointer;
  70. canvas {
  71. width: 100%;
  72. aspect-ratio: 3840 / 2160;
  73. }
  74. .video-tip {
  75. position: absolute;
  76. top: 50%;
  77. left: 50%;
  78. transform: translate(-50%, -50%);
  79. display: none;
  80. }
  81. }
  82. }
  83. .tip {
  84. background-color: #fff3a5;
  85. padding: 0.5em 1em;
  86. margin: 1em;
  87. border-radius: 5px;
  88. }
  89. .particulars-box {
  90. &-list {
  91. display: flex;
  92. gap: 15px;
  93. &-item {
  94. flex: 1;
  95. .video-container {
  96. display: flex;
  97. cursor: pointer;
  98. margin-top: 15px;
  99. border: 1.5px solid #c0c0c0;
  100. position: relative;
  101. overflow: hidden;
  102. aspect-ratio: 16/9;
  103. canvas {
  104. aspect-ratio: 16/9;
  105. width: 100%;
  106. position: absolute;
  107. left: 0;
  108. top: 0;
  109. cursor: move;
  110. transform-origin: top left;
  111. max-width: none;
  112. }
  113. .video-tip1,
  114. .video-tip2 {
  115. position: absolute;
  116. top: 50%;
  117. left: 50%;
  118. transform: translate(-50%, -50%);
  119. display: none;
  120. }
  121. }
  122. &.active .video-container {
  123. border-color: red;
  124. }
  125. }
  126. }
  127. }
  128. .lx-style {
  129. animation-name: fadeIn;
  130. animation-duration: 1s;
  131. animation-direction: alternate;
  132. animation-iteration-count: infinite;
  133. animation-timing-function: linear;
  134. background: red !important;
  135. color: #fff !important;
  136. }
  137. @keyframes fadeIn {
  138. 0% {
  139. opacity: 0;
  140. }
  141. 100% {
  142. opacity: 1;
  143. }
  144. }