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