cf7-conditional-fields
Last commit date
js
1 year ago
jsdoc-out
1 year ago
Wpcf7cfMailParser.php
4 years ago
admin-style.css
2 years ago
admin-style.css.map
2 years ago
admin-style.scss
4 years ago
admin.php
2 years ago
cf7cf.php
1 year ago
conditional-fields.php
1 year ago
init.php
1 year ago
readme.txt
1 year ago
style.css
3 years ago
tg_pane_group.php
1 year ago
wpcf7cf-options.php
1 year ago
admin-style.css
278 lines
| 1 | #wpcf7cf-new-entry { |
| 2 | display: inline-block; |
| 3 | display: none; |
| 4 | } |
| 5 | |
| 6 | #wpcf7cf-delete-button { |
| 7 | display: none; |
| 8 | } |
| 9 | |
| 10 | #wpcf7cf-settings-text { |
| 11 | width: 100%; |
| 12 | height: 280px; |
| 13 | font-family: "Courier New", Courier, monospace; |
| 14 | } |
| 15 | |
| 16 | #wpcf7cf-conditional-panel { |
| 17 | overflow-x: auto; |
| 18 | } |
| 19 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .label, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .field, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .description { |
| 20 | padding: 10px; |
| 21 | display: inline-block; |
| 22 | vertical-align: middle; |
| 23 | width: 10%; |
| 24 | } |
| 25 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .field { |
| 26 | width: 20%; |
| 27 | } |
| 28 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .description { |
| 29 | width: 40%; |
| 30 | vertical-align: top; |
| 31 | } |
| 32 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line { |
| 33 | border-bottom: 1px solid #dddddd; |
| 34 | background-color: #f9f9f9; |
| 35 | padding: 0 10px; |
| 36 | } |
| 37 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line:nth-child(2n) { |
| 38 | background-color: #e9e9e9; |
| 39 | } |
| 40 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line input, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line select { |
| 41 | width: 100%; |
| 42 | } |
| 43 | #wpcf7cf-conditional-panel .ui-autocomplete-term { |
| 44 | font-weight: bold; |
| 45 | } |
| 46 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable { |
| 47 | position: relative; |
| 48 | } |
| 49 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input { |
| 50 | background-color: transparent; |
| 51 | border-width: 0; |
| 52 | outline: none; |
| 53 | box-shadow: none; |
| 54 | padding: 0; |
| 55 | } |
| 56 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:after { |
| 57 | content: "edit"; |
| 58 | display: block; |
| 59 | width: 10px; |
| 60 | right: 0; |
| 61 | position: absolute; |
| 62 | } |
| 63 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:focus { |
| 64 | background: #fff; |
| 65 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); |
| 66 | border: 1px solid #ddd; |
| 67 | padding: 2px; |
| 68 | } |
| 69 | #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:focus:after { |
| 70 | content: ""; |
| 71 | } |
| 72 | #wpcf7cf-conditional-panel .wpcf7cf-and { |
| 73 | display: inline-block; |
| 74 | } |
| 75 | #wpcf7cf-conditional-panel .wpcf7cf-and-rules, #wpcf7cf-conditional-panel .wpcf7cf-if { |
| 76 | display: inline-block; |
| 77 | vertical-align: top; |
| 78 | } |
| 79 | #wpcf7cf-conditional-panel #wpcf7cf-entries input, #wpcf7cf-conditional-panel #wpcf7cf-entries select, #wpcf7cf-conditional-panel .and-button, #wpcf7cf-conditional-panel .delete-button, #wpcf7cf-conditional-panel #wpcf7cf-entries .if-txt, #wpcf7cf-conditional-panel #wpcf7cf-entries .label, #wpcf7cf-conditional-panel #wpcf7cf-add-button { |
| 80 | position: relative; |
| 81 | display: inline-block; |
| 82 | vertical-align: bottom; |
| 83 | margin: 2px; |
| 84 | padding: 3px; |
| 85 | background: #fefefe; |
| 86 | border: 1px solid #bababa; |
| 87 | box-shadow: none; |
| 88 | height: 22px; |
| 89 | line-height: 22px; |
| 90 | min-height: 22px; |
| 91 | box-sizing: content-box; |
| 92 | } |
| 93 | #wpcf7cf-conditional-panel #wpcf7cf-entries .label { |
| 94 | background-color: transparent; |
| 95 | border: none; |
| 96 | } |
| 97 | #wpcf7cf-conditional-panel .and-button, #wpcf7cf-conditional-panel .delete-button, #wpcf7cf-conditional-panel #wpcf7cf-add-button { |
| 98 | border: 1px solid #4ed521; |
| 99 | color: #007b04; |
| 100 | cursor: pointer; |
| 101 | font-size: 11px; |
| 102 | font-weight: bold; |
| 103 | -webkit-touch-callout: none; /* iOS Safari */ |
| 104 | -webkit-user-select: none; /* Safari */ |
| 105 | -khtml-user-select: none; /* Konqueror HTML */ |
| 106 | -moz-user-select: none; /* Firefox */ |
| 107 | -ms-user-select: none; /* Internet Explorer/Edge */ |
| 108 | user-select: none; /* Non-prefixed version, currently */ |
| 109 | background-color: rgba(75, 169, 61, 0.11); |
| 110 | } |
| 111 | #wpcf7cf-conditional-panel #wpcf7cf-add-button { |
| 112 | margin-top: 10px; |
| 113 | text-align: center; |
| 114 | padding-left: 20px; |
| 115 | padding-right: 20px; |
| 116 | } |
| 117 | #wpcf7cf-conditional-panel .and-button:hover { |
| 118 | background-color: rgba(75, 169, 61, 0.2); |
| 119 | } |
| 120 | #wpcf7cf-conditional-panel .delete-button { |
| 121 | border: 1px solid #bababa; |
| 122 | color: #858585; |
| 123 | background-color: transparent; |
| 124 | margin-left: 42px; |
| 125 | } |
| 126 | #wpcf7cf-conditional-panel .delete-button:hover { |
| 127 | background-color: rgba(133, 133, 133, 0.11); |
| 128 | } |
| 129 | #wpcf7cf-conditional-panel .and-button { |
| 130 | display: none; |
| 131 | width: 30px; |
| 132 | text-align: center; |
| 133 | } |
| 134 | #wpcf7cf-conditional-panel .wpcf7cf-and-rule:first-child .and-button { |
| 135 | display: inline-block; |
| 136 | vertical-align: top; |
| 137 | height: 22px; |
| 138 | position: absolute; |
| 139 | line-height: 22px; |
| 140 | right: 53px; |
| 141 | top: 0; |
| 142 | } |
| 143 | #wpcf7cf-conditional-panel .wpcf7cf-and-rule { |
| 144 | margin-bottom: 4px; |
| 145 | height: 30px; |
| 146 | } |
| 147 | #wpcf7cf-conditional-panel .wpcf7cf-and-rule .if-txt, #wpcf7cf-conditional-panel .wpcf7cf-if > .label { |
| 148 | cursor: n-resize; |
| 149 | } |
| 150 | #wpcf7cf-conditional-panel .wpcf7cf-and-rule .if-txt:before { |
| 151 | content: "and"; |
| 152 | position: absolute; |
| 153 | width: 30px; |
| 154 | text-align: right; |
| 155 | left: -34px; |
| 156 | } |
| 157 | #wpcf7cf-conditional-panel .wpcf7cf-and-rule:first-child .if-txt:before { |
| 158 | display: none; |
| 159 | } |
| 160 | #wpcf7cf-conditional-panel .wpcf7cf-inner-container { |
| 161 | min-width: 800px; |
| 162 | } |
| 163 | #wpcf7cf-conditional-panel .entry { |
| 164 | box-sizing: border-box; |
| 165 | display: flex; |
| 166 | } |
| 167 | #wpcf7cf-conditional-panel .entry .wpcf7cf-if { |
| 168 | width: 189px; |
| 169 | } |
| 170 | #wpcf7cf-conditional-panel .then-field-select { |
| 171 | width: 130px; |
| 172 | } |
| 173 | #wpcf7cf-conditional-panel .entry .wpcf7cf-and-rules { |
| 174 | flex: 1; |
| 175 | position: relative; |
| 176 | } |
| 177 | #wpcf7cf-conditional-panel .wpcf7cf-and-rule { |
| 178 | display: flex; |
| 179 | } |
| 180 | #wpcf7cf-conditional-panel .if-txt { |
| 181 | width: 14px; |
| 182 | text-align: center; |
| 183 | } |
| 184 | #wpcf7cf-conditional-panel .operator { |
| 185 | /*width:140px;*/ |
| 186 | } |
| 187 | #wpcf7cf-conditional-panel .if-value { |
| 188 | flex: 1; |
| 189 | margin-right: 3px !important; |
| 190 | } |
| 191 | |
| 192 | .wpcf7cf-list li { |
| 193 | list-style: disc; |
| 194 | margin-left: 20px; |
| 195 | } |
| 196 | |
| 197 | /* The switch - the box around the slider */ |
| 198 | .wpcf7cf-switch { |
| 199 | position: absolute; |
| 200 | display: block; |
| 201 | top: 20px; |
| 202 | right: 20px; |
| 203 | } |
| 204 | .wpcf7cf-switch .label { |
| 205 | margin-right: 4px; |
| 206 | display: inline-block; |
| 207 | vertical-align: top; |
| 208 | } |
| 209 | .wpcf7cf-switch .switch { |
| 210 | position: relative; |
| 211 | display: inline-block; |
| 212 | width: 30px; |
| 213 | height: 17px; |
| 214 | /* Hide default HTML checkbox */ |
| 215 | /* The slider */ |
| 216 | /* Rounded sliders */ |
| 217 | } |
| 218 | .wpcf7cf-switch .switch input { |
| 219 | opacity: 0; |
| 220 | width: 0; |
| 221 | height: 0; |
| 222 | } |
| 223 | .wpcf7cf-switch .switch .slider { |
| 224 | position: absolute; |
| 225 | cursor: pointer; |
| 226 | top: 0; |
| 227 | left: 0; |
| 228 | right: 0; |
| 229 | bottom: 0; |
| 230 | background-color: #ccc; |
| 231 | -webkit-transition: 0.4s; |
| 232 | transition: 0.4s; |
| 233 | } |
| 234 | .wpcf7cf-switch .switch .slider:before { |
| 235 | position: absolute; |
| 236 | content: ""; |
| 237 | height: 13px; |
| 238 | width: 13px; |
| 239 | left: 2px; |
| 240 | bottom: 2px; |
| 241 | background-color: white; |
| 242 | -webkit-transition: 0.4s; |
| 243 | transition: 0.3s; |
| 244 | } |
| 245 | .wpcf7cf-switch .switch input:checked + .slider { |
| 246 | background-color: #1e8cbe; |
| 247 | } |
| 248 | .wpcf7cf-switch .switch input:focus + .slider { |
| 249 | box-shadow: 0 0 1px #1e8cbe; |
| 250 | } |
| 251 | .wpcf7cf-switch .switch input:checked + .slider:before { |
| 252 | -webkit-transform: translateX(13px); |
| 253 | -ms-transform: translateX(13px); |
| 254 | transform: translateX(13px); |
| 255 | } |
| 256 | .wpcf7cf-switch .switch .slider.round { |
| 257 | border-radius: 17px; |
| 258 | } |
| 259 | .wpcf7cf-switch .switch .slider.round:before { |
| 260 | border-radius: 50%; |
| 261 | } |
| 262 | |
| 263 | #wpcf7cf-conditional-panel { |
| 264 | position: relative; |
| 265 | } |
| 266 | |
| 267 | .wpcf7cf-notice { |
| 268 | background: #fff; |
| 269 | border: 1px solid #ccd0d4; |
| 270 | border-left-width: 4px; |
| 271 | border-left-color: #ffb900; |
| 272 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
| 273 | margin: 5px 0 2px; |
| 274 | padding: 1px 12px; |
| 275 | } |
| 276 | |
| 277 | /*# sourceMappingURL=admin-style.css.map */ |
| 278 |