Complete rebuild of the naming tool to use the new Dow Jones job naming convention: [OMGID] - [Domain]-[Subteam]-[Brand]-[Initiative]-[YY]-[Seq]_[AssetName]_v## - New convention with Domain, Subteam, Brand, Event, Initiative fields - Added builder.php: step-by-step job name builder and decoder - Decoder parses any job name back into components with full name lookups - Push from builder inserts as first row in bulk naming tool - Updated AI prompt with all valid abbreviations and convention rules - Updated README and help page with full reference tables Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
706 lines
No EOL
14 KiB
CSS
706 lines
No EOL
14 KiB
CSS
:root {
|
|
--bg-color: #FFFFFF;
|
|
--card-bg: #F7F7F7;
|
|
--text-primary: #000000;
|
|
--text-secondary: #666666;
|
|
--accent-color: #C4A962;
|
|
--accent-hover: #B39854;
|
|
--border-color: #DDDDDD;
|
|
--success-color: #2D7A2D;
|
|
--danger-color: #B52A2A;
|
|
--font-serif: Georgia, 'Times New Roman', serif;
|
|
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-sans);
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-serif);
|
|
font-weight: 300;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
text-transform: uppercase;
|
|
border-bottom: 3px solid var(--text-primary);
|
|
padding-bottom: 10px;
|
|
margin-bottom: 5px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
/* Layout */
|
|
.container {
|
|
max-width: 1600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* Command Bar */
|
|
.command-bar-container {
|
|
background: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
margin-bottom: 30px;
|
|
border: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
/* Allow wrapping on small screens */
|
|
gap: 20px;
|
|
align-items: center;
|
|
}
|
|
|
|
.input-group {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
gap: 10px;
|
|
align-items: center;
|
|
min-width: 300px;
|
|
}
|
|
|
|
#commandInput {
|
|
flex-grow: 1;
|
|
padding: 15px 20px;
|
|
background: var(--bg-color);
|
|
border: 2px solid var(--text-primary);
|
|
border-radius: 0;
|
|
color: var(--text-primary);
|
|
font-size: 1.1rem;
|
|
transition: all 0.2s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.btn-icon {
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 1.2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: var(--card-bg);
|
|
color: var(--accent-color);
|
|
border-color: var(--accent-color);
|
|
}
|
|
|
|
.btn-icon.listening {
|
|
color: #ef4444;
|
|
border-color: #ef4444;
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
|
|
}
|
|
|
|
70% {
|
|
box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
|
|
}
|
|
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
|
|
}
|
|
}
|
|
|
|
#commandInput:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
|
|
}
|
|
|
|
.btn {
|
|
padding: 10px 20px;
|
|
border-radius: 0;
|
|
border: 2px solid var(--text-primary);
|
|
background: transparent;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--text-primary);
|
|
color: var(--bg-color);
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--accent-color);
|
|
border-color: var(--accent-color);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--bg-color);
|
|
color: var(--text-primary);
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--card-bg);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: transparent;
|
|
color: var(--danger-color);
|
|
border-color: var(--danger-color);
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background: var(--danger-color);
|
|
color: white;
|
|
}
|
|
|
|
/* Toolbar */
|
|
.toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stats {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Table */
|
|
.table-container {
|
|
overflow-x: auto;
|
|
background: var(--card-bg);
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.9rem;
|
|
min-width: 1200px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
th {
|
|
background: #0f172a;
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.05em;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
tr:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
/* Inputs in table */
|
|
.cell-input {
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: var(--text-primary);
|
|
width: 100%;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.cell-input:focus {
|
|
background: #020617;
|
|
border-color: var(--accent-color);
|
|
outline: none;
|
|
}
|
|
|
|
.cell-select {
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: var(--text-primary);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
width: 100%;
|
|
}
|
|
|
|
.cell-select:focus {
|
|
background: #020617;
|
|
border-color: var(--accent-color);
|
|
outline: none;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.status-badge {
|
|
padding: 4px 8px;
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-todo {
|
|
background: rgba(148, 163, 184, 0.2);
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.status-booked {
|
|
background: rgba(56, 189, 248, 0.2);
|
|
color: #38bdf8;
|
|
}
|
|
|
|
.status-inprogress {
|
|
background: rgba(250, 204, 21, 0.2);
|
|
color: #facc15;
|
|
}
|
|
|
|
.status-done {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
color: #22c55e;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.animate-fade-in {
|
|
animation: fadeIn 0.3s ease-out forwards;
|
|
}
|
|
|
|
/* Loading Overlay */
|
|
#loadingOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
backdrop-filter: blur(4px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
#loadingOverlay.active {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 4px solid var(--border-color);
|
|
border-top-color: var(--accent-color);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Jspreadsheet Light Theme */
|
|
.jexcel_container {
|
|
background: var(--bg-color);
|
|
border: none !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.jexcel {
|
|
background-color: var(--bg-color) !important;
|
|
color: var(--text-primary) !important;
|
|
border-color: var(--border-color) !important;
|
|
font-family: var(--font-sans) !important;
|
|
}
|
|
|
|
.jexcel thead td {
|
|
background-color: var(--card-bg) !important;
|
|
color: var(--text-primary) !important;
|
|
border-color: var(--border-color) !important;
|
|
font-weight: 700;
|
|
padding: 12px 8px !important;
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.jexcel tbody td {
|
|
background-color: var(--bg-color) !important;
|
|
color: var(--text-primary) !important;
|
|
border-color: var(--border-color) !important;
|
|
border-width: 1px !important;
|
|
padding: 10px 8px !important;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.jexcel tbody tr:nth-child(even) td {
|
|
background-color: #FAFAFA !important;
|
|
}
|
|
|
|
.jexcel tbody td.readonly {
|
|
background-color: #F0F0F0 !important;
|
|
color: var(--text-secondary) !important;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Selection Highlighting */
|
|
.jexcel>tbody>tr>td.highlight {
|
|
background-color: #E8E8E8 !important;
|
|
border: 1px solid var(--accent-color) !important;
|
|
}
|
|
|
|
.jexcel>tbody>tr>td.selected {
|
|
background-color: #E0E0E0 !important;
|
|
color: var(--text-primary) !important;
|
|
border: 2px solid var(--accent-color) !important;
|
|
}
|
|
|
|
/* Dropdowns */
|
|
.jdropdown-container {
|
|
background-color: var(--bg-color) !important;
|
|
color: var(--text-primary) !important;
|
|
border: 1px solid var(--border-color) !important;
|
|
}
|
|
|
|
.jdropdown-item {
|
|
background-color: var(--bg-color) !important;
|
|
color: var(--text-primary) !important;
|
|
padding: 8px 12px !important;
|
|
}
|
|
|
|
.jdropdown-item:hover {
|
|
background-color: var(--accent-color) !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
.jcalendar {
|
|
background-color: var(--bg-color) !important;
|
|
color: var(--text-primary) !important;
|
|
border: 1px solid var(--border-color) !important;
|
|
}
|
|
|
|
.jcalendar .jcalendar-selected {
|
|
background-color: var(--accent-color) !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
/* Editor Input Styling */
|
|
.jexcel_editor {
|
|
background-color: var(--bg-color) !important;
|
|
color: var(--text-primary) !important;
|
|
font-family: var(--font-sans) !important;
|
|
font-size: 0.95rem !important;
|
|
border: 2px solid var(--accent-color) !important;
|
|
box-shadow: 0 0 0 2px rgba(196, 169, 98, 0.2) !important;
|
|
}
|
|
|
|
/* Ensure textareas/inputs inside jexcel inherit styles */
|
|
.jexcel textarea,
|
|
.jexcel input {
|
|
font-family: var(--font-sans) !important;
|
|
font-size: 0.95rem !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
/* Toggle Switch */
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 24px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 16px;
|
|
width: 16px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
input:checked+.slider {
|
|
background-color: #2196F3;
|
|
}
|
|
|
|
input:focus+.slider {
|
|
box-shadow: 0 0 1px #2196F3;
|
|
}
|
|
|
|
input:checked+.slider:before {
|
|
-webkit-transform: translateX(26px);
|
|
-ms-transform: translateX(26px);
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
/* Rounded sliders */
|
|
.slider.round {
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Quick Starters */
|
|
.quick-starters {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.starter-chip {
|
|
background-color: var(--bg-color);
|
|
border: 2px solid var(--text-primary);
|
|
color: var(--text-primary);
|
|
padding: 8px 16px;
|
|
border-radius: 0;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-family: var(--font-sans);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.starter-chip:hover {
|
|
background-color: var(--text-primary);
|
|
color: var(--bg-color);
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
/* AI Activity Log */
|
|
.ai-log {
|
|
margin-top: 20px;
|
|
background: #0f172a;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.ai-log-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.ai-log-header h4 {
|
|
margin: 0;
|
|
color: var(--accent-color);
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
#aiOutput {
|
|
background: #0a0a0a;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
font-family: var(--font-family);
|
|
font-size: 0.9rem;
|
|
color: #00ff00;
|
|
min-height: 150px;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
transition: max-height 0.3s ease, padding 0.3s ease;
|
|
}
|
|
|
|
#aiOutput.collapsed {
|
|
max-height: 0;
|
|
padding: 0 15px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.collapse-icon {
|
|
display: inline-block;
|
|
width: 20px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
/* AI Question Modal */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
backdrop-filter: blur(4px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 2000;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #1e293b;
|
|
border: 1px solid var(--accent-color);
|
|
border-radius: 12px;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
padding: 0;
|
|
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
|
|
transform: translateY(20px);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.modal-overlay.active .modal-content {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 15px 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 12px 12px 0 0;
|
|
}
|
|
|
|
.modal-header h3 {
|
|
margin: 0;
|
|
color: var(--accent-color);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.close-modal-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.close-modal-btn:hover {
|
|
color: white;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.ai-question-text {
|
|
font-size: 1.1rem;
|
|
line-height: 1.5;
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
color: white;
|
|
}
|
|
|
|
.modal-input-group {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#aiModalInput {
|
|
flex: 1;
|
|
padding: 12px;
|
|
background: #0f172a;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: white;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#aiModalInput:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color);
|
|
}
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.modal-actions .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
} |