diff --git a/crm/Views/assets/scss/public.scss b/crm/Views/assets/scss/public.scss index 4e664ea..b10a5bc 100644 --- a/crm/Views/assets/scss/public.scss +++ b/crm/Views/assets/scss/public.scss @@ -44,4 +44,203 @@ .border-light-subtle { border-color: #e9ecef !important; +} + +// Match main layout styling for consistency +.card { + border: 1px solid #e9ecef; + border-radius: 8px; + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06); + + .card-header { + background-color: #f8f9fa; + border-bottom: 1px solid #e9ecef; + padding: 16px 20px; + + .card-title { + font-weight: 600; + color: #2c3e50; + margin-bottom: 0; + } + } + + .card-body { + padding: 20px; + } +} + +// Match button styling +.btn { + border-radius: 6px; + font-weight: 500; + padding: 8px 16px; + font-size: 0.875rem; + transition: all 0.15s ease; + + &.btn-primary { + background-color: #405189; + border-color: #405189; + + &:hover { + background-color: #2d375e; + border-color: #2d375e; + transform: translateY(-1px); + } + } + + &.btn-outline-primary { + color: #405189; + border-color: #405189; + + &:hover { + background-color: #405189; + border-color: #405189; + } + } +} + +// Match form styling +.form-control { + border-radius: 6px; + border: 1px solid #e9ecef; + padding: 8px 12px; + font-size: 0.875rem; + transition: all 0.15s ease; + + &:focus { + border-color: #405189; + box-shadow: 0 0 0 0.15rem rgba(64, 81, 137, 0.25); + } +} + +.form-select { + border-radius: 6px; + border: 1px solid #e9ecef; + padding: 8px 12px; + font-size: 0.875rem; + + &:focus { + border-color: #405189; + box-shadow: 0 0 0 0.15rem rgba(64, 81, 137, 0.25); + } +} + +// Match table styling +.table { + margin-bottom: 0; + + th { + background-color: #f8f9fa; + border-bottom: 2px solid #e9ecef; + font-weight: 600; + color: #2c3e50; + padding: 12px 10px; + font-size: 0.85rem; + text-transform: uppercase; + letter-spacing: 0.5px; + } + + td { + padding: 12px 10px; + vertical-align: middle; + border-bottom: 1px solid #f1f3f4; + font-size: 0.85rem; + } + + tbody tr { + transition: background-color 0.15s ease; + + &:hover { + background-color: #f8f9fa; + } + } +} + +// Match stats cards styling +.stats-card { + transition: all 0.3s ease; + border-radius: 8px; + + &:hover { + transform: translateY(-2px); + box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important; + } +} + +.stats-icon { + width: 60px; + height: 60px; + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; +} + +.stats-card:hover .stats-icon { + transform: scale(1.1); +} + +// Match chart styling +.chart-container { + position: relative; + height: 300px; + + canvas { + border-radius: 8px; + } +} + +// Match badge styling +.badge { + font-size: 0.7rem; + font-weight: 600; + padding: 4px 8px; + border-radius: 4px; +} + +// Match alert styling +.alert { + border-radius: 6px; + border: none; + padding: 12px 16px; + font-size: 0.9rem; + + &.alert-info { + background-color: #e7f3ff; + color: #0c5460; + } +} + +// Match spacing +.mb-4 { + margin-bottom: 1.5rem !important; +} + +.mt-4 { + margin-top: 1.5rem !important; +} + +// Match text colors +.text-muted { + color: #6c757d !important; +} + +.text-primary { + color: #405189 !important; +} + +.text-success { + color: #0ab39c !important; +} + +.text-info { + color: #299cdb !important; +} + +.text-warning { + color: #f7b84b !important; +} + +.text-danger { + color: #f06548 !important; } \ No newline at end of file