admin-dashboard.css
8 months ago
admin-dashboard.min.css
8 months ago
admin.css
8 months ago
admin.min.css
8 months ago
block-editor.min.css
8 months ago
frontend.css
8 months ago
frontend.min.css
8 months ago
page-reports.png
8 months ago
admin.css
325 lines
| 1 | /* Post Views Counter settings */ |
| 2 | .post-views-counter-settings.has-sidebar { |
| 3 | display: flex; |
| 4 | flex-direction: row; |
| 5 | gap: 30px; |
| 6 | justify-content: space-between; |
| 7 | } |
| 8 | .post-views-counter-settings form { |
| 9 | min-width: 463px; |
| 10 | width: auto; |
| 11 | position: relative; |
| 12 | } |
| 13 | |
| 14 | .post-views-sidebar { |
| 15 | width: 280px; |
| 16 | min-width: 280px; |
| 17 | margin: 15px 0; |
| 18 | position: relative; |
| 19 | order: 1; |
| 20 | } |
| 21 | |
| 22 | .post-views-sidebar .inner { |
| 23 | padding: 2em; |
| 24 | } |
| 25 | |
| 26 | .post-views-sidebar>div:not(:last-child) { |
| 27 | margin-bottom: 3em; |
| 28 | } |
| 29 | |
| 30 | .post-views-sidebar .inner img { |
| 31 | max-width: 80%; |
| 32 | height: auto; |
| 33 | display: block; |
| 34 | margin: 20px auto; |
| 35 | } |
| 36 | .post-views-counter-settings p.help, .post-views-counter-settings p.description { |
| 37 | font-size: 13px; |
| 38 | font-style: italic; |
| 39 | line-height: 1.6; |
| 40 | } |
| 41 | .post-views-counter-settings div.ip-box { |
| 42 | margin-bottom: 3px; |
| 43 | } |
| 44 | .post-views-counter-settings select { |
| 45 | vertical-align: top; |
| 46 | } |
| 47 | .post-views-counter-settings .available { |
| 48 | color: #00a32a; |
| 49 | } |
| 50 | .post-views-counter-settings .unavailable { |
| 51 | color: #d63638; |
| 52 | } |
| 53 | .pvc-subfield{ |
| 54 | margin-top: 12px; |
| 55 | } |
| 56 | |
| 57 | /* Single post edit screen */ |
| 58 | #misc-publishing-actions #post-views #post-views-display:before { |
| 59 | display: inline-block; |
| 60 | font: 400 20px/1 dashicons; |
| 61 | left: -1px; |
| 62 | padding: 0 2px 0 0; |
| 63 | position: relative; |
| 64 | text-decoration: none !important; |
| 65 | vertical-align: top; |
| 66 | color: #888; |
| 67 | content: "\f185"; |
| 68 | top: -1px; |
| 69 | } |
| 70 | |
| 71 | /* Listing edit screen */ |
| 72 | .edit-php .widefat th#post_views { |
| 73 | width: 5.5em; |
| 74 | } |
| 75 | .edit-php .widefat th.column-post_views .dashicons, |
| 76 | .edit-php .widefat th.column-post_views .dashicons:before { |
| 77 | font-size: 1.1em; |
| 78 | vertical-align: middle; |
| 79 | } |
| 80 | .edit-php .widefat th .dash-title, .upload-php .widefat th .dash-title { |
| 81 | display:none; |
| 82 | } |
| 83 | .edit-php .metabox-prefs .dash-icon { |
| 84 | display:none; |
| 85 | } |
| 86 | .edit-php .widefat td .dashicons, |
| 87 | .edit-php .widefat td .dashicons:before { |
| 88 | font-size: 1.1em; |
| 89 | } |
| 90 | .edit-php #inline-edit-post_views input { |
| 91 | width: auto; |
| 92 | } |
| 93 | |
| 94 | .is-hidden { |
| 95 | display:none !important; |
| 96 | visibility:hidden !important |
| 97 | } |
| 98 | output { |
| 99 | display: block; |
| 100 | font-size: 30px; |
| 101 | font-weight: bold; |
| 102 | text-align: center; |
| 103 | margin: 30px 0; |
| 104 | width: 100%; |
| 105 | } |
| 106 | |
| 107 | .post-views-credits { |
| 108 | background: #fff; |
| 109 | box-shadow: 0 0 0 1px rgba(0,0,0,0.05); |
| 110 | } |
| 111 | |
| 112 | .post-views-credits .inner { |
| 113 | text-align: center; |
| 114 | margin: 0; |
| 115 | } |
| 116 | |
| 117 | .post-views-counter-settings .pvc-button { |
| 118 | color: #fff; |
| 119 | background-color: #6610f2; |
| 120 | border-color: #6610f2; |
| 121 | } |
| 122 | |
| 123 | .post-views-counter-settings .pvc-button:active, |
| 124 | .post-views-counter-settings .pvc-button:focus, |
| 125 | .post-views-counter-settings .pvc-button:hover { |
| 126 | color: #fff; |
| 127 | background-color: #570ece; |
| 128 | border-color: #570ece; |
| 129 | } |
| 130 | |
| 131 | .post-views-counter-settings .pvc-button:focus { |
| 132 | box-shadow: 0 0 0 1px #fff,0 0 0 3px #6610f2; |
| 133 | } |
| 134 | |
| 135 | .post-views-credits h2 { |
| 136 | border: none; |
| 137 | padding-bottom: 0; |
| 138 | font-size: 23px; |
| 139 | font-weight: normal; |
| 140 | margin: 0.25em 0 0.5em; |
| 141 | color: #6610f2; |
| 142 | } |
| 143 | |
| 144 | .post-views-credits h3 { |
| 145 | font-size: 18px; |
| 146 | line-height: 1.4; |
| 147 | font-weight: normal; |
| 148 | margin: 0; |
| 149 | padding: 0; |
| 150 | color: #6610f2; |
| 151 | } |
| 152 | |
| 153 | .post-views-credits p:first-child { |
| 154 | margin-top: 0; |
| 155 | } |
| 156 | |
| 157 | .post-views-credits .pvc-sidebar-title { |
| 158 | font-size: 17px; |
| 159 | font-weight: bold; |
| 160 | margin: 10px 0 20px; |
| 161 | } |
| 162 | |
| 163 | .post-views-credits .pvc-sidebar-body { |
| 164 | padding-bottom: 0; |
| 165 | font-size: 14px; |
| 166 | text-align: left; |
| 167 | margin: 2em 0; |
| 168 | padding: 0; |
| 169 | } |
| 170 | |
| 171 | .post-views-credits .pvc-sidebar-footer { |
| 172 | margin: 1em 0; |
| 173 | } |
| 174 | |
| 175 | .post-views-credits .pvc-sidebar-body p { |
| 176 | padding-left: 20px; |
| 177 | margin: 0.75em 0; |
| 178 | position: relative; |
| 179 | } |
| 180 | |
| 181 | .post-views-credits .pvc-sidebar-body b { |
| 182 | font-weight: bold; |
| 183 | color: #000; |
| 184 | } |
| 185 | |
| 186 | .post-views-credits .pvc-sidebar-body .pvc-icon { |
| 187 | position: absolute; |
| 188 | top: 0; |
| 189 | left: 0; |
| 190 | } |
| 191 | |
| 192 | .post-views-credits .pvc-sidebar-body .pvc-icon-check { |
| 193 | box-sizing: border-box; |
| 194 | display: block; |
| 195 | transform: scale(1); |
| 196 | width: 16px; |
| 197 | height: 22px; |
| 198 | border-radius: 100px; |
| 199 | } |
| 200 | |
| 201 | .post-views-credits .pvc-sidebar-body .pvc-icon-check::after { |
| 202 | content: ""; |
| 203 | display: block; |
| 204 | box-sizing: border-box; |
| 205 | position: absolute; |
| 206 | left: 0; |
| 207 | top: 0; |
| 208 | width: 6px; |
| 209 | height: 10px; |
| 210 | border-width: 0 2px 2px 0; |
| 211 | border-style: solid; |
| 212 | transform-origin: bottom left; |
| 213 | transform: rotate(45deg); |
| 214 | } |
| 215 | |
| 216 | #post_views_counter_other_license_setting .pvc-icon { |
| 217 | box-sizing: border-box; |
| 218 | position: relative; |
| 219 | display: inline-block; |
| 220 | transform: scale(1); |
| 221 | width: 22px; |
| 222 | height: 22px; |
| 223 | border: 2px solid transparent; |
| 224 | border-radius: 40px; |
| 225 | vertical-align: middle; |
| 226 | margin-left: 3px; |
| 227 | top: -2px; |
| 228 | color: #b32d2e; |
| 229 | } |
| 230 | |
| 231 | #post_views_counter_other_license_setting:not(.valid) .pvc-icon:before, |
| 232 | #post_views_counter_other_license_setting:not(.valid) .pvc-icon:after { |
| 233 | content: ""; |
| 234 | display: block; |
| 235 | box-sizing: border-box; |
| 236 | position: absolute; |
| 237 | width: 16px; |
| 238 | height: 2px; |
| 239 | background: currentColor; |
| 240 | transform: rotate(45deg); |
| 241 | border-radius: 5px; |
| 242 | top: 8px; |
| 243 | left: 1px |
| 244 | } |
| 245 | |
| 246 | #post_views_counter_other_license_setting:not(.valid) .pvc-icon:after { |
| 247 | transform: rotate(-45deg) |
| 248 | } |
| 249 | |
| 250 | #post_views_counter_other_license_setting.valid .pvc-icon { |
| 251 | color: #1da867; |
| 252 | } |
| 253 | |
| 254 | #post_views_counter_other_license_setting.valid .pvc-icon:after { |
| 255 | content: ""; |
| 256 | display: block; |
| 257 | box-sizing: border-box; |
| 258 | position: absolute; |
| 259 | left: 3px; |
| 260 | top: -1px; |
| 261 | width: 6px; |
| 262 | height: 10px; |
| 263 | border-width: 0 2px 2px 0; |
| 264 | border-style: solid; |
| 265 | transform-origin: bottom left; |
| 266 | transform: rotate(45deg); |
| 267 | } |
| 268 | |
| 269 | #pvc-reports-upgrade { |
| 270 | position: absolute; |
| 271 | left: 0; |
| 272 | top: 0; |
| 273 | height: 100%; |
| 274 | width: 100%; |
| 275 | overflow: hidden; |
| 276 | box-sizing: border-box; |
| 277 | min-height: 400px; |
| 278 | } |
| 279 | |
| 280 | #pvc-reports-bg { |
| 281 | width: 100%; |
| 282 | height: auto; |
| 283 | opacity: 0.8; |
| 284 | filter: blur(2px); |
| 285 | } |
| 286 | |
| 287 | #pvc-reports-modal { |
| 288 | position: absolute; |
| 289 | top: 50%; |
| 290 | left: 50%; |
| 291 | transform: translate(-50%, -50%); |
| 292 | padding: 1.5em 3em; |
| 293 | box-shadow: 0 0 25px 10px rgba(0,0,0,0.1); |
| 294 | border-radius: 3px; |
| 295 | background-color: #fff; |
| 296 | text-align: center; |
| 297 | width: 26em; |
| 298 | } |
| 299 | |
| 300 | #pvc-reports-modal p { |
| 301 | margin: 0; |
| 302 | } |
| 303 | |
| 304 | #pvc-reports-modal h2 { |
| 305 | font-size: 21px; |
| 306 | font-weight: 400; |
| 307 | margin: 0 0 10px 0; |
| 308 | padding: 9px 0 4px; |
| 309 | line-height: 1.3; |
| 310 | } |
| 311 | |
| 312 | #pvc-reports-modal .button { |
| 313 | margin-top: 25px; |
| 314 | margin-bottom: 10px; |
| 315 | } |
| 316 | |
| 317 | /* All Mobile Sizes (devices and browser) */ |
| 318 | @media only screen and (max-width: 960px) { |
| 319 | .post-views-counter-settings { |
| 320 | flex-wrap: wrap; |
| 321 | } |
| 322 | .post-views-counter-settings .post-views-sidebar { |
| 323 | width: 100%; |
| 324 | } |
| 325 | } |