diff --git a/app/Views/commission_rules_list.php b/app/Views/commission_rules_list.php index 63918706..93399920 100644 --- a/app/Views/commission_rules_list.php +++ b/app/Views/commission_rules_list.php @@ -5,12 +5,23 @@ } .action-bar { - display: flex; - justify-content: space-between; + /* display: flex; + justify-content: space-between; */ align-items: center; margin-bottom: 30px; - background: white; - padding: 20px; + background-color: #F5FFFF !important; + padding: 15px 25px 10px 25px; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0,0,0,0.1); + } + + .action-bar-header { + /* display: flex; + justify-content: space-between; */ + align-items: center; + margin-bottom: 5px; + background-color: #F5FFFF !important; + padding: 0px 0px 0px 25px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); } @@ -29,7 +40,7 @@ } .rule-card { - background: white; + background:#F5FFFF !important; border-radius: 10px; padding: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); @@ -85,11 +96,17 @@ } .condition-badge { + padding: 2px 5px; border-radius: 15px; font-size: 7px; - color: white; - background: linear-gradient(45deg, #3498db, #2980b9); + display: inline-block; + border-radius: 6px; + background: #f1f5f9; + margin-right: 6px; + color: #222; + margin-top: 6px; + font-weight: 600; } .detail-item { @@ -98,8 +115,8 @@ } .detail-label { - font-weight: 500; - color: #000000; + font-weight: 600; + margin-right: 6px; } #ruleModal .modal-body { @@ -220,26 +237,140 @@ color: #666; } + .select2-hidden-accessible + .select2-container .select2-dropdown { + display: none !important; + } + + .select2-container .select2-selection--multiple .select2-selection__choice { + color: #000000; + } + + .select2-selection__choice { + background-color: #0a8794 !important; + color: white !important; + font-weight: bold; + } + + .select2-selection__choice__remove { + color: white !important; + margin-right: 5px; + } + + .muted { + color: #666; + font-size: 13px; + } + + .dynamic-filters { + margin-top: 12px; + display: flex; + flex-direction: column; + gap: 8px; + } + + .filter-row { + display: flex; + gap: 8px; + align-items: center; + } + + .no-rulesList { + padding: 20px; + text-align: center; + color: #666; + } + + /* layout for rulesList area */ + #rulesList { + display: grid; + gap: 12px; + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + } +