Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend Changes #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
206 changes: 167 additions & 39 deletions src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@

html {
--bg: #efefef;
--fg: #1e1e1e;
--fg: #112d4e;
--gray: #555;
--light-gray: #ccc;
--shadow: #e6e6e6;
--success: rgb(90, 206, 132);
--primary: #FF585D;
--secondary: #0072CE;
--primary: #ff585d;
--secondary: #0072ce;

background-color: var(--bg);
color: var(--fg);
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,
Arial, sans-serif;
font-size: calc(0.9em + 0.5vw);
line-height: 1.3;
}

body {
margin: 0;
padding: 1em;
padding: 2em 10em;
}

main {
Expand All @@ -30,26 +31,31 @@ main {
}

.header {
background-color: #00FF53;
padding: 5px;
background-color: rgb(0, 149, 248);
padding: 20px 30px;
border-bottom: solid 1px #cccccc;
color: black;
color: white;
}

.header span {
font-weight: 500;
}

.footer {
background-color: blanchedalmond(248, 225, 194);
/* background-color: blanchedalmond(248, 225, 194); */
background: rgb(0, 149, 248);
padding: 5px;
border-top: solid 1px #cccccc;
color: black;
}

.main-body {
color: black;
}

.sms-link {
color: black;
text-decoration: underline;
font-size: medium;
color: white;
text-decoration: none;
}

h1 {
Expand All @@ -66,19 +72,21 @@ a,
.link {
color: var(--primary);
text-decoration: none;
margin-left: 10px;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
text-decoration: underline;
text-decoration: none;
}
a:active,
.link:active {
color: var(--secondary);
}

button, input {
button,
input {
font: inherit;
outline: none;
}
Expand All @@ -92,7 +100,8 @@ button {
padding: 0.3em 0.75em;
transition: transform 30ms;
}
button:hover, button:focus {
button:hover,
button:focus {
box-shadow: 0 0 10em rgba(255, 255, 255, 0.2) inset;
}
button:active {
Expand All @@ -104,7 +113,8 @@ button.link {
box-shadow: none;
display: inline;
}
[disabled] button, button[disabled] {
[disabled] button,
button[disabled] {
box-shadow: none;
background-color: var(--light-gray);
color: gray;
Expand All @@ -130,8 +140,12 @@ button.link {
right: 0.5em;
}
@keyframes loader {
0% { transform: rotate(0deg) }
100% { transform: rotate(360deg) }
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

fieldset {
Expand Down Expand Up @@ -205,10 +219,18 @@ aside footer *:last-child {
color: var(--gray);
}
@keyframes notify {
0% { transform: translateY(10em) }
5% { transform: translateY(0) }
95% { transform: translateY(0) }
100% { transform: translateY(10em) }
0% {
transform: translateY(10em);
}
5% {
transform: translateY(0);
}
95% {
transform: translateY(0);
}
100% {
transform: translateY(10em);
}
}

@media (prefers-color-scheme: dark) {
Expand All @@ -228,31 +250,31 @@ aside footer *:last-child {
}

.msgItem0 {
background-color: beige;
padding: 5px;
border: 1px solid #ccc;
word-wrap: break-word;
background-color: beige;
padding: 5px;
border: 1px solid #ccc;
word-wrap: break-word;
}

.msgItem1 {
background-color: azure;
padding: 5px;
border: 1px solid #ccc;
word-wrap: break-word;
background-color: azure;
padding: 5px;
border: 1px solid #ccc;
word-wrap: break-word;
}

.seperatorInMessage {
background-color:#cccccc;
width:100%;
height:1px;
margin-top:5px;
margin-bottom:5px
background-color: #cccccc;
width: 100%;
height: 1px;
margin-top: 5px;
margin-bottom: 5px;
}

.originMessage {
padding: 10px;
margin-left: 10px;
font-size: smaller;
padding: 10px;
margin-left: 10px;
font-size: smaller;
}

.div-column1 {
Expand All @@ -267,9 +289,115 @@ aside footer *:last-child {
height: 100%;
}

/* MINIMUM HEIGHT IT TAKE WHEN NOTHING IS SELECTED */
.div-row {
min-height: 300px;
}

/* Clear floats after the columns */
.div-row:after {
content: "";
display: table;
clear: both;
}
}

.compose-btn {
padding: 0px;
color: white;
background-color: #7983ff;
padding: 5px;
width: 100%;
}

.signout-btn {
text-decoration: none;
background: #03045e;
padding: 8px;
border-radius: 8px;
color: white;
font-size: smaller;
}

/* Input Box CSS */
.input-box {
display: flex;
align-items: center;
min-width: 300px;
width: 100%;
background: #fff;
border: 1px solid #a0a0a0;
border-radius: 4px;
padding-left: 0.5rem;
overflow: hidden;
font-family: sans-serif;
}

.input-box .prefix {
font-weight: 300;
font-size: 14px;
color: #999;
}

.input-box input {
flex-grow: 1;
font-size: 14px;
background: #fff;
border: none;
outline: none;
padding: 0.5rem;
}

.input-box:focus-within {
border-color: rgb(0, 149, 248);
border-width: 2px;
}

.image-inputBox {
margin-top: 4px;
height: 20px;
width: auto;
}

.checkbox-payment {
margin-right: 50px;
}

.checkbox-input {
margin-top: 5px;
width: 20px;
height: 20px;
}

/* MOUSE POINTER TRACKING CSS */
.mouse-cursor-gradient-tracking {
position: relative;
background: #7983ff;
padding: 0.5rem 1rem;
font-size: 1.2rem;
border: none;
color: white;
cursor: pointer;
outline: none;
overflow: hidden;
}

.mouse-cursor-gradient-tracking span {
position: relative;
}

.mouse-cursor-gradient-tracking:before {
--size: 0;
content: "";
position: absolute;
left: var(--x);
top: var(--y);
width: var(--size);
height: var(--size);
background: radial-gradient(circle closest-side, pink, transparent);
transform: translate(-50%, -50%);
transition: width 0.2s ease, height 0.2s ease;
}

.mouse-cursor-gradient-tracking:hover:before {
--size: 200px;
}
Loading