aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/GPTPopup/GPTPopup.scss
blob: 44413ede753cb27f5634a536e431aaf4092909e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
$textgrey: #707070;
$lighttextgrey: #a3a3a3;
$greyborder: #d3d3d3;
$lightgrey: #ececec;
$button: #5b97ff;
$highlightedText: #82e0ff;

.summary-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    box-shadow: 0 2px 5px #7474748d;
    color: $textgrey;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 250px;
    min-height: 200px;
    border-radius: 15px;
    padding: 15px;
    padding-bottom: 0;
    z-index: 999;

    .summary-heading {
        display: flex;
        align-items: center;
        border-bottom: 1px solid $greyborder;
        padding-bottom: 5px;

        .summary-text {
            font-size: 12px;
            font-weight: 500;
        }
    }

    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;
    }

    .highlighted-text {
        background-color: $highlightedText;
    }
}

// Typist CSS
.Typist .Cursor {
    display: inline-block;
}
.Typist .Cursor--blinking {
    opacity: 1;
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}