aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextMenu.scss
diff options
context:
space:
mode:
authorvellichora <fangrui_tong@brown.edu>2020-01-07 14:20:36 -0500
committervellichora <fangrui_tong@brown.edu>2020-01-07 14:20:36 -0500
commitced3532239c582938271635802e0d2d62703e148 (patch)
tree14a73a67768b784c2700244df44d54d6e693b38a /src/client/util/RichTextMenu.scss
parent80c417f24bcc1109e12645cfc522a820cf22e099 (diff)
richtextmenu appears whenever formattedtextbox is focused
Diffstat (limited to 'src/client/util/RichTextMenu.scss')
-rw-r--r--src/client/util/RichTextMenu.scss64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/client/util/RichTextMenu.scss b/src/client/util/RichTextMenu.scss
index f7414cc7f..85d2765e3 100644
--- a/src/client/util/RichTextMenu.scss
+++ b/src/client/util/RichTextMenu.scss
@@ -20,9 +20,73 @@
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
min-width: 150px;
padding: 5px;
+
+ button {
+ background-color: #323232;
+ border: 1px solid black;
+ border-radius: 1px;
+ padding: 6px;
+ margin: 5px 0;
+
+ &:hover {
+ background-color: black;
+ }
+ }
}
input {
color: black;
}
+}
+
+.link-menu {
+ .divider {
+ background-color: white;
+ height: 1px;
+ width: 100%;
+ }
+}
+
+.color-preview-button {
+ .color-preview {
+ width: 100%;
+ height: 3px;
+ margin-top: 3px;
+ }
+}
+
+.color-wrapper {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+
+ button.color-button {
+ width: 20px;
+ height: 20px;
+ border-radius: 15px !important;
+ margin: 3px;
+ border: 2px solid transparent !important;
+ padding: 3px;
+
+ &.active {
+ border: 2px solid white !important;
+ }
+ }
+}
+
+select {
+ background-color: #323232;
+ color: white;
+ border: 1px solid black;
+ border-top: none;
+ border-bottom: none;
+
+ &:focus,
+ &:hover {
+ background-color: black;
+ }
+
+ &::-ms-expand {
+ color: white;
+ }
} \ No newline at end of file