| 1 |
/** |
| 2 |
* All of the CSS for your public-facing functionality should be |
| 3 |
* included in this file. |
| 4 |
*/ |
| 5 |
.cf7-smart-grid.has-grid .ui-button { |
| 6 |
border-radius: 3px; |
| 7 |
} |
| 8 |
.cf7-sg-table-button.disabled .ui-button { |
| 9 |
color: gray; |
| 10 |
cursor: not-allowed; |
| 11 |
text-decoration-line: none; |
| 12 |
} |
| 13 |
.cf7-sg-table-button .max-limit.wpcf7-not-valid-tip { |
| 14 |
display: inline; |
| 15 |
margin-right: 30px; |
| 16 |
} |
| 17 |
/* |
| 18 |
.cf7-sg-tabs-list li span.cf7sg-close-tab {display: none !important;} |
| 19 |
.cf7-sg-tabs-list li:last-child span.cf7sg-close-tab {display: inline-block !important;} |
| 20 |
*/ |
| 21 |
ul.cf7-sg-tabs-list li .dashicons.dashicons-no-alt { |
| 22 |
position: absolute; |
| 23 |
right: 0; |
| 24 |
border-left: solid 1px grey; |
| 25 |
border-bottom: solid 1px grey; |
| 26 |
border-bottom-left-radius: 14px; |
| 27 |
border-top-left-radius: 5px; |
| 28 |
border-bottom-right-radius: 5px; |
| 29 |
} |
| 30 |
.ui-tabs .cf7-sg-tabs-list.ui-tabs-nav .ui-tabs-anchor { |
| 31 |
padding: .5em 20px; |
| 32 |
} |
| 33 |
ul.cf7-sg-tabs-list li { |
| 34 |
position: relative; |
| 35 |
} |
| 36 |
.cf7-sg-tabs.ui-tabs ul.ui-tabs-nav li a:hover, |
| 37 |
.cf7-sg-tabs.ui-tabs ul.ui-tabs-nav li .dashicons-no-alt:hover { |
| 38 |
cursor: pointer; |
| 39 |
} |
| 40 |
.cf7-smart-grid .dashicons{ |
| 41 |
vertical-align: middle; |
| 42 |
} |
| 43 |
.ui-tabs .cf7sg-add-tab.ui-tabs-nav { |
| 44 |
display: inline-block; |
| 45 |
padding-left: 0; |
| 46 |
margin-left: -0.4em; |
| 47 |
} |
| 48 |
ul.cf7-sg-tabs-list { |
| 49 |
display: inline-block; |
| 50 |
} |
| 51 |
.cf7-smart-grid .cf7-sg-table-button { |
| 52 |
text-align: right; |
| 53 |
margin-top: 10px; |
| 54 |
margin-bottom: 5px; |
| 55 |
} |
| 56 |
.cf7-smart-grid .row.cf7-sg-table-footer { |
| 57 |
margin-top: 5px; |
| 58 |
} |
| 59 |
.cf7-smart-grid .row.cf7-sg-table { |
| 60 |
margin-top: 3px; |
| 61 |
} |
| 62 |
.cf7-smart-grid .row.cf7-sg-table-footer+.cf7-sg-table-button { |
| 63 |
margin-top: 0; |
| 64 |
} |
| 65 |
.row.cf7-sg-table-layout .columns input:not([type="submit"]){ |
| 66 |
width:100%; |
| 67 |
} |
| 68 |
.row.cf7-sg-table { |
| 69 |
position:relative; |
| 70 |
} |
| 71 |
.row.cf7-sg-table .row-control .dashicons:hover { |
| 72 |
cursor: pointer; |
| 73 |
} |
| 74 |
.row.cf7-sg-table .row-control { |
| 75 |
position: absolute; |
| 76 |
height: 100%; |
| 77 |
top: 0; |
| 78 |
right: 0; |
| 79 |
margin-right: -15px; |
| 80 |
border: solid 1px #b9b9b9; |
| 81 |
border-left: none; |
| 82 |
width: 5px; |
| 83 |
display:none; |
| 84 |
} |
| 85 |
.row.cf7-sg-table:nth-last-child(2) .row-control { |
| 86 |
display: inline; |
| 87 |
} |
| 88 |
.row.cf7-sg-table .row-control .dashicons { |
| 89 |
position: absolute; |
| 90 |
top: 50%; |
| 91 |
margin-top: -10px; |
| 92 |
margin-left: -5px; |
| 93 |
background-color: white; |
| 94 |
border-radius: 50%; |
| 95 |
border: solid 1px #b9b9b9; |
| 96 |
color: #848484; |
| 97 |
} |
| 98 |
|
| 99 |
.cf7-smart-grid.has-grid div.field span.wpcf7-not-valid-tip { |
| 100 |
display: inherit; |
| 101 |
position: absolute; |
| 102 |
left: 0; |
| 103 |
top: 115%; |
| 104 |
background: #e9e9e9; |
| 105 |
padding: 3px 10px; |
| 106 |
border-radius: 3px; |
| 107 |
min-width: 195px; |
| 108 |
line-height: 1.2em; |
| 109 |
z-index: 7777; |
| 110 |
} |
| 111 |
span.cf7sg-validation-warning { |
| 112 |
display: block; |
| 113 |
font-size: 80%; |
| 114 |
color: #626262; |
| 115 |
position: absolute; |
| 116 |
right: 50%; |
| 117 |
top: 25px; |
| 118 |
width: 140px; |
| 119 |
height: auto; |
| 120 |
border-radius: 3px; |
| 121 |
border: solid 1px #656565; |
| 122 |
background: #f2f2f2; |
| 123 |
margin-right: -70px; |
| 124 |
z-index:999; |
| 125 |
padding: 2px 3px; |
| 126 |
} |
| 127 |
.cf7sg-validation-warning .confirm-button { |
| 128 |
position: absolute; |
| 129 |
bottom: -13px; |
| 130 |
right: -19px; |
| 131 |
background: white; |
| 132 |
padding: 1px 5px; |
| 133 |
border: #989898 solid 2px; |
| 134 |
border-radius: 5px; |
| 135 |
color: #8f0000; |
| 136 |
text-transform: uppercase; |
| 137 |
font-size: 0.9em; |
| 138 |
cursor:pointer; |
| 139 |
} |
| 140 |
.cf7-smart-grid.has-grid input.select2-search__field{ |
| 141 |
background-image: url('search.png'); |
| 142 |
background-repeat: no-repeat; |
| 143 |
background-position-x: calc(100% - 5px); |
| 144 |
background-position-y: 50%; |
| 145 |
} |
| 146 |
.cf7sg-collapsible .row.ui-accordion-content { |
| 147 |
min-height: 120px; |
| 148 |
overflow: unset; |
| 149 |
} |
| 150 |
.cf7-smart-grid.has-grid .field { |
| 151 |
width: 100%; |
| 152 |
} |
| 153 |
.cf7-smart-grid.has-grid .wpcf7-form-control { |
| 154 |
width: 100%; |
| 155 |
} |
| 156 |
.cf7-smart-grid.has-grid .select2 { |
| 157 |
width: 100% !important; |
| 158 |
} |
| 159 |
.cf7-smart-grid.has-grid .field .wpcf7-form-control-wrap{ |
| 160 |
display: inline-block; |
| 161 |
width: 100%; |
| 162 |
} |
| 163 |
.cf7-smart-grid.has-grid .cf7-tags-2 .field .wpcf7-form-control-wrap { |
| 164 |
max-width: 200px; |
| 165 |
width: 50%; |
| 166 |
} |
| 167 |
.cf7sg-container .cf7-smart-grid.has-grid .row.cf7-sg-table > .columns > .container > .container { |
| 168 |
padding: 0; |
| 169 |
} |
| 170 |
.cf7-smart-grid.has-grid .field .wpcf7-form-control-wrap + .wpcf7-form-control-wrap { |
| 171 |
vertical-align: middle; |
| 172 |
} |
| 173 |
.cf7-smart-grid.has-grid .field > label { |
| 174 |
display: block; |
| 175 |
margin-bottom: 0; |
| 176 |
} |
| 177 |
.cf7-smart-grid.has-grid .field > label em { |
| 178 |
color: red; |
| 179 |
} |
| 180 |
.cf7-smart-grid.has-grid .info-tip { |
| 181 |
margin-bottom: 5px; |
| 182 |
font-size: 90%; |
| 183 |
font-style: italic; |
| 184 |
color: grey; |
| 185 |
} |
| 186 |
.cf7-smart-grid.has-grid .wpcf7-form-control { |
| 187 |
min-height: 34px; |
| 188 |
border-radius: 3px; |
| 189 |
} |
| 190 |
.cf7-smart-grid.has-grid .wpcf7-form-control.nice-select { |
| 191 |
line-height: 32px; |
| 192 |
height: 34px; |
| 193 |
} |
| 194 |
.cf7-smart-grid.has-grid .wpcf7-form-control-wrap .select2-selection__arrow { |
| 195 |
min-height: 34px; |
| 196 |
} |
| 197 |
.cf7-smart-grid.has-grid .wpcf7-form-control-wrap .select2-selection--single .select2-selection__rendered { |
| 198 |
line-height: 34px; |
| 199 |
font-size: 0.9em; |
| 200 |
} |
| 201 |
.cf7-smart-grid.has-grid .select2-results__option { |
| 202 |
font-size: 0.8em; |
| 203 |
} |
| 204 |
.cf7-smart-grid.has-grid .wpcf7-form-control-wrap .select2-selection.select2-selection--single { |
| 205 |
min-height: 34px; |
| 206 |
} |
| 207 |
.cf7-smart-grid.has-grid .wpcf7-form-control.wpcf7-radio, |
| 208 |
.cf7-smart-grid.has-grid .wpcf7-form-control.wpcf7-checkbox { |
| 209 |
display: inline-block; |
| 210 |
} |
| 211 |
.cf7sg-collapsible.ui-accordion .ui-accordion-header .ui-accordion-header-icon { |
| 212 |
right: .5em; |
| 213 |
left: unset; |
| 214 |
} |
| 215 |
.cf7sg-collapsible .ui-state-default { |
| 216 |
background: transparent; |
| 217 |
} |
| 218 |
.cf7-smart-grid.has-grid .wpcf7-submit { |
| 219 |
background: #383838; |
| 220 |
border: solid 1px #383838; |
| 221 |
border-radius: 3px; |
| 222 |
font-size: 110%; |
| 223 |
font-weight: bold; |
| 224 |
color: white; |
| 225 |
} |
| 226 |
.cf7-smart-grid.has-grid .wpcf7-save { |
| 227 |
background: transparent; |
| 228 |
color: #383838; |
| 229 |
} |
| 230 |
.cf7sg-collapsible .toggle { |
| 231 |
display: inline-block; |
| 232 |
vertical-align: middle; |
| 233 |
float: right; |
| 234 |
} |
| 235 |
@media (min-width: 481px) {} |
| 236 |
.cf7sg-collapsible .cf7sg-title+.toggle { |
| 237 |
float: none; |
| 238 |
position: absolute; |
| 239 |
right: 6px; |
| 240 |
top: 50%; |
| 241 |
margin-top: -10px; |
| 242 |
} |
| 243 |
.cf7sg-title.toggled { |
| 244 |
max-width: calc(100% - 60px); |
| 245 |
display: inline-block; |
| 246 |
vertical-align: middle; |
| 247 |
} |
| 248 |
/*smomehow the icon accordion have a larger left padding*/ |
| 249 |
.ui-accordion .ui-accordion-icons { |
| 250 |
padding-left: .7em; |
| 251 |
} |
| 252 |
.cf7sg-collapsible .toggle-light .toggle-on, |
| 253 |
.cf7sg-collapsible .toggle-light .toggle-off { |
| 254 |
font-size: 0.75em; |
| 255 |
} |
| 256 |
.cf7sg-external-form { |
| 257 |
margin-bottom: 5px; |
| 258 |
} |
| 259 |
.cf7sg-container .cf7-smart-grid.has-grid .container { |
| 260 |
margin-bottom: 5px; |
| 261 |
} |
| 262 |
.cf7sg-container .cf7-smart-grid.has-grid .container:last-child { |
| 263 |
margin-bottom: 0; |
| 264 |
} |
| 265 |
.cf7-smart-grid.has-grid .nice-select ul.list { |
| 266 |
max-height: 300px; |
| 267 |
overflow-y: auto; |
| 268 |
} |
| 269 |
a.cf7sg-button { |
| 270 |
min-height: 34px; |
| 271 |
padding: 5px 0px; |
| 272 |
display: inline-block; |
| 273 |
width: 100%; |
| 274 |
text-align: center; |
| 275 |
background: #383838; |
| 276 |
color: white; |
| 277 |
border: solid 1px #383838; |
| 278 |
border-radius: 3px; |
| 279 |
font-weight: bold; |
| 280 |
font-size: 110%; |
| 281 |
} |
| 282 |
.cf7sg-popup{ |
| 283 |
position: relative; |
| 284 |
} |
| 285 |
.display-none{display: none;} |
| 286 |
span.cf7sg-popup { |
| 287 |
background: rgba(227, 227, 227, 0.81); |
| 288 |
font-size: 1.2em; |
| 289 |
border-radius: 3px; |
| 290 |
bottom: -1.2em; |
| 291 |
max-height: 200px; |
| 292 |
left: 0; |
| 293 |
position: absolute; |
| 294 |
transition: 500ms ease; |
| 295 |
padding: .4em; |
| 296 |
white-space: nowrap; |
| 297 |
} |
| 298 |
.wpcf7-form-control.wpcf7-submit:disabled:hover+span.cf7sg-popup {display: block;} |
| 299 |
|