123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- .msp-viewport {
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- background: black;
- .msp-btn-link {
- background: rgba(0,0,0,0.2);
- }
- }
- .msp-viewport-expanded {
- position: fixed;
- z-index: 1000;
- }
- .msp-viewport-host3d {
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- -webkit-user-select: none;
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- -webkit-touch-callout: none;
- touch-action: manipulation;
- > canvas {
- background-color: $default-background;
- background-image: linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%, lightgrey),
- linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%, lightgrey);
- background-size: 60px 60px;
- background-position: 0 0, 30px 30px;
- }
- }
- .msp-viewport-controls {
- position: absolute;
- right: $control-spacing;
- top: $control-spacing;
- width: 32px;
- }
- .msp-viewport-controls-buttons {
- text-align: right;
- position: relative;
- > button {
- padding: 0;
- text-align: center;
- width: $row-height;
- position: relative;
- }
- .msp-btn-link-toggle-off {
- color: $msp-btn-link-toggle-off-font-color;
- }
- .msp-btn-link:hover {
- color: $hover-font-color;
- }
- }
- .msp-semi-transparent-background {
- background: $default-background;
- opacity: 0.5;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- .msp-viewport-controls-panel {
- overflow-y: auto;
- max-height: 400px;
- width: 290px;
- top: 0;
- right: $row-height + 1px;
- position: absolute;
- background: $control-background;
- .msp-control-group-wrapper:first-child {
- padding-top: 0;
- }
- }
- /* highlight & toasts */
- .msp-highlight-toast-wrapper {
- position: absolute;
- right: $control-spacing;
- bottom: $control-spacing;
- max-width: 95%;
- z-index: 10000;
- }
- .msp-highlight-info {
- color: $highlight-info-font-color;
- padding: $info-vertical-padding $control-spacing;
- background: $default-background; //$highlight-info-background;
- min-height: $row-height;
- text-align: right;
- @include non-selectable;
- }
- .msp-highlight-info-additional {
- font-size: 85%;
- display: inline-block;
- color: $highlight-info-additional-font-color;
- }
|