aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.scss
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-04-01 20:47:01 -0400
committerFawn <fangrui_tong@brown.edu>2019-04-01 20:47:01 -0400
commit16e861bd4c16483783cdc0534af614625dd0f775 (patch)
treebd3fb8298d91fc0677458cd5126502b1d4a2df42 /src/client/views/DocumentDecorations.scss
parent5246c3c38acda6cbd8636577ff8f658657609d88 (diff)
created template adding menu
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
-rw-r--r--src/client/views/DocumentDecorations.scss72
1 files changed, 33 insertions, 39 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss
index 642d7caf3..f6d332a36 100644
--- a/src/client/views/DocumentDecorations.scss
+++ b/src/client/views/DocumentDecorations.scss
@@ -70,26 +70,21 @@
// cursor: ew-resize;
// }
// }
-.linkFlyout {
- grid-column: 1/4
-}
-.linkButton-empty:hover {
- background: $main-accent;
- transform: scale(1.05);
- cursor: pointer;
+.documentDecorations-extra {
+ display: flex;
+ position: absolute;
}
-.linkButton-nonempty:hover {
- background: $main-accent;
- transform: scale(1.05);
- cursor: pointer;
+.documentDecorations-ex-wrapper {
+ margin-right: 10px;
}
-.linkButton-empty {
+.linkButton-empty,
+.linkButton-nonempty,
+.documentDecorations-ex {
height: 20px;
width: 20px;
- margin-top: 10px;
border-radius: 50%;
opacity: 0.9;
pointer-events: auto;
@@ -103,34 +98,33 @@
display: flex;
justify-content: center;
align-items: center;
+
+ &:hover {
+ background: $main-accent;
+ transform: scale(1.05);
+ cursor: pointer;
+ }
}
-.linkButton-nonempty {
- height: 20px;
- width: 20px;
- margin-top: 10px;
- border-radius: 50%;
- opacity: 0.9;
- pointer-events: auto;
- background-color: $dark-color;
- color: $light-color;
- text-transform: uppercase;
- letter-spacing: 2px;
- font-size: 75%;
- transition: transform 0.2s;
- text-align: center;
- display: flex;
- justify-content: center;
- align-items: center;
+.templating-button-wrapper {
+ position: relative;
}
-.templating-button {
- height: 20px;
- width: 20px;
- margin-top: 10px;
- border-radius: 50%;
- opacity: 0.9;
- pointer-events: auto;
- background-color: red;
- cursor: pointer;
+#template-list {
+ position: absolute;
+ top: 0;
+ left: 30px;
+ width: 150px;
+ line-height: 25px;
+ max-height: 175px;
+ font-family: $sans-serif;
+ font-size: 12px;
+ background-color: $light-color-secondary;
+ padding: 2px 12px;
+
+ input {
+ margin-right: 10px;
+ }
+
+
} \ No newline at end of file