aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/presentationview/PresElementBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-07-02 14:43:04 -0400
committerGitHub <noreply@github.com>2020-07-02 14:43:04 -0400
commitda0b78bb21d29cb861e1b684023b991b9f95e62b (patch)
tree9e37ba065eb90ad7e716d41bd2f85ecc3b003dc7 /src/client/views/presentationview/PresElementBox.scss
parentd8fe61a05e676fb9e44a191b6090d3274963e836 (diff)
parent59868be3182e049297f7f86da368cf2733870fb2 (diff)
Merge pull request #426 from browngraphicslab/mobile_revision_direct
Dash Mobile
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.scss')
-rw-r--r--src/client/views/presentationview/PresElementBox.scss64
1 files changed, 55 insertions, 9 deletions
diff --git a/src/client/views/presentationview/PresElementBox.scss b/src/client/views/presentationview/PresElementBox.scss
index ccd2e8947..dbe6b0d4f 100644
--- a/src/client/views/presentationview/PresElementBox.scss
+++ b/src/client/views/presentationview/PresElementBox.scss
@@ -13,9 +13,10 @@
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
- transition: all .1s;
+ transition: all .1s;
padding: 0px;
padding-bottom: 3px;
+
.documentView-node {
position: absolute;
z-index: 1;
@@ -45,7 +46,7 @@
.presElementBox-closeIcon {
border-radius: 20px;
- transform:scale(0.7);
+ transform: scale(0.7);
position: absolute;
right: 0;
top: 0;
@@ -58,6 +59,7 @@
position: relative;
width: 100%;
height: auto;
+
.presElementBox-interaction {
color: gray;
float: left;
@@ -65,6 +67,7 @@
width: 20px;
height: 20px;
}
+
.presElementBox-interaction-selected {
color: white;
float: left;
@@ -76,7 +79,7 @@
}
.presElementBox-name {
- font-size: 12pxππ;
+ font-size: 12px;
position: absolute;
display: inline-block;
width: calc(100% - 45px);
@@ -90,15 +93,58 @@
display: flex;
width: auto;
justify-content: center;
- margin:auto;
+ margin: auto;
}
.presElementBox-embeddedMask {
- width:100%;
- height:100%;
+ width: 100%;
+ height: 100%;
position: absolute;
- left:0;
- top:0;
+ left: 0;
+ top: 0;
background: transparent;
- z-index:2;
+ z-index: 2;
+}
+
+@media only screen and (max-device-width: 480px) {
+ .presElementBox-buttons {
+ display: inline-flex;
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 3;
+ width: 50%;
+
+ .presElementBox-interaction {
+ width: 50;
+ height: 50;
+ }
+
+ .presElementBox-interaction-selected {
+ width: 50;
+ height: 50;
+ }
+ }
+
+ .presElementBox-item {
+ display: inline-flex;
+ overflow: hidden;
+ }
+
+ .presElementBox-closeIcon {
+ transform: scale(1.5);
+ right: 10;
+ top: 10;
+ }
+
+ .presElementBox-name {
+ font-size: 30px;
+ top: 10px;
+ z-index: 3;
+ width: 50%;
+ }
+
+ .presElementBox-embedded {
+ transform: translate(0, 90px) scale(1.5);
+ }
} \ No newline at end of file