aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/presentationview/PresElementBox.scss
diff options
context:
space:
mode:
authorgeireann <60007097+geireann@users.noreply.github.com>2020-07-02 11:18:48 +0800
committergeireann <60007097+geireann@users.noreply.github.com>2020-07-02 11:18:48 +0800
commit89b227ff3b99ab6162ccd22da65d6df382831c17 (patch)
tree7fc74d59316810b63ec9563b1394b7072ab1f073 /src/client/views/presentationview/PresElementBox.scss
parent5d7823da144191930ead98a60aedd6543748d4a1 (diff)
updated css expand inline
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.scss')
-rw-r--r--src/client/views/presentationview/PresElementBox.scss65
1 files changed, 48 insertions, 17 deletions
diff --git a/src/client/views/presentationview/PresElementBox.scss b/src/client/views/presentationview/PresElementBox.scss
index ccd2e8947..e7aacb363 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;
@@ -43,21 +44,12 @@
box-shadow: black 2px 2px 5px;
}
-.presElementBox-closeIcon {
- border-radius: 20px;
- transform:scale(0.7);
- position: absolute;
- right: 0;
- top: 0;
- padding: 8px;
-}
-
-
.presElementBox-buttons {
display: flow-root;
position: relative;
width: 100%;
height: auto;
+
.presElementBox-interaction {
color: gray;
float: left;
@@ -65,6 +57,7 @@
width: 20px;
height: 20px;
}
+
.presElementBox-interaction-selected {
color: white;
float: left;
@@ -90,15 +83,53 @@
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;
+}
+
+.presElementBox-closeIcon {
+ position: absolute;
+ border-radius: 100%;
+ z-index: 300;
+ right: 3px;
+ top: 3px;
+ width: 20px;
+ height: 20px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.presElementBox-expand {
+ position: absolute;
+ border-radius: 100%;
+ z-index: 300;
+ right: 3px;
+ bottom: 3px;
+ width: 20px;
+ height: 20px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.presElementBox-expand-selected {
+ position: absolute;
+ border-radius: 100%;
+ right: 3px;
+ bottom: 3px;
+ width: 20px;
+ height: 20px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
} \ No newline at end of file