-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
158 lines (139 loc) · 3.29 KB
/
index.css
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
body, html {
height: 100%;
width: 100%;
margin: 0;
font-family: 'Roboto', sans-serif;
background: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 95%;
height: 95%;
background: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
display: flex;
border-radius: 8px;
overflow: hidden;
}
.sidebar {
background: #393E41;
padding: 20px;
width: 50%;
max-height: 100%;
min-height: 75%;
display: flex;
flex-direction: column;
justify-content: space-between;
color: white;
}
.sidebar h1 {
margin: 0;
padding-bottom: 20px;
font-size: x-large;
color: #FFFFFF;
margin-bottom: 15px;
}
.sidebar .title {
color: #FFFFFF;
text-transform: uppercase;
letter-spacing: 1px;
border: none;
padding: 15px;
text-align: center;
}
.sidebar textarea, .sidebar input, .sidebar button, .sidebar .file-list {
background: #EEEEEE;
width: 100%;
box-sizing: border-box; /* Include padding in the width */
border: none;
padding: 15px;
margin-bottom: 15px;
border-radius: 4px;
color: #333;
}
.sidebar textarea {
border: 3px solid #a2a2a2;
color: #333;
resize: none; /* Prevent resizing */
min-height: 20px;
font-family: 'Roboto Mono', monospace;
font-size: x-small;
}
.sidebar textarea:focus, .sidebar input:focus {
outline: none;
border: 3px solid #00ADB5;
}
.sidebar button {
background: #00ADB5;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
}
.sidebar button:disabled {
background: #a2a2a2;
}
.sidebar .file-list {
min-height: 60px; /* Adjust based on content */
display: flex;
align-items: center;
color: #333;
font-family: 'Roboto Mono', monospace;
font-size: x-small;
white-space: pre-line;
}
.side-by-side {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}
.hint {
display: flex;
flex-direction: column;
justify-content: flex-end; /* Pushes content to bottom */
align-items: flex-start; /* Aligns content to start (left) */
padding-bottom: 15px; /* adjust as needed */
}
.space {
height: 30px;
}
/* Chat area stuff */
.main-content {
flex-grow: 1;
background: #c6cacc;
padding: 20px;
}
.bubble-container {
height: 100%;
}
.bubble-container .input-wrap textarea {
margin: 0;
width: calc(100% - 17px);
}
.invisible-textarea {
pointer-events: none; /* Prevents mouse clicks and selections */
user-select: none; /* Prevents text selection */
visibility: hidden; /* Makes the textarea invisible */
}
/* Responsive design adjustments */
@media (max-width: 768px) {
.container {
flex-direction: column;
width: 95%;
height: 100%;
overflow: scroll;
border-radius: 0px;
}
.sidebar {
width: auto;
max-height: 150%;
min-height: 125%;
}
.main-content {
order: 1;
max-height: 150%;
min-height: 125%;
}
}