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