aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBoxComment.scss
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2019-08-29 14:32:53 -0400
committerkimdahey <claire_kim1@brown.edu>2019-08-29 14:32:53 -0400
commit8e2e2c1126086cbc87432bb0466205f892d8ae98 (patch)
treed28a6721bcc392906a0ebd091c4acd11ff4747c0 /src/client/views/nodes/FormattedTextBoxComment.scss
parent116c17c1e4ccf189d770d170d07a6bfbf95ca4e1 (diff)
parent22a5999626b11cf75cafbcd421601e668438f6ad (diff)
fix merge conflicts
Diffstat (limited to 'src/client/views/nodes/FormattedTextBoxComment.scss')
-rw-r--r--src/client/views/nodes/FormattedTextBoxComment.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/client/views/nodes/FormattedTextBoxComment.scss b/src/client/views/nodes/FormattedTextBoxComment.scss
new file mode 100644
index 000000000..792cee182
--- /dev/null
+++ b/src/client/views/nodes/FormattedTextBoxComment.scss
@@ -0,0 +1,34 @@
+.FormattedTextBox-tooltip {
+ position: absolute;
+ pointer-events: none;
+ z-index: 20;
+ background: white;
+ border: 1px solid silver;
+ border-radius: 2px;
+ padding: 2px 10px;
+ margin-bottom: 7px;
+ -webkit-transform: translateX(-50%);
+ transform: translateX(-50%);
+ }
+ .FormattedTextBox-tooltip:before {
+ content: "";
+ height: 0; width: 0;
+ position: absolute;
+ left: 50%;
+ margin-left: -5px;
+ bottom: -6px;
+ border: 5px solid transparent;
+ border-bottom-width: 0;
+ border-top-color: silver;
+ }
+ .FormattedTextBox-tooltip:after {
+ content: "";
+ height: 0; width: 0;
+ position: absolute;
+ left: 50%;
+ margin-left: -5px;
+ bottom: -4.5px;
+ border: 5px solid transparent;
+ border-bottom-width: 0;
+ border-top-color: white;
+ } \ No newline at end of file