diff options
| author | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-03 17:58:47 -0700 | 
|---|---|---|
| committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-03 17:58:47 -0700 | 
| commit | 0e3d35d1139d0edc9247837124c3ffdc0b7201e5 (patch) | |
| tree | f7f315ec4a4fe44bb3808369710df4a59a09a5c9 /src/client/views/nodes/formattedText/FormattedTextBoxComment.scss | |
| parent | 58b780563c7fc4a1496f5c676f2d14faddb096e0 (diff) | |
| parent | df00289aad1c35e3811c02aada6479a5490e9650 (diff) | |
merge with master again
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBoxComment.scss')
| -rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBoxComment.scss | 86 | 
1 files changed, 79 insertions, 7 deletions
| diff --git a/src/client/views/nodes/formattedText/FormattedTextBoxComment.scss b/src/client/views/nodes/formattedText/FormattedTextBoxComment.scss index 2dd63ec21..9089e7039 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBoxComment.scss +++ b/src/client/views/nodes/formattedText/FormattedTextBoxComment.scss @@ -8,10 +8,12 @@      margin-bottom: 7px;      -webkit-transform: translateX(-50%);      transform: translateX(-50%); -  } -  .FormattedTextBox-tooltip:before { +} + +.FormattedTextBox-tooltip:before {      content: ""; -    height: 0; width: 0; +    height: 0; +    width: 0;      position: absolute;      left: 50%;      margin-left: -5px; @@ -19,10 +21,12 @@      border: 5px solid transparent;      border-bottom-width: 0;      border-top-color: silver; -  } -  .FormattedTextBox-tooltip:after { +} + +.FormattedTextBox-tooltip:after {      content: ""; -    height: 0; width: 0; +    height: 0; +    width: 0;      position: absolute;      left: 50%;      margin-left: -5px; @@ -30,4 +34,72 @@      border: 5px solid transparent;      border-bottom-width: 0;      border-top-color: white; -  }
\ No newline at end of file +} + +.FormattedTextBoxComment-buttons { +    display: none; +    position: absolute; +    top: 50%; +    right: 0; +    transform: translateY(-50%); + +    .FormattedTextBoxComment-button { +        width: 20px; +        height: 20px; +        margin: 0; +        margin-right: 6px; +        border-radius: 50%; +        pointer-events: auto; +        background-color: rgb(38, 40, 41); +        color: rgb(178, 181, 184); +        font-size: 65%; +        transition: transform 0.2s; +        text-align: center; +        position: relative; + +        // margin-top: "auto"; +        //     margin-bottom: "auto"; +        //     background: black; +        //     color: white; +        //     display: inline-block; +        //     border-radius: 18px; +        //     font-size: 12.5px; +        //     width: 18px; +        //     height: 18px; +        //     margin-top: auto; +        //     margin-bottom: auto; +        //     margin-right: 3px; +        //     cursor: pointer; +        //     transition: transform 0.2s; + +        .FormattedTextBoxComment-fa-icon { +            margin-top: "auto"; +            margin-bottom: "auto"; +            background: black; +            color: white; +            display: inline-block; +            border-radius: 18px; +            font-size: 12.5px; +            width: 18px; +            height: 18px; +            margin-top: auto; +            margin-bottom: auto; +            margin-right: 3px; +            cursor: pointer; +            transition: transform 0.2s; +            // position: absolute; +            // top: 50%; +            // left: 50%; +            // transform: translate(-50%, -50%); +        } + +        &:last-child { +            margin-right: 0; +        } + +        &:hover { +            background: rgb(53, 146, 199); +            ; +        } +    } +}
\ No newline at end of file | 
