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