| 1 |
@import '../_variables.css'; |
| 2 |
/* Rest of the styles */ |
| 3 |
|
| 4 |
/* Let's style the table headers and cells better */ |
| 5 |
.maxi-status-table { |
| 6 |
background: var(--maxi-admin-white) !important; |
| 7 |
width: 100%; |
| 8 |
border-collapse: collapse; |
| 9 |
margin-top: 20px; |
| 10 |
} |
| 11 |
|
| 12 |
/* Style the section headers */ |
| 13 |
.maxi-status-table tr th[colspan="4"] { |
| 14 |
background: var(--maxi-admin-black) !important; |
| 15 |
color: var(--maxi-admin-white); |
| 16 |
padding: 12px; |
| 17 |
text-align: left; |
| 18 |
border-bottom: 1px solid #dee2e6; |
| 19 |
} |
| 20 |
|
| 21 |
.maxi-status-table td { |
| 22 |
background: var(--maxi-admin-white) !important; |
| 23 |
padding: 12px; |
| 24 |
border-bottom: 1px solid var(--maxi-admin-border-light); |
| 25 |
color: var(--maxi-admin-black-text); |
| 26 |
} |
| 27 |
|
| 28 |
.maxi-status-table .header-row td { |
| 29 |
background: var(--maxi-admin-purple) !important; |
| 30 |
font-weight: bold; |
| 31 |
color: var(--maxi-admin-white); |
| 32 |
} |
| 33 |
|
| 34 |
.maxi-status-table .plugin-section { |
| 35 |
background: var(--maxi-admin-light-grey) !important; |
| 36 |
padding: 15px; |
| 37 |
} |
| 38 |
|
| 39 |
.maxi-status-table .status-ok span { |
| 40 |
color: var(--maxi-admin-green); |
| 41 |
display: inline-flex; |
| 42 |
align-items: center; |
| 43 |
gap: 6px; |
| 44 |
background: transparent; |
| 45 |
font-weight: bold !important; |
| 46 |
} |
| 47 |
|
| 48 |
.maxi-status-table .status-ok span::before { |
| 49 |
content: '✓'; |
| 50 |
font-weight: bold !important; |
| 51 |
font-size: 16px; |
| 52 |
line-height: 1; |
| 53 |
background: transparent; |
| 54 |
} |
| 55 |
|
| 56 |
.maxi-status-table .status-warning span { |
| 57 |
color: var(--maxi-admin-orange); |
| 58 |
display: inline-flex; |
| 59 |
align-items: center; |
| 60 |
gap: 6px; |
| 61 |
background: transparent; |
| 62 |
font-weight: bold !important; |
| 63 |
} |
| 64 |
|
| 65 |
.maxi-status-table .status-warning span::before { |
| 66 |
content: '×'; |
| 67 |
font-weight: bold !important; |
| 68 |
font-size: 16px; |
| 69 |
line-height: 1; |
| 70 |
background: transparent; |
| 71 |
} |
| 72 |
|
| 73 |
#maxi-copy-report-content { |
| 74 |
display: none; |
| 75 |
} |
| 76 |
|
| 77 |
/* Button container */ |
| 78 |
.maxi-dashboard_main-content-settings { |
| 79 |
gap: 10px; |
| 80 |
margin-bottom: 20px; |
| 81 |
justify-content: center; |
| 82 |
width: 100%; |
| 83 |
max-width: clamp(280px, 95%, 1000px); |
| 84 |
} |
| 85 |
|
| 86 |
/* Button styles */ |
| 87 |
.maxi-dashboard_main-content .maxi-dashboard_copy-report-button, |
| 88 |
.maxi-dashboard_main-content #maxi-download-report { |
| 89 |
background: var(--maxi-admin-black) !important; |
| 90 |
color: var(--maxi-admin-white) !important; |
| 91 |
border: none !important; |
| 92 |
cursor: pointer !important; |
| 93 |
padding: 5px 50px !important; |
| 94 |
font-size: 19px !important; |
| 95 |
font-weight: 700 !important; |
| 96 |
border-radius: 26px !important; |
| 97 |
text-decoration: none !important; |
| 98 |
transition: background 0.1s ease, transform 0.3s ease !important; |
| 99 |
box-shadow: none !important; |
| 100 |
margin: 20px 5px 20px 5px; |
| 101 |
} |
| 102 |
|
| 103 |
.maxi-dashboard_main-content .maxi-dashboard_copy-report-button:hover, |
| 104 |
.maxi-dashboard_main-content #maxi-download-report:hover { |
| 105 |
background: var(--maxi-admin-purple-hover) !important; |
| 106 |
} |
| 107 |
|
| 108 |
/* Success message */ |
| 109 |
#maxi-copy-success { |
| 110 |
margin-top: 10px; |
| 111 |
padding: 10px; |
| 112 |
background: var(--maxi-admin-green-light); |
| 113 |
border-left: 4px solid var(--maxi-admin-green); |
| 114 |
display: none; |
| 115 |
} |
| 116 |
|
| 117 |
.other-plugin .some-class #maxi-status-wrapper { |
| 118 |
background: var(--maxi-admin-white) !important; |
| 119 |
/* Another plugin or theme override */ |
| 120 |
} |
| 121 |
|
| 122 |
/* Updated styles for #maxi-status-wrapper */ |
| 123 |
#maxi-status-wrapper { |
| 124 |
background-color: var(--maxi-admin-light-grey); |
| 125 |
padding-top: clamp(1vw, 8vw, 3vw) !important; |
| 126 |
padding-bottom: clamp(1vw, 8vw, 4vw) !important; |
| 127 |
display: flex; |
| 128 |
justify-content: center; |
| 129 |
width: 100%; |
| 130 |
} |
| 131 |
|
| 132 |
/* Additional styles for table container */ |
| 133 |
.maxi-status-table { |
| 134 |
position: relative; |
| 135 |
z-index: 2; |
| 136 |
max-width: clamp(280px, 95%, 1000px); |
| 137 |
width: 95%; |
| 138 |
margin: 0 auto; |
| 139 |
} |
| 140 |
|
| 141 |
/* Center the main content container and add spacing */ |
| 142 |
.maxi-dashboard_main-content { |
| 143 |
display: flex; |
| 144 |
flex-direction: column; |
| 145 |
align-items: center; |
| 146 |
width: 100%; |
| 147 |
padding: 10px 0; |
| 148 |
} |
| 149 |
|
| 150 |
.maxi-dashboard_main-content.maxi-dashboard_main-content-starter-sites { |
| 151 |
padding: 0; |
| 152 |
} |
| 153 |
|
| 154 |
/* Style the main heading */ |
| 155 |
.maxi-dashboard_main-content h1 { |
| 156 |
font-size: 48px; |
| 157 |
font-weight: bold; |
| 158 |
margin-bottom: 16px; |
| 159 |
} |
| 160 |
|
| 161 |
/* Style the description text */ |
| 162 |
.maxi-dashboard_main-content p { |
| 163 |
font-size: 16px; |
| 164 |
color: #666; |
| 165 |
margin-bottom: 40px; |
| 166 |
} |
| 167 |
|
| 168 |
/* Status wrapper styles */ |
| 169 |
#maxi-status-wrapper { |
| 170 |
background-color: var(--maxi-admin-light-grey); |
| 171 |
padding: 40px 20px; |
| 172 |
display: flex; |
| 173 |
justify-content: center; |
| 174 |
width: 100%; |
| 175 |
} |
| 176 |
|
| 177 |
/* Table container styles */ |
| 178 |
.maxi-status-table { |
| 179 |
position: relative; |
| 180 |
z-index: 2; |
| 181 |
max-width: clamp(280px, 95%, 1000px); |
| 182 |
width: 95%; |
| 183 |
margin: 0 auto; |
| 184 |
} |
| 185 |
|
| 186 |
/* Table column widths */ |
| 187 |
.maxi-status-table td:first-child { |
| 188 |
width: 22%; |
| 189 |
/* Slightly reduce first column */ |
| 190 |
} |
| 191 |
|
| 192 |
.maxi-status-table td:nth-child(2) { |
| 193 |
width: 23%; |
| 194 |
/* Make 'Recommended' column shorter */ |
| 195 |
} |
| 196 |
|
| 197 |
.maxi-status-table td:nth-child(3) { |
| 198 |
width: 44%; |
| 199 |
/* Give more space to 'Actual' values */ |
| 200 |
} |
| 201 |
|
| 202 |
.maxi-status-table td:last-child { |
| 203 |
width: 11%; |
| 204 |
/* Keep status column the same */ |
| 205 |
} |
| 206 |
|