cf7-conditional-fields
Last commit date
js
7 years ago
admin-style.css
7 years ago
admin.php
7 years ago
cf7cf.php
7 years ago
contact-form-7-conditional-fields.php
7 years ago
init.php
7 years ago
readme.txt
7 years ago
style.css
7 years ago
tg_pane_group.php
7 years ago
wpcf7cf-options.php
7 years ago
admin-style.css
215 lines
| 1 | #wpcf7cf-new-entry { display: inline-block; display:none; } |
| 2 | #wpcf7cf-delete-button { display: none; } |
| 3 | #wpcf7cf-settings-text { width: 100%; height: 280px; font-family: "Courier New", Courier, monospace; } |
| 4 | |
| 5 | .wpcf7cf-admin-wrap .label, .wpcf7cf-admin-wrap .field, .wpcf7cf-admin-wrap .description { |
| 6 | padding: 10px; |
| 7 | display: inline-block; |
| 8 | vertical-align: middle; |
| 9 | width: 10%; |
| 10 | } |
| 11 | .wpcf7cf-admin-wrap .field { |
| 12 | width: 20%; |
| 13 | } |
| 14 | .wpcf7cf-admin-wrap .description { |
| 15 | width: 40%; |
| 16 | vertical-align: top; |
| 17 | |
| 18 | } |
| 19 | |
| 20 | .wpcf7cf-admin-wrap .option-line { |
| 21 | border-bottom: 1px solid #dddddd; |
| 22 | background-color: #f9f9f9; |
| 23 | padding: 0 10px; |
| 24 | } |
| 25 | |
| 26 | .wpcf7cf-admin-wrap .option-line:nth-child(2n) { |
| 27 | background-color: #e9e9e9; |
| 28 | } |
| 29 | |
| 30 | .wpcf7cf-admin-wrap .option-line input, .wpcf7cf-admin-wrap .option-line select { |
| 31 | width: 100%; |
| 32 | } |
| 33 | |
| 34 | .ui-autocomplete-term { |
| 35 | font-weight: bold; |
| 36 | } |
| 37 | |
| 38 | .wpcf7cf-admin-wrap .option-line > .label.editable { |
| 39 | position: relative; |
| 40 | } |
| 41 | |
| 42 | .wpcf7cf-admin-wrap .option-line > .label.editable input { |
| 43 | background-color: transparent; |
| 44 | border-width: 0; |
| 45 | outline: none; |
| 46 | box-shadow: none; |
| 47 | padding: 0; |
| 48 | } |
| 49 | |
| 50 | .wpcf7cf-admin-wrap .option-line > .label.editable input:after { |
| 51 | content: "edit"; |
| 52 | display: block; |
| 53 | width: 10px; |
| 54 | right:0; |
| 55 | position: absolute; |
| 56 | } |
| 57 | |
| 58 | .wpcf7cf-admin-wrap .option-line > .label.editable input:focus { |
| 59 | background: #fff; |
| 60 | box-shadow: inset 0 1px 2px rgba(0,0,0,.07) ; |
| 61 | border: 1px solid #ddd; |
| 62 | padding: 2px; |
| 63 | } |
| 64 | |
| 65 | .wpcf7cf-admin-wrap .option-line > .label.editable input:focus:after { |
| 66 | content: ""; |
| 67 | } |
| 68 | |
| 69 | .wpcf7cf-and { |
| 70 | display: inline-block; |
| 71 | } |
| 72 | |
| 73 | .wpcf7cf-and-rules, .wpcf7cf-if { |
| 74 | display: inline-block; |
| 75 | vertical-align: top; |
| 76 | } |
| 77 | |
| 78 | #wpcf7cf-entries input, #wpcf7cf-entries select, .and-button, .delete-button, #wpcf7cf-entries .if-txt, #wpcf7cf-entries .label, #wpcf7cf-add-button { |
| 79 | position:relative; |
| 80 | display: inline-block; |
| 81 | vertical-align: bottom; |
| 82 | margin:2px; |
| 83 | padding: 3px; |
| 84 | background: #fefefe; |
| 85 | border: 1px solid #bababa; |
| 86 | box-shadow: none; |
| 87 | height: 22px; |
| 88 | line-height: 22px; |
| 89 | box-sizing: content-box; |
| 90 | } |
| 91 | |
| 92 | #wpcf7cf-entries .label { |
| 93 | background-color: transparent; |
| 94 | border: none; |
| 95 | } |
| 96 | |
| 97 | .and-button, .delete-button, #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 | |
| 112 | #wpcf7cf-add-button { |
| 113 | margin-top: 10px; |
| 114 | text-align: center; |
| 115 | padding-left: 20px; |
| 116 | padding-right:20px; |
| 117 | } |
| 118 | |
| 119 | .and-button:hover { |
| 120 | background-color: rgba(75, 169, 61, 0.2); |
| 121 | } |
| 122 | |
| 123 | .delete-button { |
| 124 | border: 1px solid #bababa; |
| 125 | color: #858585; |
| 126 | background-color: transparent; |
| 127 | margin-left: 42px; |
| 128 | } |
| 129 | |
| 130 | .delete-button:hover { |
| 131 | background-color: rgba(133, 133, 133, 0.11); |
| 132 | |
| 133 | } |
| 134 | |
| 135 | .and-button { |
| 136 | display:none; |
| 137 | width: 30px; |
| 138 | text-align: center; |
| 139 | } |
| 140 | .wpcf7cf-and-rule:first-child .and-button { |
| 141 | display: inline-block; |
| 142 | vertical-align: top; |
| 143 | height: 22px; |
| 144 | position: absolute; |
| 145 | line-height: 22px; |
| 146 | right: 50px; |
| 147 | top: 0; |
| 148 | } |
| 149 | |
| 150 | .wpcf7cf-and-rule { |
| 151 | margin-bottom: 4px; |
| 152 | height: 30px; |
| 153 | } |
| 154 | |
| 155 | .wpcf7cf-and-rule .if-txt, .wpcf7cf-if > .label { |
| 156 | cursor: n-resize; |
| 157 | } |
| 158 | |
| 159 | |
| 160 | |
| 161 | .wpcf7cf-and-rule .if-txt:before { |
| 162 | content: 'and'; |
| 163 | position: absolute; |
| 164 | width: 30px; |
| 165 | text-align: right; |
| 166 | left: -34px; |
| 167 | } |
| 168 | |
| 169 | .wpcf7cf-and-rule:first-child .if-txt:before { |
| 170 | display:none; |
| 171 | } |
| 172 | |
| 173 | #contitional-panel { |
| 174 | overflow-x: auto; |
| 175 | } |
| 176 | |
| 177 | .wpcf7cf-inner-container { |
| 178 | min-width: 800px; |
| 179 | } |
| 180 | |
| 181 | .entry { |
| 182 | box-sizing: border-box; |
| 183 | display:flex; |
| 184 | } |
| 185 | |
| 186 | .entry .wpcf7cf-if { |
| 187 | width: 188px; |
| 188 | } |
| 189 | .then-field-select { |
| 190 | width: 130px; |
| 191 | } |
| 192 | |
| 193 | |
| 194 | .entry .wpcf7cf-and-rules { |
| 195 | flex:1; |
| 196 | position:relative; |
| 197 | |
| 198 | } |
| 199 | .wpcf7cf-and-rule { |
| 200 | display:flex; |
| 201 | } |
| 202 | .if-txt { |
| 203 | width: 14px; |
| 204 | text-align: center; |
| 205 | } |
| 206 | |
| 207 | .operator { |
| 208 | /*width:140px;*/ |
| 209 | } |
| 210 | |
| 211 | .if-value { |
| 212 | flex:1; |
| 213 | margin-right:3px !important; |
| 214 | } |
| 215 |