| body {
|
| font-family: Arial, sans-serif;
|
| margin: 0;
|
| padding: 0;
|
| }
|
| .layout {
|
| display: flex;
|
| height: 100vh;
|
| }
|
|
|
| .sidebar {
|
| grid-area: sidebar;
|
| width: 15%;
|
| background-color: #f1f1f1;
|
| padding: 20px;
|
| display: flex;
|
| flex-direction: column;
|
| justify-content: center;
|
| align-items: center;
|
| }
|
|
|
|
|
|
|
| #logo {
|
| width: auto;
|
| margin-bottom: 10px;
|
| }
|
|
|
|
|
| .sidebar button {
|
| margin-bottom: 10px;
|
| display: block;
|
| }
|
|
|
|
|
| .language-container {
|
| margin-bottom: 20px;
|
| }
|
|
|
|
|
| #language-select {
|
| width: 100%;
|
| padding: 5px;
|
| }
|
|
|
| .chat-container {
|
| flex: 1;
|
| padding: 20px;
|
| overflow-y: auto;
|
| }
|
| .chat {
|
| list-style-type: none;
|
| margin: 0;
|
| padding: 0;
|
| }
|
| .message {
|
| background-color: #f1f1f1;
|
| padding: 10px;
|
| margin: 10px;
|
| border-radius: 5px;
|
|
|
|
|
| white-space: pre-wrap;
|
| }
|
| .message-music {
|
| background-color: #f1f1f1;
|
| padding: 10px;
|
| margin: 10px;
|
| border-radius: 5px;
|
| display: flex;
|
| align-items: center;
|
| white-space: pre-wrap;
|
| }
|
| .user-message {
|
| text-align: left;
|
| background-color: #93c7dc;
|
| }
|
| .input-container {
|
| position: sticky;
|
| bottom: 0;
|
| display: flex;
|
| align-items: center;
|
| }
|
| #user-input {
|
| flex: 1;
|
| margin-right: 10px;
|
| padding: 8px;
|
| border: 1px solid #ccc;
|
| border-radius: 5px;
|
| }
|
| #send-button {
|
| padding: 8px 16px;
|
| border: none;
|
| background-color: #83be83;
|
| color: white;
|
| border-radius: 5px;
|
| cursor: pointer;
|
| }
|
| #send-button:hover {
|
| background-color: #5ebd5e;
|
| }
|
| #record-button {
|
| padding: 8px 16px;
|
| border: none;
|
| background-color: #51a6b1;
|
| color: white;
|
| border-radius: 5px;
|
| cursor: pointer;
|
| display: flex;
|
| align-items: center;
|
| }
|
| #record-button:hover{
|
| background-color: #34a6b6;
|
| }
|
| #record-button.active {
|
| background-color: lightcoral;
|
| }
|
|
|
| #mic {
|
| height: 100%;
|
| width: auto;
|
| }
|
|
|
| #new-chat-button,
|
| #spotify-button,
|
| #instructions-button,
|
| #map-button {
|
| margin-top: 10px;
|
| padding: 10px 10px;
|
| border: none;
|
| background-color: lightslategray;
|
| color: white;
|
| border-radius: 5px;
|
| cursor: pointer;
|
| transition: background-color 0.3s ease;
|
| }
|
|
|
| #new-chat-button:hover,
|
| #spotify-button:hover,
|
| #instructions-button:hover,
|
| #map-button:hover {
|
| background-color: #51a6b1;
|
| }
|
|
|
| #spotify-button.active{
|
| background-color: #51a6b1;
|
| }
|
| #map-button.active {
|
| background-color: #51a6b1;
|
| }
|
|
|
| #language-select-sidebar {
|
| margin-top: 10px;
|
| width: 55%;
|
| margin-bottom: 0px;
|
| }
|
|
|
| #language-select {
|
|
|
| height: 35px;
|
|
|
| margin-bottom: 10px;
|
| border: none;
|
| background-color: lightslategray;
|
| color: white;
|
| border-radius: 5px;
|
| text-align: center;
|
| cursor: pointer;
|
| transition: background-color 0.3s ease;
|
| }
|
| #language-select:hover {
|
| background-color: #51a6b1;
|
| }
|
|
|
|
|
| .sidebar button {
|
| width: 55%;
|
| height: 35px;
|
| margin-bottom: 5%;
|
| display: block;
|
| border: none;
|
| color: white;
|
| border-radius: 5px;
|
| cursor: pointer;
|
| transition: background-color 0.3s ease;
|
| }
|
|
|
|
|
| #credits {
|
| margin-top: auto;
|
| text-align: center;
|
| }
|
|
|
| #credits p {
|
| font-size: 18px;
|
| margin-bottom: 10px;
|
| }
|
|
|
| #credits ul {
|
| list-style-type: none;
|
| padding: 0;
|
| }
|
|
|
| #credits li {
|
| font-size: 16px;
|
| margin-bottom: 5px;
|
| }
|
|
|
| #additional-buttons {
|
| margin-top: 20px;
|
| }
|
|
|
| #additional-buttons button {
|
| width: 45%;
|
| padding: 10px;
|
| margin-bottom: 10px;
|
| border: none;
|
| background-color: lightslategray;
|
| color: white;
|
| border-radius: 5px;
|
| cursor: pointer;
|
| transition: background-color 0.3s ease;
|
| }
|
|
|
| #additional-buttons button:hover {
|
| background-color: #51a6b1;
|
| }
|
|
|
| audio {
|
| padding-top: 10px;
|
| width: 100%;
|
| }
|
|
|
|
|
| .play-btn {
|
| cursor: pointer;
|
| }
|
|
|
| .play-btn:hover {
|
| filter: brightness(0.75);
|
| }
|
|
|
| pre {
|
| padding: 1em;
|
| margin: 0.5em 0;
|
| background-color: #c6c6c6;
|
| border: 1px solid #000000;
|
| border-radius: 5px;
|
| overflow-x: auto;
|
| }
|
| code {
|
| display: block;
|
| white-space: pre-wrap;
|
| }
|
|
|
| li.message iframe {
|
| width: 100%;
|
| height: 60vh;
|
| }
|
|
|
| .location-dropdown {
|
| width: auto;
|
| height: 2em;
|
| border: none;
|
| background-color: lightslategray;
|
| color: white;
|
| border-radius: 5px;
|
| text-align: center;
|
| cursor: pointer;
|
| transition: background-color 0.3s ease;
|
| }
|
|
|
| .location-dropdown:hover {
|
| background-color: #51a6b1;
|
| }
|
|
|
|
|
|
|
| @media (max-width: 1000px) {
|
| .layout {
|
| display: grid;
|
| grid-template-rows: auto;
|
| grid-template-columns: auto;
|
| grid-template-areas:
|
| 'sidebar'
|
| 'chat-container';
|
| width: 100%;
|
| overflow: scroll;
|
| }
|
|
|
| .sidebar {
|
| grid-area: sidebar;
|
| width: auto;
|
| height: 100vh;
|
| overflow-y: auto
|
| }
|
|
|
| .chat-container {
|
| grid-area: chat-container;
|
| height: 100vh;
|
| overflow-y: auto;
|
| }
|
|
|
|
|
| * {
|
| touch-action: auto;
|
| user-select: auto;
|
| }
|
| }
|
|
|