- Display user email in top right of header bar - Update header layout with flexbox - Show email in yellow (#FFC407) color - Always visible regardless of SSO mode 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
494 lines
7.9 KiB
CSS
494 lines
7.9 KiB
CSS
/**
|
|
* L'Oréal Box Asset Submission Form - Styles
|
|
* Colors: Black (#000000) and Yellow (#FFC407)
|
|
* Font: Montserrat
|
|
*/
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Montserrat', sans-serif;
|
|
background-color: #000000;
|
|
padding: 20px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Page Header */
|
|
.page-header {
|
|
padding: 20px 40px;
|
|
background-color: #ffffff;
|
|
border-radius: 10px;
|
|
margin-bottom: 30px;
|
|
box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3);
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.page-header h1 {
|
|
color: #000000;
|
|
font-weight: 700;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.user-info {
|
|
color: #000000;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.user-info span {
|
|
color: #FFC407;
|
|
}
|
|
|
|
/* Main Container - Two Column Layout */
|
|
.main-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Form Column */
|
|
.form-column {
|
|
background-color: #ffffff;
|
|
padding: 40px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
color: #000000;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Input with Button Layout */
|
|
.input-with-button {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
input[type="date"],
|
|
input[type="text"] {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 2px solid #FFC407;
|
|
border-radius: 5px;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 14px;
|
|
color: #000000;
|
|
background-color: #ffffff;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
input[type="date"]:focus,
|
|
input[type="text"]:focus {
|
|
outline: none;
|
|
border-color: #000000;
|
|
}
|
|
|
|
/* Lookup Button */
|
|
.lookup-btn {
|
|
padding: 12px 24px;
|
|
background-color: #000000;
|
|
color: #FFC407;
|
|
border: 2px solid #FFC407;
|
|
border-radius: 5px;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
white-space: nowrap;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.lookup-btn:hover:not(:disabled) {
|
|
background-color: #FFC407;
|
|
color: #000000;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.lookup-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
input.validating {
|
|
border-color: #FFC407;
|
|
animation: pulse 1s infinite;
|
|
}
|
|
|
|
input.valid {
|
|
border-color: #4CAF50;
|
|
}
|
|
|
|
input.invalid {
|
|
border-color: #ff4444;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
|
|
/* Validation Message */
|
|
.validation-message {
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.validation-message.loading {
|
|
color: #FFC407;
|
|
}
|
|
|
|
.validation-message.success {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.validation-message.error {
|
|
color: #ff4444;
|
|
}
|
|
|
|
/* Submit Button */
|
|
.submit-btn {
|
|
width: 100%;
|
|
padding: 14px;
|
|
background-color: #FFC407;
|
|
color: #000000;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.submit-btn:hover:not(:disabled) {
|
|
background-color: #000000;
|
|
color: #FFC407;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(255, 196, 7, 0.4);
|
|
}
|
|
|
|
.submit-btn:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.submit-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Message Alert */
|
|
.message {
|
|
margin-top: 20px;
|
|
padding: 12px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
display: none;
|
|
}
|
|
|
|
.message.success {
|
|
background-color: #FFC407;
|
|
color: #000000;
|
|
}
|
|
|
|
.message.error {
|
|
background-color: #ff4444;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Preview Column */
|
|
.preview-column {
|
|
background-color: #ffffff;
|
|
padding: 40px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3);
|
|
}
|
|
|
|
.preview-container {
|
|
min-height: 400px;
|
|
}
|
|
|
|
.preview-placeholder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 400px;
|
|
color: #999;
|
|
text-align: center;
|
|
}
|
|
|
|
.preview-placeholder svg {
|
|
margin-bottom: 20px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.preview-placeholder p {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Preview Content */
|
|
.preview-content {
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.preview-header {
|
|
border-bottom: 2px solid #FFC407;
|
|
padding-bottom: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.preview-header h2 {
|
|
color: #000000;
|
|
font-size: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.preview-info {
|
|
background-color: #f9f9f9;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
margin-bottom: 10px;
|
|
border-left: 4px solid #FFC407;
|
|
}
|
|
|
|
.preview-info-label {
|
|
font-size: 12px;
|
|
color: #666;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.preview-info-value {
|
|
font-size: 16px;
|
|
color: #000000;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.preview-section {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.preview-section h3 {
|
|
color: #000000;
|
|
font-size: 16px;
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.preview-section h3::before {
|
|
content: '';
|
|
width: 4px;
|
|
height: 16px;
|
|
background-color: #FFC407;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.contents-summary {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.summary-item {
|
|
flex: 1;
|
|
background-color: #f9f9f9;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.summary-count {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: #FFC407;
|
|
}
|
|
|
|
.summary-label {
|
|
font-size: 12px;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.items-list {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.item {
|
|
padding: 10px;
|
|
border-bottom: 1px solid #eee;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.item-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.item-name {
|
|
flex: 1;
|
|
color: #000000;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.item-type {
|
|
font-size: 11px;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Nested Folder Styles */
|
|
.nested-items {
|
|
padding: 0;
|
|
}
|
|
|
|
.folder-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
background-color: #f9f9f9;
|
|
border-left: 3px solid #FFC407;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.folder-toggle {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
font-size: 12px;
|
|
color: #FFC407;
|
|
transition: transform 0.2s ease;
|
|
min-width: 20px;
|
|
}
|
|
|
|
.folder-toggle:hover {
|
|
color: #000000;
|
|
}
|
|
|
|
.toggle-icon {
|
|
display: inline-block;
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.folder-spacer {
|
|
display: inline-block;
|
|
width: 20px;
|
|
}
|
|
|
|
.folder-contents {
|
|
animation: slideDown 0.2s ease;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
max-height: 1000px;
|
|
}
|
|
}
|
|
|
|
.empty-message {
|
|
text-align: center;
|
|
color: #999;
|
|
padding: 20px;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Loading Spinner */
|
|
.loading-spinner {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid #FFC407;
|
|
border-top-color: transparent;
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 1024px) {
|
|
.main-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.preview-column {
|
|
order: -1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.page-header {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.form-column,
|
|
.preview-column {
|
|
padding: 20px;
|
|
}
|
|
}
|