| 1 |
/** |
| 2 |
* Author: Alin Marcu |
| 3 |
* Author URI: https://deconf.com |
| 4 |
* Copyright 2013 Alin Marcu |
| 5 |
* License: GPLv2 or later |
| 6 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 7 |
*/ |
| 8 |
|
| 9 |
/* Tab navigation */ |
| 10 |
#aiwp-events, #aiwp-custom, #aiwp-advanced, #aiwp-exclude, #aiwp-config, #aiwp-errors, #aiwp-sysinfo, #aiwp-tmdatalayervars, #aiwp-tmintegration, #aiwp-integration, #aiwp-tmadvanced { |
| 11 |
display: none; |
| 12 |
} |
| 13 |
|
| 14 |
#aiwp-autodismiss { |
| 15 |
position: fixed; |
| 16 |
top: 35px; |
| 17 |
left: 50%; |
| 18 |
transform: translate(-50%, 0); |
| 19 |
z-index: 2; |
| 20 |
} |
| 21 |
|
| 22 |
/* Options pages */ |
| 23 |
table.aiwp-settings-options { |
| 24 |
padding-left: 10px; |
| 25 |
width: 100%; |
| 26 |
} |
| 27 |
|
| 28 |
.aiwp-settings-options td { |
| 29 |
padding: 0px 5px 5px 5px; |
| 30 |
} |
| 31 |
|
| 32 |
td.aiwp-settings-title, td.info { |
| 33 |
width: 140px; |
| 34 |
padding-left: 20px; |
| 35 |
} |
| 36 |
|
| 37 |
td.aiwp-settings-title-s { |
| 38 |
width: 300px; |
| 39 |
} |
| 40 |
|
| 41 |
.aiwp-help { |
| 42 |
padding-left: 15px; |
| 43 |
} |
| 44 |
|
| 45 |
td.aiwp-settings-info { |
| 46 |
padding-bottom: 15px; |
| 47 |
} |
| 48 |
|
| 49 |
td.aiwp-settings-title label { |
| 50 |
font-size: 1.1em; |
| 51 |
} |
| 52 |
|
| 53 |
.aiwp-title { |
| 54 |
float: left; |
| 55 |
margin-right: 10px; |
| 56 |
margin-top: 2px; |
| 57 |
clear: left; |
| 58 |
} |
| 59 |
|
| 60 |
.aiwp-desc { |
| 61 |
font-size: 1em; |
| 62 |
} |
| 63 |
|
| 64 |
.aiwp-top { |
| 65 |
vertical-align: top; |
| 66 |
} |
| 67 |
|
| 68 |
pre.aiwp-settings-logdata { |
| 69 |
white-space: pre-wrap; /* Since CSS 2.1 */ |
| 70 |
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ |
| 71 |
white-space: -pre-wrap; /* Opera 4-6 */ |
| 72 |
white-space: -o-pre-wrap; /* Opera 7 */ |
| 73 |
word-wrap: break-word; /* Internet Explorer 5.5+ */ |
| 74 |
} |
| 75 |
|
| 76 |
pre.aiwp-settings-logdata span { |
| 77 |
color: #b30000; |
| 78 |
font-weight: 800; |
| 79 |
} |
| 80 |
|
| 81 |
table.aiwp-settings-logdata { |
| 82 |
table-layout: fixed; |
| 83 |
width: 100%; |
| 84 |
} |
| 85 |
|
| 86 |
td.aiwp-settings-roles { |
| 87 |
padding-bottom: 15px; |
| 88 |
} |
| 89 |
|
| 90 |
#ga_speed_samplerate, #ga_user_samplerate, #ga_realtime_pages { |
| 91 |
width: 60px; |
| 92 |
} |
| 93 |
|
| 94 |
#gapi-access-code { |
| 95 |
color: red !important; |
| 96 |
} |
| 97 |
|
| 98 |
#poststuff.aiwp h2 { |
| 99 |
padding-bottom: 0; |
| 100 |
font-size: 19.5px; |
| 101 |
font-weight: normal; |
| 102 |
padding: 0; |
| 103 |
margin: 20px 0 15px 0; |
| 104 |
} |
| 105 |
|
| 106 |
#poststuff.aiwp h2.nav-tab-wrapper { |
| 107 |
border-bottom: 1px solid #ccc; |
| 108 |
padding-bottom: 0; |
| 109 |
} |
| 110 |
|
| 111 |
/* Options pages ON/OFF Switch */ |
| 112 |
.button-primary.aiwp-settings-switchoo { |
| 113 |
position: relative; |
| 114 |
width: 50px; |
| 115 |
float: left; |
| 116 |
border: none; |
| 117 |
padding: 0; |
| 118 |
height: 22px; |
| 119 |
min-height: auto; |
| 120 |
-moz-box-shadow: none; |
| 121 |
-webkit-box-shadow: none; |
| 122 |
-o-box-shadow: none; |
| 123 |
box-shadow: none; |
| 124 |
-webkit-user-select: none; |
| 125 |
-moz-user-select: none; |
| 126 |
-ms-user-select: none; |
| 127 |
text-align: left; |
| 128 |
} |
| 129 |
|
| 130 |
input.aiwp-settings-switchoo-checkbox { |
| 131 |
display: none; |
| 132 |
} |
| 133 |
|
| 134 |
.aiwp-settings-switchoo-label { |
| 135 |
display: block; |
| 136 |
overflow: hidden; |
| 137 |
cursor: pointer; |
| 138 |
background: transparent; |
| 139 |
border: 1px solid #ddd; |
| 140 |
border-radius: 2px; |
| 141 |
text-shadow: none; |
| 142 |
} |
| 143 |
|
| 144 |
.aiwp-settings-switchoo-inner { |
| 145 |
width: 200%; |
| 146 |
margin-left: -100%; |
| 147 |
border-radius: 2px; |
| 148 |
-moz-transition: margin 0.2s ease-in 0s; |
| 149 |
-webkit-transition: margin 0.2s ease-in 0s; |
| 150 |
-o-transition: margin 0.2s ease-in 0s; |
| 151 |
transition: margin 0.2s ease-in 0s; |
| 152 |
} |
| 153 |
|
| 154 |
.aiwp-settings-switchoo-inner:before, .aiwp-settings-switchoo-inner:after { |
| 155 |
float: left; |
| 156 |
width: 50%; |
| 157 |
font-weight: normal; |
| 158 |
-moz-box-sizing: border-box; |
| 159 |
-webkit-box-sizing: border-box; |
| 160 |
-o-box-sizing: border-box; |
| 161 |
box-sizing: border-box; |
| 162 |
height: 22px; |
| 163 |
line-height: 22px; |
| 164 |
font-size: 12px; |
| 165 |
text-shadow: none; |
| 166 |
} |
| 167 |
|
| 168 |
.aiwp-settings-switchoo-inner:before { |
| 169 |
content: "On"; |
| 170 |
padding-left: 5px; |
| 171 |
border-bottom: none; |
| 172 |
/* background-color: #00a0d2; |
| 173 |
color: #fff; /* inherit from button props */ |
| 174 |
} |
| 175 |
|
| 176 |
.aiwp-settings-switchoo-inner:after { |
| 177 |
content: "Off"; |
| 178 |
padding-right: 5px; |
| 179 |
background-color: #ddd; |
| 180 |
text-align: right; |
| 181 |
} |
| 182 |
|
| 183 |
.aiwp-settings-switchoo-switch { |
| 184 |
width: 22px; |
| 185 |
height: 22px; |
| 186 |
background: #fff; |
| 187 |
color: #ddd; |
| 188 |
border: 1px solid #ddd; |
| 189 |
border-radius: 2px; |
| 190 |
position: absolute; |
| 191 |
top: 0; |
| 192 |
bottom: 0; |
| 193 |
right: 27px; |
| 194 |
-moz-transition: all 0.2s ease-in 0s; |
| 195 |
-webkit-transition: all 0.2s ease-in 0s; |
| 196 |
-o-transition: all 0.2s ease-in 0s; |
| 197 |
transition: all 0.2s ease-in 0s; |
| 198 |
} |
| 199 |
|
| 200 |
.aiwp-settings-switchoo-switch:hover { |
| 201 |
color: #aaa; |
| 202 |
border-color: #aaa; |
| 203 |
} |
| 204 |
|
| 205 |
.aiwp-settings-switchoo-switch:after { |
| 206 |
margin: 0; |
| 207 |
outline: 0; |
| 208 |
display: inline-block; |
| 209 |
font: 400 16px/16px dashicons; |
| 210 |
content: "\f228"; |
| 211 |
padding: 3px 0 0 3px; |
| 212 |
text-align: left; |
| 213 |
text-decoration: none; |
| 214 |
-webkit-font-smoothing: antialiased; |
| 215 |
-moz-osx-font-smoothing: grayscale; |
| 216 |
} |
| 217 |
|
| 218 |
.aiwp-settings-switchoo-checkbox:checked+.aiwp-settings-switchoo-label .aiwp-settings-switchoo-inner { |
| 219 |
margin-left: 0; |
| 220 |
} |
| 221 |
|
| 222 |
.aiwp-settings-switchoo-checkbox:checked+.aiwp-settings-switchoo-label .aiwp-settings-switchoo-switch { |
| 223 |
right: 0px; |
| 224 |
} |
| 225 |
|
| 226 |
.switch-desc { |
| 227 |
float: left; |
| 228 |
margin-left: 10px; |
| 229 |
line-height: 20px; |
| 230 |
} |