st-admin-css.css
218 lines
| 1 | .suretriggers-nobase { |
| 2 | position: fixed; |
| 3 | top: 50px; |
| 4 | height: calc(100% - 50px); |
| 5 | width: -webkit-fill-available; |
| 6 | } |
| 7 | |
| 8 | .suretriggers-nobase > div { |
| 9 | display: flex; |
| 10 | flex-direction: column; |
| 11 | justify-content: center; |
| 12 | align-items: center; |
| 13 | width: 100%; |
| 14 | height: 100%; |
| 15 | } |
| 16 | |
| 17 | .suretriggers-nobase > div > div { |
| 18 | width: 550px; |
| 19 | max-width: 800px; |
| 20 | margin: 0 auto; |
| 21 | background: white; |
| 22 | box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 23 | border-radius: 8px; |
| 24 | padding: 40px; |
| 25 | text-align: center; |
| 26 | } |
| 27 | |
| 28 | .suretriggers-info-title { |
| 29 | text-align: center; font-size: 1.5rem; font-weight: 600; color: #111827; margin-bottom: 16px; |
| 30 | } |
| 31 | |
| 32 | .suretriggers-info-content { |
| 33 | font-size: 0.875rem; color: #6b7280; margin-bottom: 16px; |
| 34 | } |
| 35 | |
| 36 | .suretriggers-info-link { |
| 37 | --primary: #145485;--primary-foreground: #f8fafc;color: var(--primary-foreground);background-color: var(--primary);display: inline-block; padding: 10px 20px; border-radius: 6px; font-size: 1rem; text-decoration: none; margin-bottom: 16px; |
| 38 | } |
| 39 | |
| 40 | .suretriggers-info-link:active, .suretriggers-info-link:hover, .suretriggers-info-link:focus { |
| 41 | --primary: #145485;--primary-foreground: #f8fafc;color: var(--primary-foreground);background-color: var(--primary); |
| 42 | } |
| 43 | |
| 44 | /* General Admin Page Styling */ |
| 45 | .admin-page { |
| 46 | background: #fff; |
| 47 | border: 1px solid #ddd; |
| 48 | padding: 20px; |
| 49 | border-radius: 5px; |
| 50 | } |
| 51 | |
| 52 | .suretriggers-nav-tab { |
| 53 | margin: 1.5em 0 1em; |
| 54 | } |
| 55 | |
| 56 | .suretriggers-system-table { |
| 57 | margin-bottom: 1em; |
| 58 | } |
| 59 | |
| 60 | .suretriggers-system-table h2 { |
| 61 | font-size: 14px; |
| 62 | font-weight: 600; |
| 63 | } |
| 64 | |
| 65 | .suretriggers-system-table h5 { |
| 66 | display: inline-block; |
| 67 | font-size: 14px; |
| 68 | font-weight: 800; |
| 69 | } |
| 70 | |
| 71 | .suretriggers-system-table td svg { |
| 72 | display: inline; |
| 73 | } |
| 74 | |
| 75 | .suretriggers-system-table-trigger tbody tr { |
| 76 | background-color: #f9f9f9; |
| 77 | } |
| 78 | .suretriggers-system-table-trigger tbody tr.odd-row { |
| 79 | background-color: #ffffff; |
| 80 | } |
| 81 | |
| 82 | table.suretriggers-system-table-trigger th, table.suretriggers-system-table-trigger td { |
| 83 | border: 1px solid #e0dede; |
| 84 | } |
| 85 | |
| 86 | table.suretriggers-system-table-trigger tr.integration-row { |
| 87 | border-top: 1px solid #e0dede; |
| 88 | } |
| 89 | |
| 90 | .st-permalink-warning-wrapper { |
| 91 | display: flex; |
| 92 | justify-content: center; |
| 93 | margin-top: 24px; |
| 94 | } |
| 95 | |
| 96 | .st-permalink-warning-card { |
| 97 | background-color: #fffbeb; |
| 98 | border: 1px solid #f4aa28; |
| 99 | border-radius: 8px; |
| 100 | padding: 20px 24px; |
| 101 | width: 550px; |
| 102 | display: flex; |
| 103 | align-items: flex-start; |
| 104 | gap: 12px; |
| 105 | color: #a14800; |
| 106 | } |
| 107 | |
| 108 | .st-permalink-warning-icon { |
| 109 | background-color: #fff9e8; |
| 110 | border: 1.5px solid #a14800; |
| 111 | border-radius: 50%; |
| 112 | width: 22px; |
| 113 | height: 22px; |
| 114 | display: flex; |
| 115 | align-items: center; |
| 116 | justify-content: center; |
| 117 | flex-shrink: 0; |
| 118 | margin-top: 3px; |
| 119 | } |
| 120 | |
| 121 | .st-permalink-warning-icon-text { |
| 122 | color: #a14800; |
| 123 | font-size: 14px; |
| 124 | font-weight: bold; |
| 125 | } |
| 126 | |
| 127 | .st-permalink-warning-content { |
| 128 | color: #a14800; |
| 129 | } |
| 130 | |
| 131 | .st-permalink-warning-title { |
| 132 | margin: 0 0 6px 0; |
| 133 | font-weight: 600; |
| 134 | font-size: 16px; |
| 135 | } |
| 136 | |
| 137 | .st-permalink-warning-message { |
| 138 | margin: 0; |
| 139 | font-size: 14.5px; |
| 140 | line-height: 1.6; |
| 141 | } |
| 142 | |
| 143 | .st-permalink-warning-link { |
| 144 | color: #a14800; |
| 145 | text-decoration: underline; |
| 146 | font-weight: 500; |
| 147 | } |
| 148 | |
| 149 | /* OttoKit Upgrade Button Styling - Enhanced Green Theme */ |
| 150 | .ottokit-upgrade-btn { |
| 151 | background: linear-gradient(135deg, #28a745 0%, #20a848 100%) !important; |
| 152 | color: #fff !important; |
| 153 | font-weight: 600 !important; |
| 154 | padding: 6px 12px !important; |
| 155 | border-radius: 6px !important; |
| 156 | font-size: 12px !important; |
| 157 | line-height: 1.3 !important; |
| 158 | transition: all .3s ease !important; |
| 159 | border: none !important; |
| 160 | outline: none !important; |
| 161 | text-decoration: none !important; |
| 162 | display: inline-block !important; |
| 163 | margin: 0 !important; |
| 164 | box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important; |
| 165 | letter-spacing: 0.5px !important; |
| 166 | white-space: nowrap !important; |
| 167 | min-width: max-content !important; |
| 168 | } |
| 169 | |
| 170 | .ottokit-upgrade-btn:hover { |
| 171 | background: linear-gradient(135deg, #218838 0%, #1e7e34 100%) !important; |
| 172 | color: #fff !important; |
| 173 | transform: translateY(-1px) !important; |
| 174 | box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4) !important; |
| 175 | } |
| 176 | |
| 177 | .ottokit-upgrade-btn:active { |
| 178 | background: linear-gradient(135deg, #1e7e34 0%, #1c7430 100%) !important; |
| 179 | transform: translateY(0) !important; |
| 180 | box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important; |
| 181 | } |
| 182 | |
| 183 | /* Plugin action links styling */ |
| 184 | .plugin-action-links .ottokit-upgrade-btn { |
| 185 | margin: 0 !important; |
| 186 | } |
| 187 | |
| 188 | /* Admin menu styling */ |
| 189 | #adminmenu .ottokit-upgrade-btn { |
| 190 | margin: 0 !important; |
| 191 | vertical-align: baseline !important; |
| 192 | } |
| 193 | |
| 194 | |
| 195 | @media screen and (max-width: 782px) { |
| 196 | .suretriggers-nobase > div { |
| 197 | display: flex; |
| 198 | flex-direction: row; |
| 199 | justify-content: center; |
| 200 | align-items: center; |
| 201 | height: 100%; |
| 202 | } |
| 203 | |
| 204 | #suretriggers-requests-table-form .tablenav.top .actions { |
| 205 | display: block; |
| 206 | margin-bottom: 5px; |
| 207 | width: 100%; |
| 208 | text-align: center; |
| 209 | } |
| 210 | |
| 211 | #suretriggers-requests-table-form .tablenav .actions select { |
| 212 | float: none; |
| 213 | } |
| 214 | |
| 215 | #suretriggers_filter_request { |
| 216 | margin: 0; |
| 217 | } |
| 218 | } |