starface-outlook-sync-addin/src/taskpane/styles/taskpane.css

260 lines
3.6 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 14px;
color: #323130;
background: #faf9f8;
}
.app-container {
max-width: 600px;
margin: 0 auto;
padding: 0;
}
.app-header {
background: linear-gradient(135deg, #0078d4, #005a9e);
color: white;
padding: 16px 20px;
position: sticky;
top: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
}
.app-header h1 {
font-size: 18px;
font-weight: 600;
margin: 0;
}
.header-info-btn {
color: white !important;
background: transparent !important;
}
.header-info-btn:hover {
background: rgba(255, 255, 255, 0.15) !important;
}
/* About Dialog */
.about-modal {
max-width: 360px;
border-radius: 8px;
}
.about-dialog {
padding: 0;
}
.about-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px 8px;
}
.about-close-btn {
color: #605e5c !important;
}
.about-content {
padding: 0 20px 24px;
text-align: center;
}
.about-logo {
padding: 16px 0;
}
.about-product-name {
font-weight: 700 !important;
color: #0078d4 !important;
display: block;
}
.about-version {
color: #605e5c !important;
display: block;
margin-top: 4px;
}
.about-divider {
height: 1px;
background: #edebe9;
margin: 16px 0;
}
.about-company {
margin-bottom: 12px;
}
.about-company-name {
font-weight: 700 !important;
}
.about-company-sub {
color: #605e5c !important;
}
.about-address {
color: #605e5c;
line-height: 1.6;
}
.app-main {
padding: 16px 20px;
}
/* Profile List */
.profile-list {
animation: fadeIn 0.2s ease;
}
.profile-card {
background: white;
border: 1px solid #edebe9;
border-radius: 4px;
padding: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
transition: box-shadow 0.15s;
}
.profile-card:hover {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.profile-name {
font-weight: 600;
}
.profile-details {
background: #f3f2f1;
border-radius: 4px;
padding: 10px 12px;
}
.profile-details .ms-Text {
margin-bottom: 2px;
}
.delete-btn {
color: #a4262c !important;
}
.delete-btn:hover {
background: #fde7e9 !important;
}
/* Profile Editor */
.profile-editor {
animation: fadeIn 0.2s ease;
}
.section-title {
font-weight: 600;
margin-top: 8px;
padding-top: 12px;
border-top: 1px solid #edebe9;
}
/* Sync View */
.sync-view {
animation: fadeIn 0.2s ease;
}
.sync-info {
background: #f3f2f1;
border-radius: 4px;
padding: 12px;
}
.sync-log {
background: #1e1e1e;
color: #d4d4d4;
border-radius: 4px;
padding: 12px;
max-height: 250px;
overflow-y: auto;
font-family: "Cascadia Code", "Consolas", monospace;
font-size: 12px;
}
.log-line {
padding: 1px 0;
font-family: inherit !important;
color: #d4d4d4 !important;
}
.sync-result {
margin-top: 8px;
}
.result-stats {
background: white;
border: 1px solid #edebe9;
border-radius: 4px;
padding: 16px;
margin: 12px 0;
text-align: center;
}
.stat {
text-align: center;
}
.stat-number {
color: #0078d4;
font-weight: 700;
display: block;
}
.error-list {
margin: 12px 0;
}
.error-item {
margin-top: 4px;
}
.result-actions {
margin-top: 12px;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #c8c6c4;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #a19f9d;
}