wip on react transition 2
This commit is contained in:
1 parent
7425c2beb8
commit
f821ea2b80
9 files changed
+51
-113
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
import { Component } from 'react';
|
||||
import React from 'react';
|
||||
//import PropTypes from 'prop-types';
|
||||
import './ViewportOrientationMarkers.styl';
|
||||
|
||||
class ViewportOrientationMarkers extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div class="viewportOrientationMarkers noselect">
|
||||
<div class="topMid orientationMarker">
|
||||
</div>
|
||||
<div class="leftMid orientationMarker">
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default ViewportOrientationMarkers;
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
.viewportOrientationMarkers
|
||||
pointer-events: none // Necessary for click-through to cornerstone element below
|
||||
|
||||
font-size: 15px
|
||||
color: rgb(204, 204, 204)
|
||||
line-height: 18px
|
||||
|
||||
.orientationMarker
|
||||
position: absolute
|
||||
|
||||
.topMid
|
||||
top: 5px
|
||||
left: 50%
|
||||
|
||||
.leftMid
|
||||
top: 47%
|
||||
left: 5px
|
||||
|
||||
Reference in new issue
Block a user