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