mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-09 19:29:34 +01:00
544 lines
No EOL
10 KiB
CSS
544 lines
No EOL
10 KiB
CSS
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: linear-gradient( 135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), #131516;
|
|
color: #cccccc;
|
|
backdrop-filter: blur(18px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(120%);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
/* keep footer at the bottom */
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
a {
|
|
color: #cccccc;
|
|
}
|
|
|
|
a:hover {
|
|
color: #9b4cda;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
a.no-link-color {
|
|
color: #cccccc;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: unset;
|
|
}
|
|
|
|
.email:hover {
|
|
color: black;
|
|
background-color: #9b4cda;
|
|
}
|
|
|
|
iframe {
|
|
/* background-color: #1D2021; */
|
|
background-color: white;
|
|
min-width: 75%;
|
|
max-width: 1500px;
|
|
min-height: 40vh;
|
|
margin: 2rem auto;
|
|
display: block;
|
|
border: none;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: .3rem solid #9b4dca;
|
|
}
|
|
|
|
blockquote.warning {
|
|
border-left: .3rem solid #ca5414;
|
|
}
|
|
|
|
text-muted {
|
|
color: gray;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center
|
|
}
|
|
|
|
.footer-two {
|
|
margin-top: -2rem
|
|
}
|
|
|
|
.action-links {
|
|
float: right;
|
|
justify-content: flex-end;
|
|
/* aligns all links to the right */
|
|
flex-wrap: nowrap;
|
|
/* ensures they stay in one line */
|
|
text-align: right;
|
|
}
|
|
|
|
.action-links a {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
border-radius: 15px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
transition: all 0.3s ease;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
backdrop-filter: blur(10px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
text-decoration: none;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.action-links a::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
|
|
transition: left 0.5s;
|
|
}
|
|
|
|
.action-links a:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.action-links a:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(155, 77, 202, 0.4);
|
|
border-color: rgba(155, 77, 202, 0.3);
|
|
text-decoration: none;
|
|
color: #ffffff;
|
|
}
|
|
|
|
|
|
/* Reset apple form styles */
|
|
|
|
input,
|
|
textarea,
|
|
select,
|
|
select:active,
|
|
select:focus,
|
|
select:hover {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
border-radius: 0;
|
|
background-image: none;
|
|
}
|
|
|
|
#login {
|
|
padding-top: 15vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 600px;
|
|
margin: auto;
|
|
background: linear-gradient( 135deg, rgba(155, 77, 202, 0.12), rgba(155, 77, 202, 0.04)), rgba(255, 255, 255, 0.04);
|
|
backdrop-filter: blur(20px) saturate(125%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(125%);
|
|
border-radius: 22px;
|
|
border: 1px solid rgba(155, 77, 202, 0.25);
|
|
padding: 40px 36px;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(155, 77, 202, 0.08) inset;
|
|
}
|
|
|
|
#login h1,
|
|
#login h4 {
|
|
text-align: center;
|
|
}
|
|
|
|
#login h4 {
|
|
margin-bottom: 6rem;
|
|
}
|
|
|
|
#login fieldset {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#login fieldset label {
|
|
position: relative;
|
|
top: 12px;
|
|
left: 12px;
|
|
width: fit-content;
|
|
line-height: 1;
|
|
padding: 0 6px;
|
|
font-size: 1.4rem;
|
|
background: linear-gradient( 135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), #131516;
|
|
z-index: 999;
|
|
}
|
|
|
|
#login input[type="text"],
|
|
#login select {
|
|
border-radius: 0.4rem;
|
|
color: #cccccc;
|
|
font-size: 1.6rem;
|
|
height: 4.2rem;
|
|
padding: 0 1.4rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#login select option {
|
|
background-color: #131516;
|
|
color: #cccccc;
|
|
}
|
|
|
|
#login .dropdown {
|
|
position: relative;
|
|
border-radius: 0.4rem;
|
|
}
|
|
|
|
#login .dropdown::before {
|
|
position: absolute;
|
|
content: "\2193";
|
|
top: 15%;
|
|
right: 12px;
|
|
}
|
|
|
|
#login .buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
/* keeps them aligned right like action-links */
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
#login .buttons>* {
|
|
flex: 1 1 auto;
|
|
min-width: 120px;
|
|
border-radius: 20px;
|
|
color: #fff;
|
|
background: rgba(155, 77, 202, 0.2);
|
|
border: 1px solid rgba(155, 77, 202, 0.35);
|
|
backdrop-filter: blur(12px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(12px) saturate(120%);
|
|
box-shadow: 0 8px 20px rgba(155, 77, 202, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
cursor: pointer;
|
|
transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
#login .buttons>*:hover {
|
|
background: rgba(155, 77, 202, 0.3);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 25px rgba(155, 77, 202, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.mail_attachments {
|
|
width: 80%;
|
|
padding-left: 10%
|
|
}
|
|
|
|
label {
|
|
display: inline;
|
|
}
|
|
|
|
|
|
/* Modern Inbox Styles */
|
|
|
|
.inbox-container {
|
|
min-width: 75%;
|
|
max-width: 1500px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.inbox-header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.inbox-title {
|
|
background: linear-gradient(135deg, #9b4dca, #b366e6, #6c5ce7);
|
|
font-size: 2.8rem;
|
|
font-weight: 300;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
margin: 0;
|
|
text-shadow: 0 2px 10px rgba(155, 77, 202, 0.3);
|
|
}
|
|
|
|
.emails-container {
|
|
padding-top: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
max-height: 62vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background: transparent;
|
|
border: 2px solid rgba(155, 77, 202, 0.3);
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
/* Hide scrollbar */
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.emails-container::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.email-link {
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
display: block;
|
|
}
|
|
|
|
.email-link:hover {
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.email-card {
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 24px;
|
|
transition: all 0.4s ease;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.email-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.email-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.email-card:hover {
|
|
box-shadow: 0 15px 50px rgba(155, 77, 202, 0.15);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.email-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.email-sender {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.sender-name {
|
|
font-weight: 600;
|
|
font-size: 1.35rem;
|
|
color: #ffffff;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.sender-email {
|
|
font-size: 1rem;
|
|
color: #888;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.email-date {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
white-space: nowrap;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.email-subject {
|
|
font-size: 1.25rem;
|
|
color: #e0e0e0;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 400px;
|
|
}
|
|
|
|
.empty-card {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 50px;
|
|
text-align: center;
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
|
|
max-width: 400px;
|
|
}
|
|
|
|
.empty-card h3 {
|
|
color: #9b4dca;
|
|
margin-bottom: 20px;
|
|
font-weight: 400;
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
.empty-card p {
|
|
color: #888;
|
|
font-size: 1.3rem;
|
|
opacity: 0.9;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
|
|
/* Modern Mail View Styles */
|
|
|
|
.mail-container {
|
|
min-width: 75%;
|
|
max-width: 1500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.mail-header {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 30px;
|
|
margin-bottom: 30px;
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.mail-subject {
|
|
font-size: 2.2rem;
|
|
font-weight: 300;
|
|
margin: 0 0 20px 0;
|
|
color: #ffffff;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.mail-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.mail-from {
|
|
font-size: 1.5rem;
|
|
color: #b366e6;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mail-date {
|
|
font-size: 1.4rem;
|
|
color: #888;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.mail-content {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
backdrop-filter: blur(15px);
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding: 30px;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.mail-html-content iframe {
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
width: 100%;
|
|
min-height: 40vh;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.mail-text-content {
|
|
color: #e0e0e0;
|
|
line-height: 1.6;
|
|
font-size: 1rem;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.mail-empty-content {
|
|
text-align: center;
|
|
color: #888;
|
|
font-style: italic;
|
|
padding: 40px;
|
|
}
|
|
|
|
.mail-attachments {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 25px;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.mail-attachments h4 {
|
|
color: #9b4dca;
|
|
margin: 0 0 20px 0;
|
|
font-weight: 400;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.attachments-list {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.attachment-link {
|
|
color: #b366e6;
|
|
text-decoration: none;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
background: rgba(155, 77, 202, 0.1);
|
|
border: 1px solid rgba(155, 77, 202, 0.2);
|
|
transition: all 0.3s ease;
|
|
display: inline-block;
|
|
max-width: fit-content;
|
|
}
|
|
|
|
.attachment-link:hover {
|
|
background: rgba(155, 77, 202, 0.15);
|
|
border-color: rgba(155, 77, 202, 0.3);
|
|
transform: translateX(5px);
|
|
text-decoration: none;
|
|
} |