pimco-charts/app/static/style.css
Vadym Samoilenko af2a020696 Add Azure AD SSO (MSAL/PKCE) and Docker deployment
- Azure AD authentication via MSAL PublicClientApplication with PKCE flow
- Session middleware, auth middleware, login/callback/logout routes
- Dockerfile, docker-compose.yml for port 8569, output volume
- Idempotent deploy.sh with static file copy and health wait
- User nav bar in base template with Sign Out link

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 14:56:07 +00:00

338 lines
5.3 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background: #f5f5f5;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 40px 20px;
}
header {
margin-bottom: 40px;
}
.header-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.user-nav {
display: flex;
align-items: center;
gap: 12px;
padding-top: 4px;
font-size: 0.9rem;
}
.user-name {
color: #555;
}
.sign-out-link {
color: #003D5C;
text-decoration: none;
border: 1px solid #003D5C;
padding: 3px 10px;
border-radius: 3px;
font-size: 0.85rem;
}
.sign-out-link:hover {
background: #003D5C;
color: #fff;
}
header h1 {
font-family: 'Roboto Condensed', sans-serif;
font-size: 2rem;
color: #003D5C;
margin-bottom: 4px;
}
header .subtitle {
color: #666;
font-size: 1rem;
}
.upload-form {
background: #fff;
border-radius: 8px;
padding: 32px;
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
margin-bottom: 32px;
}
.form-group {
margin-bottom: 24px;
}
.form-group.inline {
display: flex;
gap: 24px;
}
.form-group.inline > div {
flex: 1;
}
label {
display: block;
font-weight: 500;
margin-bottom: 6px;
font-size: 0.9rem;
}
.optional {
font-weight: 300;
color: #999;
}
input[type="file"],
input[type="text"],
input[type="number"],
textarea {
width: 100%;
padding: 10px 14px;
border: 1px solid #ddd;
border-radius: 4px;
font-family: 'Roboto', sans-serif;
font-size: 0.95rem;
transition: border-color 0.2s;
}
input:focus,
textarea:focus {
outline: none;
border-color: #003D5C;
}
textarea {
resize: vertical;
}
.btn {
display: inline-block;
padding: 12px 32px;
background: #003D5C;
color: #fff;
border: none;
border-radius: 4px;
font-family: 'Roboto Condensed', sans-serif;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s;
text-decoration: none;
}
.btn:hover {
background: #005580;
}
.btn-download {
background: #5A6B28;
}
.btn-download:hover {
background: #6d8030;
}
/* Loading indicator */
.htmx-indicator {
display: none;
text-align: center;
padding: 40px;
color: #666;
}
.htmx-indicator.htmx-request {
display: block;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid #ddd;
border-top-color: #003D5C;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin: 0 auto 16px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Preview */
.preview-container {
background: #fff;
border-radius: 8px;
padding: 24px;
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.preview-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.preview-header h2 {
font-family: 'Roboto Condensed', sans-serif;
color: #003D5C;
}
.svg-preview {
border: 1px solid #eee;
border-radius: 4px;
overflow: auto;
background: #fff;
}
.svg-preview svg {
width: 100%;
height: auto;
}
.spec-details {
margin-top: 8px;
}
.spec-details summary {
cursor: pointer;
color: #003D5C;
font-size: 0.85rem;
}
.spec-details pre {
margin-top: 8px;
padding: 12px;
background: #f8f8f8;
border-radius: 4px;
font-size: 0.8rem;
max-height: 400px;
overflow: auto;
white-space: pre-wrap;
}
.error {
background: #fff5f5;
border: 1px solid #ffcccc;
border-radius: 8px;
padding: 20px;
color: #cc0000;
}
/* Refinement section */
.refine-section {
margin-top: 24px;
border-top: 1px solid #eee;
padding-top: 20px;
}
.history {
max-height: 200px;
overflow-y: auto;
margin-bottom: 16px;
padding: 12px;
background: #fafafa;
border-radius: 6px;
}
.history-entry {
margin-bottom: 8px;
font-size: 0.88rem;
line-height: 1.5;
}
.history-entry:last-child {
margin-bottom: 0;
}
.history-role {
font-weight: 500;
margin-right: 6px;
}
.history-entry.user .history-role {
color: #003D5C;
}
.history-entry.user .history-role::after {
content: ":";
}
.history-entry.assistant .history-role {
color: #5A6B28;
}
.history-entry.assistant .history-role::after {
content: ":";
}
.history-entry.assistant .history-message {
color: #666;
font-style: italic;
}
.refine-form {
display: flex;
gap: 12px;
align-items: stretch;
}
.refine-input {
flex: 1;
padding: 12px 16px !important;
border: 2px solid #ddd !important;
border-radius: 6px !important;
font-size: 0.95rem !important;
transition: border-color 0.2s;
}
.refine-input:focus {
border-color: #003D5C !important;
}
.refine-input::placeholder {
color: #aaa;
}
.btn-refine {
padding: 12px 28px;
white-space: nowrap;
background: #003D5C;
border-radius: 6px;
}
.refine-loading {
padding: 12px !important;
display: none;
align-items: center;
justify-content: center;
gap: 10px;
}
.refine-loading.htmx-request {
display: flex !important;
}
.spinner-small {
width: 20px;
height: 20px;
border: 2px solid #ddd;
border-top-color: #003D5C;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}