| 1 |
#WINP_ViewOptionsMetaBox { |
| 2 |
display: block; |
| 3 |
|
| 4 |
.winp-template { |
| 5 |
display: none; |
| 6 |
} |
| 7 |
} |
| 8 |
|
| 9 |
.winp-advanded-options { |
| 10 |
input { |
| 11 |
float: none; |
| 12 |
position: relative; |
| 13 |
top: 0; |
| 14 |
padding: 4px; |
| 15 |
} |
| 16 |
|
| 17 |
.winp-head { |
| 18 |
overflow: auto; |
| 19 |
background-color: #fff; |
| 20 |
border-bottom: 1px solid #ddd; |
| 21 |
border-left: 1px solid #ddd; |
| 22 |
padding: 10px 15px; |
| 23 |
|
| 24 |
.winp-left { |
| 25 |
float: left; |
| 26 |
} |
| 27 |
|
| 28 |
.winp-right { |
| 29 |
float: right; |
| 30 |
} |
| 31 |
|
| 32 |
.winp-left > *, |
| 33 |
.winp-right > * { |
| 34 |
display: inline-block; |
| 35 |
vertical-align: middle; |
| 36 |
} |
| 37 |
|
| 38 |
.winp-left > span, |
| 39 |
.winp-right > span { |
| 40 |
margin: 0 5px; |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
.winp-editor-wrap .winp-filters { |
| 45 |
padding-left: 20px; |
| 46 |
border-left: 1px solid #ddd; |
| 47 |
} |
| 48 |
|
| 49 |
.winp-filters { |
| 50 |
|
| 51 |
.winp-point { |
| 52 |
background-color: #fff; |
| 53 |
border: 1px solid #0073aa; |
| 54 |
border-radius: 100%; |
| 55 |
width: 11px; |
| 56 |
height: 11px; |
| 57 |
display: block; |
| 58 |
position: absolute; |
| 59 |
margin-left: -26px; |
| 60 |
margin-top: 19px; |
| 61 |
} |
| 62 |
|
| 63 |
.winp-point:after { |
| 64 |
position: absolute; |
| 65 |
content: " "; |
| 66 |
display: block; |
| 67 |
width: 15px; |
| 68 |
border-top: 1px solid #ddd; |
| 69 |
margin-left: 10px; |
| 70 |
margin-top: 4px; |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
.winp-filter + .winp-filter { |
| 75 |
margin-top: 20px; |
| 76 |
} |
| 77 |
|
| 78 |
.winp-box { |
| 79 |
padding: 25px 15px 15px 15px; |
| 80 |
border-left: 1px solid #ddd; |
| 81 |
background-color: #f9f9f9; |
| 82 |
} |
| 83 |
|
| 84 |
.winp-when-empty { |
| 85 |
display: none; |
| 86 |
} |
| 87 |
|
| 88 |
.winp-empty .winp-when-empty { |
| 89 |
display: block; |
| 90 |
} |
| 91 |
|
| 92 |
.winp-empty .winp-conditions { |
| 93 |
display: none; |
| 94 |
} |
| 95 |
|
| 96 |
.winp-integer { |
| 97 |
width: 60px; |
| 98 |
} |
| 99 |
|
| 100 |
.winp-text { |
| 101 |
width: 300px; |
| 102 |
} |
| 103 |
} |
| 104 |
|
| 105 |
/* Conditions */ |
| 106 |
.winp-condition { |
| 107 |
position: relative; |
| 108 |
|
| 109 |
.btn-group .btn { |
| 110 |
height: 28px; |
| 111 |
} |
| 112 |
|
| 113 |
.winp-hint, |
| 114 |
.winp-hint-content { |
| 115 |
display: none; |
| 116 |
} |
| 117 |
|
| 118 |
.winp-hint { |
| 119 |
position: relative; |
| 120 |
display: inline-block; |
| 121 |
padding: 0 6px 0 3px; |
| 122 |
} |
| 123 |
|
| 124 |
.winp-hint-icon { |
| 125 |
background: url('../img/help.png') no-repeat 0 0 transparent; |
| 126 |
position: relative; |
| 127 |
height: 14px; |
| 128 |
width: 13px; |
| 129 |
display: inline-block; |
| 130 |
cursor: help; |
| 131 |
vertical-align: middle; |
| 132 |
top: -1px; |
| 133 |
opacity: 0.55; |
| 134 |
} |
| 135 |
|
| 136 |
.winp-hint:hover .winp-hint-content { |
| 137 |
display: block; |
| 138 |
position: absolute; |
| 139 |
width: 280px; |
| 140 |
background-color: rgba(0, 0, 0, 0.8); |
| 141 |
white-space: normal; |
| 142 |
padding: 10px 12px 12px 12px; |
| 143 |
font-weight: normal; |
| 144 |
line-height: 150%; |
| 145 |
border-radius: 4px; |
| 146 |
color: #fff; |
| 147 |
font-size: 13px; |
| 148 |
z-index: 999; |
| 149 |
} |
| 150 |
|
| 151 |
.winp-hint .winp-hint-content, |
| 152 |
.winp-hint .winp-hint-content a { |
| 153 |
color: #fff; |
| 154 |
} |
| 155 |
|
| 156 |
.winp-or { |
| 157 |
display: none; |
| 158 |
color: rgba(0, 0, 0, 0.4); |
| 159 |
font-weight: bold; |
| 160 |
padding: 1px 0 3px 0; |
| 161 |
font-size: 80%; |
| 162 |
text-transform: uppercase; |
| 163 |
} |
| 164 |
|
| 165 |
+ .winp-condition .winp-or { |
| 166 |
display: block; |
| 167 |
} |
| 168 |
|
| 169 |
.winp-controls { |
| 170 |
position: absolute; |
| 171 |
right: 0; |
| 172 |
} |
| 173 |
|
| 174 |
.btn-group { |
| 175 |
border: 0; |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
.winp-condition > span { |
| 180 |
display: inline-block; |
| 181 |
vertical-align: top; |
| 182 |
} |
| 183 |
|
| 184 |
/* date control */ |
| 185 |
.winp-date-control { |
| 186 |
display: inline-block; |
| 187 |
position: relative; |
| 188 |
|
| 189 |
input[type='text'], |
| 190 |
select { |
| 191 |
vertical-align: top; |
| 192 |
} |
| 193 |
|
| 194 |
.winp-label { |
| 195 |
display: inline-block; |
| 196 |
vertical-align: top; |
| 197 |
position: relative; |
| 198 |
top: 4px; |
| 199 |
padding: 0 4px; |
| 200 |
} |
| 201 |
|
| 202 |
.winp-switcher { |
| 203 |
padding: 4px 0; |
| 204 |
} |
| 205 |
|
| 206 |
.winp-switcher * { |
| 207 |
display: inline-block; |
| 208 |
vertical-align: bottom; |
| 209 |
} |
| 210 |
|
| 211 |
.winp-switcher label { |
| 212 |
margin: 0 5px 0 0; |
| 213 |
font-weight: normal; |
| 214 |
} |
| 215 |
|
| 216 |
.winp-absolute-date { |
| 217 |
input[type="text"] { |
| 218 |
-moz-box-sizing: border-box; |
| 219 |
-webkit-box-sizing: border-box; |
| 220 |
box-sizing: border-box; |
| 221 |
background-color: #fff; |
| 222 |
padding-right: 20px; |
| 223 |
width: 140px; |
| 224 |
} |
| 225 |
|
| 226 |
.fa-calendar { |
| 227 |
position: absolute; |
| 228 |
right: 7px; |
| 229 |
top: 8px; |
| 230 |
border-left: 1px solid rgba(0, 0, 0, 0.2); |
| 231 |
padding-left: 6px; |
| 232 |
} |
| 233 |
} |
| 234 |
|
| 235 |
.winp-relative-date input[type="text"] { |
| 236 |
width: 40px; |
| 237 |
text-align: center; |
| 238 |
} |
| 239 |
} |
| 240 |
|
| 241 |
.winp-date-control.winp-between .winp-solo-date { |
| 242 |
display: none; |
| 243 |
} |
| 244 |
|
| 245 |
.winp-date-control.winp-solo .winp-between-date { |
| 246 |
display: none; |
| 247 |
} |
| 248 |
|
| 249 |
.winp-date-control.winp-relative .winp-absolute-date { |
| 250 |
display: none; |
| 251 |
} |
| 252 |
|
| 253 |
.winp-date-control.winp-absolute .winp-relative-date { |
| 254 |
display: none; |
| 255 |
} |
| 256 |
|
| 257 |
.winp-scope { |
| 258 |
.winp-and { |
| 259 |
display: none; |
| 260 |
color: rgba(0, 0, 0, 0.7); |
| 261 |
font-weight: bold; |
| 262 |
border-top: 1px solid #ddd; |
| 263 |
margin: 18px 0; |
| 264 |
position: relative; |
| 265 |
} |
| 266 |
|
| 267 |
.winp-and span { |
| 268 |
position: absolute; |
| 269 |
top: -10px; |
| 270 |
background-color: #f9f9f9; |
| 271 |
padding-right: 7px; |
| 272 |
text-transform: uppercase; |
| 273 |
} |
| 274 |
|
| 275 |
+ .winp-scope .winp-and { |
| 276 |
display: block; |
| 277 |
} |
| 278 |
} |