aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.scss
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-04-02 17:42:18 -0700
committerAndy Rickert <andrew_rickert@brown.edu>2020-04-02 17:42:18 -0700
commitfb329b1a8abca361d831c7ec1f1a9ea0f3d410cf (patch)
treee09138a0544fe3814b1bd1e95d59bc4c0e96f5ed /src/client/views/DocumentDecorations.scss
parent3a1dac48c00dbe81142da90f8b52bfae02ce1921 (diff)
parentb4958eac84339dd7a88c964a9c52e89481048f55 (diff)
merge
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
-rw-r--r--src/client/views/DocumentDecorations.scss43
1 files changed, 41 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss
index 32346165d..353520026 100644
--- a/src/client/views/DocumentDecorations.scss
+++ b/src/client/views/DocumentDecorations.scss
@@ -27,6 +27,17 @@ $linkGap : 3px;
opacity: 1;
}
+ .documentDecorations-selector {
+ pointer-events: auto;
+ height: 15px;
+ width: 15px;
+ left: -20px;
+ top: 20px;
+ display: inline-block;
+ position: absolute;
+ opacity: 0.5;
+ }
+
.documentDecorations-radius {
pointer-events: auto;
background: black;
@@ -69,6 +80,7 @@ $linkGap : 3px;
#documentDecorations-topLeftResizer,
#documentDecorations-bottomRightResizer {
cursor: nwse-resize;
+ background: dimGray;
}
#documentDecorations-bottomRightResizer {
@@ -78,6 +90,7 @@ $linkGap : 3px;
#documentDecorations-topRightResizer,
#documentDecorations-bottomLeftResizer {
cursor: nesw-resize;
+ background: dimGray;
}
#documentDecorations-topResizer,
@@ -90,7 +103,15 @@ $linkGap : 3px;
cursor: ew-resize;
}
- .title {
+ .documentDecorations-contextMenu {
+ background: $alt-accent;
+ width: 25px;
+ height: calc(100% + 8px); // 8px for the height of the top resizer bar
+ grid-column-start: 1;
+ grid-column-end : 2;
+ pointer-events: all;
+ }
+ .documentDecorations-title {
background: $alt-accent;
opacity: 1;
grid-column-start: 3;
@@ -98,6 +119,18 @@ $linkGap : 3px;
pointer-events: auto;
overflow: hidden;
text-align: center;
+ display:flex;
+ }
+ .publishBox {
+ width: 20px;
+ height: 22px;
+ grid-column-start: 3;
+ grid-column-end: 4;
+ pointer-events: all;
+ background: darkgray;
+ display: inline-block;
+ position: absolute;
+ right: 0;
}
}
@@ -127,6 +160,7 @@ $linkGap : 3px;
padding-top: 5px;
width: $MINIMIZED_ICON_SIZE;
height: $MINIMIZED_ICON_SIZE;
+ max-height: 20px;
}
.documentDecorations-background {
@@ -153,11 +187,12 @@ $linkGap : 3px;
.link-button-container {
margin-top: $linkGap;
- grid-column: 1/4;
width: max-content;
height: auto;
display: flex;
flex-direction: row;
+ z-index: 998;
+ position: absolute;
}
.linkButtonWrapper {
@@ -246,6 +281,10 @@ $linkGap : 3px;
}
}
+.documentDecorations-darkScheme {
+ background: dimgray;
+}
+
#template-list {
position: absolute;
top: 25px;