:recycle: [Refactor] Re-position styles in css
Browse files- css/default.css +17 -20
css/default.css
CHANGED
|
@@ -8,16 +8,32 @@
|
|
| 8 |
max-width: 100vw;
|
| 9 |
}
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
body {
|
| 12 |
/* background-image: linear-gradient(90deg, #eef3ff, #ecf1ff); */
|
| 13 |
background-color: #ecf1ff;
|
| 14 |
}
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
.message-user,
|
| 17 |
.message-assistant {
|
| 18 |
box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
|
| 19 |
border-radius: 5px;
|
| 20 |
-
margin: 30px 0px 30px 0px;
|
| 21 |
padding: 5px 0px 5px 0px;
|
| 22 |
margin: 0px 0px 12px 0px;
|
| 23 |
}
|
|
@@ -50,9 +66,6 @@ body {
|
|
| 50 |
border-radius: 10px;
|
| 51 |
}
|
| 52 |
|
| 53 |
-
#top-toolbar {
|
| 54 |
-
background-color: #e9efff;
|
| 55 |
-
}
|
| 56 |
|
| 57 |
#chat-history-sidebar {
|
| 58 |
box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
|
|
@@ -61,13 +74,6 @@ body {
|
|
| 61 |
border-width: 0px;
|
| 62 |
}
|
| 63 |
|
| 64 |
-
/* Adaptation for mobile */
|
| 65 |
-
@media (min-width: 900px) {
|
| 66 |
-
.container {
|
| 67 |
-
max-width: 900px;
|
| 68 |
-
}
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
.available-model-item {
|
| 72 |
display: flex;
|
| 73 |
align-items: center;
|
|
@@ -79,12 +85,6 @@ body {
|
|
| 79 |
cursor: pointer;
|
| 80 |
}
|
| 81 |
|
| 82 |
-
#chat-session-container {
|
| 83 |
-
overflow-y: auto;
|
| 84 |
-
overflow-x: hidden;
|
| 85 |
-
padding: 0px;
|
| 86 |
-
}
|
| 87 |
-
|
| 88 |
#user-input {
|
| 89 |
resize: none;
|
| 90 |
max-height: 500px;
|
|
@@ -110,9 +110,6 @@ body {
|
|
| 110 |
max-width: 75px;
|
| 111 |
}
|
| 112 |
|
| 113 |
-
#messagers-container {
|
| 114 |
-
margin-top: 68px;
|
| 115 |
-
}
|
| 116 |
|
| 117 |
#scroll-to-bottom-button {
|
| 118 |
z-index: 100;
|
|
|
|
| 8 |
max-width: 100vw;
|
| 9 |
}
|
| 10 |
|
| 11 |
+
/* Adaptation for mobile */
|
| 12 |
+
@media (min-width: 900px) {
|
| 13 |
+
.container {
|
| 14 |
+
max-width: 900px;
|
| 15 |
+
}
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
body {
|
| 19 |
/* background-image: linear-gradient(90deg, #eef3ff, #ecf1ff); */
|
| 20 |
background-color: #ecf1ff;
|
| 21 |
}
|
| 22 |
|
| 23 |
+
#top-toolbar {
|
| 24 |
+
background-color: #e9efff;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
#chat-session-container {
|
| 28 |
+
overflow-y: auto;
|
| 29 |
+
overflow-x: hidden;
|
| 30 |
+
padding: 0px;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
.message-user,
|
| 34 |
.message-assistant {
|
| 35 |
box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
|
| 36 |
border-radius: 5px;
|
|
|
|
| 37 |
padding: 5px 0px 5px 0px;
|
| 38 |
margin: 0px 0px 12px 0px;
|
| 39 |
}
|
|
|
|
| 66 |
border-radius: 10px;
|
| 67 |
}
|
| 68 |
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
#chat-history-sidebar {
|
| 71 |
box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
|
|
|
|
| 74 |
border-width: 0px;
|
| 75 |
}
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
.available-model-item {
|
| 78 |
display: flex;
|
| 79 |
align-items: center;
|
|
|
|
| 85 |
cursor: pointer;
|
| 86 |
}
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
#user-input {
|
| 89 |
resize: none;
|
| 90 |
max-height: 500px;
|
|
|
|
| 110 |
max-width: 75px;
|
| 111 |
}
|
| 112 |
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
#scroll-to-bottom-button {
|
| 115 |
z-index: 100;
|