add office 365 mail console
This commit is contained in:
295
public/styles.css
Normal file
295
public/styles.css
Normal file
@@ -0,0 +1,295 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--bg: #07111f;
|
||||
--panel: rgba(9, 20, 38, 0.88);
|
||||
--panel-strong: rgba(12, 28, 52, 0.96);
|
||||
--line: rgba(154, 180, 220, 0.18);
|
||||
--text: #eef4ff;
|
||||
--muted: #94a6c4;
|
||||
--accent: #6ee7ff;
|
||||
--accent-strong: #3ba9ff;
|
||||
--warning: #ffcf66;
|
||||
--danger: #ff8e8e;
|
||||
--shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
|
||||
font-family: Inter, "Segoe UI", system-ui, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(59, 169, 255, 0.2), transparent 24%),
|
||||
radial-gradient(circle at bottom right, rgba(110, 231, 255, 0.12), transparent 28%),
|
||||
linear-gradient(180deg, #06101d 0%, #09172c 100%);
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
grid-template-columns: 360px minmax(0, 1fr);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.sidebar,
|
||||
.content {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
border-right: 1px solid var(--line);
|
||||
background: rgba(7, 17, 31, 0.72);
|
||||
backdrop-filter: blur(18px);
|
||||
}
|
||||
|
||||
.sidebar-header h1,
|
||||
.panel h2,
|
||||
.mail-card h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sidebar-copy,
|
||||
.muted,
|
||||
.label,
|
||||
.user-address,
|
||||
.user-meta,
|
||||
.user-empty,
|
||||
.status,
|
||||
.empty-block p {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 8px;
|
||||
color: var(--accent);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.12em;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.search-box {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin: 24px 0 16px;
|
||||
}
|
||||
|
||||
.search-box input,
|
||||
button {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
color: var(--text);
|
||||
background: rgba(15, 28, 51, 0.8);
|
||||
}
|
||||
|
||||
.search-box input {
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
padding: 11px 14px;
|
||||
transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
button:hover:not(:disabled) {
|
||||
border-color: rgba(110, 231, 255, 0.5);
|
||||
background: rgba(18, 38, 68, 0.92);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.list-meta,
|
||||
.panel-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.user-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin-top: 14px;
|
||||
max-height: calc(100vh - 245px);
|
||||
overflow: auto;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.user-item,
|
||||
.panel,
|
||||
.mail-card {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 20px;
|
||||
background: var(--panel);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.user-item {
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.user-item.active {
|
||||
border-color: rgba(110, 231, 255, 0.55);
|
||||
background: linear-gradient(180deg, rgba(19, 39, 71, 0.96), rgba(11, 24, 45, 0.96));
|
||||
}
|
||||
|
||||
.user-name {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.user-address,
|
||||
.user-meta,
|
||||
.label {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.panel {
|
||||
width: 100%;
|
||||
padding: 28px;
|
||||
background: var(--panel-strong);
|
||||
}
|
||||
|
||||
.panel-intro {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
min-height: calc(100vh - 48px);
|
||||
}
|
||||
|
||||
.status {
|
||||
margin: 20px 0;
|
||||
padding: 12px 14px;
|
||||
border-radius: 14px;
|
||||
border: 1px solid var(--line);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.status.loading {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.status.warning {
|
||||
color: var(--warning);
|
||||
}
|
||||
|
||||
.status.neutral {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mail-card {
|
||||
margin-top: 20px;
|
||||
padding: 22px;
|
||||
}
|
||||
|
||||
.mail-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
margin-bottom: 16px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.mail-summary p,
|
||||
.preview-block pre,
|
||||
.empty-block h3,
|
||||
.empty-block p {
|
||||
margin: 6px 0 0;
|
||||
}
|
||||
|
||||
.preview-block {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.preview-block pre {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
line-height: 1.6;
|
||||
color: #dce7ff;
|
||||
}
|
||||
|
||||
.mail-body-frame {
|
||||
width: 100%;
|
||||
min-height: 720px;
|
||||
margin-top: 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.mono {
|
||||
font-family: "SFMono-Regular", Consolas, monospace;
|
||||
}
|
||||
|
||||
.empty-block {
|
||||
margin-top: 20px;
|
||||
padding: 24px;
|
||||
border: 1px dashed var(--line);
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.app-shell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.user-list {
|
||||
max-height: 320px;
|
||||
}
|
||||
|
||||
.panel-intro {
|
||||
min-height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.sidebar,
|
||||
.content {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.mail-summary {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.panel-header,
|
||||
.list-meta {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user