aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/MobileInkOverlay.scss
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2020-02-29 14:20:01 -0500
committerGitHub <noreply@github.com>2020-02-29 14:20:01 -0500
commitbb2f6955bef4f079c0fa7213e80fde7a76847799 (patch)
treeef5e70925b8cdeb8229af849e33e6f3a4cceae7f /src/mobile/MobileInkOverlay.scss
parent640f14da28d97600fb32d09023fc932e3a4052c4 (diff)
parent2f6e27c67d1790d4350eede3003f0b614460f4d1 (diff)
Merge pull request #343 from browngraphicslab/pen
Pen
Diffstat (limited to 'src/mobile/MobileInkOverlay.scss')
-rw-r--r--src/mobile/MobileInkOverlay.scss39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mobile/MobileInkOverlay.scss b/src/mobile/MobileInkOverlay.scss
new file mode 100644
index 000000000..b9c1fb146
--- /dev/null
+++ b/src/mobile/MobileInkOverlay.scss
@@ -0,0 +1,39 @@
+.mobileInkOverlay {
+ border: 10px dashed red;
+ background-color: rgba(0, 0, 0, .05);
+}
+
+.mobileInkOverlay-border {
+ // background-color: rgba(0, 255, 0, .4);
+ position: absolute;
+ pointer-events: auto;
+ cursor: pointer;
+
+ &.top {
+ width: calc(100% + 20px);
+ height: 10px;
+ top: -10px;
+ left: -10px;
+ }
+
+ &.left {
+ width: 10px;
+ height: calc(100% + 20px);
+ top: -10px;
+ left: -10px;
+ }
+
+ &.right {
+ width: 10px;
+ height: calc(100% + 20px);
+ top: -10px;
+ right: -10px;
+ }
+
+ &.bottom {
+ width: calc(100% + 20px);
+ height: 10px;
+ bottom: -10px;
+ left: -10px;
+ }
+} \ No newline at end of file