admin-style.css
310 lines
| 1 | .matomo-tracking-form tr { |
| 2 | padding: 6px 0; |
| 3 | } |
| 4 | |
| 5 | .matomo-tracking-form th { |
| 6 | width: 30%; |
| 7 | vertical-align: top; |
| 8 | } |
| 9 | |
| 10 | .matomo-tracking-form th label { |
| 11 | vertical-align: baseline; |
| 12 | } |
| 13 | |
| 14 | ul.matomo-list { |
| 15 | list-style-type: disc; |
| 16 | margin-left: 20px; |
| 17 | } |
| 18 | ol.matomo-list { |
| 19 | list-style-type: decimal; |
| 20 | margin-left: 20px; |
| 21 | } |
| 22 | |
| 23 | .matomo-plugin-list .plugin-card-top { |
| 24 | min-height: auto; |
| 25 | } |
| 26 | |
| 27 | .matomo-plugin-list .plugin-card-top .matomo-description { |
| 28 | min-height: 80px; |
| 29 | } |
| 30 | .matomo-plugin-row-2 { |
| 31 | max-width: 1082px; |
| 32 | } |
| 33 | .matomo-plugin-row-2 .plugin-card-top .matomo-description { |
| 34 | min-height: 50px; |
| 35 | } |
| 36 | |
| 37 | .matomo-plugin-list .plugin-card .desc > p.matomo-description, |
| 38 | .matomo-plugin-list .plugin-card .desc > p.authors { |
| 39 | margin: 1em 0; |
| 40 | } |
| 41 | |
| 42 | .matomo-marketplace-notice .dashicons-video-alt3 { |
| 43 | display: inline-block; |
| 44 | } |
| 45 | .matomo-blockquote { |
| 46 | margin: .5em 10px; |
| 47 | border-left: 4px solid #ccc; |
| 48 | padding-left: 10px; |
| 49 | font-weight: bold; |
| 50 | } |
| 51 | .matomo-footer { |
| 52 | margin-top: 48px; |
| 53 | text-align: center; |
| 54 | } |
| 55 | |
| 56 | .matomo-footer ul { |
| 57 | list-style: none; |
| 58 | padding: 0 0 0 20px; |
| 59 | font-size: 13px; |
| 60 | line-height: 18px; |
| 61 | } |
| 62 | |
| 63 | .matomo-footer ul li { |
| 64 | display: inline-block; |
| 65 | margin: 0 20px 10px; |
| 66 | } |
| 67 | |
| 68 | .matomo-header-icon { |
| 69 | height: 32px; |
| 70 | vertical-align: top; |
| 71 | margin-right: 8px; |
| 72 | } |
| 73 | |
| 74 | .matomo-footer ul a { |
| 75 | color: #37474f; |
| 76 | } |
| 77 | .matomo-systemreport .widefat .warning td { |
| 78 | color: orange; |
| 79 | } |
| 80 | |
| 81 | .matomo-systemreport .widefat .error td { |
| 82 | color: red; |
| 83 | } |
| 84 | |
| 85 | .matomo-systemreport .widefat .section { |
| 86 | font-weight: bold; |
| 87 | } |
| 88 | |
| 89 | .matomo-dashboard-container .postbox-container { |
| 90 | min-width: 40%; |
| 91 | } |
| 92 | |
| 93 | .postbox .table .widefat.matomo-table { |
| 94 | border: 0; |
| 95 | } |
| 96 | |
| 97 | #matomo_default_tracking_code textarea { |
| 98 | width: 100%; |
| 99 | height: 280px; |
| 100 | } |
| 101 | #matomo_default_tracking_code textarea.no_script { |
| 102 | height: 50px; |
| 103 | } |
| 104 | |
| 105 | table.matomo-tracking-form textarea { |
| 106 | display: inline-block; |
| 107 | width: 95%; |
| 108 | } |
| 109 | |
| 110 | table.matomo-tracking-form th { |
| 111 | max-width: 30%; |
| 112 | } |
| 113 | |
| 114 | /* toggle styles */ |
| 115 | .matomo-toggle { |
| 116 | position: relative; |
| 117 | display: inline-block; |
| 118 | width: 2.375em; |
| 119 | height: 1.345em; |
| 120 | } |
| 121 | .matomo-toggle input { |
| 122 | height: 0; |
| 123 | width: 0; |
| 124 | opacity: 0; |
| 125 | } |
| 126 | .matomo-toggle .slider { |
| 127 | position: absolute; |
| 128 | cursor: pointer; |
| 129 | top: 0; |
| 130 | left: 0; |
| 131 | right: 0; |
| 132 | bottom: 0; |
| 133 | background-color: #ccc; |
| 134 | -webkit-transition: .4s; |
| 135 | transition: .4s; |
| 136 | border-radius: 1.345em; |
| 137 | } |
| 138 | .matomo-toggle .slider:before { |
| 139 | position: absolute; |
| 140 | content: ""; |
| 141 | height: 1.03em; |
| 142 | width: 1.03em; |
| 143 | left: .15835em; |
| 144 | bottom: .15835em; |
| 145 | background-color: white; |
| 146 | -webkit-transition: .4s; |
| 147 | transition: .4s; |
| 148 | border-radius: 50%; |
| 149 | } |
| 150 | .matomo-toggle input:checked + .slider { |
| 151 | background-color: #2271b1; |
| 152 | } |
| 153 | .matomo-toggle input:focus + .slider { |
| 154 | box-shadow: 0 0 1px #2271b1; |
| 155 | } |
| 156 | .matomo-toggle input:checked + .slider:before { |
| 157 | -webkit-transform: translateX(1.03em); |
| 158 | -ms-transform: translateX(1.03em); |
| 159 | transform: translateX(1.03em); |
| 160 | } |
| 161 | |
| 162 | #toplevel_page_matomo a.matomo-notification-dot { |
| 163 | position: relative; |
| 164 | display: inline-block; |
| 165 | } |
| 166 | |
| 167 | #toplevel_page_matomo .matomo-notification-dot::before { |
| 168 | content: " "; |
| 169 | position: absolute; |
| 170 | display: inline-block; |
| 171 | width: 6px; |
| 172 | height: 6px; |
| 173 | background-color: #d63638; |
| 174 | border-radius: 50%; |
| 175 | right: 2px; |
| 176 | } |
| 177 | |
| 178 | .notice.matomo-whats-new { |
| 179 | border-left-color: #9D2235; |
| 180 | } |
| 181 | |
| 182 | .notice.matomo-whats-new .button-primary { |
| 183 | background-color: #9D2235; |
| 184 | border-color: #9D2235; |
| 185 | } |
| 186 | |
| 187 | .notice.matomo-whats-new h6 { |
| 188 | margin: 0; |
| 189 | font-style: italic; |
| 190 | color: #9D2235; |
| 191 | font-size: .8em; |
| 192 | } |
| 193 | |
| 194 | .notice.matomo-whats-new h3 { |
| 195 | font-size: 1.6em; |
| 196 | margin: 6px 0; |
| 197 | } |
| 198 | |
| 199 | .matomo-plugin-list.matomo-new-plugins .plugin-card { |
| 200 | position: relative; |
| 201 | } |
| 202 | |
| 203 | .matomo-plugin-list.matomo-new-plugins .plugin-card .matomo-new-marker { |
| 204 | position: absolute; |
| 205 | right: 8px; |
| 206 | top: 8px; |
| 207 | font-style: italic; |
| 208 | color: #9D2235; |
| 209 | } |
| 210 | |
| 211 | .plugin-price { |
| 212 | font-weight: bold; |
| 213 | color: #f77b00; |
| 214 | } |
| 215 | |
| 216 | .matomo-inline-notice { |
| 217 | padding: 1em; |
| 218 | } |
| 219 | |
| 220 | .matomo-inline-notice.matomo-warning { |
| 221 | background-color: rgba(255, 165, 0, 0.2); |
| 222 | } |
| 223 | |
| 224 | .matomo-marketplace-wizard { |
| 225 | width: 100%; |
| 226 | max-width: 700px; |
| 227 | background-color: white; |
| 228 | box-shadow: 0 1px 2px rgba(0,0,0,.3); |
| 229 | border-radius: 3px; |
| 230 | padding-top: 48px; |
| 231 | position: relative; |
| 232 | margin: 32px auto 0 auto; |
| 233 | } |
| 234 | |
| 235 | .matomo-marketplace-wizard-header { |
| 236 | position: absolute; |
| 237 | border-top-left-radius: 3px; |
| 238 | border-top-right-radius: 3px; |
| 239 | top: 0; |
| 240 | left: 0; |
| 241 | right: 0; |
| 242 | height: 48px; |
| 243 | background-color: #e9e9e9; |
| 244 | } |
| 245 | |
| 246 | .matomo-marketplace-wizard-logo { |
| 247 | top: -14px; |
| 248 | left: calc(50% - 38px); |
| 249 | position: absolute; |
| 250 | border-radius: 50%; |
| 251 | background-color: white; |
| 252 | width: 72px; |
| 253 | height: 72px; |
| 254 | display: flex; |
| 255 | align-items: center; |
| 256 | justify-content: center; |
| 257 | border: 2px solid #ccc; |
| 258 | } |
| 259 | |
| 260 | .matomo-marketplace-wizard .matomo-marketplace-wizard-body { |
| 261 | padding: 24px; |
| 262 | } |
| 263 | |
| 264 | .matomo-marketplace-wizard-logo img { |
| 265 | width: 64px; |
| 266 | } |
| 267 | |
| 268 | .matomo-marketplace-wizard-body .wizard-steps-header { |
| 269 | display: flex; |
| 270 | flex-direction: row; |
| 271 | align-items: flex-start; |
| 272 | } |
| 273 | |
| 274 | .matomo-marketplace-wizard-body .wizard-steps-header .step-title { |
| 275 | text-transform: uppercase; |
| 276 | flex: 1; |
| 277 | color: #888; |
| 278 | } |
| 279 | |
| 280 | .matomo-marketplace-wizard-body .wizard-steps-header .divider { |
| 281 | width: 33px; |
| 282 | } |
| 283 | |
| 284 | .matomo-marketplace-wizard-body .wizard-steps { |
| 285 | display: flex; |
| 286 | flex-direction: row; |
| 287 | align-items: stretch; |
| 288 | } |
| 289 | |
| 290 | .matomo-marketplace-wizard-body .wizard-steps .step { |
| 291 | flex: 1; |
| 292 | padding-right: 32px; |
| 293 | display: flex; |
| 294 | flex-direction: column; |
| 295 | justify-content: space-between; |
| 296 | align-items: flex-start; |
| 297 | padding-bottom: 6px; |
| 298 | } |
| 299 | |
| 300 | .matomo-marketplace-wizard-body .wizard-steps .divider { |
| 301 | width: 1px; |
| 302 | background-color: #aaa; |
| 303 | margin: 0 16px; |
| 304 | } |
| 305 | |
| 306 | .matomo-marketplace-wizard-body .wizard-footer p{ |
| 307 | font-size: 0.9em; |
| 308 | margin-top: 24px; |
| 309 | } |
| 310 |