Files
game-library/static/style.css
Marius Mutu fd87ebca03 Initial commit: Organize project structure
- Create organized directory structure (src/, docs/, data/, static/, templates/)
- Add comprehensive .gitignore for Python projects
- Move Python source files to src/
- Move documentation files to docs/ with project/ and user/ subdirectories
- Move database files to data/
- Update all database path references in Python code
- Maintain Flask static/ and templates/ directories

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 00:40:39 +03:00

811 lines
13 KiB
CSS

/* INDEX-SISTEM-JOCURI - CSS Styles
Matching interfata-web.jpg mockup exactly */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* FILTERS HEADER - Matching the orange section in mockup */
.filters-header {
background: linear-gradient(135deg, #ff7b54 0%, #ff6b35 100%);
padding: 20px;
border-radius: 10px 10px 0 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.filters-row {
display: flex;
gap: 15px;
margin-bottom: 15px;
flex-wrap: wrap;
}
.filter-select {
flex: 1;
min-width: 200px;
padding: 12px 15px;
border: none;
border-radius: 5px;
background: white;
color: #333;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
}
.filter-select:hover {
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transform: translateY(-1px);
}
.filter-select:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}
/* Search section */
.search-section {
display: flex;
gap: 15px;
align-items: center;
margin-top: 10px;
flex-wrap: wrap;
}
.search-input {
flex: 1;
min-width: 300px;
padding: 12px 15px;
border: none;
border-radius: 5px;
font-size: 16px;
background: white;
}
.search-input::placeholder {
color: #999;
font-style: italic;
}
.btn-aplica, .btn-reseteaza {
padding: 12px 25px;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-aplica {
background: #28a745;
color: white;
}
.btn-aplica:hover {
background: #218838;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}
.btn-reseteaza {
background: #6c757d;
color: white;
}
.btn-reseteaza:hover {
background: #545b62;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(108,117,125,0.3);
}
/* BRANDING SECTION */
.branding {
background: rgba(0,0,0,0.8);
color: white;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.branding .initiative,
.branding .support {
display: flex;
align-items: center;
gap: 10px;
}
.brand-logo {
height: 30px;
width: auto;
}
.brand-text {
font-weight: bold;
color: #00d4ff;
}
/* WELCOME SECTION */
.welcome-section {
background: white;
padding: 40px 20px;
border-radius: 0 0 10px 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
text-align: center;
}
.welcome-section h1 {
font-size: 2.5em;
margin-bottom: 10px;
color: #333;
}
.subtitle {
font-size: 1.2em;
color: #666;
margin-bottom: 20px;
}
.description {
font-size: 1.1em;
color: #555;
max-width: 800px;
margin: 0 auto 30px;
}
/* STATISTICS */
.stats-container {
display: flex;
justify-content: center;
gap: 40px;
margin: 30px 0;
flex-wrap: wrap;
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-size: 2.5em;
font-weight: bold;
color: #667eea;
}
.stat-label {
color: #666;
font-size: 0.9em;
}
/* QUICK START */
.quick-start {
margin-top: 40px;
}
.quick-start h3 {
margin-bottom: 15px;
color: #333;
}
.quick-buttons {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
}
.quick-btn {
padding: 10px 20px;
border: 2px solid #667eea;
background: white;
color: #667eea;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
}
.quick-btn:hover {
background: #667eea;
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}
/* RESULTS SECTION */
.results-section {
background: white;
margin-top: 20px;
border-radius: 10px;
padding: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.results-header h2 {
font-size: 2em;
margin-bottom: 15px;
color: #333;
}
.search-summary {
background: #f8f9fa;
padding: 15px;
border-radius: 5px;
margin-bottom: 20px;
border-left: 4px solid #667eea;
}
.results-count {
font-size: 1.2em;
color: #28a745;
font-weight: bold;
margin-bottom: 20px;
}
/* RESULTS TABLE - Matching mockup exactly */
.results-table {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
thead {
background: #f8f9fa;
}
thead th {
padding: 15px 12px;
text-align: left;
font-weight: bold;
color: #333;
border-bottom: 2px solid #dee2e6;
font-size: 0.9em;
}
tbody tr {
border-bottom: 1px solid #dee2e6;
transition: background 0.3s ease;
}
tbody tr:hover {
background: #f8f9fa;
}
tbody td {
padding: 15px 12px;
vertical-align: top;
}
.title-cell strong {
color: #e74c3c;
font-size: 1em;
}
.duration {
color: #666;
font-size: 0.9em;
margin-top: 5px;
}
.details-cell {
font-size: 0.9em;
color: #555;
}
.details-cell p {
margin-bottom: 5px;
}
.method-cell {
font-weight: 500;
color: #667eea;
}
.theme-cell,
.values-cell {
font-size: 0.9em;
color: #333;
}
/* ACTION BUTTONS */
.actions-cell {
text-align: center;
}
.btn-generate,
.btn-source {
display: inline-block;
padding: 8px 12px;
margin: 2px;
border-radius: 4px;
text-decoration: none;
font-size: 0.8em;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-generate {
background: #28a745;
color: white;
}
.btn-generate:hover {
background: #218838;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}
.btn-source {
background: #17a2b8;
color: white;
}
.btn-source:hover {
background: #138496;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(23,162,184,0.3);
}
/* NO RESULTS */
.no-results {
text-align: center;
padding: 60px 20px;
color: #666;
}
.no-results h3 {
font-size: 1.8em;
margin-bottom: 20px;
color: #333;
}
.no-results ul {
text-align: left;
max-width: 400px;
margin: 20px auto;
}
.suggestions {
margin-top: 40px;
}
.suggestion-buttons {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
margin-top: 15px;
}
/* BACK SECTION */
.back-section {
text-align: center;
margin: 30px 0;
}
.btn-back {
display: inline-block;
padding: 12px 25px;
background: #6c757d;
color: white;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s ease;
}
.btn-back:hover {
background: #545b62;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(108,117,125,0.3);
}
/* FOOTER */
.footer {
text-align: center;
padding: 30px 20px;
color: rgba(255,255,255,0.8);
border-top: 1px solid rgba(255,255,255,0.1);
margin-top: 40px;
}
.footer a {
color: #00d4ff;
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
.footer-note {
margin-top: 10px;
font-size: 0.9em;
color: rgba(255,255,255,0.6);
}
/* ACTIVITY SHEET STYLES */
.sheet-body {
background: #f5f5f5;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sheet-container {
max-width: 800px;
margin: 20px auto;
background: white;
border-radius: 10px;
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
overflow: hidden;
}
.sheet-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 30px;
text-align: center;
}
.sheet-header h1 {
font-size: 1.8em;
margin-bottom: 10px;
}
.sheet-header h2 {
font-size: 1.4em;
margin-bottom: 15px;
font-weight: normal;
}
.sheet-meta {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}
.category-badge,
.difficulty-badge {
background: rgba(255,255,255,0.2);
padding: 5px 12px;
border-radius: 15px;
font-size: 0.9em;
}
.generated-date {
font-size: 0.8em;
opacity: 0.9;
}
/* Activity Info Grid */
.activity-info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 20px;
padding: 30px;
background: #f8f9fa;
}
.info-item {
text-align: center;
padding: 20px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.info-item h3 {
font-size: 1.1em;
margin-bottom: 10px;
color: #667eea;
}
.info-item p {
font-size: 1.1em;
font-weight: 500;
color: #333;
}
/* Sections */
.section {
padding: 25px 30px;
border-bottom: 1px solid #e9ecef;
}
.section:last-child {
border-bottom: none;
}
.section h3 {
font-size: 1.3em;
margin-bottom: 15px;
color: #333;
border-left: 4px solid #667eea;
padding-left: 12px;
}
.description-text {
font-size: 1.1em;
line-height: 1.7;
color: #555;
}
/* Materials */
.no-materials {
background: #d4edda;
color: #155724;
padding: 15px;
border-radius: 5px;
font-size: 1.1em;
}
.materials-checklist {
margin-top: 20px;
background: #f8f9fa;
padding: 15px;
border-radius: 5px;
}
.materials-checklist h4 {
margin-bottom: 10px;
color: #667eea;
}
.materials-checklist ul {
list-style: none;
padding-left: 0;
}
.materials-checklist li {
padding: 5px 0;
font-size: 1em;
}
/* Instructions */
.instructions ol {
padding-left: 20px;
}
.instructions li {
margin-bottom: 10px;
font-size: 1em;
line-height: 1.6;
}
/* Tags */
.tags-container {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.tag {
background: #667eea;
color: white;
padding: 5px 12px;
border-radius: 15px;
font-size: 0.9em;
}
/* Recommendations */
.recommendations {
background: #f8f9fa;
}
.recommendations-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}
.recommendation-item {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.recommendation-item h4 {
color: #667eea;
margin-bottom: 8px;
font-size: 1.1em;
}
.rec-details {
color: #666;
font-size: 0.9em;
margin-bottom: 10px;
}
.rec-description {
font-size: 0.95em;
color: #555;
margin-bottom: 12px;
}
.rec-link {
color: #667eea;
text-decoration: none;
font-weight: 500;
}
.rec-link:hover {
text-decoration: underline;
}
/* Source Info */
.source-info {
background: #f8f9fa;
}
.source-details code {
background: #e9ecef;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
}
/* Sheet Actions */
.sheet-actions {
padding: 20px 30px;
background: #f8f9fa;
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}
.btn-print,
.btn-copy,
.btn-close {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 0.95em;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-print {
background: #28a745;
color: white;
}
.btn-copy {
background: #17a2b8;
color: white;
}
.btn-close {
background: #dc3545;
color: white;
}
.btn-print:hover,
.btn-copy:hover,
.btn-close:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Sheet Footer */
.sheet-footer {
text-align: center;
padding: 15px;
background: #e9ecef;
color: #666;
font-size: 0.9em;
}
/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
.container {
padding: 10px;
}
.filters-row {
flex-direction: column;
}
.filter-select {
min-width: auto;
}
.search-section {
flex-direction: column;
}
.search-input {
min-width: auto;
}
.stats-container {
flex-direction: column;
gap: 20px;
}
.quick-buttons {
flex-direction: column;
align-items: center;
}
.results-table {
font-size: 0.9em;
}
table,
thead,
tbody,
th,
td,
tr {
display: block;
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr {
border: 1px solid #ccc;
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
}
td {
border: none;
position: relative;
padding: 10px 10px 10px 35%;
}
td:before {
content: attr(data-label) ": ";
position: absolute;
left: 6px;
width: 30%;
white-space: nowrap;
font-weight: bold;
}
.sheet-actions {
flex-direction: column;
}
.activity-info-grid {
grid-template-columns: 1fr;
padding: 20px;
}
.recommendations-grid {
grid-template-columns: 1fr;
}
}