ChatGS / static /styles.css
sharmamohit8624's picture
Upload 2395 files
829f2ca verified
/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
}
/* Set a background color for the entire page */
body {
background-color: #000000;
/* background-image:url('/static/assets/space.jpg'); */
font-family: Arial, sans-serif;
}
.checkbox {
width: 440px;
height: 60px;
background-color: #0a1929;
border-radius: 30px;
position: relative;
color: black;
overflow: hidden;
}
#checkbox_toggle {
display: none;
}
.checkbox .toggle {
width: 220px;
height: 50px;
position: absolute;
border-radius: 30px;
left: 5px;
cursor: pointer;
background-image: url('/static/assets/chat_mode_img.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
transition: 0.4s;
box-shadow: 0px 0px 3px rgb(255, 255, 20), 0px 0px 5px rgb(255, 255, 20);
}
.checkbox .slide {
width: 440px;
height: 70px;
display: flex;
align-items: center;
justify-content: space-around;
cursor: pointer;
}
.checkbox .slide .text {
color: white;
font-size: 18px;
font-weight: bolder;
width: 200px;
text-align: center;
z-index: 100;
cursor: pointer;
}
.check:checked + .checkbox .slide .toggle {
transform: translateX(215px);
background-image: url('/static/assets/interactive_mode_img.png');
background-size: cover;
background-position: center;
box-shadow: -0px -0px 10px #8983F7, -0px -0px 3px #8983F7;
}
.check:checked + .checkbox .slide {
background-color: #0a1929;
color: #fff;
}
/* Navigation styles */
.nav {
background-color: #000000;
padding: 10px;
color: white;
}
.nav ul {
list-style: none;
display: flex;
justify-content: space-around;
}
.nav ul li {
margin: 0 10px;
}
.nav a {
text-decoration: none;
color: white;
}
/* Style the container */
.dropdown {
position: relative;
display: inline-block;
margin-left: 10px;
margin-bottom: 30px; /* Adjust as needed */
}
/* Style the dropdown button */
.dropdown select {
background-color: #000000;
color: white;
padding: 15px 49px 15px 30px;
margin-top: 20px;
font-size: 16px;
line-height: 24px;
border: none;
cursor: pointer;
border: 2px solid white; /* This line sets the border color to white */
border-radius: 5px;
appearance: none; /* Remove default arrow in some browsers */
}
.dropdown img{
position: absolute;
top: 40%;
right: 16%;
}
/* Style the dropdown content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #000000;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
border-radius: 5px;
}
/* Style the dropdown options */
.dropdown select option {
color: white;
background-color: #000000;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover select {
background-color: #156cb9;
color: white;
}
/* Content container */
.content {
max-width: 800px;
margin: 20px auto;
background-color: rgb(94, 193, 238);
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Header styles */
.center-title {
font-size: 5rem;
color: #333;
margin-bottom: 20px;
}
/* Form styles */
form {
display: flex;
flex-direction: column;
align-items: right;
}
#prompt{
display: none;
}
label {
margin-bottom: 10px;
}
.input_container input {
font-size: 1.5rem; /* Increased font size */
padding: 40px; /* Increased padding */
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
border: none;
}
input:focus,
input:active {
outline: none;
}
.run {
background-color: #0000007e;
border: 2px solid white;
color: rgb(255, 255, 255);
padding: 16px 32px;
text-align: center;
font-size: 20px;
margin: 4px 2px;
transition: 0.3s;
border-radius: 5px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.run:hover {
background-color: #156cb9;
color: white;
}
.run:active {
animation: clickAnimation 0.3s ease-out;
}
@keyframes clickAnimation {
0% {
transform: scale(1);
}
50% {
transform: scale(0.9);
}
100% {
transform: scale(1);
}
}
/* Result styles */
h2 {
font-size: 3.5rem;
margin-top: 20px;
}
.map-container {
width: 100%;
margin: 20px auto;
}
.result-box {
background-color: #156cb9;
padding: 20px;
border-radius: 15px;
color: white;
margin-bottom: 20px;
}
/* Audio controls */
audio {
width: 70%;
margin-top: 20px;
}
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.top-nav {
background: transparent;
color: white;
padding: 30px 10px;
height: 6vh;
width: 100%;
display: flex;
justify-content: flex-end;
}
.back-button{
font-size:20px;
margin-left:250px;
padding:5px 10px;
cursor: pointer;
background-color: #0e0f0e;
border:none;
color:white;
border-radius: 5px;
transition: background-color 0.3s ease, transform 0.3s ease;
position:relative;
left:0;
}
.back-button:hover::after {
content: "Go back to Home";
position: absolute;
left: 50%;
top: 125%;
transform: translateX(-50%);
background-color: #333;
color: white;
padding: 5px;
border-radius: 5px;
white-space: nowrap;
font-size: 14px;
z-index: 200;
opacity: 1;
visibility: visible;
}
.top-nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.top-nav li {
margin-right: 20px;
}
.nav {
background-color: #000000;
color: white;
padding: 10px;
height: 100vh;
max-height: 100vh;
overflow-y: auto;
width: 200px;
position: fixed;
left: 0;
top: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
}
.nav-img {
width: 150px;
height: auto;
margin-bottom: 20px;
align-items: center;
}
.nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.nav li {
margin-bottom: 10px;
}
.dropdown img{
width: 14px;
margin-left: 5px;
}
.center-container {
color: white;
margin-left: 220px;
margin-right: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.header {
margin-bottom: 20px;
}
.form-container {
width: 100%;
}
form {
display: flex;
flex-direction: column;
align-items: center;
}
form label,
form button,
form progress,
.progressMessage {
margin-bottom: 10px;
}
form input {
width: 100%;
padding: 10px;
box-sizing: border-box;
}
.result-container {
display: none;
margin-top: 40px;
/* width: 60%; */
text-align: center;
font-size: 2rem;
}
.result-container h2{
color: #ffffff;
}
.map-container {
width: 100%;
height: 400px;
margin-top: 20px;
}
.conclusion-container {
background-color: #00000081;
padding: 20px;
border-radius: 15px;
margin-top: 20px;
color: white;
}
.conclusion-container p{
font-size: 1.2rem;
margin: 5px;
}
.audio-container {
margin-top: 20px;
}
.input_container {
position: relative;
width: 80%;
border: 2px solid rgb(255, 255, 255);
display: flex;
justify-content: center;
align-items: center;
padding: 10px 20px;
border-radius: 0.5rem;
margin: 10px 0;
}
.input_container input {
padding: 10px;
flex: 1; /* Make the input take remaining space */
font-size: 1.2rem;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
border: none;
}
.input_container select {
width: 100%; /* Set the width to 100% */
padding: 12px;
font-size: 1.5rem;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
border: none;
}
.input_container span {
border-radius: 50%;
background-color: #f68b1e;
padding: 5px 10px;
}
#suggestion-box {
color: black;
position: absolute;
left: 0;
top: 100%;
max-height: 200px;
overflow-y: auto;
background-color: #f5f5f5;
border: 1px solid #ccc;
padding: 10px;
display: none;
z-index: 1;
}
.suggestion {
display: block;
margin-bottom: 5px;
padding: 5px 10px;
background-color: #fff;
border: 1px solid #ccc;
cursor: pointer;
}
.suggestion:hover {
background-color: #eee;
}
.prompt-container{
width: 70%;
display: none;
justify-content: space-around;
align-items: center;
margin: 10px auto;
}
#error, #select-prompt{
margin-top: 5px;
font-size: 1.5rem;
color: #fff;
}
#prompt{
display: none;
margin-top: 10px;
}
#prompt img{
width: 30px;
height: 30px;
}
#yes-button, #no-button {
padding: 8px 20px 5px;
margin: 0px 20px;
border: none;
cursor: pointer;
margin: 0;
border-radius: 5px;
}
#yes-button {
background-color: rgb(0, 128, 0);
}
#no-button {
background-color: rgb(255, 0, 0);
}
#audioPlayer {
display: none;
}
#micIcon {
width: 35px;
height: 35px;
cursor: pointer;
}
.progressBar{
display: none;
}
.update-progressMessage{
color: #fff;
background-color: #00000072;
padding: 5px 20px;
border-radius: 15px;
font-size: 25px;
text-align: left;
}
.combined-input {
position: relative;
display: inline-block;
}
.combined-input select {
position: absolute;
top: 0;
left: 0;
width: 200%; /* Set the width to 100% */
height: 100%;
opacity: 0;
align-self: auto;
}
input[type=text] {
width: max-content;
margin-right: 20px;
border-radius: 10px;
-webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
}
/* When the input field gets focus, change its width to 100% */
input[type=text]:focus {
width: 150%;
}
.active {
background-color: #000000;
border:2px solid white; /* This line sets the border color to white */
color: black;
padding: 16px 32px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
transition: 0.3s;
}
.active:hover {
background-color: #156cb9;
color: white;
}
.active {
border-radius: 5px;
}
.about, .qr , .command{
background-color: #000000;
border: 2px solid white;
color: black;
padding: 16px 44px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
transition: 0.3s;
}
.about:hover, .qr:hover, .command:hover {
background-color: #156cb9;
color: white;
}
.about, .qr, .command {
border-radius: 5px;
}
.tutorial, .info {
background-color: #000000;
border:2px solid white;
color: black;
padding: 16px 40px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
transition: 0.3s;
}
.info{
padding: 16px 13px;
}
.tutorial:hover, .info:hover {
background-color: #156cb9;
color: white;
}
.tutorial, .info {
border-radius: 5px;
}
.climatemap {
background-color: #000000;
border: 2px solid white;
color: black;
padding: 16px 34px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
transition: 0.3s;
}
.climatemap:hover {
background-color: #156cb9;
color: white;
}
.climatemap {
border-radius: 5px;
}
.sign-language-btn {
background-color: #0000007e;
border: 2px solid white;
color: rgb(255, 255, 255);
padding: 16px 32px;
text-align: center;
font-size: 20px;
margin: 4px 2px;
transition: 0.3s;
border-radius: 5px;
cursor: pointer;
position: relative;
overflow: hidden;
display: none; /* Initially hidden */
}
.video-container {
position: fixed;
top: 0px;
left: 90px;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}
#background-video {
width: 100%;
height: 100%;
object-fit: cover;
}
#myChart{
margin: 10px auto;
padding: 20px 40px;
background-color: rgba(0, 0, 0, 0.727);
}
.project-title{
font-size: 2.2rem;
margin: 10px auto 20px;
}
.project-container{
margin: 20px 0px;
}
.container-background li{
margin: 10px 0;
}
.project-container strong{
font-size: 1.5rem;
margin-bottom: 10px;
font-style: italic;
font-weight: normal;
}
.container-background{
margin: auto;
max-width: 60%;
text-align: left;
background-color: #000000a0;
padding: 5px 40px 30px;
border-radius: 15px;
margin-bottom: 30px;
display: flex;
justify-content: center;
align-items: flex-start;
}
.info-container{
width: 100%;
}
.most-common{
display: flex;
width: 100%;
margin: auto;
justify-content: space-evenly;
align-items: center;
}
.container {
margin: 20px;
display: flex;
justify-content: space-evenly;
align-items: center;
}
#itemDropdown{
background-color: #0000007e;
border: 2px solid white;
color: rgb(255, 255, 255);
padding: 16px 32px;
text-align: center;
font-size: 20px;
margin: 4px 2px;
border-radius: 5px;
cursor: pointer;
position: relative;
overflow: hidden;
width: 70%;
}
#itemDropdown option{
background-color: black;
border-left: 1px solid white;
}