chart.min.js
7 months ago
index.html
7 years ago
jquery.tipTip.js
4 years ago
ninjafirewall.css
11 months ago
ninjafirewall.js
1 month ago
ninjafirewall.css
424 lines
| 1 | /* |
| 2 | +---------------------------------------------------------------------+ |
| 3 | | NinjaFirewall (WP Edition) | |
| 4 | | | |
| 5 | | (c) NinTechNet - https://nintechnet.com/ | |
| 6 | +---------------------------------------------------------------------+ |
| 7 | | This program is free software: you can redistribute it and/or | |
| 8 | | modify it under the terms of the GNU General Public License as | |
| 9 | | published by the Free Software Foundation, either version 3 of | |
| 10 | | the License, or (at your option) any later version. | |
| 11 | | | |
| 12 | | This program is distributed in the hope that it will be useful, | |
| 13 | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | | GNU General Public License for more details. | |
| 16 | +---------------------------------------------------------------------+ |
| 17 | */ |
| 18 | textarea { |
| 19 | resize: both; |
| 20 | } |
| 21 | .wpplus { |
| 22 | border: 1px solid #ccc; |
| 23 | -moz-box-shadow:-3px 5px 5px #999; |
| 24 | -webkit-box-shadow:-3px 5px 5px #999; |
| 25 | box-shadow:-3px 5px 5px #999; |
| 26 | } |
| 27 | #TB_window img#TB_Image { |
| 28 | border: 1px solid #ccc; |
| 29 | } |
| 30 | #TB_window, #TB_title { |
| 31 | background-color:#f0f0f1 !important; |
| 32 | } |
| 33 | .nfw-progress { |
| 34 | height: 3px; |
| 35 | width: 99%; |
| 36 | -webkit-appearance: none; |
| 37 | border: none; |
| 38 | background-color: #f1f1f1; |
| 39 | } |
| 40 | .nfw-progress::-webkit-progress-bar { |
| 41 | background-color: #f1f1f1; |
| 42 | } |
| 43 | .nfw-progress::-webkit-progress-value { |
| 44 | background-color: #1CA2E2; |
| 45 | } |
| 46 | .nfw-progress::-moz-progress-bar { |
| 47 | background-color: #1CA2E2; |
| 48 | } |
| 49 | |
| 50 | .row-med { |
| 51 | width:300px !important; |
| 52 | } |
| 53 | |
| 54 | .description2 { |
| 55 | font-weight:normal; |
| 56 | } |
| 57 | |
| 58 | #TB_ajaxContent p, #TB_ajaxContent td, div.font-15px { |
| 59 | font-size:15px; |
| 60 | } |
| 61 | |
| 62 | ul.view { |
| 63 | list-style: disc; |
| 64 | padding-left:15px; |
| 65 | } |
| 66 | |
| 67 | .nfw-table { |
| 68 | border: 1px #ddd solid; |
| 69 | } |
| 70 | .nfw-table td, .nfw-table th { |
| 71 | padding: 13px; |
| 72 | vertical-align: top; |
| 73 | } |
| 74 | |
| 75 | .nfw-warning { |
| 76 | color:#EC971F; |
| 77 | padding:1px 4px 1px 4px; |
| 78 | border-radius:2px; |
| 79 | } |
| 80 | .nfw-danger { |
| 81 | color:#C9302C; |
| 82 | padding:1px 4px 1px 4px; |
| 83 | border-radius:2px; |
| 84 | } |
| 85 | .nfw-success { |
| 86 | color:#398439; |
| 87 | padding:1px 4px 1px 4px; |
| 88 | border-radius:2px; |
| 89 | } |
| 90 | |
| 91 | .nfw-right { |
| 92 | text-align: -webkit-right; |
| 93 | text-align: -moz-right; |
| 94 | text-align: -o-right; |
| 95 | text-align: -ms-right; |
| 96 | } |
| 97 | .nfw-left { |
| 98 | text-align: -webkit-left; |
| 99 | text-align: -moz-left; |
| 100 | text-align: -o-left; |
| 101 | text-align: -ms-left; |
| 102 | } |
| 103 | |
| 104 | div.f-sub { |
| 105 | width:100%; |
| 106 | background-color:#fff; |
| 107 | padding: 0; |
| 108 | overflow: auto; |
| 109 | height:400px; |
| 110 | resize:vertical; |
| 111 | border:1px solid #ccc; |
| 112 | } |
| 113 | div.nfw-sub { |
| 114 | max-width:450px; |
| 115 | background-color:#fff; |
| 116 | padding: 0; |
| 117 | overflow: auto; |
| 118 | max-height:200px; |
| 119 | resize:vertical; |
| 120 | border:1px solid #7e8993; |
| 121 | border-radius: 4px; |
| 122 | } |
| 123 | |
| 124 | td.dir-list { |
| 125 | line-height:1; |
| 126 | padding: 10px 10px; |
| 127 | } |
| 128 | tr.f-grey { |
| 129 | background-color:#F9F9F9; |
| 130 | line-height:15px; |
| 131 | } |
| 132 | |
| 133 | tr.f-white { |
| 134 | background-color:#FFFFFF; |
| 135 | line-height:15px; |
| 136 | } |
| 137 | |
| 138 | td.country-list { |
| 139 | line-height:1; |
| 140 | padding: 10px 10px; |
| 141 | } |
| 142 | |
| 143 | /* Toggle swtich */ |
| 144 | .tg-list-item |
| 145 | .tg-list { |
| 146 | text-align: center; |
| 147 | display: flex; |
| 148 | align-items: center; |
| 149 | } |
| 150 | .tgl { |
| 151 | /* Don't hide checkbox to screen reader apps */ |
| 152 | clip: rect(0 0 0 0); |
| 153 | clip-path: inset(50%); |
| 154 | height: 1px; |
| 155 | overflow: hidden; |
| 156 | position: absolute; |
| 157 | white-space: nowrap; |
| 158 | width: 1px; |
| 159 | } |
| 160 | .tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, |
| 161 | .tgl *:before, .tgl + .tgl-btn { |
| 162 | box-sizing: border-box; |
| 163 | } |
| 164 | .tgl::-moz-selection, .tgl:after::-moz-selection, |
| 165 | .tgl:before::-moz-selection, .tgl *::-moz-selection, |
| 166 | .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, |
| 167 | .tgl + .tgl-btn::-moz-selection { |
| 168 | background: none; |
| 169 | } |
| 170 | .tgl::selection, .tgl:after::selection, .tgl:before::selection, |
| 171 | .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, |
| 172 | .tgl + .tgl-btn::selection { |
| 173 | background: none; |
| 174 | } |
| 175 | .tgl + .tgl-btn { |
| 176 | outline: 0; |
| 177 | display: block; |
| 178 | width: 4em; |
| 179 | height: 2em; |
| 180 | position: relative; |
| 181 | cursor: pointer; |
| 182 | -webkit-user-select: none; |
| 183 | -moz-user-select: none; |
| 184 | -ms-user-select: none; |
| 185 | user-select: none; |
| 186 | } |
| 187 | .tgl + .tgl-btn:after, .tgl + .tgl-btn:before { |
| 188 | position: relative; |
| 189 | display: block; |
| 190 | content: ""; |
| 191 | width: 50%; |
| 192 | height: 100%; |
| 193 | } |
| 194 | .tgl + .tgl-btn:after { |
| 195 | left: 0; |
| 196 | } |
| 197 | .tgl + .tgl-btn:before { |
| 198 | display: none; |
| 199 | } |
| 200 | .tgl + .tgl-btn:before { |
| 201 | display: none; |
| 202 | } |
| 203 | .tgl:checked + .tgl-btn:after { |
| 204 | left: 50%; |
| 205 | } |
| 206 | .tgl:disabled+ .tgl-btn { |
| 207 | opacity:0.3; |
| 208 | } |
| 209 | .tgl:checked:disabled+ .tgl-btn { |
| 210 | opacity:0.3; |
| 211 | } |
| 212 | .tgl-switch + .tgl-btn { |
| 213 | overflow: hidden; |
| 214 | -webkit-backface-visibility: hidden; |
| 215 | backface-visibility: hidden; |
| 216 | transition: all .1s ease-in; |
| 217 | border-radius: .25rem; |
| 218 | } |
| 219 | .tgl-switch + .tgl-info, .tgl-switch + .tgl-green { |
| 220 | color: #23282d; |
| 221 | background-color: #f1f1f1; |
| 222 | border:1px solid #ccc; |
| 223 | } |
| 224 | .tgl-switch + .tgl-danger { |
| 225 | color: #fff; |
| 226 | background: #dc3545; |
| 227 | border:1px solid #BF3441; |
| 228 | } |
| 229 | .tgl-switch + .tgl-warning { |
| 230 | color: #23282d; |
| 231 | background-color: #f1f1f1; |
| 232 | border:1px solid #ccc; |
| 233 | } |
| 234 | .tgl-switch + .tgl-btn:after, .tgl-switch + .tgl-btn:before { |
| 235 | display: inline-block; |
| 236 | transition: all .1s ease-in; |
| 237 | width: 100%; |
| 238 | text-align: center; |
| 239 | position: absolute; |
| 240 | line-height: 2em; |
| 241 | } |
| 242 | .tgl-switch + .tgl-btn:after { |
| 243 | left: 100%; |
| 244 | content: attr(data-tg-on); |
| 245 | } |
| 246 | .tgl-switch + .tgl-btn:before { |
| 247 | left: 0; |
| 248 | content: attr(data-tg-off); |
| 249 | } |
| 250 | .tgl-switch + .tgl-btn:active:before { |
| 251 | left: -10%; |
| 252 | } |
| 253 | .tgl-switch:checked + .tgl-info { |
| 254 | color: #23282d; |
| 255 | background-color: #fff; |
| 256 | border: 1px solid #bbb; |
| 257 | } |
| 258 | .tgl-switch:checked + .tgl-green { |
| 259 | color: #fff; |
| 260 | background-color: #28A745; |
| 261 | border:1px solid #418952; |
| 262 | } |
| 263 | .tgl-switch:checked + .tgl-danger { |
| 264 | color: #fff; |
| 265 | background: #28a745; |
| 266 | border:1px solid #418952; |
| 267 | } |
| 268 | .tgl-switch:checked + .tgl-warning { |
| 269 | color: #fff; |
| 270 | background: #dc3545; |
| 271 | border:1px solid #BF3441; |
| 272 | } |
| 273 | .tgl-switch:checked + .tgl-btn:before { |
| 274 | left: -100%; |
| 275 | } |
| 276 | .tgl-switch:checked + .tgl-btn:after { |
| 277 | left: 0; |
| 278 | } |
| 279 | .tgl-switch:checked + .tgl-btn:active:after { |
| 280 | left: 10%; |
| 281 | } |
| 282 | .nfw-notice{ |
| 283 | border: 1px solid #ccd0d4; |
| 284 | margin: 5px 0 15px; |
| 285 | background: #fff; |
| 286 | border-left: 4px solid #fff; |
| 287 | box-shadow: 0 1px 1px 0 rgba(0,0,0,.04); |
| 288 | padding: 1px 12px; |
| 289 | } |
| 290 | .nfw-notice-orange{ |
| 291 | border-left-color: #ffb900; |
| 292 | } |
| 293 | .nfw-notice-red{ |
| 294 | border-left-color: #dc3232; |
| 295 | } |
| 296 | .nfw-notice-green{ |
| 297 | border-left-color: #46b450; |
| 298 | } |
| 299 | .nfw-notice-blue{ |
| 300 | border-left-color: #00a0d2; |
| 301 | } |
| 302 | .nfw-notice p { |
| 303 | margin: .5em 0; |
| 304 | padding: 2px; |
| 305 | } |
| 306 | /* TipTip CSS - Version 1.2 */ |
| 307 | .ninjafirewall-tip{ |
| 308 | color:#d63638; |
| 309 | display:inline-block; |
| 310 | font-size:1.5em; |
| 311 | font-style:normal; |
| 312 | position:relative; |
| 313 | height:18px; |
| 314 | line-height:18px; |
| 315 | width:18px; |
| 316 | } |
| 317 | .ninjafirewall-tip::after{ |
| 318 | font-family:Dashicons; |
| 319 | font-weight:400; |
| 320 | font-variant:normal; |
| 321 | text-transform:none; |
| 322 | line-height:1; |
| 323 | -webkit-font-smoothing:antialiased; |
| 324 | margin:0; |
| 325 | text-indent:0; |
| 326 | position:absolute; |
| 327 | top:0; |
| 328 | left:0; |
| 329 | width:100%; |
| 330 | height:100%; |
| 331 | text-align:center; |
| 332 | content: "\f223"; |
| 333 | cursor:help; |
| 334 | } |
| 335 | #tiptip_holder { |
| 336 | display: none; |
| 337 | position: absolute; |
| 338 | top: 0; |
| 339 | left: 0; |
| 340 | z-index: 99999; |
| 341 | } |
| 342 | #tiptip_holder.tip_top { |
| 343 | padding-bottom: 5px; |
| 344 | } |
| 345 | #tiptip_holder.tip_bottom { |
| 346 | padding-top: 5px; |
| 347 | } |
| 348 | #tiptip_holder.tip_right { |
| 349 | padding-left: 5px; |
| 350 | } |
| 351 | #tiptip_holder.tip_left { |
| 352 | padding-right: 5px; |
| 353 | } |
| 354 | #tiptip_content { |
| 355 | font-size: 14px; |
| 356 | color: #000; |
| 357 | padding: 4px 8px; |
| 358 | background-color:#F5F5B5; |
| 359 | border-radius: 4px; |
| 360 | -webkit-border-radius: 4px; |
| 361 | -moz-border-radius: 4px; |
| 362 | border:1px #666 solid; |
| 363 | } |
| 364 | #tiptip_arrow, #tiptip_arrow_inner { |
| 365 | position: absolute; |
| 366 | border-color: transparent; |
| 367 | border-style: solid; |
| 368 | border-width: 6px; |
| 369 | height: 0; |
| 370 | width: 0; |
| 371 | } |
| 372 | #tiptip_holder.tip_top #tiptip_arrow { |
| 373 | border-top-color: #fff; |
| 374 | border-top-color: rgba(255,255,255); |
| 375 | } |
| 376 | #tiptip_holder.tip_bottom #tiptip_arrow { |
| 377 | border-bottom-color: #fff; |
| 378 | border-bottom-color: rgba(255,255,255); |
| 379 | } |
| 380 | #tiptip_holder.tip_right #tiptip_arrow { |
| 381 | border-right-color: #fff; |
| 382 | border-right-color: rgba(255,255,255); |
| 383 | } |
| 384 | #tiptip_holder.tip_left #tiptip_arrow { |
| 385 | border-left-color: #fff; |
| 386 | border-left-color: rgba(255,255,255); |
| 387 | } |
| 388 | #tiptip_holder.tip_top #tiptip_arrow_inner { |
| 389 | margin-top: -7px; |
| 390 | margin-left: -6px; |
| 391 | border-top-color: rgb(25,25,25); |
| 392 | } |
| 393 | #tiptip_holder.tip_bottom #tiptip_arrow_inner { |
| 394 | margin-top: -5px; |
| 395 | margin-left: -6px; |
| 396 | border-bottom-color: rgb(25,25,25); |
| 397 | } |
| 398 | #tiptip_holder.tip_right #tiptip_arrow_inner { |
| 399 | margin-top: -6px; |
| 400 | margin-left: -5px; |
| 401 | border-right-color: rgb(25,25,25); |
| 402 | } |
| 403 | #tiptip_holder.tip_left #tiptip_arrow_inner { |
| 404 | margin-top: -6px; |
| 405 | margin-left: -7px; |
| 406 | border-left-color: rgb(25,25,25); |
| 407 | } |
| 408 | @media screen and (-webkit-min-device-pixel-ratio:0) { |
| 409 | #tiptip_content { |
| 410 | padding: 4px 8px 5px 8px; |
| 411 | background-color:#F5F5B5; |
| 412 | } |
| 413 | #tiptip_holder.tip_bottom #tiptip_arrow_inner { |
| 414 | border-bottom-color: rgba(45,45,45); |
| 415 | } |
| 416 | #tiptip_holder.tip_top #tiptip_arrow_inner { |
| 417 | border-top-color: rgba(20,20,20); |
| 418 | } |
| 419 | } |
| 420 | /* WP+ images */ |
| 421 | .about-wrap .is-wide { |
| 422 | max-width: none; |
| 423 | } |
| 424 |