-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcb.css
More file actions
127 lines (125 loc) · 2.44 KB
/
cb.css
File metadata and controls
127 lines (125 loc) · 2.44 KB
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
* {
font-size: 1.3vw;
font-family: "Epilogue", sans-serif;
}
html {
--scrollbarBG: #fff;
--thumbBG: #90a4ae;
}
body {
background: #ccc;
}
body .card {
height: 45vw;
width: 35vw;
background-color: white;
margin-left: 30vw;
margin-top: 5vw;
box-shadow: 2vw 2vw 12vw 3vw #ccc;
}
body .card #header {
height: 5vw;
background: #000;
padding: 0vw;
}
body .card #header h1 {
color: #fff;
font-size: 2vw;
font-family: "Finger Paint", cursive;
padding: 1vw;
}
body .card #message-section::-webkit-scrollbar {
width: 10px;
}
body .card #message-section {
height: 32vw;
padding: 0 2.5vw;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body .card #message-section::-webkit-scrollbar-track {
background: var(--scrollbarBG);
}
body .card #message-section::-webkit-scrollbar-thumb {
background-color: var(--thumbBG);
border-radius: 6px;
border: 3px solid var(--scrollbarBG);
}
body .card #message-section #bot,
body .card #message-section #user {
position: relative;
bottom: 0;
min-height: 1.5vw;
border: 0.15vw solid #777;
background-color: #fff;
border-radius: 0px 1.5vw 1.5vw 1.8vw;
padding: 1vw;
margin: 1.5vw 0;
}
body .card #message-section #user {
border: 1.5px solid #000;
border-radius: 1.5vw 0vw 1.5vw 1.8vw;
background-color: #000;
float: right;
}
body .card #message-section #user #user-response {
color: #fff;
}
body .card #message-section .message {
color: #000;
clear: both;
line-height: 1.2vw;
font-size: 1.2vw;
padding: 8px;
position: relative;
margin: 8px 0;
max-width: 85%;
word-wrap: break-word;
z-index: 2;
}
body .card #input-section {
z-index: 1;
padding: 0 2.5vw;
display: flex;
flex-direction: row;
align-items: flex-end;
overflow: hidden;
height: 6vw;
width: 100%;
}
body .card #input-section input {
color: #000;
min-width: 0.5vw;
outline: none;
height: 5vw;
width: 26vw;
border-top: none;
border-left: none;
border-right: none;
border-bottom: solid #000 0.1vw;
}
body .card .send {
background: transparent;
border: 0;
cursor: pointer;
flex: 0 0 auto;
margin-left: 1.4vw;
margin-right: 0vw;
padding: 0;
position: relative;
outline: none;
}
body .card .send .circle {
position: relative;
width: 4.8vw;
height: 4.8vw;
display: flex;
align-items: center;
justify-content: center;
}
body .card .send .circle i {
font-size: 3vw;
margin-left: -1vw;
margin-top: 1vw;
}