PDF rausgenommen
After Width: | Height: | Size: 212 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 280 B |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 4.4 KiB |
1225
msd2/wordpress/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/jquery-ui.css
vendored
Normal file
@ -0,0 +1,410 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.11.4
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/theming/
|
||||
*
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
||||
*/
|
||||
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget {
|
||||
font-family: Verdana,Arial,sans-serif;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.ui-widget .ui-widget {
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget input,
|
||||
.ui-widget select,
|
||||
.ui-widget textarea,
|
||||
.ui-widget button {
|
||||
font-family: Verdana,Arial,sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #ffffff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;
|
||||
color: #222222;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
color: #222222;
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
|
||||
color: #222222;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-widget-header a {
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
border: 1px solid #d3d3d3;
|
||||
background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: normal;
|
||||
color: #555555;
|
||||
}
|
||||
.ui-state-default a,
|
||||
.ui-state-default a:link,
|
||||
.ui-state-default a:visited {
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover,
|
||||
.ui-widget-content .ui-state-hover,
|
||||
.ui-widget-header .ui-state-hover,
|
||||
.ui-state-focus,
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus {
|
||||
border: 1px solid #999999;
|
||||
background: #dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: normal;
|
||||
color: #212121;
|
||||
}
|
||||
.ui-state-hover a,
|
||||
.ui-state-hover a:hover,
|
||||
.ui-state-hover a:link,
|
||||
.ui-state-hover a:visited,
|
||||
.ui-state-focus a,
|
||||
.ui-state-focus a:hover,
|
||||
.ui-state-focus a:link,
|
||||
.ui-state-focus a:visited {
|
||||
color: #212121;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: normal;
|
||||
color: #212121;
|
||||
}
|
||||
.ui-state-active a,
|
||||
.ui-state-active a:link,
|
||||
.ui-state-active a:visited {
|
||||
color: #212121;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight,
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #fcefa1;
|
||||
background: #fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;
|
||||
color: #363636;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
.ui-widget-content .ui-state-highlight a,
|
||||
.ui-widget-header .ui-state-highlight a {
|
||||
color: #363636;
|
||||
}
|
||||
.ui-state-error,
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #cd0a0a;
|
||||
background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
|
||||
color: #cd0a0a;
|
||||
}
|
||||
.ui-state-error a,
|
||||
.ui-widget-content .ui-state-error a,
|
||||
.ui-widget-header .ui-state-error a {
|
||||
color: #cd0a0a;
|
||||
}
|
||||
.ui-state-error-text,
|
||||
.ui-widget-content .ui-state-error-text,
|
||||
.ui-widget-header .ui-state-error-text {
|
||||
color: #cd0a0a;
|
||||
}
|
||||
.ui-priority-primary,
|
||||
.ui-widget-content .ui-priority-primary,
|
||||
.ui-widget-header .ui-priority-primary {
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-priority-secondary,
|
||||
.ui-widget-content .ui-priority-secondary,
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: .7;
|
||||
filter:Alpha(Opacity=70); /* support: IE8 */
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui-state-disabled,
|
||||
.ui-widget-content .ui-state-disabled,
|
||||
.ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
filter:Alpha(Opacity=35); /* support: IE8 */
|
||||
background-image: none;
|
||||
}
|
||||
.ui-state-disabled .ui-icon {
|
||||
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
|
||||
}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png");
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png");
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("images/ui-icons_888888_256x240.png");
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png");
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png");
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url("images/ui-icons_2e83ff_256x240.png");
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_cd0a0a_256x240.png");
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-blank { background-position: 16px 16px; }
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-left,
|
||||
.ui-corner-tl {
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-right,
|
||||
.ui-corner-tr {
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-left,
|
||||
.ui-corner-bl {
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-right,
|
||||
.ui-corner-br {
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
|
||||
opacity: .3;
|
||||
filter: Alpha(Opacity=30); /* support: IE8 */
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
margin: -8px 0 0 -8px;
|
||||
padding: 8px;
|
||||
background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
|
||||
opacity: .3;
|
||||
filter: Alpha(Opacity=30); /* support: IE8 */
|
||||
border-radius: 8px;
|
||||
}
|
@ -0,0 +1,526 @@
|
||||
( function( $ ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
if ( typeof wpcf7 === 'undefined' || wpcf7 === null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
wpcf7 = $.extend( {
|
||||
cached: 0,
|
||||
inputs: []
|
||||
}, wpcf7 );
|
||||
|
||||
$( function() {
|
||||
wpcf7.supportHtml5 = ( function() {
|
||||
var features = {};
|
||||
var input = document.createElement( 'input' );
|
||||
|
||||
features.placeholder = 'placeholder' in input;
|
||||
|
||||
var inputTypes = [ 'email', 'url', 'tel', 'number', 'range', 'date' ];
|
||||
|
||||
$.each( inputTypes, function( index, value ) {
|
||||
input.setAttribute( 'type', value );
|
||||
features[ value ] = input.type !== 'text';
|
||||
} );
|
||||
|
||||
return features;
|
||||
} )();
|
||||
|
||||
$( 'div.wpcf7 > form' ).each( function() {
|
||||
var $form = $( this );
|
||||
wpcf7.initForm( $form );
|
||||
|
||||
if ( wpcf7.cached ) {
|
||||
wpcf7.refill( $form );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
|
||||
wpcf7.getId = function( form ) {
|
||||
return parseInt( $( 'input[name="_wpcf7"]', form ).val(), 10 );
|
||||
};
|
||||
|
||||
wpcf7.initForm = function( form ) {
|
||||
var $form = $( form );
|
||||
|
||||
$form.submit( function( event ) {
|
||||
if ( ! wpcf7.supportHtml5.placeholder ) {
|
||||
$( '[placeholder].placeheld', $form ).each( function( i, n ) {
|
||||
$( n ).val( '' ).removeClass( 'placeheld' );
|
||||
} );
|
||||
}
|
||||
|
||||
if ( typeof window.FormData === 'function' ) {
|
||||
wpcf7.submit( $form );
|
||||
event.preventDefault();
|
||||
}
|
||||
} );
|
||||
|
||||
$( '.wpcf7-submit', $form ).after( '<span class="ajax-loader"></span>' );
|
||||
|
||||
wpcf7.toggleSubmit( $form );
|
||||
|
||||
$form.on( 'click', '.wpcf7-acceptance', function() {
|
||||
wpcf7.toggleSubmit( $form );
|
||||
} );
|
||||
|
||||
// Exclusive Checkbox
|
||||
$( '.wpcf7-exclusive-checkbox', $form ).on( 'click', 'input:checkbox', function() {
|
||||
var name = $( this ).attr( 'name' );
|
||||
$form.find( 'input:checkbox[name="' + name + '"]' ).not( this ).prop( 'checked', false );
|
||||
} );
|
||||
|
||||
// Free Text Option for Checkboxes and Radio Buttons
|
||||
$( '.wpcf7-list-item.has-free-text', $form ).each( function() {
|
||||
var $freetext = $( ':input.wpcf7-free-text', this );
|
||||
var $wrap = $( this ).closest( '.wpcf7-form-control' );
|
||||
|
||||
if ( $( ':checkbox, :radio', this ).is( ':checked' ) ) {
|
||||
$freetext.prop( 'disabled', false );
|
||||
} else {
|
||||
$freetext.prop( 'disabled', true );
|
||||
}
|
||||
|
||||
$wrap.on( 'change', ':checkbox, :radio', function() {
|
||||
var $cb = $( '.has-free-text', $wrap ).find( ':checkbox, :radio' );
|
||||
|
||||
if ( $cb.is( ':checked' ) ) {
|
||||
$freetext.prop( 'disabled', false ).focus();
|
||||
} else {
|
||||
$freetext.prop( 'disabled', true );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
|
||||
// Placeholder Fallback
|
||||
if ( ! wpcf7.supportHtml5.placeholder ) {
|
||||
$( '[placeholder]', $form ).each( function() {
|
||||
$( this ).val( $( this ).attr( 'placeholder' ) );
|
||||
$( this ).addClass( 'placeheld' );
|
||||
|
||||
$( this ).focus( function() {
|
||||
if ( $( this ).hasClass( 'placeheld' ) ) {
|
||||
$( this ).val( '' ).removeClass( 'placeheld' );
|
||||
}
|
||||
} );
|
||||
|
||||
$( this ).blur( function() {
|
||||
if ( '' === $( this ).val() ) {
|
||||
$( this ).val( $( this ).attr( 'placeholder' ) );
|
||||
$( this ).addClass( 'placeheld' );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
||||
if ( wpcf7.jqueryUi && ! wpcf7.supportHtml5.date ) {
|
||||
$form.find( 'input.wpcf7-date[type="date"]' ).each( function() {
|
||||
$( this ).datepicker( {
|
||||
dateFormat: 'yy-mm-dd',
|
||||
minDate: new Date( $( this ).attr( 'min' ) ),
|
||||
maxDate: new Date( $( this ).attr( 'max' ) )
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
||||
if ( wpcf7.jqueryUi && ! wpcf7.supportHtml5.number ) {
|
||||
$form.find( 'input.wpcf7-number[type="number"]' ).each( function() {
|
||||
$( this ).spinner( {
|
||||
min: $( this ).attr( 'min' ),
|
||||
max: $( this ).attr( 'max' ),
|
||||
step: $( this ).attr( 'step' )
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
||||
// Character Count
|
||||
$( '.wpcf7-character-count', $form ).each( function() {
|
||||
var $count = $( this );
|
||||
var name = $count.attr( 'data-target-name' );
|
||||
var down = $count.hasClass( 'down' );
|
||||
var starting = parseInt( $count.attr( 'data-starting-value' ), 10 );
|
||||
var maximum = parseInt( $count.attr( 'data-maximum-value' ), 10 );
|
||||
var minimum = parseInt( $count.attr( 'data-minimum-value' ), 10 );
|
||||
|
||||
var updateCount = function( target ) {
|
||||
var $target = $( target );
|
||||
var length = $target.val().length;
|
||||
var count = down ? starting - length : length;
|
||||
$count.attr( 'data-current-value', count );
|
||||
$count.text( count );
|
||||
|
||||
if ( maximum && maximum < length ) {
|
||||
$count.addClass( 'too-long' );
|
||||
} else {
|
||||
$count.removeClass( 'too-long' );
|
||||
}
|
||||
|
||||
if ( minimum && length < minimum ) {
|
||||
$count.addClass( 'too-short' );
|
||||
} else {
|
||||
$count.removeClass( 'too-short' );
|
||||
}
|
||||
};
|
||||
|
||||
$( ':input[name="' + name + '"]', $form ).each( function() {
|
||||
updateCount( this );
|
||||
|
||||
$( this ).keyup( function() {
|
||||
updateCount( this );
|
||||
} );
|
||||
} );
|
||||
} );
|
||||
|
||||
// URL Input Correction
|
||||
$form.on( 'change', '.wpcf7-validates-as-url', function() {
|
||||
var val = $.trim( $( this ).val() );
|
||||
|
||||
if ( val
|
||||
&& ! val.match( /^[a-z][a-z0-9.+-]*:/i )
|
||||
&& -1 !== val.indexOf( '.' ) ) {
|
||||
val = val.replace( /^\/+/, '' );
|
||||
val = 'http://' + val;
|
||||
}
|
||||
|
||||
$( this ).val( val );
|
||||
} );
|
||||
};
|
||||
|
||||
wpcf7.submit = function( form ) {
|
||||
if ( typeof window.FormData !== 'function' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var $form = $( form );
|
||||
|
||||
$( '.ajax-loader', $form ).addClass( 'is-active' );
|
||||
|
||||
wpcf7.clearResponse( $form );
|
||||
|
||||
var formData = new FormData( $form.get( 0 ) );
|
||||
|
||||
var detail = {
|
||||
id: $form.closest( 'div.wpcf7' ).attr( 'id' ),
|
||||
status: 'init',
|
||||
inputs: [],
|
||||
formData: formData
|
||||
};
|
||||
|
||||
$.each( $form.serializeArray(), function( i, field ) {
|
||||
if ( '_wpcf7' == field.name ) {
|
||||
detail.contactFormId = field.value;
|
||||
} else if ( '_wpcf7_version' == field.name ) {
|
||||
detail.pluginVersion = field.value;
|
||||
} else if ( '_wpcf7_locale' == field.name ) {
|
||||
detail.contactFormLocale = field.value;
|
||||
} else if ( '_wpcf7_unit_tag' == field.name ) {
|
||||
detail.unitTag = field.value;
|
||||
} else if ( '_wpcf7_container_post' == field.name ) {
|
||||
detail.containerPostId = field.value;
|
||||
} else if ( field.name.match( /^_wpcf7_\w+_free_text_/ ) ) {
|
||||
var owner = field.name.replace( /^_wpcf7_\w+_free_text_/, '' );
|
||||
detail.inputs.push( {
|
||||
name: owner + '-free-text',
|
||||
value: field.value
|
||||
} );
|
||||
} else if ( field.name.match( /^_/ ) ) {
|
||||
// do nothing
|
||||
} else {
|
||||
detail.inputs.push( field );
|
||||
}
|
||||
} );
|
||||
|
||||
wpcf7.triggerEvent( $form.closest( 'div.wpcf7' ), 'beforesubmit', detail );
|
||||
|
||||
var ajaxSuccess = function( data, status, xhr, $form ) {
|
||||
detail.id = $( data.into ).attr( 'id' );
|
||||
detail.status = data.status;
|
||||
detail.apiResponse = data;
|
||||
|
||||
var $message = $( '.wpcf7-response-output', $form );
|
||||
|
||||
switch ( data.status ) {
|
||||
case 'validation_failed':
|
||||
$.each( data.invalidFields, function( i, n ) {
|
||||
$( n.into, $form ).each( function() {
|
||||
wpcf7.notValidTip( this, n.message );
|
||||
$( '.wpcf7-form-control', this ).addClass( 'wpcf7-not-valid' );
|
||||
$( '[aria-invalid]', this ).attr( 'aria-invalid', 'true' );
|
||||
} );
|
||||
} );
|
||||
|
||||
$message.addClass( 'wpcf7-validation-errors' );
|
||||
$form.addClass( 'invalid' );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'invalid', detail );
|
||||
break;
|
||||
case 'acceptance_missing':
|
||||
$message.addClass( 'wpcf7-acceptance-missing' );
|
||||
$form.addClass( 'unaccepted' );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'unaccepted', detail );
|
||||
break;
|
||||
case 'spam':
|
||||
$message.addClass( 'wpcf7-spam-blocked' );
|
||||
$form.addClass( 'spam' );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'spam', detail );
|
||||
break;
|
||||
case 'aborted':
|
||||
$message.addClass( 'wpcf7-aborted' );
|
||||
$form.addClass( 'aborted' );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'aborted', detail );
|
||||
break;
|
||||
case 'mail_sent':
|
||||
$message.addClass( 'wpcf7-mail-sent-ok' );
|
||||
$form.addClass( 'sent' );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'mailsent', detail );
|
||||
break;
|
||||
case 'mail_failed':
|
||||
$message.addClass( 'wpcf7-mail-sent-ng' );
|
||||
$form.addClass( 'failed' );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'mailfailed', detail );
|
||||
break;
|
||||
default:
|
||||
var customStatusClass = 'custom-'
|
||||
+ data.status.replace( /[^0-9a-z]+/i, '-' );
|
||||
$message.addClass( 'wpcf7-' + customStatusClass );
|
||||
$form.addClass( customStatusClass );
|
||||
}
|
||||
|
||||
wpcf7.refill( $form, data );
|
||||
|
||||
wpcf7.triggerEvent( data.into, 'submit', detail );
|
||||
|
||||
if ( 'mail_sent' == data.status ) {
|
||||
$form.each( function() {
|
||||
this.reset();
|
||||
} );
|
||||
|
||||
wpcf7.toggleSubmit( $form );
|
||||
}
|
||||
|
||||
if ( ! wpcf7.supportHtml5.placeholder ) {
|
||||
$form.find( '[placeholder].placeheld' ).each( function( i, n ) {
|
||||
$( n ).val( $( n ).attr( 'placeholder' ) );
|
||||
} );
|
||||
}
|
||||
|
||||
$message.html( '' ).append( data.message ).slideDown( 'fast' );
|
||||
$message.attr( 'role', 'alert' );
|
||||
|
||||
$( '.screen-reader-response', $form.closest( '.wpcf7' ) ).each( function() {
|
||||
var $response = $( this );
|
||||
$response.html( '' ).attr( 'role', '' ).append( data.message );
|
||||
|
||||
if ( data.invalidFields ) {
|
||||
var $invalids = $( '<ul></ul>' );
|
||||
|
||||
$.each( data.invalidFields, function( i, n ) {
|
||||
if ( n.idref ) {
|
||||
var $li = $( '<li></li>' ).append( $( '<a></a>' ).attr( 'href', '#' + n.idref ).append( n.message ) );
|
||||
} else {
|
||||
var $li = $( '<li></li>' ).append( n.message );
|
||||
}
|
||||
|
||||
$invalids.append( $li );
|
||||
} );
|
||||
|
||||
$response.append( $invalids );
|
||||
}
|
||||
|
||||
$response.attr( 'role', 'alert' ).focus();
|
||||
} );
|
||||
};
|
||||
|
||||
$.ajax( {
|
||||
type: 'POST',
|
||||
url: wpcf7.apiSettings.getRoute(
|
||||
'/contact-forms/' + wpcf7.getId( $form ) + '/feedback' ),
|
||||
data: formData,
|
||||
dataType: 'json',
|
||||
processData: false,
|
||||
contentType: false
|
||||
} ).done( function( data, status, xhr ) {
|
||||
ajaxSuccess( data, status, xhr, $form );
|
||||
$( '.ajax-loader', $form ).removeClass( 'is-active' );
|
||||
} ).fail( function( xhr, status, error ) {
|
||||
var $e = $( '<div class="ajax-error"></div>' ).text( error.message );
|
||||
$form.after( $e );
|
||||
} );
|
||||
};
|
||||
|
||||
wpcf7.triggerEvent = function( target, name, detail ) {
|
||||
var $target = $( target );
|
||||
|
||||
/* DOM event */
|
||||
var event = new CustomEvent( 'wpcf7' + name, {
|
||||
bubbles: true,
|
||||
detail: detail
|
||||
} );
|
||||
|
||||
$target.get( 0 ).dispatchEvent( event );
|
||||
|
||||
/* jQuery event */
|
||||
$target.trigger( 'wpcf7:' + name, detail );
|
||||
$target.trigger( name + '.wpcf7', detail ); // deprecated
|
||||
};
|
||||
|
||||
wpcf7.toggleSubmit = function( form, state ) {
|
||||
var $form = $( form );
|
||||
var $submit = $( 'input:submit', $form );
|
||||
|
||||
if ( typeof state !== 'undefined' ) {
|
||||
$submit.prop( 'disabled', ! state );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( $form.hasClass( 'wpcf7-acceptance-as-validation' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$submit.prop( 'disabled', false );
|
||||
|
||||
$( '.wpcf7-acceptance', $form ).each( function() {
|
||||
var $span = $( this );
|
||||
var $input = $( 'input:checkbox', $span );
|
||||
|
||||
if ( ! $span.hasClass( 'optional' ) ) {
|
||||
if ( $span.hasClass( 'invert' ) && $input.is( ':checked' )
|
||||
|| ! $span.hasClass( 'invert' ) && ! $input.is( ':checked' ) ) {
|
||||
$submit.prop( 'disabled', true );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} );
|
||||
};
|
||||
|
||||
wpcf7.notValidTip = function( target, message ) {
|
||||
var $target = $( target );
|
||||
$( '.wpcf7-not-valid-tip', $target ).remove();
|
||||
$( '<span role="alert" class="wpcf7-not-valid-tip"></span>' )
|
||||
.text( message ).appendTo( $target );
|
||||
|
||||
if ( $target.is( '.use-floating-validation-tip *' ) ) {
|
||||
var fadeOut = function( target ) {
|
||||
$( target ).not( ':hidden' ).animate( {
|
||||
opacity: 0
|
||||
}, 'fast', function() {
|
||||
$( this ).css( { 'z-index': -100 } );
|
||||
} );
|
||||
};
|
||||
|
||||
$target.on( 'mouseover', '.wpcf7-not-valid-tip', function() {
|
||||
fadeOut( this );
|
||||
} );
|
||||
|
||||
$target.on( 'focus', ':input', function() {
|
||||
fadeOut( $( '.wpcf7-not-valid-tip', $target ) );
|
||||
} );
|
||||
}
|
||||
};
|
||||
|
||||
wpcf7.refill = function( form, data ) {
|
||||
var $form = $( form );
|
||||
|
||||
var refillCaptcha = function( $form, items ) {
|
||||
$.each( items, function( i, n ) {
|
||||
$form.find( ':input[name="' + i + '"]' ).val( '' );
|
||||
$form.find( 'img.wpcf7-captcha-' + i ).attr( 'src', n );
|
||||
var match = /([0-9]+)\.(png|gif|jpeg)$/.exec( n );
|
||||
$form.find( 'input:hidden[name="_wpcf7_captcha_challenge_' + i + '"]' ).attr( 'value', match[ 1 ] );
|
||||
} );
|
||||
};
|
||||
|
||||
var refillQuiz = function( $form, items ) {
|
||||
$.each( items, function( i, n ) {
|
||||
$form.find( ':input[name="' + i + '"]' ).val( '' );
|
||||
$form.find( ':input[name="' + i + '"]' ).siblings( 'span.wpcf7-quiz-label' ).text( n[ 0 ] );
|
||||
$form.find( 'input:hidden[name="_wpcf7_quiz_answer_' + i + '"]' ).attr( 'value', n[ 1 ] );
|
||||
} );
|
||||
};
|
||||
|
||||
if ( typeof data === 'undefined' ) {
|
||||
$.ajax( {
|
||||
type: 'GET',
|
||||
url: wpcf7.apiSettings.getRoute(
|
||||
'/contact-forms/' + wpcf7.getId( $form ) + '/refill' ),
|
||||
beforeSend: function( xhr ) {
|
||||
var nonce = $form.find( ':input[name="_wpnonce"]' ).val();
|
||||
|
||||
if ( nonce ) {
|
||||
xhr.setRequestHeader( 'X-WP-Nonce', nonce );
|
||||
}
|
||||
},
|
||||
dataType: 'json'
|
||||
} ).done( function( data, status, xhr ) {
|
||||
if ( data.captcha ) {
|
||||
refillCaptcha( $form, data.captcha );
|
||||
}
|
||||
|
||||
if ( data.quiz ) {
|
||||
refillQuiz( $form, data.quiz );
|
||||
}
|
||||
} );
|
||||
|
||||
} else {
|
||||
if ( data.captcha ) {
|
||||
refillCaptcha( $form, data.captcha );
|
||||
}
|
||||
|
||||
if ( data.quiz ) {
|
||||
refillQuiz( $form, data.quiz );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
wpcf7.clearResponse = function( form ) {
|
||||
var $form = $( form );
|
||||
$form.removeClass( 'invalid spam sent failed' );
|
||||
$form.siblings( '.screen-reader-response' ).html( '' ).attr( 'role', '' );
|
||||
|
||||
$( '.wpcf7-not-valid-tip', $form ).remove();
|
||||
$( '[aria-invalid]', $form ).attr( 'aria-invalid', 'false' );
|
||||
$( '.wpcf7-form-control', $form ).removeClass( 'wpcf7-not-valid' );
|
||||
|
||||
$( '.wpcf7-response-output', $form )
|
||||
.hide().empty().removeAttr( 'role' )
|
||||
.removeClass( 'wpcf7-mail-sent-ok wpcf7-mail-sent-ng wpcf7-validation-errors wpcf7-spam-blocked' );
|
||||
};
|
||||
|
||||
wpcf7.apiSettings.getRoute = function( path ) {
|
||||
var url = wpcf7.apiSettings.root;
|
||||
|
||||
url = url.replace(
|
||||
wpcf7.apiSettings.namespace,
|
||||
wpcf7.apiSettings.namespace + path );
|
||||
|
||||
return url;
|
||||
};
|
||||
|
||||
} )( jQuery );
|
||||
|
||||
/*
|
||||
* Polyfill for Internet Explorer
|
||||
* See https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
|
||||
*/
|
||||
( function () {
|
||||
if ( typeof window.CustomEvent === "function" ) return false;
|
||||
|
||||
function CustomEvent ( event, params ) {
|
||||
params = params || { bubbles: false, cancelable: false, detail: undefined };
|
||||
var evt = document.createEvent( 'CustomEvent' );
|
||||
evt.initCustomEvent( event,
|
||||
params.bubbles, params.cancelable, params.detail );
|
||||
return evt;
|
||||
}
|
||||
|
||||
CustomEvent.prototype = window.Event.prototype;
|
||||
|
||||
window.CustomEvent = CustomEvent;
|
||||
} )();
|