Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
appatalks authored Jan 5, 2025
1 parent d9b5a3f commit fab0629
Showing 1 changed file with 39 additions and 44 deletions.
83 changes: 39 additions & 44 deletions core/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ------------------------------------------------------------
* Base Styles
* ------------------------------------------------------------- */
* * Base Styles
* * ------------------------------------------------------------- */
body {
font-family: Arial, sans-serif;
margin: 0; /* Remove default margins */
Expand Down Expand Up @@ -39,8 +39,8 @@ body {


/* ------------------------------------------------------------
* * Chat Output and Message Styling
* * --------------------------------------------------- */
* * * Chat Output and Message Styling
* * * --------------------------------------------------- */
#idContainer {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -137,19 +137,19 @@ body {
}

/* ------------------------------------------------------------
* Input Styling
* ------------------------------------------------------------- */
* * Input Styling
* * ------------------------------------------------------------- */

/* A flexible container that holds the text input + buttons side by side */
.chat-input-container {
display: flex;
align-items: center;
max-width: 760px; /* Match the width of #txtMsg you had before */
max-width: 760px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
margin-top: 1px;
padding: 5px; /* Inner spacing so text & buttons aren’t jammed together */
padding: 5px;
}

/* Let #txtMsg expand or shrink and fill available space */
Expand Down Expand Up @@ -211,8 +211,8 @@ body {
}

/* ------------------------------------------------------------
* Interactive Elements
* ------------------------------------------------------------- */
* * Interactive Elements
* * ------------------------------------------------------------- */
label,
select,
input[type="checkbox"],
Expand All @@ -230,8 +230,8 @@ button {
}

/* ------------------------------------------------------------
* Mic and Speak Button Positioning
* ------------------------------------------------------------- */
* * Mic and Speak Button Positioning
* * ------------------------------------------------------------- */
.container {
position: relative;
width: 40px;
Expand All @@ -247,7 +247,7 @@ button {
}

#audioPlayback {
display: block;
display: none;
margin: 10px 0;
width: 96%;
}
Expand All @@ -258,8 +258,8 @@ button {


/* ------------------------------------------------------------
* Additional Elements
* ------------------------------------------------------------- */
* * Additional Elements
* * ------------------------------------------------------------- */
select {
padding: 5px;
border-radius: 5px;
Expand Down Expand Up @@ -295,8 +295,8 @@ footer {
}

/* ------------------------------------------------------------
* Keyframes
* ------------------------------------------------------------- */
* * Keyframes
* * ------------------------------------------------------------- */
@keyframes pulse {
0% {
opacity: 1;
Expand All @@ -310,53 +310,48 @@ footer {
}

/* ------------------------------------------------------------
* Responsive Adjustments
* ------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
body {
background-size: cover; /* Set background-size to cover for mobile view */
height: auto; /* Adjust height for mobile */
background-color: blue;
}
* * Responsive Adjustments
* * ------------------------------------------------------------- */
// @media only screen and (max-width: 960px) {
@media only screen and (max-device-width: 960px) {

#idContainer {
width: 95%;
margin: 10px auto;
padding: 10px;
body {
background-size: cover;
height: auto;
background-color: red;
}

#txtMsg,
#txtOutput {
width: 100%;
height: auto;
}

.speakSend,
.mic-button {
width: 35px;
height: 35px;
}

.container {
width: 40px;
height: 40px;
display: flex;
gap: 10px; /* Space between buttons */
justify-content: center;
align-items: center;
gap: 0px; /* Space between buttons */
justify-content: right;
align-items: right;
margin-top: 20px;
}

.speakSend {
top: 60px;
right: 10px;
left: 600px;
bottom: 65px;
}

.mic-button {
top: 10px;
right: 10px;
width: 35px;
height: 35px;
top: 0px;
right: 0px;
}


label[for="imgInput"] {
display: absolute;
}

#settingsMenu {
position: fixed;
top: 60px; /* Adjust to push it below your header or other elements */
Expand Down

0 comments on commit fab0629

Please sign in to comment.