viewport.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .msp-viewport {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. right: 0;
  6. bottom: 0;
  7. background: black;
  8. .msp-btn-link {
  9. background: rgba(0,0,0,0.2);
  10. }
  11. }
  12. .msp-viewport-expanded {
  13. position: fixed;
  14. z-index: 1000;
  15. }
  16. .msp-viewport-host3d {
  17. position: absolute;
  18. left: 0;
  19. top: 0;
  20. right: 0;
  21. bottom: 0;
  22. -webkit-user-select: none;
  23. -webkit-tap-highlight-color: rgba(0,0,0,0);
  24. -webkit-touch-callout: none;
  25. touch-action: manipulation;
  26. }
  27. .msp-viewport-controls {
  28. position: absolute;
  29. right: $control-spacing;
  30. top: $control-spacing;
  31. width: 32px;
  32. }
  33. .msp-viewport-controls-buttons {
  34. text-align: right;
  35. > button {
  36. padding: 0;
  37. text-align: center;
  38. width: $row-height;
  39. }
  40. > button:last-child {
  41. margin-left: $control-spacing;
  42. }
  43. // .msp-btn-link, .msp-btn-link-toggle-on {
  44. // color: #eee;
  45. // }
  46. .msp-btn-link-toggle-off {
  47. color: $msp-btn-link-toggle-off-font-color;
  48. }
  49. .msp-btn-link:hover {
  50. color: $hover-font-color;
  51. }
  52. }
  53. .msp-viewport-controls-scene-options {
  54. overflow-y: auto;
  55. max-height: 400px;
  56. width: 290px;
  57. right: 0px;
  58. position: absolute;
  59. background: $control-background;
  60. .msp-control-group-wrapper:first-child {
  61. padding-top: 0;
  62. }
  63. }
  64. /* highlight & toasts */
  65. .msp-highlight-toast-wrapper {
  66. position: absolute;
  67. right: $control-spacing;
  68. bottom: $control-spacing;
  69. max-width: 95%;
  70. z-index: 10000;
  71. }
  72. .msp-highlight-info {
  73. color: $highlight-info-font-color;
  74. padding: $info-vertical-padding $control-spacing;
  75. background: $default-background; //$highlight-info-background;
  76. min-height: $row-height;
  77. text-align: right;
  78. @include non-selectable;
  79. }
  80. .msp-highlight-info-additional {
  81. font-size: 85%;
  82. display: inline-block;
  83. color: $highlight-info-additional-font-color;
  84. }