consolidated even more css styling
This commit is contained in:
@@ -1730,6 +1730,10 @@ a,
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.btn-improve-small {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
@@ -2546,4 +2550,590 @@ a,
|
||||
color: #333;
|
||||
border-bottom: 2px solid #1da766;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
SKILL LEARN DIALOG STYLES
|
||||
======================================== */
|
||||
|
||||
/* Dialog Header */
|
||||
.dialog-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px 24px;
|
||||
border-bottom: 2px solid #1da766;
|
||||
background: #f8f9fa;
|
||||
border-radius: 0;
|
||||
flex-shrink: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.dialog-header h3 {
|
||||
margin: 0;
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.btn-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
padding: 0;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-close:hover {
|
||||
background: #e9ecef;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Resources Section */
|
||||
.resources-section {
|
||||
padding: 20px 24px;
|
||||
background: #f8f9fa;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.resources-section h4 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #495057;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: #17a2b8 !important;
|
||||
}
|
||||
|
||||
/* Reward Method Section */
|
||||
.reward-method-section {
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
.reward-method-section label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-weight: 600;
|
||||
color: #495057;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.reward-method-section .form-select {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
box-sizing: border-box;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.reward-method-section .form-select:focus {
|
||||
outline: none;
|
||||
border-color: #1da766;
|
||||
box-shadow: 0 0 0 3px rgba(29, 167, 102, 0.1);
|
||||
}
|
||||
|
||||
.reward-method-section .form-hint {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
font-size: 0.85rem;
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Form Section */
|
||||
.form-section {
|
||||
padding: 24px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.form-select,
|
||||
.form-textarea {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.form-input:focus,
|
||||
.form-select:focus,
|
||||
.form-textarea:focus {
|
||||
outline: none;
|
||||
border-color: #1da766;
|
||||
box-shadow: 0 0 0 3px rgba(29, 167, 102, 0.1);
|
||||
}
|
||||
|
||||
.form-textarea {
|
||||
resize: vertical;
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
.form-hint {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
font-size: 0.85rem;
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Costs Preview */
|
||||
.costs-preview {
|
||||
padding: 20px 24px;
|
||||
background: #fff3cd;
|
||||
border-top: 1px solid #ffeaa7;
|
||||
border-bottom: 1px solid #ffeaa7;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.costs-preview h4 {
|
||||
margin: 0 0 12px 0;
|
||||
color: #856404;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.cost-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.cost-label {
|
||||
color: #856404;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.cost-value {
|
||||
font-weight: bold;
|
||||
color: #495057;
|
||||
background: white;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ffeaa7;
|
||||
}
|
||||
|
||||
/* Action Info */
|
||||
.action-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.selection-count {
|
||||
font-size: 0.9rem;
|
||||
color: #6c757d;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Skills Selection Container */
|
||||
.skills-selection-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.skills-selection-container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.skills-available,
|
||||
.skills-selected {
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.skills-available h4,
|
||||
.skills-selected h4 {
|
||||
margin: 0;
|
||||
padding: 12px 16px;
|
||||
background: #f8f9fa;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
font-size: 1rem;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
/* Category Filters */
|
||||
.category-filters {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.category-filter-btn {
|
||||
padding: 6px 12px;
|
||||
background: white;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 20px;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
font-weight: 500;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.category-filter-btn:hover {
|
||||
border-color: #1da766;
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.category-filter-btn.active {
|
||||
background: #1da766;
|
||||
border-color: #1da766;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.category-filter-btn:first-child {
|
||||
font-weight: 600;
|
||||
background: #e9ecef;
|
||||
border-color: #adb5bd;
|
||||
}
|
||||
|
||||
.category-filter-btn:first-child.active {
|
||||
background: #495057;
|
||||
border-color: #495057;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Sort and Search Controls */
|
||||
.search-input {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.sort-and-search-controls {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
background: #f8f9fa;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.sort-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.skills-search {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.sort-label {
|
||||
font-size: 0.9rem;
|
||||
color: #495057;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sort-btn {
|
||||
padding: 6px 12px;
|
||||
background: white;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 6px;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
font-weight: 500;
|
||||
color: #495057;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.sort-btn:hover {
|
||||
border-color: #1da766;
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.sort-btn.active {
|
||||
background: #1da766;
|
||||
border-color: #1da766;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.sort-icon {
|
||||
font-size: 0.8rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Skills List */
|
||||
.skills-list {
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.skill-item {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #f8f9fa;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
cursor: grab;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.skill-item:hover {
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.skill-item:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.skill-item.skill-affordable {
|
||||
border-left: 4px solid #1da766;
|
||||
}
|
||||
|
||||
.skill-item:not(.skill-affordable) {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.skill-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.skill-main-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.skill-name {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
font-size: 0.95rem;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.skill-category {
|
||||
font-size: 0.8rem;
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.skill-costs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 0.85rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.cost-ep {
|
||||
color: #1da766;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.cost-gold {
|
||||
color: #ffc107;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.skill-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.btn-select {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 2px solid #1da766;
|
||||
background: white;
|
||||
color: #1da766;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.btn-select:hover:not(:disabled) {
|
||||
background: #1da766;
|
||||
color: white;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.btn-select:disabled {
|
||||
border-color: #6c757d;
|
||||
color: #6c757d;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* Skills Drop Zone */
|
||||
.skills-drop-zone {
|
||||
min-height: 60vh;
|
||||
padding: 16px;
|
||||
background: white;
|
||||
border: 2px dashed #dee2e6;
|
||||
margin: 16px;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.skills-drop-zone.drag-over {
|
||||
border-color: #1da766;
|
||||
background: rgba(29, 167, 102, 0.05);
|
||||
}
|
||||
|
||||
.drop-zone-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
min-height: 200px;
|
||||
color: #6c757d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.placeholder-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.placeholder-text {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
/* Selected Skills List */
|
||||
.selected-skills-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.selected-skill-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
background: #f8f9fa;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.selected-skill-item:hover {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.selected-skill-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.selected-skill-name {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.selected-skill-costs {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* Total Costs */
|
||||
.total-costs-header {
|
||||
font-weight: 600;
|
||||
color: #856404;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.total-costs-breakdown {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.total-ep,
|
||||
.total-gold {
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.total-ep {
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.total-gold {
|
||||
color: #ffc107;
|
||||
}
|
||||
|
||||
.affordability-check {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: #28a745;
|
||||
}
|
||||
|
||||
.loading-skills {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
color: #6c757d;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.simple-input-section {
|
||||
margin-bottom: 20px;
|
||||
padding: 16px;
|
||||
background: #fff3cd;
|
||||
border: 1px solid #ffeaa7;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.simple-input-section .form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -742,6 +742,7 @@ export default {
|
||||
<style scoped>
|
||||
/* Component-specific styles - common styles are in main.css */
|
||||
|
||||
/* Fullscreen modal override */
|
||||
.modal-content {
|
||||
background: white;
|
||||
border-radius: 0;
|
||||
@@ -770,58 +771,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px 24px;
|
||||
border-bottom: 2px solid #1da766;
|
||||
background: #f8f9fa;
|
||||
border-radius: 0;
|
||||
flex-shrink: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.dialog-header h3 {
|
||||
margin: 0;
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.btn-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
padding: 0;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-close:hover {
|
||||
background: #e9ecef;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.resources-section {
|
||||
padding: 20px 24px;
|
||||
background: #f8f9fa;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.resources-section h4 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #495057;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* Component-specific overrides */
|
||||
.resource-display-card {
|
||||
background: white;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
@@ -831,150 +781,12 @@ export default {
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: #17a2b8 !important;
|
||||
}
|
||||
|
||||
.reward-method-section {
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
.reward-method-section label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-weight: 600;
|
||||
color: #495057;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.reward-method-section .form-select {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
box-sizing: border-box;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.reward-method-section .form-select:focus {
|
||||
outline: none;
|
||||
border-color: #1da766;
|
||||
box-shadow: 0 0 0 3px rgba(29, 167, 102, 0.1);
|
||||
}
|
||||
|
||||
.reward-method-section .form-hint {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
font-size: 0.85rem;
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.form-section {
|
||||
padding: 24px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.form-select,
|
||||
.form-textarea {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.form-input:focus,
|
||||
.form-select:focus,
|
||||
.form-textarea:focus {
|
||||
outline: none;
|
||||
border-color: #1da766;
|
||||
box-shadow: 0 0 0 3px rgba(29, 167, 102, 0.1);
|
||||
}
|
||||
|
||||
.form-textarea {
|
||||
resize: vertical;
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
.form-hint {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
font-size: 0.85rem;
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.costs-preview {
|
||||
padding: 20px 24px;
|
||||
background: #fff3cd;
|
||||
border-top: 1px solid #ffeaa7;
|
||||
border-bottom: 1px solid #ffeaa7;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.costs-preview h4 {
|
||||
margin: 0 0 12px 0;
|
||||
color: #856404;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.cost-breakdown {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.cost-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.cost-label {
|
||||
color: #856404;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.cost-value {
|
||||
font-weight: bold;
|
||||
color: #495057;
|
||||
background: white;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ffeaa7;
|
||||
}
|
||||
|
||||
.modal-actions {
|
||||
border-radius: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.action-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.selection-count {
|
||||
font-size: 0.9rem;
|
||||
color: #6c757d;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Button overrides for this specific dialog */
|
||||
.btn-confirm {
|
||||
padding: 12px 24px;
|
||||
background: #1da766;
|
||||
@@ -1037,406 +849,6 @@ export default {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* Skills Selection Styles */
|
||||
.skills-selection-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.skills-available,
|
||||
.skills-selected {
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.skills-available h4,
|
||||
.skills-selected h4 {
|
||||
margin: 0;
|
||||
padding: 12px 16px;
|
||||
background: #f8f9fa;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
font-size: 1rem;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.category-filters {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.category-filter-btn {
|
||||
padding: 6px 12px;
|
||||
background: white;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 20px;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
font-weight: 500;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.category-filter-btn:hover {
|
||||
border-color: #1da766;
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.category-filter-btn.active {
|
||||
background: #1da766;
|
||||
border-color: #1da766;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.category-filter-btn:first-child {
|
||||
font-weight: 600;
|
||||
background: #e9ecef;
|
||||
border-color: #adb5bd;
|
||||
}
|
||||
|
||||
.category-filter-btn:first-child.active {
|
||||
background: #495057;
|
||||
border-color: #495057;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.sort-and-search-controls {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
background: #f8f9fa;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.sort-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.skills-search {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.sort-label {
|
||||
font-size: 0.9rem;
|
||||
color: #495057;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sort-btn {
|
||||
padding: 6px 12px;
|
||||
background: white;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 6px;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
font-weight: 500;
|
||||
color: #495057;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.sort-btn:hover {
|
||||
border-color: #1da766;
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.sort-btn.active {
|
||||
background: #1da766;
|
||||
border-color: #1da766;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.sort-icon {
|
||||
font-size: 0.8rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.skills-list {
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.skill-item {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #f8f9fa;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
cursor: grab;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.skill-item:hover {
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.skill-item:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.skill-item.skill-affordable {
|
||||
border-left: 4px solid #1da766;
|
||||
}
|
||||
|
||||
.skill-item:not(.skill-affordable) {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.skill-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.skill-main-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.skill-name {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
font-size: 0.95rem;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.skill-category {
|
||||
font-size: 0.8rem;
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.skill-costs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 0.85rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.cost-ep {
|
||||
color: #1da766;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.cost-gold {
|
||||
color: #ffc107;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.skill-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.btn-select {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 2px solid #1da766;
|
||||
background: white;
|
||||
color: #1da766;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.btn-select:hover:not(:disabled) {
|
||||
background: #1da766;
|
||||
color: white;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.btn-select:disabled {
|
||||
border-color: #6c757d;
|
||||
color: #6c757d;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.skills-drop-zone {
|
||||
min-height: 60vh;
|
||||
padding: 16px;
|
||||
background: white;
|
||||
border: 2px dashed #dee2e6;
|
||||
margin: 16px;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.skills-drop-zone.drag-over {
|
||||
border-color: #1da766;
|
||||
background: rgba(29, 167, 102, 0.05);
|
||||
}
|
||||
|
||||
.drop-zone-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
min-height: 200px;
|
||||
color: #6c757d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.placeholder-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.placeholder-text {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.selected-skills-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.selected-skill-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
background: #f8f9fa;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.selected-skill-item:hover {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.selected-skill-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.selected-skill-name {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.selected-skill-costs {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.btn-remove {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
background: #dc3545;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.btn-remove:hover {
|
||||
background: #c82333;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.total-costs-header {
|
||||
font-weight: 600;
|
||||
color: #856404;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.total-costs-breakdown {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.total-ep,
|
||||
.total-gold {
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.total-ep {
|
||||
color: #1da766;
|
||||
}
|
||||
|
||||
.total-gold {
|
||||
color: #ffc107;
|
||||
}
|
||||
|
||||
.affordability-check {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: #28a745;
|
||||
}
|
||||
|
||||
.loading-skills {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
color: #6c757d;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.simple-input-section {
|
||||
margin-bottom: 20px;
|
||||
padding: 16px;
|
||||
background: #fff3cd;
|
||||
border: 1px solid #ffeaa7;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.simple-input-section .form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.modal-content {
|
||||
@@ -1445,25 +857,6 @@ export default {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.skills-selection-container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.resources-display {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.current-resources {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.resource-display-card {
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
.cost-breakdown {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
@@ -254,20 +254,9 @@
|
||||
<style scoped>
|
||||
/* Component-specific styles - common styles are in main.css */
|
||||
|
||||
.cd-table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Only component-specific overrides remain here */
|
||||
.cd-table-header {
|
||||
background-color: #1da766;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.header-section {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.resource-icon {
|
||||
@@ -284,52 +273,6 @@
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-add {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 2px solid #17a2b8;
|
||||
background: white;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.btn-add:hover {
|
||||
background: #17a2b8;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.action-cell {
|
||||
text-align: center;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.btn-action {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #28a745;
|
||||
background: white;
|
||||
color: #28a745;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.btn-action:hover {
|
||||
background: #28a745;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user