aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/GPTPopup.scss
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-02-27 16:56:02 -0500
committerSophie Zhang <sophie_zhang@brown.edu>2023-02-27 16:56:02 -0500
commited94cc8fb516455dbeea223d0fab25e4fb1c1d78 (patch)
tree662cee07a6a64fe1b688fc336c46f10574881b44 /src/client/views/pdf/GPTPopup.scss
parentd2be7d2bfec6978238811cc50ad3effd2a19d15d (diff)
feat: added summarization functionality to WebBox and cleaned up code
Diffstat (limited to 'src/client/views/pdf/GPTPopup.scss')
-rw-r--r--src/client/views/pdf/GPTPopup.scss91
1 files changed, 81 insertions, 10 deletions
diff --git a/src/client/views/pdf/GPTPopup.scss b/src/client/views/pdf/GPTPopup.scss
index 9605cfd07..7b7d2e3f7 100644
--- a/src/client/views/pdf/GPTPopup.scss
+++ b/src/client/views/pdf/GPTPopup.scss
@@ -1,33 +1,104 @@
$textgrey: #707070;
-$bordergrey: #d3d3d3;
+$lighttextgrey: #a3a3a3;
+$greyborder: #d3d3d3;
+$lightgrey: #ececec;
+$button: #5b97ff;
.summary-box {
+ display: flex;
+ flex-direction: column;
background-color: #ffffff;
box-shadow: 0 2px 5px #7474748d;
color: $textgrey;
position: absolute;
bottom: 40px;
- width: 200px;
- height: 200px;
+ width: 250px;
border-radius: 15px;
- padding: 20px;
- overflow: auto;
+ padding: 15px;
+ padding-bottom: 0px;
.summary-heading {
display: flex;
align-items: center;
- border-bottom: 1px solid $bordergrey;
- margin-bottom: 10px;
+ border-bottom: 1px solid $greyborder;
padding-bottom: 5px;
.summary-text {
font-size: 12px;
font-weight: 500;
- letter-spacing: 1px;
- margin: 0;
- padding-right: 10px;
}
}
+
+ label {
+ color: $textgrey;
+ font-size: 12px;
+ font-weight: 400;
+ letter-spacing: 1px;
+ margin: 0;
+ padding-right: 5px;
+ }
+
+ a {
+ cursor: pointer;
+ }
+
+ .content-wrapper {
+ padding-top: 10px;
+ min-height: 50px;
+ max-height: 150px;
+ overflow-y: auto;
+ }
+
+ .btns-wrapper {
+ height: 50px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ .summarizing {
+ display: flex;
+ align-items: center;
+ }
+ }
+
+ button {
+ font-size: 9px;
+ padding: 10px;
+ color: #ffffff;
+ background-color: $button;
+ border-radius: 5px;
+ }
+
+ .text-btn {
+ &:hover {
+ background-color: $button;
+ }
+ }
+
+ .btn-secondary {
+ font-size: 8px;
+ padding: 10px 5px;
+ background-color: $lightgrey;
+ color: $textgrey;
+ &:hover {
+ background-color: $lightgrey;
+ }
+ }
+
+ .icon-btn {
+ background-color: #ffffff;
+ padding: 10px;
+ border-radius: 50%;
+ color: $button;
+ border: 1px solid $button;
+ }
+
+ .ai-warning {
+ padding: 10px 0;
+ font-size: 10px;
+ color: $lighttextgrey;
+ border-top: 1px solid $greyborder;
+ }
}
// Typist CSS