MediaWiki:QuestTracker.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Quest Tracker Overview */
.quest-tracker-overview {
background: linear-gradient(135deg, #fff5f8, #ffeef3);
border: 2px solid #ff6b9d;
border-radius: 16px;
padding: 2rem;
margin-bottom: 2rem;
box-shadow: 0 6px 25px rgba(255, 107, 157, 0.15);
}
.progress-stats {
display: flex;
justify-content: space-around;
margin-bottom: 1.5rem;
gap: 1rem;
}
.stat-item {
text-align: center;
flex: 1;
}
.stat-label {
display: block;
font-weight: 600;
color: #6c757d;
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.stat-value {
display: block;
font-weight: 700;
font-size: 1.5rem;
color: #d63384;
}
/* Progress Bar */
.progress-bar-container {
margin-bottom: 1.5rem;
}
.progress-bar {
width: 100%;
height: 12px;
background: #e9ecef;
border-radius: 6px;
overflow: hidden;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #ff6b9d, #d63384);
border-radius: 6px;
transition: width 0.5s ease;
position: relative;
}
.progress-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
animation: shimmer 2s infinite;
}
/* Tracker Actions */
.tracker-actions {
text-align: center;
}
.reset-progress-btn {
background: linear-gradient(135deg, #dc3545, #c82333);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}
.reset-progress-btn:hover {
background: linear-gradient(135deg, #c82333, #bd2130);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}
/* Quest Tracker Locations */
.quest-tracker-locations {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.location-section {
background: #ffffff;
border: 1px solid #e9ecef;
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
width: 100%;
box-sizing: border-box;
}
.location-section:hover {
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.location-title {
color: #d63384;
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #ff6b9d;
position: relative;
}
.location-title::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 50px;
height: 2px;
background: linear-gradient(90deg, #ff6b9d, #d63384);
}
/* Quest List */
.quest-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
}
.quest-item {
background: #f8f9fa;
border-radius: 8px;
padding: 1rem;
transition: all 0.3s ease;
border-left: 4px solid transparent;
width: 100%;
box-sizing: border-box;
}
.quest-item:hover {
background: #fff5f8;
border-left-color: #ff6b9d;
}
/* Custom Checkbox Styling */
.quest-checkbox-label {
display: flex;
align-items: center;
cursor: pointer;
font-weight: 500;
color: #2c3e50;
gap: 0.75rem;
position: relative;
}
.quest-checkbox {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkmark {
width: 20px;
height: 20px;
background: #ffffff;
border: 2px solid #dee2e6;
border-radius: 4px;
position: relative;
transition: all 0.3s ease;
flex-shrink: 0;
}
.quest-checkbox:checked + .checkmark {
background: linear-gradient(135deg, #ff6b9d, #d63384);
border-color: #d63384;
}
.quest-checkbox:checked + .checkmark::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-weight: bold;
font-size: 12px;
}
.quest-checkbox:hover + .checkmark {
border-color: #ff6b9d;
box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}
.quest-name {
flex: 1;
transition: all 0.3s ease;
}
.quest-checkbox:checked ~ .quest-name {
color: #6c757d;
text-decoration: line-through;
opacity: 0.7;
}
html[data-theme="dark"] .quest-tracker-overview { background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06)); border: 2px solid rgba(159,208,255,.25); border-radius: 16px; box-shadow: 0 6px 24px rgba(123,187,255,.18); color: #cfe6ff }
html[data-theme="dark"] .progress-stats .stat-label { color: #a8c6e8 }
html[data-theme="dark"] .progress-stats .stat-value { color: #9fd0ff }
html[data-theme="dark"] .progress-bar { background: #101625; box-shadow: inset 0 2px 4px rgba(123,187,255,.22) }
html[data-theme="dark"] .progress-fill { background: linear-gradient(90deg, #274c77, #1b2b41) }
html[data-theme="dark"] .reset-progress-btn { background: linear-gradient(135deg, #8a1f2a, #731821); color: #ffffff; box-shadow: 0 2px 10px rgba(123,187,255,.22) }
html[data-theme="dark"] .location-section { background: #141c2a; border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 20px rgba(123,187,255,.18) }
html[data-theme="dark"] .location-title { color: #9fd0ff; border-bottom: 2px solid rgba(159,208,255,.35) }
html[data-theme="dark"] .location-title::after { background: linear-gradient(90deg, #274c77, #1b2b41) }
html[data-theme="dark"] .quest-item { background: #141c2a; border-left-color: transparent; color: #cfe6ff }
html[data-theme="dark"] .quest-item:hover { background: rgba(61,97,146,.22); border-left-color: #7bbbff }
html[data-theme="dark"] .quest-checkbox-label { color: #cfe6ff }
html[data-theme="dark"] .checkmark { background: #121a29; border: 2px solid rgba(159,208,255,.25) }
html[data-theme="dark"] .quest-checkbox:checked + .checkmark { background: linear-gradient(135deg, #274c77, #1b2b41); border-color: #274c77 }
html[data-theme="dark"] .quest-checkbox:hover + .checkmark { border-color: #7bbbff; box-shadow: 0 0 0 3px rgba(123,187,255,.18) }
html[data-theme="dark"] .quest-checkbox:checked ~ .quest-name { color: #a8c6e8 }
/* ------------------------------------------------------------------------------- */
/* Desktop médio: 992px - 1199px */
@media (max-width: 1199px) {
.quest-tracker-overview {
padding: 18px;
border-radius: 11px;
}
.progress-stats {
gap: 18px;
}
.stat-item {
padding: 13px;
}
.stat-label {
font-size: 0.95em;
}
.stat-value {
font-size: 1.8rem;
}
.progress-bar-container {
height: 9px;
border-radius: 9px;
}
.tracker-actions {
gap: 13px;
}
.reset-progress-btn {
padding: 9px 18px;
font-size: 0.95em;
border-radius: 18px;
}
.quest-tracker-locations {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 18px;
}
.location-section {
padding: 18px;
border-radius: 11px;
}
.location-title {
font-size: 1.4rem;
margin-bottom: 18px;
}
.quest-list {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 13px;
}
.quest-item {
padding: 13px;
border-radius: 9px;
}
.quest-checkbox-label {
gap: 13px;
}
.checkmark {
width: 18px;
height: 18px;
}
.quest-name {
font-size: 0.95em;
}
}
/* Desktop pequeno: 768px - 991px */
@media (max-width: 991px) {
.quest-tracker-overview {
padding: 16px;
border-radius: 10px;
}
.progress-stats {
gap: 16px;
}
.stat-item {
padding: 12px;
}
.stat-label {
font-size: 0.9em;
}
.stat-value {
font-size: 1.6rem;
}
.progress-bar-container {
height: 8px;
border-radius: 8px;
}
.tracker-actions {
gap: 12px;
}
.reset-progress-btn {
padding: 8px 16px;
font-size: 0.9em;
border-radius: 16px;
}
.reset-progress-btn:hover {
transform: translateY(-1px);
}
.quest-tracker-locations {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
}
.location-section {
padding: 16px;
border-radius: 10px;
}
.location-section:hover {
transform: translateY(-1px);
}
.location-title {
font-size: 1.3rem;
margin-bottom: 16px;
}
.quest-list {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
}
.quest-item {
padding: 12px;
border-radius: 8px;
}
.quest-item:hover {
transform: translateY(-1px);
}
.quest-checkbox-label {
gap: 12px;
}
.checkmark {
width: 16px;
height: 16px;
}
.quest-name {
font-size: 0.9em;
}
}
/* Tablet: 576px - 767px */
@media (max-width: 767px) {
.quest-tracker-overview {
padding: 14px;
border-radius: 8px;
}
.progress-stats {
flex-direction: column;
gap: 14px;
}
.stat-item {
padding: 10px;
text-align: center;
}
.stat-label {
font-size: 0.85em;
}
.stat-value {
font-size: 1.4rem;
}
.progress-bar-container {
height: 7px;
border-radius: 7px;
}
.tracker-actions {
gap: 10px;
justify-content: center;
}
.reset-progress-btn {
padding: 7px 14px;
font-size: 0.85em;
border-radius: 14px;
}
.reset-progress-btn:hover {
transform: translateY(-1px);
}
.quest-tracker-locations {
grid-template-columns: 1fr;
gap: 14px;
}
.location-section {
padding: 14px;
border-radius: 8px;
}
.location-section:hover {
transform: translateY(-1px);
}
.location-title {
font-size: 1.2rem;
margin-bottom: 14px;
}
.quest-list {
grid-template-columns: 1fr;
gap: 10px;
}
.quest-item {
padding: 10px;
border-radius: 6px;
}
.quest-item:hover {
transform: translateY(-1px);
}
.quest-checkbox-label {
gap: 10px;
}
.checkmark {
width: 14px;
height: 14px;
}
.quest-name {
font-size: 0.85em;
}
}
/* Mobile: até 575px */
@media (max-width: 575px) {
.quest-tracker-overview {
padding: 12px;
border-radius: 6px;
}
.progress-stats {
flex-direction: column;
gap: 12px;
}
.stat-item {
padding: 8px;
text-align: center;
}
.stat-label {
font-size: 0.8em;
}
.stat-value {
font-size: 1.2rem;
}
.progress-bar-container {
height: 6px;
border-radius: 6px;
}
.tracker-actions {
gap: 8px;
justify-content: center;
}
.reset-progress-btn {
padding: 6px 12px;
font-size: 0.8em;
border-radius: 12px;
}
.reset-progress-btn:hover {
transform: none;
}
.quest-tracker-locations {
grid-template-columns: 1fr;
gap: 12px;
}
.location-section {
padding: 12px;
border-radius: 6px;
}
.location-section:hover {
transform: none;
}
.location-title {
font-size: 1.1rem;
margin-bottom: 12px;
}
.quest-list {
grid-template-columns: 1fr;
gap: 8px;
}
.quest-item {
padding: 8px;
border-radius: 4px;
}
.quest-item:hover {
transform: none;
}
.quest-checkbox-label {
gap: 8px;
}
.checkmark {
width: 12px;
height: 12px;
}
.quest-name {
font-size: 0.8em;
}
}