Version Description
- Improved columns display on post list screen - now "Custom Sidebars" column is hidden by default.
- Prevent to load assets on front-end.
- Updated "WPMU Dev code library" to version 3.0.4.
- Fixed a CSS glitch on media library.
- Fixed a JavaScript conflicting with CiviCRM plugin.
- Fixed a problem with taxonomies.
Download this release
Release Info
Developer | iworks |
Plugin | Custom Sidebars – Dynamic Widget Area Manager |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- css/cs-cloning.min.css +1 -1
- css/cs-scan.min.css +1 -1
- css/cs-visibility.min.css +1 -1
- css/cs.css +0 -3
- css/cs.min.css +2 -2
- customsidebars.php +1 -1
- inc/class-custom-sidebars-editor.php +18 -0
- inc/class-custom-sidebars-visibility.php +19 -38
- inc/class-custom-sidebars.php +36 -19
- inc/external/wpmu-lib/changelog.txt +4 -0
- inc/external/wpmu-lib/core.php +2 -2
- inc/external/wpmu-lib/css/animate.3.min.css +2 -2
- inc/external/wpmu-lib/css/fontawesome.3.min.css +2 -2
- inc/external/wpmu-lib/css/jquery-ui.wpmui.3.min.css +2 -2
- inc/external/wpmu-lib/css/select2.3.min.css +2 -2
- inc/external/wpmu-lib/css/wpmu-card-list.3.min.css +2 -2
- inc/external/wpmu-lib/css/wpmu-html.3.min.css +2 -2
- inc/external/wpmu-lib/css/wpmu-ui.3.css +4 -8
- inc/external/wpmu-lib/css/wpmu-ui.3.min.css +3 -3
- inc/external/wpmu-lib/css/wpmu-vnav.3.min.css +2 -2
- inc/external/wpmu-lib/js/select2.3.js +1 -1
- inc/external/wpmu-lib/js/select2.3.min.js +1 -1
- inc/external/wpmu-lib/js/wpmu-card-list.3.js +1 -1
- inc/external/wpmu-lib/js/wpmu-card-list.3.min.js +1 -1
- inc/external/wpmu-lib/js/wpmu-ui.3.js +11 -7
- inc/external/wpmu-lib/js/wpmu-ui.3.min.js +2 -2
- inc/external/wpmu-lib/js/wpmu-vnav.3.js +1 -1
- inc/external/wpmu-lib/js/wpmu-vnav.3.min.js +1 -1
- js/cs-cloning.js +1 -1
- js/cs-cloning.min.js +1 -1
- js/cs-visibility.js +1 -1
- js/cs-visibility.min.js +1 -1
- js/cs.js +2 -3
- js/cs.min.js +2 -2
- lang/custom-sidebars.pot +26 -26
- readme.txt +10 -2
css/cs-cloning.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
css/cs-scan.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
css/cs-visibility.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
css/cs.css
CHANGED
@@ -819,9 +819,6 @@ h2 .show-infos {
|
|
819 |
* == Post list
|
820 |
* =============================================================================
|
821 |
*/
|
822 |
-
#wpbody-content .wp-list-table .column-cs_replacement {
|
823 |
-
width: 30%;
|
824 |
-
}
|
825 |
@media screen and (max-width: 782px) {
|
826 |
#wpbody-content .wp-list-table.fixed .column-cs_replacement {
|
827 |
display: none;
|
819 |
* == Post list
|
820 |
* =============================================================================
|
821 |
*/
|
|
|
|
|
|
|
822 |
@media screen and (max-width: 782px) {
|
823 |
#wpbody-content .wp-list-table.fixed .column-cs_replacement {
|
824 |
display: none;
|
css/cs.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
-
.module-export .pro-layer{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(255,255,255,.8);text-align:center;font-size:26px;font-weight:100;padding-top:120px;line-height:1.5}.module-export .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.module-export .pro-layer a:hover,.module-export .pro-layer a:focus,.module-export .pro-layer a:active{background:#1E8CBE;color:#FFF}.frm-location .pro-layer{padding:10px;text-align:center;font-size:26px;font-weight:100;line-height:1.5}.frm-location .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.frm-location .pro-layer a:hover,.frm-location .pro-layer a:focus,.frm-location .pro-layer a:active{background:#1E8CBE;color:#FFF}.csb-pro-layer{float:left;position:relative;opacity:.5;margin-right:10px}.csb-pro-layer .pro-info{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:rgba(96,96,96,.75);z-index:99999;text-align:center;text-decoration:none;line-height:28px;font-size:16px;font-weight:100;color:#FFF;text-decoration:underline;padding:0;margin:0;overflow:hidden}.csb-pro-layer:hover{opacity:1}.csb-pro-layer:hover .pro-info,.csb-pro-layer:hover .pro-info:hover,.csb-pro-layer:hover .pro-info:active,.csb-pro-layer:hover .pro-info:focus{line-height:48px;left:-10px;top:-10px;right:-5px;bottom:-10px;opacity:1}.csb-pro-layer .button{margin:0 5px 0 0;float:left}.csb-pro-layer .button .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}#defaultsidebarspage p.submit{padding:0 0 10px;clear:both}#poststuff.defaultsdetailscontainer h2{border-bottom:0;margin-bottom:5px}#defaultsforposts,#defaultsforpages{padding:0 10px;background:#fcfcfc;overflow:hidden}.defaultsSelector{margin-bottom:30px}.cscolright{clear:right;float:right;margin:0;overflow:hidden;padding:0;width:49%}.cscolleft{margin:0;overflow:hidden;padding:0;width:49%}.widgets-php .widget-liquid-left{width:100%}.widgets-php .widget-liquid-right{padding:0 0 75px;margin:-10px -214% 0 0;width:210%;background:#e4e4e4;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-php .widget-liquid-right #widgets-right{margin:20px}.widgets-php .widget-liquid-right .overview{list-style:none;position:absolute;left:0;top:0;width:auto;right:0;padding-left:20px;border-left:1px solid #DDD}.widgets-php #wpcontent{position:relative}.widgets-php #wpcontent .wrap .cs-wrap{margin-right:68%;padding-top:1em;position:relative}.widgets-php #wpcontent #screen-meta-links{position:relative;z-index:10}.widgets-php #wpcontent #screen-meta{position:relative;z-index:10}.widgets-php #widgets-left{margin-right:0!important}.widgets-php #footer{background:#fff;margin-right:0;padding-right:20px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new{background-color:#fff;padding:15px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new p{border-radius:4px;border:3px dashed #ddd;color:#777;cursor:pointer;font-weight:700;margin:0;padding:90px 10px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-box{border-radius:4px;margin:55px 0 16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront{background-color:#f9c200}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner{min-height:145px;margin-right:-16px;background:url(../img/devman.png) no-repeat 100% 50%;padding:50px 120px 45px 20px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p{font-size:1.4em;color:#000;margin-top:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p:last-of-type{margin-bottom:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner .button{background-color:#00a7e6;color:#fff;font-weight:700;height:auto;padding:15px 16px;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup{background-color:#fff}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner{background:url(../img/hand-with-heart.png) no-repeat 100% 100%;font-size:1.2em;min-height:227px;padding-bottom:10px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4,.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{margin:0;padding:0 120px 0 30px;font-size:1.1em}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4{color:#222;font-size:1.2em;padding-top:50px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{color:#c1272c;padding-top:16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form{border-radius:4px;background-color:#fafafa;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;margin:24px 30px 0;padding:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input{background-color:transparent;border:0;font-size:1em;margin:0;padding:10px 15px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit]{border-radius:0 4px 4px 0;background-color:#00a7e6;color:#fff;min-width:3em;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]{color:#aaa;-ms-flex-positive:1;flex-grow:1}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]:active{box-shadow:none}#cs-options .cs-action{line-height:26px;margin-right:20px}#cs-options .cs-filter{float:right}.sidebar-form{margin:0 15px}.sidebar-form label{display:block}.sidebar-form .submit{text-align:right;margin:0;padding:1em 0}.sidebar-form .description{margin-top:5px;text-align:right}.sidebar_name,.sidebar_description{width:100%}div#widgets-right .sidebar-name>h3{padding:15px}div#widgets-right .widgets-sortables .sidebar-name>h3{padding:15px 7px}.widgets-holder-wrap.closed>div:nth-child(2){display:none}#defaultsidebarspage .hndle{cursor:pointer}#customsidebarspage #col-right{width:62%}.widgets_access .widget-liquid-right{position:static}#oldbrowsererror{display:none}#defaultsidebarspage .postbox{position:static}#defaultsidebarspage .inside{position:static}body.appearance_page_customsidebars .wrap h2{float:none}body.appearance_page_customsidebars #poststuff h2{margin-top:0}.widget.ui-draggable-dragging{z-index:10001!important}.csb-more-content{display:none}.csb-has-more .csb-more-content{display:block}#cs-widgets-extra{display:none}#cs-title-options{zoom:1;background:#E8E8E8;margin:-20px -20px 0 -20px;padding:10px 20px 20px;border-bottom:1px solid #DDD}.cs-title h3{font-weight:100}.cs-title h3 .cs-icon{margin-left:10px;color:#999}.replaceable{position:relative}.replaceable .replace-marker{position:absolute;left:0;top:0;bottom:0;width:5px;margin:0 5px 0 0;border-left:2px solid #05c944;z-index:10}.replaceable .replace-marker:hover:before{content:attr(data-label);background:#333;color:#EEE;font-size:13px;white-space:nowrap;padding:5px;position:absolute;top:7px;right:13px;line-height:20px}.replaceable .replace-marker:hover:after{content:'';position:absolute;top:16px;right:3px;border:6px solid transparent;border-left-color:#333}.cs-message{margin:.5em 0;padding:10px;position:absolute;left:0;right:0;box-shadow:0 1px 10px rgba(0,0,0,.2);z-index:100}.cs-message .close{position:absolute;top:.5em;right:.5em;opacity:.3;color:#000;cursor:pointer;text-decoration:none;font-size:14px;line-height:26px;width:26px;text-align:center;background:rgba(0,0,0,.1)}.cs-message .close:hover,.cs-message .close:focus,.cs-message .close:active{opacity:1}.cs-update{background:#ffffe0;border:1px solid #E6DB55}.cs-error{background:#FFEBE8;border:1px solid #C00}.cs-toolbar{color:#333;padding:0;background:#FCFCFC;border-top:1px solid #E5E5E5}.cs-toolbar:after{display:table;content:'';clear:both}.closed .cs-toolbar{display:none}.cs-toolbar .cs-tool{text-decoration:none;line-height:40px;height:40px;padding:0 10px;white-space:nowrap;background:#FFF;position:relative;overflow:hidden}.cs-toolbar .dashicons{line-height:40px}.cs-toolbar .cs-separator{border-left:1px solid #E5E5E5;width:1px;padding:0;margin:0;height:40px;overflow:hidden;display:inline-block;color:#DDD}.cs-custom-sidebar .cs-tool,.cs-custom-sidebar .cs-separator{float:right}.cs-theme-sidebar .cs-tool,.cs-theme-sidebar .cs-separator{float:left}.cs-toolbar .delete-sidebar{color:#A00}.cs-toolbar .delete-sidebar:hover,.cs-toolbar .delete-sidebar:focus,.cs-toolbar .delete-sidebar:active{color:red}.cs-toolbar .cs-tool.btn-replaceable{color:#555;padding-left:32px}.cs-toolbar .cs-tool.btn-replaceable:hover{color:#333!important}.cs-toolbar .cs-tool.btn-replaceable .chk-replaceable{position:absolute;top:50%;left:10px;height:16px;margin-top:-8px}.replaceable .cs-toolbar .cs-tool.btn-replaceable{background:#edfff3;color:#333}.replace-tip-box{float:left}.replace-tip{width:200px}.csb .button{outline:0}.csb .button>.dashicons,.csb .button-primary>.dashicons,.csb .button-secondary>.dashicons{opacity:.75;line-height:26px;margin-right:5px;transition:opacity .2s}.csb .button:hover>.dashicons,.csb .button-primary:hover>.dashicons,.csb .button-secondary:hover>.dashicons{opacity:1}.rtl div.widget-liquid-right{float:left;right:auto;left:0}.rtl.widgets-php #wpcontent .wrap .cs-wrap{margin-right:2px;margin-left:68%}.rtl.widgets-php .widget-liquid-right{margin:-10px 0 0 -214%}.rtl.widgets-php #widgets-left{margin-left:0!important}.rtl.widgets-php.folded #wpcontent,.rtl.widgets-php.folded #wpfooter{margin-left:325px;margin-right:52px}.rtl #cs-title-options h2{margin-right:5px}.rtl #cs-options .cs-filter{float:left}.rtl #cs-options .cs-action{margin-right:0;margin-left:20px}.rtl .sidebar-form .submit{text-align:left}.rtl #TB_ajaxWindowTitle{float:right}.rtl #TB_closeAjaxWindow{float:left}.csb-export-head{min-width:450px}.csb-export-head th{vertical-align:top;text-align:right;color:#679;width:150px}.csb-export-head tr:hover{background:#FAFAFA}.csb-export-head ul{margin:0}.csb-export-head .dashicons.hint{font-size:12px;line-height:22px}.csb-form{padding-left:15px}.csb-form h2,.csb-form h3,.csb-form .form-buttons,#poststuff .csb-form h2,#poststuff .csb-form h3,#poststuff .csb-form .form-buttons{padding-left:0;margin-left:-15px}.form-buttons{clear:both}.show-infos{position:relative;display:inline-block;margin:0 5px}h2 .show-infos{top:4px}.show-infos .export-infos{position:absolute;top:-5px;left:30px;font-size:13px;line-height:1.4em;font-weight:400;background:#FFF;box-shadow:0 1px 8px rgba(0,0,0,.2);border:3px solid #FAFAFA;padding:5px;z-index:10}.show-infos .export-infos:before,.show-infos .export-infos:after{content:'';position:absolute;left:-17px;top:5px;border:7px solid transparent;border-right-color:#FAFAFA;z-index:1}.show-infos .export-infos:after{left:-18px;top:5px;border-right-color:rgba(0,0,0,.15);z-index:0}.show-infos:hover .export-infos{display:block!important}.export-infos .section{font-weight:700;margin:10px 0 5px -2px;color:#666}.cs-half{float:left;width:49%;margin-right:1%}.cs-replaceable{margin-bottom:5px}.cs-replaceable>.details{display:none;margin:5px 0}.cs-replaceable.open>.details{display:block}#wpbody-content .wp-list-table .column-cs_replacement{width:30%}@media screen and (max-width:782px){#wpbody-content .wp-list-table.fixed .column-cs_replacement{display:none}}#wpbody-content .wp-list-table td.cs_replacement{}#wpbody-content .wp-list-table td.cs_replacement .def,#wpbody-content .wp-list-table td.cs_replacement .cust{opacity:.8;cursor:default;position:relative;padding-left:110px}#wpbody-content .wp-list-table td.cs_replacement .def:after,#wpbody-content .wp-list-table td.cs_replacement .cust:after{content:' ';display:block;clear:both}#wpbody-content .wp-list-table td.cs_replacement .def:hover,#wpbody-content .wp-list-table td.cs_replacement .cust:hover{opacity:1;background:rgba(0,0,0,.02)}#wpbody-content .wp-list-table td.cs_replacement .def{display:none}#wpbody-content .wp-list-table td.cs_replacement .cs-val,#wpbody-content .wp-list-table td.cs_replacement .cs-key{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#wpbody-content .wp-list-table td.cs_replacement .cs-key{max-width:100px;color:#666;position:absolute;left:0}#wpbody-content .wp-list-table td.cs_replacement .cs-val{display:block}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit{border-top:1px solid #EEE;margin-top:10px;padding-top:10px}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit label span.title{display:block;float:left;min-width:5em;white-space:nowrap;padding-right:10px;width:auto}#wpbody-content .wp-list-table .inline-edit-row-page .inline-edit-col-right{float:right}
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
+
.module-export .pro-layer{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(255,255,255,.8);text-align:center;font-size:26px;font-weight:100;padding-top:120px;line-height:1.5}.module-export .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.module-export .pro-layer a:hover,.module-export .pro-layer a:focus,.module-export .pro-layer a:active{background:#1E8CBE;color:#FFF}.frm-location .pro-layer{padding:10px;text-align:center;font-size:26px;font-weight:100;line-height:1.5}.frm-location .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.frm-location .pro-layer a:hover,.frm-location .pro-layer a:focus,.frm-location .pro-layer a:active{background:#1E8CBE;color:#FFF}.csb-pro-layer{float:left;position:relative;opacity:.5;margin-right:10px}.csb-pro-layer .pro-info{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:rgba(96,96,96,.75);z-index:99999;text-align:center;text-decoration:none;line-height:28px;font-size:16px;font-weight:100;color:#FFF;text-decoration:underline;padding:0;margin:0;overflow:hidden}.csb-pro-layer:hover{opacity:1}.csb-pro-layer:hover .pro-info,.csb-pro-layer:hover .pro-info:hover,.csb-pro-layer:hover .pro-info:active,.csb-pro-layer:hover .pro-info:focus{line-height:48px;left:-10px;top:-10px;right:-5px;bottom:-10px;opacity:1}.csb-pro-layer .button{margin:0 5px 0 0;float:left}.csb-pro-layer .button .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}#defaultsidebarspage p.submit{padding:0 0 10px;clear:both}#poststuff.defaultsdetailscontainer h2{border-bottom:0;margin-bottom:5px}#defaultsforposts,#defaultsforpages{padding:0 10px;background:#fcfcfc;overflow:hidden}.defaultsSelector{margin-bottom:30px}.cscolright{clear:right;float:right;margin:0;overflow:hidden;padding:0;width:49%}.cscolleft{margin:0;overflow:hidden;padding:0;width:49%}.widgets-php .widget-liquid-left{width:100%}.widgets-php .widget-liquid-right{padding:0 0 75px;margin:-10px -214% 0 0;width:210%;background:#e4e4e4;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-php .widget-liquid-right #widgets-right{margin:20px}.widgets-php .widget-liquid-right .overview{list-style:none;position:absolute;left:0;top:0;width:auto;right:0;padding-left:20px;border-left:1px solid #DDD}.widgets-php #wpcontent{position:relative}.widgets-php #wpcontent .wrap .cs-wrap{margin-right:68%;padding-top:1em;position:relative}.widgets-php #wpcontent #screen-meta-links{position:relative;z-index:10}.widgets-php #wpcontent #screen-meta{position:relative;z-index:10}.widgets-php #widgets-left{margin-right:0!important}.widgets-php #footer{background:#fff;margin-right:0;padding-right:20px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new{background-color:#fff;padding:15px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new p{border-radius:4px;border:3px dashed #ddd;color:#777;cursor:pointer;font-weight:700;margin:0;padding:90px 10px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-box{border-radius:4px;margin:55px 0 16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront{background-color:#f9c200}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner{min-height:145px;margin-right:-16px;background:url(../img/devman.png) no-repeat 100% 50%;padding:50px 120px 45px 20px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p{font-size:1.4em;color:#000;margin-top:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p:last-of-type{margin-bottom:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner .button{background-color:#00a7e6;color:#fff;font-weight:700;height:auto;padding:15px 16px;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup{background-color:#fff}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner{background:url(../img/hand-with-heart.png) no-repeat 100% 100%;font-size:1.2em;min-height:227px;padding-bottom:10px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4,.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{margin:0;padding:0 120px 0 30px;font-size:1.1em}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4{color:#222;font-size:1.2em;padding-top:50px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{color:#c1272c;padding-top:16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form{border-radius:4px;background-color:#fafafa;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;margin:24px 30px 0;padding:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input{background-color:transparent;border:0;font-size:1em;margin:0;padding:10px 15px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit]{border-radius:0 4px 4px 0;background-color:#00a7e6;color:#fff;min-width:3em;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]{color:#aaa;-ms-flex-positive:1;flex-grow:1}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]:active{box-shadow:none}#cs-options .cs-action{line-height:26px;margin-right:20px}#cs-options .cs-filter{float:right}.sidebar-form{margin:0 15px}.sidebar-form label{display:block}.sidebar-form .submit{text-align:right;margin:0;padding:1em 0}.sidebar-form .description{margin-top:5px;text-align:right}.sidebar_name,.sidebar_description{width:100%}div#widgets-right .sidebar-name>h3{padding:15px}div#widgets-right .widgets-sortables .sidebar-name>h3{padding:15px 7px}.widgets-holder-wrap.closed>div:nth-child(2){display:none}#defaultsidebarspage .hndle{cursor:pointer}#customsidebarspage #col-right{width:62%}.widgets_access .widget-liquid-right{position:static}#oldbrowsererror{display:none}#defaultsidebarspage .postbox{position:static}#defaultsidebarspage .inside{position:static}body.appearance_page_customsidebars .wrap h2{float:none}body.appearance_page_customsidebars #poststuff h2{margin-top:0}.widget.ui-draggable-dragging{z-index:10001!important}.csb-more-content{display:none}.csb-has-more .csb-more-content{display:block}#cs-widgets-extra{display:none}#cs-title-options{zoom:1;background:#E8E8E8;margin:-20px -20px 0 -20px;padding:10px 20px 20px;border-bottom:1px solid #DDD}.cs-title h3{font-weight:100}.cs-title h3 .cs-icon{margin-left:10px;color:#999}.replaceable{position:relative}.replaceable .replace-marker{position:absolute;left:0;top:0;bottom:0;width:5px;margin:0 5px 0 0;border-left:2px solid #05c944;z-index:10}.replaceable .replace-marker:hover:before{content:attr(data-label);background:#333;color:#EEE;font-size:13px;white-space:nowrap;padding:5px;position:absolute;top:7px;right:13px;line-height:20px}.replaceable .replace-marker:hover:after{content:'';position:absolute;top:16px;right:3px;border:6px solid transparent;border-left-color:#333}.cs-message{margin:.5em 0;padding:10px;position:absolute;left:0;right:0;box-shadow:0 1px 10px rgba(0,0,0,.2);z-index:100}.cs-message .close{position:absolute;top:.5em;right:.5em;opacity:.3;color:#000;cursor:pointer;text-decoration:none;font-size:14px;line-height:26px;width:26px;text-align:center;background:rgba(0,0,0,.1)}.cs-message .close:hover,.cs-message .close:focus,.cs-message .close:active{opacity:1}.cs-update{background:#ffffe0;border:1px solid #E6DB55}.cs-error{background:#FFEBE8;border:1px solid #C00}.cs-toolbar{color:#333;padding:0;background:#FCFCFC;border-top:1px solid #E5E5E5}.cs-toolbar:after{display:table;content:'';clear:both}.closed .cs-toolbar{display:none}.cs-toolbar .cs-tool{text-decoration:none;line-height:40px;height:40px;padding:0 10px;white-space:nowrap;background:#FFF;position:relative;overflow:hidden}.cs-toolbar .dashicons{line-height:40px}.cs-toolbar .cs-separator{border-left:1px solid #E5E5E5;width:1px;padding:0;margin:0;height:40px;overflow:hidden;display:inline-block;color:#DDD}.cs-custom-sidebar .cs-tool,.cs-custom-sidebar .cs-separator{float:right}.cs-theme-sidebar .cs-tool,.cs-theme-sidebar .cs-separator{float:left}.cs-toolbar .delete-sidebar{color:#A00}.cs-toolbar .delete-sidebar:hover,.cs-toolbar .delete-sidebar:focus,.cs-toolbar .delete-sidebar:active{color:red}.cs-toolbar .cs-tool.btn-replaceable{color:#555;padding-left:32px}.cs-toolbar .cs-tool.btn-replaceable:hover{color:#333!important}.cs-toolbar .cs-tool.btn-replaceable .chk-replaceable{position:absolute;top:50%;left:10px;height:16px;margin-top:-8px}.replaceable .cs-toolbar .cs-tool.btn-replaceable{background:#edfff3;color:#333}.replace-tip-box{float:left}.replace-tip{width:200px}.csb .button{outline:0}.csb .button>.dashicons,.csb .button-primary>.dashicons,.csb .button-secondary>.dashicons{opacity:.75;line-height:26px;margin-right:5px;transition:opacity .2s}.csb .button:hover>.dashicons,.csb .button-primary:hover>.dashicons,.csb .button-secondary:hover>.dashicons{opacity:1}.rtl div.widget-liquid-right{float:left;right:auto;left:0}.rtl.widgets-php #wpcontent .wrap .cs-wrap{margin-right:2px;margin-left:68%}.rtl.widgets-php .widget-liquid-right{margin:-10px 0 0 -214%}.rtl.widgets-php #widgets-left{margin-left:0!important}.rtl.widgets-php.folded #wpcontent,.rtl.widgets-php.folded #wpfooter{margin-left:325px;margin-right:52px}.rtl #cs-title-options h2{margin-right:5px}.rtl #cs-options .cs-filter{float:left}.rtl #cs-options .cs-action{margin-right:0;margin-left:20px}.rtl .sidebar-form .submit{text-align:left}.rtl #TB_ajaxWindowTitle{float:right}.rtl #TB_closeAjaxWindow{float:left}.csb-export-head{min-width:450px}.csb-export-head th{vertical-align:top;text-align:right;color:#679;width:150px}.csb-export-head tr:hover{background:#FAFAFA}.csb-export-head ul{margin:0}.csb-export-head .dashicons.hint{font-size:12px;line-height:22px}.csb-form{padding-left:15px}.csb-form h2,.csb-form h3,.csb-form .form-buttons,#poststuff .csb-form h2,#poststuff .csb-form h3,#poststuff .csb-form .form-buttons{padding-left:0;margin-left:-15px}.form-buttons{clear:both}.show-infos{position:relative;display:inline-block;margin:0 5px}h2 .show-infos{top:4px}.show-infos .export-infos{position:absolute;top:-5px;left:30px;font-size:13px;line-height:1.4em;font-weight:400;background:#FFF;box-shadow:0 1px 8px rgba(0,0,0,.2);border:3px solid #FAFAFA;padding:5px;z-index:10}.show-infos .export-infos:before,.show-infos .export-infos:after{content:'';position:absolute;left:-17px;top:5px;border:7px solid transparent;border-right-color:#FAFAFA;z-index:1}.show-infos .export-infos:after{left:-18px;top:5px;border-right-color:rgba(0,0,0,.15);z-index:0}.show-infos:hover .export-infos{display:block!important}.export-infos .section{font-weight:700;margin:10px 0 5px -2px;color:#666}.cs-half{float:left;width:49%;margin-right:1%}.cs-replaceable{margin-bottom:5px}.cs-replaceable>.details{display:none;margin:5px 0}.cs-replaceable.open>.details{display:block}@media screen and (max-width:782px){#wpbody-content .wp-list-table.fixed .column-cs_replacement{display:none}}#wpbody-content .wp-list-table td.cs_replacement{}#wpbody-content .wp-list-table td.cs_replacement .def,#wpbody-content .wp-list-table td.cs_replacement .cust{opacity:.8;cursor:default;position:relative;padding-left:110px}#wpbody-content .wp-list-table td.cs_replacement .def:after,#wpbody-content .wp-list-table td.cs_replacement .cust:after{content:' ';display:block;clear:both}#wpbody-content .wp-list-table td.cs_replacement .def:hover,#wpbody-content .wp-list-table td.cs_replacement .cust:hover{opacity:1;background:rgba(0,0,0,.02)}#wpbody-content .wp-list-table td.cs_replacement .def{display:none}#wpbody-content .wp-list-table td.cs_replacement .cs-val,#wpbody-content .wp-list-table td.cs_replacement .cs-key{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#wpbody-content .wp-list-table td.cs_replacement .cs-key{max-width:100px;color:#666;position:absolute;left:0}#wpbody-content .wp-list-table td.cs_replacement .cs-val{display:block}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit{border-top:1px solid #EEE;margin-top:10px;padding-top:10px}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit label span.title{display:block;float:left;min-width:5em;white-space:nowrap;padding-right:10px;width:auto}#wpbody-content .wp-list-table .inline-edit-row-page .inline-edit-col-right{float:right}
|
customsidebars.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Custom Sidebars
|
4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
6 |
-
* Version: 3.0.
|
7 |
* Author: WPMU DEV
|
8 |
* Author URI: http://premium.wpmudev.org/
|
9 |
* Textdomain: custom-sidebars
|
3 |
* Plugin Name: Custom Sidebars
|
4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
6 |
+
* Version: 3.0.5
|
7 |
* Author: WPMU DEV
|
8 |
* Author URI: http://premium.wpmudev.org/
|
9 |
* Textdomain: custom-sidebars
|
inc/class-custom-sidebars-editor.php
CHANGED
@@ -61,6 +61,8 @@ class CustomSidebarsEditor extends CustomSidebars {
|
|
61 |
10, 2
|
62 |
);
|
63 |
}
|
|
|
|
|
64 |
|
65 |
add_action(
|
66 |
'quick_edit_custom_box',
|
@@ -1003,4 +1005,20 @@ class CustomSidebarsEditor extends CustomSidebars {
|
|
1003 |
</script>
|
1004 |
<?php
|
1005 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1006 |
};
|
61 |
10, 2
|
62 |
);
|
63 |
}
|
64 |
+
/** This action is documented in wp-admin/includes/screen.php */
|
65 |
+
add_filter( 'default_hidden_columns', array( $this, 'default_hidden_columns' ), 10, 2 );
|
66 |
|
67 |
add_action(
|
68 |
'quick_edit_custom_box',
|
1005 |
</script>
|
1006 |
<?php
|
1007 |
}
|
1008 |
+
|
1009 |
+
/**
|
1010 |
+
* Hide column "Custom Sidebars" by default.
|
1011 |
+
*
|
1012 |
+
* @since 3.0.5
|
1013 |
+
*
|
1014 |
+
* @param array $hidden Array of hidden columns.
|
1015 |
+
* @param WP_Screen $screen Current WP screen.
|
1016 |
+
* @return array $hidden
|
1017 |
+
*/
|
1018 |
+
public function default_hidden_columns( $hidden, $screen ) {
|
1019 |
+
if ( is_object( $screen ) && isset( $screen->post_type ) && 'post' == $screen->post_type ) {
|
1020 |
+
$hidden[] = 'cs_replacement';
|
1021 |
+
}
|
1022 |
+
return $hidden;
|
1023 |
+
}
|
1024 |
};
|
inc/class-custom-sidebars-visibility.php
CHANGED
@@ -448,8 +448,7 @@ class CustomSidebarsVisibility extends CustomSidebars {
|
|
448 |
foreach ( $tax_list as $tax_item ) {
|
449 |
$row_id = 'tax-' . $tax_item->name;
|
450 |
$ajax_url = admin_url( 'admin-ajax.php?action=cs-ajax&do=visibility&tag=' . $tax_item->name );
|
451 |
-
$
|
452 |
-
|
453 |
if ( ! empty( $cond[ $row_id ] ) ) {
|
454 |
$tags = get_terms(
|
455 |
$tax_item->name,
|
@@ -458,43 +457,27 @@ class CustomSidebarsVisibility extends CustomSidebars {
|
|
458 |
'hide_empty' => false,
|
459 |
)
|
460 |
);
|
461 |
-
|
462 |
-
foreach ( $tags as $tag ) {
|
463 |
-
$sel[] = $tag->term_id . '::' . str_replace( '::', ':', $tag->name );
|
464 |
-
}
|
465 |
}
|
466 |
-
|
467 |
-
?>
|
468 |
<div class="csb-option-row csb-<?php echo esc_attr( $row_id ); ?>"
|
469 |
<?php if ( empty( $cond[ $row_id ] ) ) : ?>style="display:none"<?php endif; ?>>
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
<select
|
477 |
-
id="<?php echo esc_attr( $widget->id ); ?>-<?php echo esc_attr( $row_id ); ?>"
|
478 |
-
name="<?php echo esc_attr( $block_name ); ?>[<?php echo esc_attr( $row_id ); ?>][]"
|
479 |
-
multiple="multiple"
|
480 |
-
>
|
481 |
<?php
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
'<option %s value="%s">%s</option>',
|
490 |
-
selected( $is_selected ),
|
491 |
-
esc_attr( $item->term_id ),
|
492 |
-
esc_html( $item->name )
|
493 |
-
);
|
494 |
-
}
|
495 |
?>
|
496 |
-
|
497 |
-
|
498 |
<?php
|
499 |
}
|
500 |
?>
|
@@ -574,7 +557,6 @@ class CustomSidebarsVisibility extends CustomSidebars {
|
|
574 |
*/
|
575 |
public function admin_widget_update( $instance, $new_instance, $old_instance ) {
|
576 |
$data = $this->get_widget_data( $_POST );
|
577 |
-
|
578 |
foreach ( $data['conditions'] as $key => $list ) {
|
579 |
if ( ! is_array( $list ) ) {
|
580 |
$list = explode( ',', $list );
|
@@ -582,7 +564,6 @@ class CustomSidebarsVisibility extends CustomSidebars {
|
|
582 |
}
|
583 |
}
|
584 |
$instance['csb_visibility'] = $data;
|
585 |
-
|
586 |
return $instance;
|
587 |
}
|
588 |
|
@@ -993,8 +974,8 @@ class CustomSidebarsVisibility extends CustomSidebars {
|
|
993 |
$key = $tag->term_id;
|
994 |
$name = $tag->name;
|
995 |
$data[] = array(
|
996 |
-
'
|
997 |
-
'
|
998 |
);
|
999 |
}
|
1000 |
|
448 |
foreach ( $tax_list as $tax_item ) {
|
449 |
$row_id = 'tax-' . $tax_item->name;
|
450 |
$ajax_url = admin_url( 'admin-ajax.php?action=cs-ajax&do=visibility&tag=' . $tax_item->name );
|
451 |
+
$tags = array();
|
|
|
452 |
if ( ! empty( $cond[ $row_id ] ) ) {
|
453 |
$tags = get_terms(
|
454 |
$tax_item->name,
|
457 |
'hide_empty' => false,
|
458 |
)
|
459 |
);
|
|
|
|
|
|
|
|
|
460 |
}
|
461 |
+
?>
|
|
|
462 |
<div class="csb-option-row csb-<?php echo esc_attr( $row_id ); ?>"
|
463 |
<?php if ( empty( $cond[ $row_id ] ) ) : ?>style="display:none"<?php endif; ?>>
|
464 |
+
<label for="<?php echo esc_attr( $widget->id ); ?>-<?php echo esc_attr( $row_id ); ?>">
|
465 |
+
<span class="csb-and" style="display:none"><?php _e( 'AND', 'custom-sidebars' ); ?></span>
|
466 |
+
<?php echo esc_html( $tax_item->labels->name ); ?>
|
467 |
+
</label>
|
468 |
+
<i class="dashicons dashicons-trash clear-filter show-on-hover action"></i>
|
469 |
+
<select name="<?php echo esc_attr( $block_name ); ?>[<?php echo esc_attr( $row_id ); ?>][]" data-select-ajax="<?php echo esc_url( $ajax_url ); ?>" multiple="multiple">
|
|
|
|
|
|
|
|
|
|
|
470 |
<?php
|
471 |
+
foreach ( $tags as $one ) {
|
472 |
+
printf(
|
473 |
+
'<option value="%d" selected="selected">%s</option>',
|
474 |
+
esc_attr( $one->term_id ),
|
475 |
+
esc_html( $one->name )
|
476 |
+
);
|
477 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
478 |
?>
|
479 |
+
</select>
|
480 |
+
</div>
|
481 |
<?php
|
482 |
}
|
483 |
?>
|
557 |
*/
|
558 |
public function admin_widget_update( $instance, $new_instance, $old_instance ) {
|
559 |
$data = $this->get_widget_data( $_POST );
|
|
|
560 |
foreach ( $data['conditions'] as $key => $list ) {
|
561 |
if ( ! is_array( $list ) ) {
|
562 |
$list = explode( ',', $list );
|
564 |
}
|
565 |
}
|
566 |
$instance['csb_visibility'] = $data;
|
|
|
567 |
return $instance;
|
568 |
}
|
569 |
|
974 |
$key = $tag->term_id;
|
975 |
$name = $tag->name;
|
976 |
$data[] = array(
|
977 |
+
'id' => $key,
|
978 |
+
'text' => esc_html( $name ),
|
979 |
);
|
980 |
}
|
981 |
|
inc/class-custom-sidebars.php
CHANGED
@@ -72,9 +72,20 @@ class CustomSidebars {
|
|
72 |
* We directly initialize sidebar options when class is created.
|
73 |
*/
|
74 |
private function __construct() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
$plugin_title = 'Custom Sidebars';
|
76 |
|
77 |
-
|
78 |
/**
|
79 |
* ID of the WP-Pointer used to introduce the plugin upon activation
|
80 |
*
|
@@ -85,19 +96,28 @@ class CustomSidebars {
|
|
85 |
* Description: Create and edit custom sidebars in your widget screen!
|
86 |
* -------------------------------------------------------------------------
|
87 |
*/
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
// Find out if the page is loaded in accessibility mode.
|
103 |
$flag = isset( $_GET['widgets-access'] ) ? $_GET['widgets-access'] : get_user_setting( 'widgets_access' );
|
@@ -130,9 +150,6 @@ class CustomSidebars {
|
|
130 |
// AJAX actions
|
131 |
add_action( 'wp_ajax_cs-ajax', array( $this, 'ajax_handler' ) );
|
132 |
|
133 |
-
// Extensions use this hook to initialize themselfs.
|
134 |
-
do_action( 'cs_init' );
|
135 |
-
|
136 |
// Display a message after import.
|
137 |
if ( ! empty( $_GET['cs-msg'] ) ) {
|
138 |
$msg = base64_decode( $_GET['cs-msg'] );
|
@@ -917,7 +934,7 @@ class CustomSidebars {
|
|
917 |
*
|
918 |
* @since 3.0.1
|
919 |
*/
|
920 |
-
|
921 |
wp_enqueue_script( 'wp-util' );
|
922 |
?>
|
923 |
<script type="text/html" id="tmpl-custom-sidebars-new">
|
@@ -930,5 +947,5 @@ class CustomSidebars {
|
|
930 |
|
931 |
</script>
|
932 |
<?php
|
933 |
-
|
934 |
};
|
72 |
* We directly initialize sidebar options when class is created.
|
73 |
*/
|
74 |
private function __construct() {
|
75 |
+
add_action( 'admin_init', array( $this, 'admin_init' ) );
|
76 |
+
// Extensions use this hook to initialize themselfs.
|
77 |
+
do_action( 'cs_init' );
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Admin init
|
82 |
+
*
|
83 |
+
* @since 3.0.5
|
84 |
+
*/
|
85 |
+
public function admin_init() {
|
86 |
+
|
87 |
$plugin_title = 'Custom Sidebars';
|
88 |
|
|
|
89 |
/**
|
90 |
* ID of the WP-Pointer used to introduce the plugin upon activation
|
91 |
*
|
96 |
* Description: Create and edit custom sidebars in your widget screen!
|
97 |
* -------------------------------------------------------------------------
|
98 |
*/
|
99 |
+
|
100 |
+
$user_id = get_current_user_id();
|
101 |
+
$dismissed_wp_pointers = get_user_meta( $user_id, 'dismissed_wp_pointers', true );
|
102 |
+
$dismissed_wp_pointers = explode( ',', $dismissed_wp_pointers );
|
103 |
+
|
104 |
+
if ( in_array( 'wpmudcs1', $dismissed_wp_pointers ) || wp_is_mobile() ) {
|
105 |
+
lib3()->ui->add( 'core', 'widgets.php' );
|
106 |
+
} else {
|
107 |
+
lib3()->ui->add( 'core' );
|
108 |
+
lib3()->html->pointer(
|
109 |
+
'wpmudcs1', // Internal Pointer-ID
|
110 |
+
'#menu-appearance', // Point at
|
111 |
+
$plugin_title,
|
112 |
+
sprintf(
|
113 |
+
__(
|
114 |
+
'Now you can create and edit custom sidebars in your ' .
|
115 |
+
'<a href="%1$s">Widgets screen</a>!', 'custom-sidebars'
|
116 |
+
),
|
117 |
+
admin_url( 'widgets.php' )
|
118 |
+
) // Body
|
119 |
+
);
|
120 |
+
}
|
121 |
|
122 |
// Find out if the page is loaded in accessibility mode.
|
123 |
$flag = isset( $_GET['widgets-access'] ) ? $_GET['widgets-access'] : get_user_setting( 'widgets_access' );
|
150 |
// AJAX actions
|
151 |
add_action( 'wp_ajax_cs-ajax', array( $this, 'ajax_handler' ) );
|
152 |
|
|
|
|
|
|
|
153 |
// Display a message after import.
|
154 |
if ( ! empty( $_GET['cs-msg'] ) ) {
|
155 |
$msg = base64_decode( $_GET['cs-msg'] );
|
934 |
*
|
935 |
* @since 3.0.1
|
936 |
*/
|
937 |
+
public function print_templates() {
|
938 |
wp_enqueue_script( 'wp-util' );
|
939 |
?>
|
940 |
<script type="text/html" id="tmpl-custom-sidebars-new">
|
947 |
|
948 |
</script>
|
949 |
<?php
|
950 |
+
}
|
951 |
};
|
inc/external/wpmu-lib/changelog.txt
CHANGED
@@ -4,6 +4,10 @@ Author: Philipp Stracker, Marcin Pietrzak
|
|
4 |
Change Log:
|
5 |
----------------------------------------------------------------------
|
6 |
|
|
|
|
|
|
|
|
|
7 |
3.0.3
|
8 |
----------------------------------------------------------------------
|
9 |
JS
|
4 |
Change Log:
|
5 |
----------------------------------------------------------------------
|
6 |
|
7 |
+
3.0.4
|
8 |
+
JS
|
9 |
+
- Added check is function "el.wpmuiSelect" to avoid JavaScript errors.
|
10 |
+
|
11 |
3.0.3
|
12 |
----------------------------------------------------------------------
|
13 |
JS
|
inc/external/wpmu-lib/core.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WPMU Dev code library
|
4 |
* Plugin URI: http://premium.wpmudev.org/
|
5 |
* Description: Framework to support creating WordPress plugins and themes.
|
6 |
-
* Version: 3.0.
|
7 |
* Author: WPMU DEV
|
8 |
* Author URI: http://premium.wpmudev.org/
|
9 |
* Textdomain: wpmu-lib
|
@@ -30,7 +30,7 @@
|
|
30 |
* define( 'WDEV_SEND_P3P', 'CP="CAO OUR"' ) // Overwrite default P3P header
|
31 |
*/
|
32 |
|
33 |
-
$version = '3.0.
|
34 |
|
35 |
if ( ! function_exists( 'lib3' ) ) {
|
36 |
/**
|
3 |
* Plugin Name: WPMU Dev code library
|
4 |
* Plugin URI: http://premium.wpmudev.org/
|
5 |
* Description: Framework to support creating WordPress plugins and themes.
|
6 |
+
* Version: 3.0.4
|
7 |
* Author: WPMU DEV
|
8 |
* Author URI: http://premium.wpmudev.org/
|
9 |
* Textdomain: wpmu-lib
|
30 |
* define( 'WDEV_SEND_P3P', 'CP="CAO OUR"' ) // Overwrite default P3P header
|
31 |
*/
|
32 |
|
33 |
+
$version = '3.0.4';
|
34 |
|
35 |
if ( ! function_exists( 'lib3' ) ) {
|
36 |
/**
|
inc/external/wpmu-lib/css/animate.3.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
/*!
|
6 |
* https://github.com/daneden/animate.css/blob/master/animate.css
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
/*!
|
6 |
* https://github.com/daneden/animate.css/blob/master/animate.css
|
inc/external/wpmu-lib/css/fontawesome.3.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
@charset "UTF-8";/*!
|
6 |
* https://github.com/FortAwesome/Font-Awesome
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
@charset "UTF-8";/*!
|
6 |
* https://github.com/FortAwesome/Font-Awesome
|
inc/external/wpmu-lib/css/jquery-ui.wpmui.3.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
/*! jQuery UI - v1.11.4 - 2015-09-27
|
6 |
* http://jqueryui.com
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
/*! jQuery UI - v1.11.4 - 2015-09-27
|
6 |
* http://jqueryui.com
|
inc/external/wpmu-lib/css/select2.3.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
/*!
|
6 |
* https://github.com/select2/select2/blob/master/dist/css/select2.css
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
/*!
|
6 |
* https://github.com/select2/select2/blob/master/dist/css/select2.css
|
inc/external/wpmu-lib/css/wpmu-card-list.3.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
#wpwrap .wpmui-list-wrapper .wpmui-list,.wpmui-list-wrapper .wpmui-list{margin-left:-16px}#wpwrap .wpmui-list-wrapper .wpmui-list:after,.wpmui-list-wrapper .wpmui-list:after{content:'';display:table;clear:both}#wpwrap .wpmui-list-wrapper .list-card,.wpmui-list-wrapper .list-card{float:left;margin:0 0 16px 16px;width:48%;width:-webkit-calc(50% - 16px);width:calc(50% - 16px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box;opacity:.8}#wpwrap .wpmui-list-wrapper .list-card .badge-container,.wpmui-list-wrapper .list-card .badge-container{overflow:hidden;width:100px;height:100px;position:absolute;left:0;top:0}#wpwrap .wpmui-list-wrapper .list-card .badge-active,.wpmui-list-wrapper .list-card .badge-active{display:none}#wpwrap .wpmui-list-wrapper .list-card.active,.wpmui-list-wrapper .list-card.active{opacity:1;background:#FFF;border:1px solid #BBB;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:20}#wpwrap .wpmui-list-wrapper .list-card.active .desc,#wpwrap .wpmui-list-wrapper .list-card.active .name,.wpmui-list-wrapper .list-card.active .desc,.wpmui-list-wrapper .list-card.active .name{color:#333}#wpwrap .wpmui-list-wrapper .list-card.active .badge-active,.wpmui-list-wrapper .list-card.active .badge-active{position:absolute;top:15px;left:-35px;display:block;background-color:#6bbb1a;color:#FFF;transform:rotate(315deg);padding:3px 40px;z-index:20;border:1px solid #FFF}#wpwrap .wpmui-list-wrapper .list-card.active .item-icon,.wpmui-list-wrapper .list-card.active .item-icon{color:#3b8b08}#wpwrap .wpmui-list-wrapper .list-card .item-icon,.wpmui-list-wrapper .list-card .item-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0;font-size:100px;z-index:16}#wpwrap .wpmui-list-wrapper .list-card .item-icon i,.wpmui-list-wrapper .list-card .item-icon i{opacity:.8;font-size:100px}#wpwrap .wpmui-list-wrapper .list-card .desc,#wpwrap .wpmui-list-wrapper .list-card .name,.wpmui-list-wrapper .list-card .desc,.wpmui-list-wrapper .list-card .name{margin-left:148px;margin-right:120px;color:#777}#wpwrap .wpmui-list-wrapper .list-card .action-links,.wpmui-list-wrapper .list-card .action-links{position:absolute;top:20px;right:20px;width:120px;text-align:right}#wpwrap .wpmui-list-wrapper .list-card .action-links .space,.wpmui-list-wrapper .list-card .action-links .space{display:block;line-height:10px;height:10px;padding:0;margin:0}#wpwrap .wpmui-list-wrapper .list-card h4,.wpmui-list-wrapper .list-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}@media screen and (min-width:1600px){#wpwrap .wpmui-list-wrapper .list-card,.wpmui-list-wrapper .list-card{width:30%;width:-webkit-calc(33.3333% - 16px);width:calc(33.3333% - 16px)}}#wpwrap .wpmui-list-wrapper .list-card-top,.wpmui-list-wrapper .list-card-top{position:relative;padding:20px 20px 10px;height:135px;overflow:hidden}#wpwrap .wpmui-list-wrapper .list-card-top .fader,.wpmui-list-wrapper .list-card-top .fader{position:absolute;bottom:0;height:20px;left:0;right:0;z-index:5;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0)),color-stop(90%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0)}#wpwrap .wpmui-list-wrapper .list-card-bottom,.wpmui-list-wrapper .list-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden;height:45px}#wpwrap .wpmui-list-wrapper .details,#wpwrap .wpmui-list-wrapper .is-detail,.wpmui-list-wrapper .details,.wpmui-list-wrapper .is-detail{display:none}#wpwrap .wpmui-list-wrapper .is-no-detail,.wpmui-list-wrapper .is-no-detail{display:inline}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper,.wpmui-list-wrapper .details .wpmui-html-text-wrapper,.wpmui-list-wrapper .details .wpmui-input-wrapper,.wpmui-list-wrapper .details .wpmui-select-wrapper,.wpmui-list-wrapper .details .wpmui-radio-wrapper,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper{display:block;position:relative;padding:10px;margin:0 0 10px;background-color:#FFF;border:1px solid #dedede}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:absolute;top:10px;right:10px}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels{position:relative;top:0;right:0}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details:before,.wpmui-list-wrapper .wpmui-list-table.has-details:before{content:'';background:#000;opacity:.3;position:fixed;left:0;top:0;right:0;bottom:0;z-index:21}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .list-card,.wpmui-list-wrapper .wpmui-list-table.has-details .list-card{opacity:.7}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode{z-index:25;opacity:1}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail{display:inline}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail{display:none}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top{position:absolute;top:0;bottom:43px;height:auto;left:0;right:0;overflow:visible}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details{display:block;position:absolute;overflow:auto;top:135px;left:0;right:0;background:#FCFCFC;border-top:1px solid #dedede;padding:20px;bottom:0}#wpwrap .wpmui-list-wrapper .detail-mode,.wpmui-list-wrapper .detail-mode{position:absolute;top:50px;left:50px;right:50px;width:auto;height:auto;z-index:20;box-shadow:0 1px 10px rgba(0,0,0,.3);opacity:1}#wpwrap .wpmui-list-wrapper .detail-mode .list-card,.wpmui-list-wrapper .detail-mode .list-card{border:1px solid #999}#wpwrap .wpmui-list-wrapper .detail-mode .list-card-bottom,.wpmui-list-wrapper .detail-mode .list-card-bottom{position:absolute;bottom:0;left:0;right:0}#wpwrap .wpmui-list-wrapper .toggle-details,.wpmui-list-wrapper .toggle-details{cursor:pointer}#wpwrap .wpmui-list-wrapper .toggle-link,.wpmui-list-wrapper .toggle-link{float:right;color:#0074a2}#wpwrap .wpmui-list-wrapper .toggle-link:hover,.wpmui-list-wrapper .toggle-link:hover{color:#2ea2cc}#wpwrap .wpmui-list-wrapper .filter-links>li,.wpmui-list-wrapper .filter-links>li{line-height:48px;height:48px}#wpwrap .wpmui-list-wrapper .filter-links>li a,.wpmui-list-wrapper .filter-links>li a{padding-top:0;padding-bottom:0}#wpwrap .wpmui-list-wrapper .close-button,.wpmui-list-wrapper .close-button{position:absolute;top:-30px;right:-30px;border-radius:15px;background:#FFF}#wpwrap .wpmui-list-wrapper .close-button:after,.wpmui-list-wrapper .close-button:after{content:"\f335";display:inline-block;width:30px;height:30px;font-size:26px;line-height:30px;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
#wpwrap .wpmui-list-wrapper .wpmui-list,.wpmui-list-wrapper .wpmui-list{margin-left:-16px}#wpwrap .wpmui-list-wrapper .wpmui-list:after,.wpmui-list-wrapper .wpmui-list:after{content:'';display:table;clear:both}#wpwrap .wpmui-list-wrapper .list-card,.wpmui-list-wrapper .list-card{float:left;margin:0 0 16px 16px;width:48%;width:-webkit-calc(50% - 16px);width:calc(50% - 16px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box;opacity:.8}#wpwrap .wpmui-list-wrapper .list-card .badge-container,.wpmui-list-wrapper .list-card .badge-container{overflow:hidden;width:100px;height:100px;position:absolute;left:0;top:0}#wpwrap .wpmui-list-wrapper .list-card .badge-active,.wpmui-list-wrapper .list-card .badge-active{display:none}#wpwrap .wpmui-list-wrapper .list-card.active,.wpmui-list-wrapper .list-card.active{opacity:1;background:#FFF;border:1px solid #BBB;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:20}#wpwrap .wpmui-list-wrapper .list-card.active .desc,#wpwrap .wpmui-list-wrapper .list-card.active .name,.wpmui-list-wrapper .list-card.active .desc,.wpmui-list-wrapper .list-card.active .name{color:#333}#wpwrap .wpmui-list-wrapper .list-card.active .badge-active,.wpmui-list-wrapper .list-card.active .badge-active{position:absolute;top:15px;left:-35px;display:block;background-color:#6bbb1a;color:#FFF;transform:rotate(315deg);padding:3px 40px;z-index:20;border:1px solid #FFF}#wpwrap .wpmui-list-wrapper .list-card.active .item-icon,.wpmui-list-wrapper .list-card.active .item-icon{color:#3b8b08}#wpwrap .wpmui-list-wrapper .list-card .item-icon,.wpmui-list-wrapper .list-card .item-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0;font-size:100px;z-index:16}#wpwrap .wpmui-list-wrapper .list-card .item-icon i,.wpmui-list-wrapper .list-card .item-icon i{opacity:.8;font-size:100px}#wpwrap .wpmui-list-wrapper .list-card .desc,#wpwrap .wpmui-list-wrapper .list-card .name,.wpmui-list-wrapper .list-card .desc,.wpmui-list-wrapper .list-card .name{margin-left:148px;margin-right:120px;color:#777}#wpwrap .wpmui-list-wrapper .list-card .action-links,.wpmui-list-wrapper .list-card .action-links{position:absolute;top:20px;right:20px;width:120px;text-align:right}#wpwrap .wpmui-list-wrapper .list-card .action-links .space,.wpmui-list-wrapper .list-card .action-links .space{display:block;line-height:10px;height:10px;padding:0;margin:0}#wpwrap .wpmui-list-wrapper .list-card h4,.wpmui-list-wrapper .list-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}@media screen and (min-width:1600px){#wpwrap .wpmui-list-wrapper .list-card,.wpmui-list-wrapper .list-card{width:30%;width:-webkit-calc(33.3333% - 16px);width:calc(33.3333% - 16px)}}#wpwrap .wpmui-list-wrapper .list-card-top,.wpmui-list-wrapper .list-card-top{position:relative;padding:20px 20px 10px;height:135px;overflow:hidden}#wpwrap .wpmui-list-wrapper .list-card-top .fader,.wpmui-list-wrapper .list-card-top .fader{position:absolute;bottom:0;height:20px;left:0;right:0;z-index:5;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0)),color-stop(90%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0)}#wpwrap .wpmui-list-wrapper .list-card-bottom,.wpmui-list-wrapper .list-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden;height:45px}#wpwrap .wpmui-list-wrapper .details,#wpwrap .wpmui-list-wrapper .is-detail,.wpmui-list-wrapper .details,.wpmui-list-wrapper .is-detail{display:none}#wpwrap .wpmui-list-wrapper .is-no-detail,.wpmui-list-wrapper .is-no-detail{display:inline}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper,.wpmui-list-wrapper .details .wpmui-html-text-wrapper,.wpmui-list-wrapper .details .wpmui-input-wrapper,.wpmui-list-wrapper .details .wpmui-select-wrapper,.wpmui-list-wrapper .details .wpmui-radio-wrapper,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper{display:block;position:relative;padding:10px;margin:0 0 10px;background-color:#FFF;border:1px solid #dedede}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:absolute;top:10px;right:10px}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels{position:relative;top:0;right:0}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details:before,.wpmui-list-wrapper .wpmui-list-table.has-details:before{content:'';background:#000;opacity:.3;position:fixed;left:0;top:0;right:0;bottom:0;z-index:21}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .list-card,.wpmui-list-wrapper .wpmui-list-table.has-details .list-card{opacity:.7}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode{z-index:25;opacity:1}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail{display:inline}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail{display:none}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top{position:absolute;top:0;bottom:43px;height:auto;left:0;right:0;overflow:visible}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details{display:block;position:absolute;overflow:auto;top:135px;left:0;right:0;background:#FCFCFC;border-top:1px solid #dedede;padding:20px;bottom:0}#wpwrap .wpmui-list-wrapper .detail-mode,.wpmui-list-wrapper .detail-mode{position:absolute;top:50px;left:50px;right:50px;width:auto;height:auto;z-index:20;box-shadow:0 1px 10px rgba(0,0,0,.3);opacity:1}#wpwrap .wpmui-list-wrapper .detail-mode .list-card,.wpmui-list-wrapper .detail-mode .list-card{border:1px solid #999}#wpwrap .wpmui-list-wrapper .detail-mode .list-card-bottom,.wpmui-list-wrapper .detail-mode .list-card-bottom{position:absolute;bottom:0;left:0;right:0}#wpwrap .wpmui-list-wrapper .toggle-details,.wpmui-list-wrapper .toggle-details{cursor:pointer}#wpwrap .wpmui-list-wrapper .toggle-link,.wpmui-list-wrapper .toggle-link{float:right;color:#0074a2}#wpwrap .wpmui-list-wrapper .toggle-link:hover,.wpmui-list-wrapper .toggle-link:hover{color:#2ea2cc}#wpwrap .wpmui-list-wrapper .filter-links>li,.wpmui-list-wrapper .filter-links>li{line-height:48px;height:48px}#wpwrap .wpmui-list-wrapper .filter-links>li a,.wpmui-list-wrapper .filter-links>li a{padding-top:0;padding-bottom:0}#wpwrap .wpmui-list-wrapper .close-button,.wpmui-list-wrapper .close-button{position:absolute;top:-30px;right:-30px;border-radius:15px;background:#FFF}#wpwrap .wpmui-list-wrapper .close-button:after,.wpmui-list-wrapper .close-button:after{content:"\f335";display:inline-block;width:30px;height:30px;font-size:26px;line-height:30px;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
|
inc/external/wpmu-lib/css/wpmu-html.3.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
#wpwrap,body{}#wpwrap .wpmui-input-wrapper.wpmui-loading>*,body .wpmui-input-wrapper.wpmui-loading>*{opacity:.25;cursor:default}#wpwrap .wpmui-input-wrapper.wpmui-loading .wpmui-field-input,body .wpmui-input-wrapper.wpmui-loading .wpmui-field-input{background-color:#E5E5E5}#wpwrap .wpmui-input-wrapper.wpmui-loading:after,body .wpmui-input-wrapper.wpmui-loading:after{top:5px;bottom:5px;background-color:transparent}#wpwrap .wpmui-field-description,body .wpmui-field-description{display:block;margin:10px 4px 10px 0;color:#666;font-size:.9em;font-weight:400}#wpwrap .wpmui-field-input,#wpwrap .wpmui-field-button,body .wpmui-field-input,body .wpmui-field-button{margin-top:6px;margin-bottom:6px;vertical-align:top;display:inline-block;position:relative}#wpwrap .wpmui-field-input.button,#wpwrap .wpmui-field-input.button-primary,#wpwrap .wpmui-field-button,body .wpmui-field-input.button,body .wpmui-field-input.button-primary,body .wpmui-field-button{margin-right:6px}#wpwrap .wpmui-field-label,body .wpmui-field-label{display:block;clear:both;margin:2px 0;font-style:normal;color:#222}#wpwrap .wpmui-field-label.inline-label,body .wpmui-field-label.inline-label{display:inline-block;margin:6px 10px 6px 0}#wpwrap h3.wpmui-field-label,body h3.wpmui-field-label{margin-bottom:10px}#wpwrap .wpmui-label-before,#wpwrap .wpmui-label-after,body .wpmui-label-before,body .wpmui-label-after{display:inline-block;margin:6px;line-height:28px;vertical-align:top}#wpwrap .wpmui-label-before .wpmui-field-input,#wpwrap .wpmui-label-before .wpmui-field-button,#wpwrap .wpmui-label-after .wpmui-field-input,#wpwrap .wpmui-label-after .wpmui-field-button,body .wpmui-label-before .wpmui-field-input,body .wpmui-label-before .wpmui-field-button,body .wpmui-label-after .wpmui-field-input,body .wpmui-label-after .wpmui-field-button{margin-top:0;margin-bottom:0}#wpwrap .wpmui-label-before,body .wpmui-label-before{margin-left:0}#wpwrap .widget-content .wpmui-wrapper,body .widget-content .wpmui-wrapper{display:block;margin:1em 0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-label,body .widget-content .wpmui-wrapper .wpmui-field-label{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-description,body .widget-content .wpmui-wrapper .wpmui-field-description{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-input,#wpwrap .widget-content .wpmui-wrapper .wpmui-field-button,body .widget-content .wpmui-wrapper .wpmui-field-input,body .widget-content .wpmui-wrapper .wpmui-field-button{margin-top:4px;margin-bottom:0}#wpwrap .wpmui-separator,body .wpmui-separator{border-bottom:1px solid #E5E5E5;margin:15px 0}#wpwrap .wpmui-divider,body .wpmui-divider{position:absolute;right:20px;top:0;bottom:0;border-right:1px solid #E5E5E5}#wpwrap .wpmui-hidden,body .wpmui-hidden{display:none;visibility:hidden}#wpwrap .wpmui-fa,body .wpmui-fa{font-family:Fontawesome440!important}#wpwrap .no-click,body .no-click{cursor:default}#wpwrap .wpmui-html-text-wrapper label,body .wpmui-html-text-wrapper label{cursor:default}#wpwrap .wpmui-field-checkbox,body .wpmui-field-checkbox{margin:6px 4px 0 0;position:absolute;left:0;top:0}#wpwrap .wpmui-checkbox-wrapper,body .wpmui-checkbox-wrapper{margin:6px auto;position:relative;display:inline-block;line-height:28px}#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,body .wpmui-checkbox-wrapper .wpmui-checkbox-caption{padding-left:24px;font-weight:500}#wpwrap .wpmui-checkbox-list,body .wpmui-checkbox-list{border:1px solid #e5e5e5;padding:0 5px;background:#FFF;max-height:320px;overflow:auto}#wpwrap .wpmui-checkbox-list .wpmui-checkbox-wrapper,body .wpmui-checkbox-list .wpmui-checkbox-wrapper{margin:0}#wpwrap .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption{padding:0}#wpwrap .wpmui-checkbox-list .wpmui-group,body .wpmui-checkbox-list .wpmui-group{margin-bottom:10px}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption{font-weight:600}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-child,body .wpmui-checkbox-list .wpmui-group .wpmui-child{margin-left:24px}#wpwrap .wpmui-radio-slider-wrapper,body .wpmui-radio-slider-wrapper{clear:both}#wpwrap .wpmui-radio-slider-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper .wpmui-field-label{cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-after{line-height:18px;margin-top:3px;margin-bottom:3px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:relative;display:inline-block;width:40px;height:18px;margin:3px 0;border-radius:10px;background:#b0b0b0;opacity:.8;overflow:visible;cursor:pointer}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover{opacity:1}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover{opacity:.5;cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle{opacity:.7}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle{left:21px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle{position:absolute;display:inline-block;left:0;width:12px;height:12px;margin:3px;background:#F4F4F4;border-radius:50%;transition:all .2s ease-in-out}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-before{color:#000}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.on .wpmui-label-after{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider{background:#B0B0B0}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after{color:#000}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,body .wpmui-radio-slider-wrapper.inp-before-wrapper{position:relative;display:block}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label{margin-left:50px}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider{position:absolute;left:0;top:0}.wpmui-html-table{width:100%;clear:both;margin:10px 0;background:#FFF;border:1px solid #e5e5e5;border-spacing:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpmui-html-table td,.wpmui-html-table th{line-height:24px;padding:8px 6px;vertical-align:top;font-size:12px;overflow:hidden;color:#555}.wpmui-html-table thead tr th{border-bottom:1px solid #e1e1e1;color:#333}
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
#wpwrap,body{}#wpwrap .wpmui-input-wrapper.wpmui-loading>*,body .wpmui-input-wrapper.wpmui-loading>*{opacity:.25;cursor:default}#wpwrap .wpmui-input-wrapper.wpmui-loading .wpmui-field-input,body .wpmui-input-wrapper.wpmui-loading .wpmui-field-input{background-color:#E5E5E5}#wpwrap .wpmui-input-wrapper.wpmui-loading:after,body .wpmui-input-wrapper.wpmui-loading:after{top:5px;bottom:5px;background-color:transparent}#wpwrap .wpmui-field-description,body .wpmui-field-description{display:block;margin:10px 4px 10px 0;color:#666;font-size:.9em;font-weight:400}#wpwrap .wpmui-field-input,#wpwrap .wpmui-field-button,body .wpmui-field-input,body .wpmui-field-button{margin-top:6px;margin-bottom:6px;vertical-align:top;display:inline-block;position:relative}#wpwrap .wpmui-field-input.button,#wpwrap .wpmui-field-input.button-primary,#wpwrap .wpmui-field-button,body .wpmui-field-input.button,body .wpmui-field-input.button-primary,body .wpmui-field-button{margin-right:6px}#wpwrap .wpmui-field-label,body .wpmui-field-label{display:block;clear:both;margin:2px 0;font-style:normal;color:#222}#wpwrap .wpmui-field-label.inline-label,body .wpmui-field-label.inline-label{display:inline-block;margin:6px 10px 6px 0}#wpwrap h3.wpmui-field-label,body h3.wpmui-field-label{margin-bottom:10px}#wpwrap .wpmui-label-before,#wpwrap .wpmui-label-after,body .wpmui-label-before,body .wpmui-label-after{display:inline-block;margin:6px;line-height:28px;vertical-align:top}#wpwrap .wpmui-label-before .wpmui-field-input,#wpwrap .wpmui-label-before .wpmui-field-button,#wpwrap .wpmui-label-after .wpmui-field-input,#wpwrap .wpmui-label-after .wpmui-field-button,body .wpmui-label-before .wpmui-field-input,body .wpmui-label-before .wpmui-field-button,body .wpmui-label-after .wpmui-field-input,body .wpmui-label-after .wpmui-field-button{margin-top:0;margin-bottom:0}#wpwrap .wpmui-label-before,body .wpmui-label-before{margin-left:0}#wpwrap .widget-content .wpmui-wrapper,body .widget-content .wpmui-wrapper{display:block;margin:1em 0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-label,body .widget-content .wpmui-wrapper .wpmui-field-label{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-description,body .widget-content .wpmui-wrapper .wpmui-field-description{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-input,#wpwrap .widget-content .wpmui-wrapper .wpmui-field-button,body .widget-content .wpmui-wrapper .wpmui-field-input,body .widget-content .wpmui-wrapper .wpmui-field-button{margin-top:4px;margin-bottom:0}#wpwrap .wpmui-separator,body .wpmui-separator{border-bottom:1px solid #E5E5E5;margin:15px 0}#wpwrap .wpmui-divider,body .wpmui-divider{position:absolute;right:20px;top:0;bottom:0;border-right:1px solid #E5E5E5}#wpwrap .wpmui-hidden,body .wpmui-hidden{display:none;visibility:hidden}#wpwrap .wpmui-fa,body .wpmui-fa{font-family:Fontawesome440!important}#wpwrap .no-click,body .no-click{cursor:default}#wpwrap .wpmui-html-text-wrapper label,body .wpmui-html-text-wrapper label{cursor:default}#wpwrap .wpmui-field-checkbox,body .wpmui-field-checkbox{margin:6px 4px 0 0;position:absolute;left:0;top:0}#wpwrap .wpmui-checkbox-wrapper,body .wpmui-checkbox-wrapper{margin:6px auto;position:relative;display:inline-block;line-height:28px}#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,body .wpmui-checkbox-wrapper .wpmui-checkbox-caption{padding-left:24px;font-weight:500}#wpwrap .wpmui-checkbox-list,body .wpmui-checkbox-list{border:1px solid #e5e5e5;padding:0 5px;background:#FFF;max-height:320px;overflow:auto}#wpwrap .wpmui-checkbox-list .wpmui-checkbox-wrapper,body .wpmui-checkbox-list .wpmui-checkbox-wrapper{margin:0}#wpwrap .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption{padding:0}#wpwrap .wpmui-checkbox-list .wpmui-group,body .wpmui-checkbox-list .wpmui-group{margin-bottom:10px}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption{font-weight:600}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-child,body .wpmui-checkbox-list .wpmui-group .wpmui-child{margin-left:24px}#wpwrap .wpmui-radio-slider-wrapper,body .wpmui-radio-slider-wrapper{clear:both}#wpwrap .wpmui-radio-slider-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper .wpmui-field-label{cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-after{line-height:18px;margin-top:3px;margin-bottom:3px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:relative;display:inline-block;width:40px;height:18px;margin:3px 0;border-radius:10px;background:#b0b0b0;opacity:.8;overflow:visible;cursor:pointer}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover{opacity:1}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover{opacity:.5;cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle{opacity:.7}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle{left:21px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle{position:absolute;display:inline-block;left:0;width:12px;height:12px;margin:3px;background:#F4F4F4;border-radius:50%;transition:all .2s ease-in-out}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-before{color:#000}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.on .wpmui-label-after{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider{background:#B0B0B0}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after{color:#000}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,body .wpmui-radio-slider-wrapper.inp-before-wrapper{position:relative;display:block}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label{margin-left:50px}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider{position:absolute;left:0;top:0}.wpmui-html-table{width:100%;clear:both;margin:10px 0;background:#FFF;border:1px solid #e5e5e5;border-spacing:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpmui-html-table td,.wpmui-html-table th{line-height:24px;padding:8px 6px;vertical-align:top;font-size:12px;overflow:hidden;color:#555}.wpmui-html-table thead tr th{border-bottom:1px solid #e1e1e1;color:#333}
|
inc/external/wpmu-lib/css/wpmu-ui.3.css
CHANGED
@@ -460,7 +460,6 @@
|
|
460 |
font-size: 12px;
|
461 |
}
|
462 |
|
463 |
-
#wpwrap .button-link,
|
464 |
.wpmui-form .button-link,
|
465 |
.wpmui-popup .button-link {
|
466 |
display: inline-block;
|
@@ -487,10 +486,7 @@
|
|
487 |
-webkit-transition-timing-function: ease-in-out;
|
488 |
transition-timing-function: ease-in-out;
|
489 |
}
|
490 |
-
|
491 |
-
.wpmui-form .button-link:hover,
|
492 |
-
.wpmui-form .button-link:active,
|
493 |
-
.wpmui-form .button-link:focus,
|
494 |
.wpmui-popup .button-link:hover,
|
495 |
.wpmui-popup .button-link:active,
|
496 |
.wpmui-popup .button-link:focus {
|
@@ -1079,7 +1075,7 @@
|
|
1079 |
font-size: 13px;
|
1080 |
text-align: center;
|
1081 |
color: #FFF;
|
1082 |
-
text-shadow: 0 0 5px #
|
1083 |
}
|
1084 |
.wpmui-progress-wrap .wpmui-progress-percent:before {
|
1085 |
content: '';
|
@@ -1091,8 +1087,8 @@
|
|
1091 |
border-radius: 5px;
|
1092 |
margin-top: -5px;
|
1093 |
margin-left: -15px;
|
1094 |
-
box-shadow: 0 0 8px 4px #
|
1095 |
-
background: #
|
1096 |
z-index: -1;
|
1097 |
opacity: .5;
|
1098 |
}
|
460 |
font-size: 12px;
|
461 |
}
|
462 |
|
|
|
463 |
.wpmui-form .button-link,
|
464 |
.wpmui-popup .button-link {
|
465 |
display: inline-block;
|
486 |
-webkit-transition-timing-function: ease-in-out;
|
487 |
transition-timing-function: ease-in-out;
|
488 |
}
|
489 |
+
.wpmui-form .button-link:hover, .wpmui-form .button-link:active, .wpmui-form .button-link:focus,
|
|
|
|
|
|
|
490 |
.wpmui-popup .button-link:hover,
|
491 |
.wpmui-popup .button-link:active,
|
492 |
.wpmui-popup .button-link:focus {
|
1075 |
font-size: 13px;
|
1076 |
text-align: center;
|
1077 |
color: #FFF;
|
1078 |
+
text-shadow: 0 0 5px #264d73;
|
1079 |
}
|
1080 |
.wpmui-progress-wrap .wpmui-progress-percent:before {
|
1081 |
content: '';
|
1087 |
border-radius: 5px;
|
1088 |
margin-top: -5px;
|
1089 |
margin-left: -15px;
|
1090 |
+
box-shadow: 0 0 8px 4px #264d73;
|
1091 |
+
background: #264d73;
|
1092 |
z-index: -1;
|
1093 |
opacity: .5;
|
1094 |
}
|
inc/external/wpmu-lib/css/wpmu-ui.3.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
-
.wpmui-loading{position:relative}.wpmui-loading:after{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;background:rgba(255,255,255,.8) url(../img/spinner.gif) center no-repeat;z-index:1000;cursor:default;min-width:20px;min-height:20px}.wpmui-loading-icon{display:inline-block;width:20px;height:20px;line-height:20px;vertical-align:middle;background:transparent url(../img/spinner.gif) center no-repeat}.wpmui-overlay{background:#000;position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0;transition:opacity .3s,z-index .3s step-end}.wpmui-has-overlay .wpmui-overlay{z-index:9999;opacity:.7;transition:opacity .3s,z-index .3s step-start}.wpmui-has-overlay .wpmui-overlay.light{opacity:.25}.wpmui-has-overlay #wpwrap{-webkit-filter:grayscale(75%);-moz-filter:grayscale(75%);filter:gray;filter:grayscale(75%)}.wpmui-has-overlay #wpbody{-webkit-filter:blur(3px);-moz-filter:blur(3px);filter:blur(3px)}.wpmui-has-overlay.no-blur #wpbody{-webkit-filter:blur(0);-moz-filter:blur(0);filter:blur(0)}.wpmui-no-scroll{overflow:hidden}.wpmui-blur{-webkit-filter:blur(3px) grayscale(75%);-moz-filter:blur(3px) grayscale(75%);filter:blur(3px) grayscale(75%);position:relative}.wpmui-blur:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;z-index:10}.wpmui-popup{background:#F5F5F5;position:fixed;box-shadow:0 2px 20px rgba(0,0,0,.4);z-index:10000;top:50%;left:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-popup .popup-title{position:absolute;left:0;top:0;right:0;line-height:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 70px 0 20px;border-bottom:1px solid #E5E5E5;background:#F8F8F8;min-height:50px;display:block;font-size:23px;font-weight:100;z-index:5}.wpmui-popup .popup-title .the-title{display:inline-block;padding-right:71px}.wpmui-popup.slidein.slidein-down .popup-title{top:auto;bottom:0;border-top:1px solid #E5E5E5;border-bottom:0}.wpmui-popup.slidein .popup-title{cursor:pointer}.wpmui-popup .only-slidein{display:none}.wpmui-popup.slideing .only-slidein{display:block}.wpmui-popup .popup-close{position:absolute;top:0;right:0;width:50px;line-height:50px;height:50px;text-align:center;text-decoration:none;color:#666;border-left:1px solid #E5E5E5;cursor:pointer;z-index:10}.wpmui-popup .popup-close:hover,.wpmui-popup .popup-close:focus,.wpmui-popup .popup-close:active{background:#FCFCFC;color:#333}.wpmui-popup .popup-close .dashicons{line-height:50px}.wpmui-popup .popup-content{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;padding:20px;z-index:1}.wpmui-popup .popup-content:after{content:'';display:block;clear:both;padding:50px 0 0}.wpmui-popup.no-buttons .popup-content:after{padding-top:0}.wpmui-popup.no-close .popup-title{padding:0 20px}.wpmui-popup.no-close .popup-close{display:none}.wpmui-popup hr{margin:15px -20px;border:0;border-top:1px solid #E5E5E5}.wpmui-popup .buttons{text-align:right;position:absolute;bottom:0;right:0;background:rgba(245,245,245,.8);padding:10px 20px;left:0;height:50px;border-top:1px solid #E5E5E5;margin:0;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.popup.wdev-window,.popup.wdev-slidein{position:fixed;z-index:10000;top:50%;left:50%;background:#FFF;box-sizing:border-box}.popup.wdev-window.slidein .popup-title,.popup.wdev-slidein.slidein .popup-title{cursor:pointer}.wpmui-msg{position:relative;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg .wpmui-close{float:right;margin-top:8px;width:20px;height:20px;line-height:20px;text-align:center;cursor:pointer;text-decoration:none;font-size:16px;padding:0;color:#CCC}.wpmui-msg .wpmui-close:hover,.wpmui-msg .wpmui-close:focus,.wpmui-msg .wpmui-close:active{color:#333}.wpmui-msg .debug{padding:5px;color:#666;font-size:12px;font-family:monospace;margin-bottom:.5em;background:#F8F8F8}.wpmui-tip-box{position:relative}.wpmui-tip{position:absolute;display:none;padding:8px;z-index:100;background:#333;color:#EEE;box-shadow:0 1px 8px rgba(0,0,0,.4);border-radius:2px}.wpmui-tip.wpmui-visible{display:block}.wpmui-tip:before{content:'';position:absolute;border:5px solid transparent;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.wpmui-tip.top:before{border-top-color:#333;bottom:-10px;top:auto}.wpmui-tip.bottom:before{border-bottom-color:#333;top:-5px}.wpmui-tip.left:before{border-left-color:#333;right:-10px;left:auto}.wpmui-tip.right:before{border-right-color:#333;left:-5px}.wpmui-pointer.wp-pointer-left{margin-top:30px}.wpmui-pointer.wp-pointer-left h3{background:transparent;color:#333;border:0;margin:0;padding:13px 20px 5px;font-size:13px}.wpmui-pointer.wp-pointer-left h3:before{content:'';display:none}.wpmui-pointer.wp-pointer-left p{padding:0 20px;margin:2px 0;font-size:12px}.wpmui-pointer.wp-pointer-left .wp-pointer-content{background:#FAFDFF;border-radius:4px;border:1px solid #ccc;box-shadow:0 1px 8px -2px rgba(0,0,0,.35);padding:0 0 15px}.wpmui-pointer.wp-pointer-left.no-title{margin-top:13px}.wpmui-pointer.wp-pointer-left.no-title .wp-pointer-content{padding-top:17px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons{position:absolute;top:0;right:0;white-space:nowrap;padding:5px 10px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close{font-size:1px;color:transparent;width:10px;padding:0}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close:before{position:static;float:right;line-height:14px;margin:3px 0 1px 5px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow{border:0;position:absolute;top:50%;left:0;margin:-6px 0 0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before,.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{content:'';border:6px solid transparent;margin:0;left:-10px;position:absolute;top:0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before{border-right-color:#CCC;left:-11px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{border-right-color:#FAFDFF}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow-inner{display:none}.wpmui-pointer.wp-pointer-left.wp-pointer-left{padding-left:8px;margin-left:-12px}.wpmui-pointer.wp-pointer-left.wp-pointer-left .wp-pointer-arrow{left:8px}.wpmui-form label{display:block;line-height:26px;font-size:14px;font-weight:500}.wpmui-form input[type=text],.wpmui-form input[type=password],.wpmui-form textarea,.wpmui-form select{width:100%;margin:0;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-form .hint{color:#666;font-size:12px}#wpwrap .button-link,.wpmui-form .button-link,.wpmui-popup .button-link{display:inline-block;text-decoration:underline;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;white-space:nowrap;color:#0074A2;background:transparent;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#wpwrap .button-link:hover,#wpwrap .button-link:active,#wpwrap .button-link:focus,.wpmui-form .button-link:hover,.wpmui-form .button-link:active,.wpmui-form .button-link:focus,.wpmui-popup .button-link:hover,.wpmui-popup .button-link:active,.wpmui-popup .button-link:focus{color:#2EA2CC}.wpmui-grid-8 *,.wpmui-grid-12 *,.wpmui-grid-8 :after,.wpmui-grid-12 :after,.wpmui-grid-8 :before,.wpmui-grid-12 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{float:left;padding-right:20px;position:relative}.wpmui-grid-8 [class*=col-]:last-of-type,.wpmui-grid-12 [class*=col-]:last-of-type{padding-right:0}.wpmui-grid-8,.wpmui-grid-12{width:100%;margin:0;overflow:hidden;padding:10px 0 0}.wpmui-grid-8:after,.wpmui-grid-12:after{content:'';display:table;clear:both}.wpmui-grid-8 .col-8,.wpmui-grid-12 .col-12{width:100%}.wpmui-grid-12 .col-11{width:91.66%}.wpmui-grid-8 .col-7{width:87.5%}.wpmui-grid-12 .col-10{width:83.333%}.wpmui-grid-8 .col-6,.wpmui-grid-12 .col-9{width:75%}.wpmui-grid-12 .col-8{width:66.66%}.wpmui-grid-8 .col-5{width:62.5%}.wpmui-grid-12 .col-7{width:58.33%}.wpmui-grid-8 .col-4,.wpmui-grid-12 .col-6{width:50%}.wpmui-grid-12 .col-5{width:41.66%}.wpmui-grid-8 .col-3{width:37.5%}.wpmui-grid-12 .col-4{width:33.33%}.wpmui-grid-8 .col-2,.wpmui-grid-12 .col-3{width:25%}.wpmui-grid-12 .col-2{width:16.667%}.wpmui-grid-8 .col-1{width:12.5%}.wpmui-grid-12 .col-1{width:8.33%}@media handheld,only screen and (max-width:767px){.wpmui-grid-8,.wpmui-grid-12{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{width:auto;float:none;margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px;padding-left:20px;padding-right:20px}}.wpmui-box{margin-bottom:10px;padding:0;line-height:1;position:relative;min-width:255px;border:1px solid #E5E5E5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#FFF}.wpmui-box>h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #EEE;cursor:pointer}.wpmui-box>h3 .toggle{cursor:pointer;float:right;width:36px;height:36px;color:#AAA;text-decoration:none;margin:-8px -12px;text-align:center;position:relative;line-height:36px}.wpmui-box>h3:hover .toggle,.wpmui-box .toggle:hover,.wpmui-box .toggle:focus,.wpmui-box .toggle:active{color:#777}.wpmui-box>h3 .toggle:before{content:'\f142';font:400 20px/36px dashicons;speak:none;display:inline-block;position:absolute;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;width:100%;height:100%;top:0;right:0}.wpmui-box>.inside{margin:6px 0 0;position:relative;padding:0 12px 12px;line-height:1.4em;font-size:13px}.wpmui-box>.inside:after{content:'';display:table;clear:both}.wpmui-box.closed>h3 .toggle:before{content:'\f140'}.wpmui-box.closed>.inside{display:none}.wpmui-box.static>h3{cursor:default}.wpmui-box.static>h3 .toggle{display:none}.wpmui-box.static>.inside{display:block}.wpmui-tabs{border-bottom:1px solid #EEE;padding-bottom:0;padding-left:10px;list-style:none;margin:20px 0 0}.wpmui-tabs .tab{border:1px solid #EEE;background:#F0F0F0;color:#999;display:inline-block;text-decoration:none;margin:0 4px -1px 0;padding:0 12px;font-weight:600;font-size:13px;line-height:34px}.wpmui-tabs .tab:hover,.wpmui-tabs .tab:focus,.wpmui-tabs .tab:active{background:#F4F4F4;color:#777}.wpmui-tabs .tab.active{border-bottom:1px solid #FFF;background:#FFF;color:#444}.wpmui-tab-contents{padding:12px}.wpmui-tab-contents .tab{display:none}.wpmui-tab-contents .tab.active{display:block}.wpmui-box>.inside>.wpmui-tabs{margin-left:-12px;margin-right:-12px;padding-left:22px}.wpmui-box>.inside>.wpmui-tab-contents{margin-left:-12px;margin-right:-12px;margin-bottom:-12px}.select2-container{}.select2-container .wpmui-select2.select2-selection--single{height:28px}.select2-container .wpmui-select2.select2-selection--single,.select2-container .wpmui-select2.select2-selection--multiple{min-height:28px;line-height:27px;font-size:14px;border-radius:2px;border-color:#CCC}.select2-container .wpmui-select2.select2-selection--single .select2-selection__arrow b,.select2-container .wpmui-select2.select2-selection--multiple .select2-selection__arrow b{border-top-color:#AAA}.select2-container .wpmui-select2.select2-selection--single .select2-selection__rendered,.select2-container .wpmui-select2.select2-selection--multiple .select2-selection__rendered{display:block;margin-bottom:-1px}.select2-container .wpmui-select2 .select2-search--inline{margin:0;width:auto}.select2-container .wpmui-select2 .select2-search--inline .select2-search__field{margin:1px;background-image:none!important}.select2-container.select2-container--focus .wpmui-select2{border-color:#5897fb}.select2-container.select2-container--disabled .wpmui-select2{background:#DDD;font-weight:200;opacity:.5}.select2-container .select2-dropdown.wpmui-select2{overflow:hidden;z-index:1000500!important;margin-top:-1px;box-shadow:0 0 0 1px #5897fb inset;border:0;border-radius:0}.select2-container .select2-dropdown.wpmui-select2 .select2-search{margin-bottom:-1px;padding:1px}.select2-container .select2-dropdown.wpmui-select2 .select2-search .select2-search__field{margin:0;border:0;font-size:13px;border-bottom:1px solid #5897fb;background-color:#FAFDFF}.select2-container .select2-dropdown.wpmui-select2 .select2-results{padding:0;margin:0;font-size:13px}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option{margin:0;white-space:nowrap;padding-left:20px;position:relative}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option:before{content:'';background-color:transparent;background-position:center center;background-repeat:no-repeat;position:absolute;left:1px;top:1px;width:20px;height:28px}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option[aria-selected=true]{color:#5897fb;background-color:#F5F9FF;margin:1px}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option[aria-selected=true]:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTIgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxnIGlkPSJpY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNC4wMDAwMDAsIC0xMC4wMDAwMDApIiBzdHJva2U9Im5vbmUiIGZpbGw9IiM1ODk3ZmIiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNzUwMDAwLCAxMC41MDAwMDApIj4KICAgICAgICAgICAgPHBhdGggZD0iTTguNzUsMCBMNC4zNzUsNC4zNzUgTDEuNzUsMS43NSBMMCwzLjUgTDQuMzc1LDcuODc1IEwxMC41LDEuNzUgTDguNzUsMCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted,.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted[aria-selected=true]{background-color:#5897fb;color:#FFF}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted:before,.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted[aria-selected=true]:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTIgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxnIGlkPSJpY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNC4wMDAwMDAsIC0xMC4wMDAwMDApIiBzdHJva2U9Im5vbmUiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNzUwMDAwLCAxMC41MDAwMDApIj4KICAgICAgICAgICAgPHBhdGggZD0iTTguNzUsMCBMNC4zNzUsNC4zNzUgTDEuNzUsMS43NSBMMCwzLjUgTDQuMzc1LDcuODc1IEwxMC41LDEuNzUgTDguNzUsMCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.select2-container .select2-dropdown.wpmui-select2 .select2-results [aria-multiselectable=true] .select2-results__option--highlighted[aria-selected=true]:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEwcHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDEwIDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9Imljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01LjAwMDAwMCwgLTEwLjAwMDAwMCkiIHN0cm9rZT0ibm9uZSIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgPHBhdGggZD0iTTEyLjc0MDAwMTcsMTAuMzAwMDAwMiBMMTAuMTI1LDEyLjkyNSBMNy41LDEwLjMgTDUuNzUsMTIuMDUgTDguMzcwMDAwODQsMTQuNjgwMDAwMyBMNS43NSwxNy4zMTk5OTk3IEw3LjUsMTkuMDY5OTk5NyBMMTAuMTE5OTk4OSwxNi40Mzk5OTk2IEwxMi43NDAwMDE3LDE5LjA2OTk5OTcgTDE0LjQ5MDAwMTcsMTcuMzE5OTk5NyBMMTEuODY5OTk4OSwxNC42ODAwMDAzIEwxNC40OTAwMDE3LDEyLjA1MDAwMDIgTDEyLjc0MDAwMTcsMTAuMzAwMDAwMiBaIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPg==)}.wpmui-toggle{position:relative;width:26px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.wpmui-toggle-checkbox{display:none!important}.wpmui-toggle-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #CCC;border-radius:50px}.wpmui-toggle-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.wpmui-toggle-inner:before,.wpmui-toggle-inner:after{display:block;float:left;width:50%;height:5px;padding:0;line-height:5px;font-size:10px;color:#fff;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2) inset}.wpmui-toggle-inner:before{content:"";padding-left:5px;background-color:#0074A2}.wpmui-toggle-inner:after{content:"";padding-right:5px;background-color:#EEE;text-align:right}.wpmui-toggle-switch{display:block;width:14px;margin:-3.5px;background:#F8F8F8;border:1px solid #CCC;border-radius:15px;position:absolute;top:0;bottom:0;right:20px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s;box-shadow:-1px 1px 2px rgba(0,0,0,.1)}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-inner{margin-left:0}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.wpmui-confirm-modal{left:0;top:0;right:0;bottom:0;z-index:99998;background:#000;opacity:.4}.wpmui-confirm-box{top:25%;width:580px;padding:20px 20px 0;left:50%;margin-left:-310px;z-index:99999;background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.4)}.wpmui-confirm-box .wpmui-confirm-btn{margin:10px -20px 0;padding:10px 20px;text-align:right;background:#FAFAFA;border-top:1px solid #E5E5E5}.wpmui-confirm-box .wpmui-confirm-btn button{margin-left:10px}.wpmui-progress-wrap{position:relative;width:100%}.wpmui-progress-wrap .wpmui-progress-full{background:rgba(255,255,255,.7);width:100%;border-radius:2px;box-shadow:1px 1px 2px 0 rgba(0,0,0,.1)}.wpmui-progress-wrap .wpmui-progress{background:#369;border-radius:2px;height:28px;transition:width .25s}.wpmui-progress-wrap .wpmui-progress-percent{position:absolute;left:0;right:0;top:0;line-height:28px;font-size:13px;text-align:center;color:#FFF;text-shadow:0 0 5px #264c73}.wpmui-progress-wrap .wpmui-progress-percent:before{content:'';position:absolute;left:50%;width:30px;height:10px;top:50%;border-radius:5px;margin-top:-5px;margin-left:-15px;box-shadow:0 0 8px 4px #264c73;background:#264c73;z-index:-1;opacity:.5}.wpmui-progress-wrap .wpmui-progress-label{font-size:12px;margin-top:6px;color:#888;text-align:right}.no-pad-top{padding-top:0!important;margin-top:0!important}.no-pad-bottom{padding-bottom:0!important;margin-bottom:0!important}.no-pad{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}.dashicons.light{opacity:.5}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}.wpmui-left{float:left}.wpmui-right{float:right}.button .dashicons,.button-primary .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
+
.wpmui-loading{position:relative}.wpmui-loading:after{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;background:rgba(255,255,255,.8) url(../img/spinner.gif) center no-repeat;z-index:1000;cursor:default;min-width:20px;min-height:20px}.wpmui-loading-icon{display:inline-block;width:20px;height:20px;line-height:20px;vertical-align:middle;background:transparent url(../img/spinner.gif) center no-repeat}.wpmui-overlay{background:#000;position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0;transition:opacity .3s,z-index .3s step-end}.wpmui-has-overlay .wpmui-overlay{z-index:9999;opacity:.7;transition:opacity .3s,z-index .3s step-start}.wpmui-has-overlay .wpmui-overlay.light{opacity:.25}.wpmui-has-overlay #wpwrap{-webkit-filter:grayscale(75%);-moz-filter:grayscale(75%);filter:gray;filter:grayscale(75%)}.wpmui-has-overlay #wpbody{-webkit-filter:blur(3px);-moz-filter:blur(3px);filter:blur(3px)}.wpmui-has-overlay.no-blur #wpbody{-webkit-filter:blur(0);-moz-filter:blur(0);filter:blur(0)}.wpmui-no-scroll{overflow:hidden}.wpmui-blur{-webkit-filter:blur(3px) grayscale(75%);-moz-filter:blur(3px) grayscale(75%);filter:blur(3px) grayscale(75%);position:relative}.wpmui-blur:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;z-index:10}.wpmui-popup{background:#F5F5F5;position:fixed;box-shadow:0 2px 20px rgba(0,0,0,.4);z-index:10000;top:50%;left:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-popup .popup-title{position:absolute;left:0;top:0;right:0;line-height:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 70px 0 20px;border-bottom:1px solid #E5E5E5;background:#F8F8F8;min-height:50px;display:block;font-size:23px;font-weight:100;z-index:5}.wpmui-popup .popup-title .the-title{display:inline-block;padding-right:71px}.wpmui-popup.slidein.slidein-down .popup-title{top:auto;bottom:0;border-top:1px solid #E5E5E5;border-bottom:0}.wpmui-popup.slidein .popup-title{cursor:pointer}.wpmui-popup .only-slidein{display:none}.wpmui-popup.slideing .only-slidein{display:block}.wpmui-popup .popup-close{position:absolute;top:0;right:0;width:50px;line-height:50px;height:50px;text-align:center;text-decoration:none;color:#666;border-left:1px solid #E5E5E5;cursor:pointer;z-index:10}.wpmui-popup .popup-close:hover,.wpmui-popup .popup-close:focus,.wpmui-popup .popup-close:active{background:#FCFCFC;color:#333}.wpmui-popup .popup-close .dashicons{line-height:50px}.wpmui-popup .popup-content{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;padding:20px;z-index:1}.wpmui-popup .popup-content:after{content:'';display:block;clear:both;padding:50px 0 0}.wpmui-popup.no-buttons .popup-content:after{padding-top:0}.wpmui-popup.no-close .popup-title{padding:0 20px}.wpmui-popup.no-close .popup-close{display:none}.wpmui-popup hr{margin:15px -20px;border:0;border-top:1px solid #E5E5E5}.wpmui-popup .buttons{text-align:right;position:absolute;bottom:0;right:0;background:rgba(245,245,245,.8);padding:10px 20px;left:0;height:50px;border-top:1px solid #E5E5E5;margin:0;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.popup.wdev-window,.popup.wdev-slidein{position:fixed;z-index:10000;top:50%;left:50%;background:#FFF;box-sizing:border-box}.popup.wdev-window.slidein .popup-title,.popup.wdev-slidein.slidein .popup-title{cursor:pointer}.wpmui-msg{position:relative;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg .wpmui-close{float:right;margin-top:8px;width:20px;height:20px;line-height:20px;text-align:center;cursor:pointer;text-decoration:none;font-size:16px;padding:0;color:#CCC}.wpmui-msg .wpmui-close:hover,.wpmui-msg .wpmui-close:focus,.wpmui-msg .wpmui-close:active{color:#333}.wpmui-msg .debug{padding:5px;color:#666;font-size:12px;font-family:monospace;margin-bottom:.5em;background:#F8F8F8}.wpmui-tip-box{position:relative}.wpmui-tip{position:absolute;display:none;padding:8px;z-index:100;background:#333;color:#EEE;box-shadow:0 1px 8px rgba(0,0,0,.4);border-radius:2px}.wpmui-tip.wpmui-visible{display:block}.wpmui-tip:before{content:'';position:absolute;border:5px solid transparent;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.wpmui-tip.top:before{border-top-color:#333;bottom:-10px;top:auto}.wpmui-tip.bottom:before{border-bottom-color:#333;top:-5px}.wpmui-tip.left:before{border-left-color:#333;right:-10px;left:auto}.wpmui-tip.right:before{border-right-color:#333;left:-5px}.wpmui-pointer.wp-pointer-left{margin-top:30px}.wpmui-pointer.wp-pointer-left h3{background:transparent;color:#333;border:0;margin:0;padding:13px 20px 5px;font-size:13px}.wpmui-pointer.wp-pointer-left h3:before{content:'';display:none}.wpmui-pointer.wp-pointer-left p{padding:0 20px;margin:2px 0;font-size:12px}.wpmui-pointer.wp-pointer-left .wp-pointer-content{background:#FAFDFF;border-radius:4px;border:1px solid #ccc;box-shadow:0 1px 8px -2px rgba(0,0,0,.35);padding:0 0 15px}.wpmui-pointer.wp-pointer-left.no-title{margin-top:13px}.wpmui-pointer.wp-pointer-left.no-title .wp-pointer-content{padding-top:17px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons{position:absolute;top:0;right:0;white-space:nowrap;padding:5px 10px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close{font-size:1px;color:transparent;width:10px;padding:0}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close:before{position:static;float:right;line-height:14px;margin:3px 0 1px 5px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow{border:0;position:absolute;top:50%;left:0;margin:-6px 0 0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before,.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{content:'';border:6px solid transparent;margin:0;left:-10px;position:absolute;top:0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before{border-right-color:#CCC;left:-11px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{border-right-color:#FAFDFF}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow-inner{display:none}.wpmui-pointer.wp-pointer-left.wp-pointer-left{padding-left:8px;margin-left:-12px}.wpmui-pointer.wp-pointer-left.wp-pointer-left .wp-pointer-arrow{left:8px}.wpmui-form label{display:block;line-height:26px;font-size:14px;font-weight:500}.wpmui-form input[type=text],.wpmui-form input[type=password],.wpmui-form textarea,.wpmui-form select{width:100%;margin:0;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-form .hint{color:#666;font-size:12px}.wpmui-form .button-link,.wpmui-popup .button-link{display:inline-block;text-decoration:underline;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;white-space:nowrap;color:#0074A2;background:transparent;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.wpmui-form .button-link:hover,.wpmui-form .button-link:active,.wpmui-form .button-link:focus,.wpmui-popup .button-link:hover,.wpmui-popup .button-link:active,.wpmui-popup .button-link:focus{color:#2EA2CC}.wpmui-grid-8 *,.wpmui-grid-12 *,.wpmui-grid-8 :after,.wpmui-grid-12 :after,.wpmui-grid-8 :before,.wpmui-grid-12 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{float:left;padding-right:20px;position:relative}.wpmui-grid-8 [class*=col-]:last-of-type,.wpmui-grid-12 [class*=col-]:last-of-type{padding-right:0}.wpmui-grid-8,.wpmui-grid-12{width:100%;margin:0;overflow:hidden;padding:10px 0 0}.wpmui-grid-8:after,.wpmui-grid-12:after{content:'';display:table;clear:both}.wpmui-grid-8 .col-8,.wpmui-grid-12 .col-12{width:100%}.wpmui-grid-12 .col-11{width:91.66%}.wpmui-grid-8 .col-7{width:87.5%}.wpmui-grid-12 .col-10{width:83.333%}.wpmui-grid-8 .col-6,.wpmui-grid-12 .col-9{width:75%}.wpmui-grid-12 .col-8{width:66.66%}.wpmui-grid-8 .col-5{width:62.5%}.wpmui-grid-12 .col-7{width:58.33%}.wpmui-grid-8 .col-4,.wpmui-grid-12 .col-6{width:50%}.wpmui-grid-12 .col-5{width:41.66%}.wpmui-grid-8 .col-3{width:37.5%}.wpmui-grid-12 .col-4{width:33.33%}.wpmui-grid-8 .col-2,.wpmui-grid-12 .col-3{width:25%}.wpmui-grid-12 .col-2{width:16.667%}.wpmui-grid-8 .col-1{width:12.5%}.wpmui-grid-12 .col-1{width:8.33%}@media handheld,only screen and (max-width:767px){.wpmui-grid-8,.wpmui-grid-12{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{width:auto;float:none;margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px;padding-left:20px;padding-right:20px}}.wpmui-box{margin-bottom:10px;padding:0;line-height:1;position:relative;min-width:255px;border:1px solid #E5E5E5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#FFF}.wpmui-box>h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #EEE;cursor:pointer}.wpmui-box>h3 .toggle{cursor:pointer;float:right;width:36px;height:36px;color:#AAA;text-decoration:none;margin:-8px -12px;text-align:center;position:relative;line-height:36px}.wpmui-box>h3:hover .toggle,.wpmui-box .toggle:hover,.wpmui-box .toggle:focus,.wpmui-box .toggle:active{color:#777}.wpmui-box>h3 .toggle:before{content:'\f142';font:400 20px/36px dashicons;speak:none;display:inline-block;position:absolute;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;width:100%;height:100%;top:0;right:0}.wpmui-box>.inside{margin:6px 0 0;position:relative;padding:0 12px 12px;line-height:1.4em;font-size:13px}.wpmui-box>.inside:after{content:'';display:table;clear:both}.wpmui-box.closed>h3 .toggle:before{content:'\f140'}.wpmui-box.closed>.inside{display:none}.wpmui-box.static>h3{cursor:default}.wpmui-box.static>h3 .toggle{display:none}.wpmui-box.static>.inside{display:block}.wpmui-tabs{border-bottom:1px solid #EEE;padding-bottom:0;padding-left:10px;list-style:none;margin:20px 0 0}.wpmui-tabs .tab{border:1px solid #EEE;background:#F0F0F0;color:#999;display:inline-block;text-decoration:none;margin:0 4px -1px 0;padding:0 12px;font-weight:600;font-size:13px;line-height:34px}.wpmui-tabs .tab:hover,.wpmui-tabs .tab:focus,.wpmui-tabs .tab:active{background:#F4F4F4;color:#777}.wpmui-tabs .tab.active{border-bottom:1px solid #FFF;background:#FFF;color:#444}.wpmui-tab-contents{padding:12px}.wpmui-tab-contents .tab{display:none}.wpmui-tab-contents .tab.active{display:block}.wpmui-box>.inside>.wpmui-tabs{margin-left:-12px;margin-right:-12px;padding-left:22px}.wpmui-box>.inside>.wpmui-tab-contents{margin-left:-12px;margin-right:-12px;margin-bottom:-12px}.select2-container{}.select2-container .wpmui-select2.select2-selection--single{height:28px}.select2-container .wpmui-select2.select2-selection--single,.select2-container .wpmui-select2.select2-selection--multiple{min-height:28px;line-height:27px;font-size:14px;border-radius:2px;border-color:#CCC}.select2-container .wpmui-select2.select2-selection--single .select2-selection__arrow b,.select2-container .wpmui-select2.select2-selection--multiple .select2-selection__arrow b{border-top-color:#AAA}.select2-container .wpmui-select2.select2-selection--single .select2-selection__rendered,.select2-container .wpmui-select2.select2-selection--multiple .select2-selection__rendered{display:block;margin-bottom:-1px}.select2-container .wpmui-select2 .select2-search--inline{margin:0;width:auto}.select2-container .wpmui-select2 .select2-search--inline .select2-search__field{margin:1px;background-image:none!important}.select2-container.select2-container--focus .wpmui-select2{border-color:#5897fb}.select2-container.select2-container--disabled .wpmui-select2{background:#DDD;font-weight:200;opacity:.5}.select2-container .select2-dropdown.wpmui-select2{overflow:hidden;z-index:1000500!important;margin-top:-1px;box-shadow:0 0 0 1px #5897fb inset;border:0;border-radius:0}.select2-container .select2-dropdown.wpmui-select2 .select2-search{margin-bottom:-1px;padding:1px}.select2-container .select2-dropdown.wpmui-select2 .select2-search .select2-search__field{margin:0;border:0;font-size:13px;border-bottom:1px solid #5897fb;background-color:#FAFDFF}.select2-container .select2-dropdown.wpmui-select2 .select2-results{padding:0;margin:0;font-size:13px}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option{margin:0;white-space:nowrap;padding-left:20px;position:relative}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option:before{content:'';background-color:transparent;background-position:center center;background-repeat:no-repeat;position:absolute;left:1px;top:1px;width:20px;height:28px}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option[aria-selected=true]{color:#5897fb;background-color:#F5F9FF;margin:1px}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option[aria-selected=true]:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTIgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxnIGlkPSJpY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNC4wMDAwMDAsIC0xMC4wMDAwMDApIiBzdHJva2U9Im5vbmUiIGZpbGw9IiM1ODk3ZmIiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNzUwMDAwLCAxMC41MDAwMDApIj4KICAgICAgICAgICAgPHBhdGggZD0iTTguNzUsMCBMNC4zNzUsNC4zNzUgTDEuNzUsMS43NSBMMCwzLjUgTDQuMzc1LDcuODc1IEwxMC41LDEuNzUgTDguNzUsMCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted,.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted[aria-selected=true]{background-color:#5897fb;color:#FFF}.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted:before,.select2-container .select2-dropdown.wpmui-select2 .select2-results .select2-results__option--highlighted[aria-selected=true]:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTIgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxnIGlkPSJpY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNC4wMDAwMDAsIC0xMC4wMDAwMDApIiBzdHJva2U9Im5vbmUiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNzUwMDAwLCAxMC41MDAwMDApIj4KICAgICAgICAgICAgPHBhdGggZD0iTTguNzUsMCBMNC4zNzUsNC4zNzUgTDEuNzUsMS43NSBMMCwzLjUgTDQuMzc1LDcuODc1IEwxMC41LDEuNzUgTDguNzUsMCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.select2-container .select2-dropdown.wpmui-select2 .select2-results [aria-multiselectable=true] .select2-results__option--highlighted[aria-selected=true]:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEwcHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDEwIDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9Imljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01LjAwMDAwMCwgLTEwLjAwMDAwMCkiIHN0cm9rZT0ibm9uZSIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgPHBhdGggZD0iTTEyLjc0MDAwMTcsMTAuMzAwMDAwMiBMMTAuMTI1LDEyLjkyNSBMNy41LDEwLjMgTDUuNzUsMTIuMDUgTDguMzcwMDAwODQsMTQuNjgwMDAwMyBMNS43NSwxNy4zMTk5OTk3IEw3LjUsMTkuMDY5OTk5NyBMMTAuMTE5OTk4OSwxNi40Mzk5OTk2IEwxMi43NDAwMDE3LDE5LjA2OTk5OTcgTDE0LjQ5MDAwMTcsMTcuMzE5OTk5NyBMMTEuODY5OTk4OSwxNC42ODAwMDAzIEwxNC40OTAwMDE3LDEyLjA1MDAwMDIgTDEyLjc0MDAwMTcsMTAuMzAwMDAwMiBaIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPg==)}.wpmui-toggle{position:relative;width:26px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.wpmui-toggle-checkbox{display:none!important}.wpmui-toggle-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #CCC;border-radius:50px}.wpmui-toggle-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.wpmui-toggle-inner:before,.wpmui-toggle-inner:after{display:block;float:left;width:50%;height:5px;padding:0;line-height:5px;font-size:10px;color:#fff;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2) inset}.wpmui-toggle-inner:before{content:"";padding-left:5px;background-color:#0074A2}.wpmui-toggle-inner:after{content:"";padding-right:5px;background-color:#EEE;text-align:right}.wpmui-toggle-switch{display:block;width:14px;margin:-3.5px;background:#F8F8F8;border:1px solid #CCC;border-radius:15px;position:absolute;top:0;bottom:0;right:20px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s;box-shadow:-1px 1px 2px rgba(0,0,0,.1)}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-inner{margin-left:0}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.wpmui-confirm-modal{left:0;top:0;right:0;bottom:0;z-index:99998;background:#000;opacity:.4}.wpmui-confirm-box{top:25%;width:580px;padding:20px 20px 0;left:50%;margin-left:-310px;z-index:99999;background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.4)}.wpmui-confirm-box .wpmui-confirm-btn{margin:10px -20px 0;padding:10px 20px;text-align:right;background:#FAFAFA;border-top:1px solid #E5E5E5}.wpmui-confirm-box .wpmui-confirm-btn button{margin-left:10px}.wpmui-progress-wrap{position:relative;width:100%}.wpmui-progress-wrap .wpmui-progress-full{background:rgba(255,255,255,.7);width:100%;border-radius:2px;box-shadow:1px 1px 2px 0 rgba(0,0,0,.1)}.wpmui-progress-wrap .wpmui-progress{background:#369;border-radius:2px;height:28px;transition:width .25s}.wpmui-progress-wrap .wpmui-progress-percent{position:absolute;left:0;right:0;top:0;line-height:28px;font-size:13px;text-align:center;color:#FFF;text-shadow:0 0 5px #264d73}.wpmui-progress-wrap .wpmui-progress-percent:before{content:'';position:absolute;left:50%;width:30px;height:10px;top:50%;border-radius:5px;margin-top:-5px;margin-left:-15px;box-shadow:0 0 8px 4px #264d73;background:#264d73;z-index:-1;opacity:.5}.wpmui-progress-wrap .wpmui-progress-label{font-size:12px;margin-top:6px;color:#888;text-align:right}.no-pad-top{padding-top:0!important;margin-top:0!important}.no-pad-bottom{padding-bottom:0!important;margin-bottom:0!important}.no-pad{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}.dashicons.light{opacity:.5}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}.wpmui-left{float:left}.wpmui-right{float:right}.button .dashicons,.button-primary .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}
|
inc/external/wpmu-lib/css/wpmu-vnav.3.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
.lst-vnav{list-style:none;padding:0;position:relative}.lst-vnav-item{padding:0;margin:0}.lst-vnav-sep{border-bottom:1px solid #E8E8E8;padding:0;margin:0;padding-bottom:5px;margin-bottom:5px}.lst-vnav-item h2,.lst-vnav-item h3{width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px;margin:0;height:22px;line-height:22px;font-size:15px;color:#0074A2;cursor:pointer;position:relative;z-index:2;font-weight:400;border:1px solid transparent}.lst-vnav-item h2:hover,.lst-vnav-item h3:hover{color:#2EA2CC}.lst-vnav-item.active h2,.lst-vnav-item.active h3{color:#333;background-color:#FDFDFD;border:1px solid #DEDEDE;border-right-color:#FDFDFD}.lst-vnav-item>.data{display:none;margin:0;border:1px solid #DEDEDE;padding:10px;top:0;right:0;left:191px;position:absolute;background-color:#FDFDFD}.lst-vnav-item.active>.data{display:block;z-index:1}.lst-vnav-item .form-table tbody>tr:first-child>th,.lst-vnav-item .form-table tbody>tr:first-child>td{padding-top:0}.lst-vnav-item .form-table tbody>tr:last-child>th,.lst-vnav-item .form-table tbody>tr:last-child>td{padding-bottom:0}.lst-vnav-item .widefat thead>tr>th,.lst-vnav-item .widefat thead>tr>td,.lst-vnav-item .widefat tfoot>tr>th,.lst-vnav-item .widefat tfoot>tr>td{padding:8px 10px}@media screen and (max-width:1024px){.lst-vnav-item h2,.lst-vnav-item h3{width:150px}.lst-vnav-item>.data{left:161px;padding:5px}.lst-vnav-item .form-table th{width:170px}}@media screen and (max-width:782px){.lst-vnav{margin-bottom:40px}.lst-vnav-item h2,.lst-vnav-item h3{width:auto;background-color:#F8F8F8;display:none;font-weight:700}.lst-vnav-item.active h2,.lst-vnav-item.active h3{display:block;background-color:#F1F1F1;border-bottom-color:transparent;border-right-color:#DEDEDE}.lst-vnav.open .lst-vnav-item h2,.lst-vnav.open .lst-vnav-item h3{display:block;border-top-style:none;border-bottom-style:none;border-left-color:#999;border-right-color:#999}.lst-vnav.open .lst-vnav-item:first-child h2,.lst-vnav.open .lst-vnav-item:first-child h3{border-top:1px solid #999}.lst-vnav.open .lst-vnav-item:last-child h2,.lst-vnav.open .lst-vnav-item:last-child h3{border-bottom:1px solid #999}.lst-vnav-item>.data{left:0;top:30px;border-top-style:none;min-height:0!important}.lst-vnav-item .form-table th{width:auto}.lst-vnav-item .form-table td{padding-left:16px}}
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
.lst-vnav{list-style:none;padding:0;position:relative}.lst-vnav-item{padding:0;margin:0}.lst-vnav-sep{border-bottom:1px solid #E8E8E8;padding:0;margin:0;padding-bottom:5px;margin-bottom:5px}.lst-vnav-item h2,.lst-vnav-item h3{width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px;margin:0;height:22px;line-height:22px;font-size:15px;color:#0074A2;cursor:pointer;position:relative;z-index:2;font-weight:400;border:1px solid transparent}.lst-vnav-item h2:hover,.lst-vnav-item h3:hover{color:#2EA2CC}.lst-vnav-item.active h2,.lst-vnav-item.active h3{color:#333;background-color:#FDFDFD;border:1px solid #DEDEDE;border-right-color:#FDFDFD}.lst-vnav-item>.data{display:none;margin:0;border:1px solid #DEDEDE;padding:10px;top:0;right:0;left:191px;position:absolute;background-color:#FDFDFD}.lst-vnav-item.active>.data{display:block;z-index:1}.lst-vnav-item .form-table tbody>tr:first-child>th,.lst-vnav-item .form-table tbody>tr:first-child>td{padding-top:0}.lst-vnav-item .form-table tbody>tr:last-child>th,.lst-vnav-item .form-table tbody>tr:last-child>td{padding-bottom:0}.lst-vnav-item .widefat thead>tr>th,.lst-vnav-item .widefat thead>tr>td,.lst-vnav-item .widefat tfoot>tr>th,.lst-vnav-item .widefat tfoot>tr>td{padding:8px 10px}@media screen and (max-width:1024px){.lst-vnav-item h2,.lst-vnav-item h3{width:150px}.lst-vnav-item>.data{left:161px;padding:5px}.lst-vnav-item .form-table th{width:170px}}@media screen and (max-width:782px){.lst-vnav{margin-bottom:40px}.lst-vnav-item h2,.lst-vnav-item h3{width:auto;background-color:#F8F8F8;display:none;font-weight:700}.lst-vnav-item.active h2,.lst-vnav-item.active h3{display:block;background-color:#F1F1F1;border-bottom-color:transparent;border-right-color:#DEDEDE}.lst-vnav.open .lst-vnav-item h2,.lst-vnav.open .lst-vnav-item h3{display:block;border-top-style:none;border-bottom-style:none;border-left-color:#999;border-right-color:#999}.lst-vnav.open .lst-vnav-item:first-child h2,.lst-vnav.open .lst-vnav-item:first-child h3{border-top:1px solid #999}.lst-vnav.open .lst-vnav-item:last-child h2,.lst-vnav.open .lst-vnav-item:last-child h3{border-bottom:1px solid #999}.lst-vnav-item>.data{left:0;top:30px;border-top-style:none;min-height:0!important}.lst-vnav-item .form-table th{width:auto}.lst-vnav-item .form-table td{padding-left:16px}}
|
inc/external/wpmu-lib/js/select2.3.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
inc/external/wpmu-lib/js/select2.3.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
inc/external/wpmu-lib/js/wpmu-card-list.3.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
inc/external/wpmu-lib/js/wpmu-card-list.3.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
inc/external/wpmu-lib/js/wpmu-ui.3.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
@@ -150,9 +150,11 @@
|
|
150 |
clean_ghosts( el );
|
151 |
|
152 |
// Prevent lags during page load by making this asynchronous.
|
153 |
-
|
154 |
-
|
155 |
-
|
|
|
|
|
156 |
};
|
157 |
|
158 |
// Initialize select list with ajax source.
|
@@ -203,9 +205,11 @@
|
|
203 |
clean_ghosts( el );
|
204 |
|
205 |
// Prevent lags during page load by making this asynchronous.
|
206 |
-
|
207 |
-
|
208 |
-
|
|
|
|
|
209 |
};
|
210 |
|
211 |
if ( 'function' === typeof jQuery.fn.each2 ) {
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
150 |
clean_ghosts( el );
|
151 |
|
152 |
// Prevent lags during page load by making this asynchronous.
|
153 |
+
if ( "function" === typeof( el.wpmuiSelect ) ) {
|
154 |
+
window.setTimeout( function() {
|
155 |
+
el.wpmuiSelect(options);
|
156 |
+
}, 1);
|
157 |
+
}
|
158 |
};
|
159 |
|
160 |
// Initialize select list with ajax source.
|
205 |
clean_ghosts( el );
|
206 |
|
207 |
// Prevent lags during page load by making this asynchronous.
|
208 |
+
if ( "function" === typeof( el.wpmuiSelect ) ) {
|
209 |
+
window.setTimeout( function() {
|
210 |
+
el.wpmuiSelect(options);
|
211 |
+
}, 1);
|
212 |
+
}
|
213 |
};
|
214 |
|
215 |
if ( 'function' === typeof jQuery.fn.each2 ) {
|
inc/external/wpmu-lib/js/wpmu-ui.3.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
-
!function(a){function b(){null===f&&(e=jQuery(document),f=jQuery("html"),g=jQuery("body"),c(),d(),g.hasClass("no-auto-init")||window.setTimeout(function(){a.upgrade_multiselect(),a.upgrade_tooltips()},20),a.binary=new a.WpmUiBinary)}function c(){var a=function(a){var b=jQuery(this).closest(".wpmui-box");return a.preventDefault(),!b.hasClass("static")&&(b.toggleClass("closed"),!1)};g.on("click",".wpmui-box > h3",a),g.on("click",".wpmui-box > h3 > .toggle",a)}function d(){var a=function(a){var b=jQuery(this),c=b.closest(".wpmui-tabs"),d=c.next(".wpmui-tab-contents"),e=c.find(".active.tab"),f=b.attr("href"),g=e.attr("href"),h=d.find(f),i=d.find(g);return b.hasClass("active")||(e.removeClass("active"),i.removeClass("active")),b.addClass("active"),h.addClass("active"),a.preventDefault(),!1};g.on("click",".wpmui-tabs .tab",a)}var e=null,f=null,g=null,h=null;a.popup=function(c,d){return b(),new a.WpmUiWindow(c,d)},a.progressbar=function(){return b(),new a.WpmUiProgress},a.ajax=function(c,d){return b(),new a.WpmUiAjaxData(c,d)},a.upgrade_multiselect=function(a){b(),a=jQuery(a||g);var c=a.find("select[multiple]").not("select[data-select-ajax]"),d=a.find("select[data-select-ajax]"),e=function(a){var b=a.attr("id"),c="#s2id_"+b;a.parent().find(c).remove()},f=function(){var b=jQuery(this),c={closeOnSelect:!1,width:"100%"};"object"!=typeof b.data("select2")&&"object"!=typeof b.data("chosen")&&(b.filter("[class*=acf-]").length||"1"!==b.data("wpmui-select")&&(b.closest(".no-auto-init",a[0]).length||(b.data("wpmui-select","1"),e(b),window.setTimeout(function(){b.wpmuiSelect(c)},1))))},h=function(){var b=function(a){return a.text},c=jQuery(this),d={closeOnSelect:!1,width:"100%",multiple:!0,minimumInputLength:1,ajax:{url:c.attr("data-select-ajax"),dataType:"json",quietMillis:100,cache:!0,data:function(a){return{q:a.term,page:a.page}},processResults:function(a,b){return{results:a.items}}},templateResult:b,templateSelection:b};"object"!=typeof c.data("select2")&&"object"!=typeof c.data("chosen")&&(c.filter("[class*=acf-]").length||"1"!==c.data("wpmui-select")&&(c.closest(".no-auto-init",a[0]).length||(c.data("wpmui-select","1"),e(c),window.setTimeout(function(){c.wpmuiSelect(d)},1))))};"function"==typeof jQuery.fn.each2?(c.each2(f),d.each2(h)):(c.each(f),d.each(h))},a.message=function(a){var c,d,e,f;b();var g=function(a){return a.preventDefault(),d.remove(),!1},h=function(a){jQuery(this).closest(".wpmui-msg").find(".debug").toggle()};return void 0!==a&&(("string"==typeof a||a instanceof Array)&&(a={message:a}),a.message instanceof Array&&(a.message=a.message.join("<br />")),!!a.message&&(a.type=void 0===a.type?"ok":a.type.toString().toLowerCase(),a.close=void 0===a.close||a.close,a.parent=void 0===a.parent?".wrap":a.parent,a.insert_after=void 0===a.insert_after?"h2":a.insert_after,a.id=void 0===a.id?"":a.id.toString().toLowerCase(),a.class=void 0===a.class?"":a.class.toString().toLowerCase(),a.details=void 0!==a.details&&a.details,"error"!==a.type&&"red"!==a.type||(a.type="err"),"success"!==a.type&&"green"!==a.type||(a.type="ok"),c=jQuery(a.parent).first(),!!c.length&&(a.id&&jQuery('.wpmui-msg[data-id="'+a.id+'"]').length?(d=jQuery('.wpmui-msg[data-id="'+a.id+'"]').first(),f=!1):(d=jQuery("<div><p></p></div>"),a.id&&d.attr("data-id",a.id),f=!0),d.find("p").html(a.message),"err"===a.type&&a.details&&window.JSON&&(jQuery('<div class="debug" style="display:none"></div>').appendTo(d).text(JSON.stringify(a.details)),jQuery('<i class="dashicons dashicons-editor-help light"></i>').prependTo(d.find("p:first")).click(h).after(" ")),d.removeClass().addClass("updated wpmui-msg "+a.class),"err"===a.type&&d.addClass("error"),f&&(a.close&&(e=jQuery('<a href="#" class="notice-dismiss"></a>'),e.prependTo(d),e.click(g)),a.insert_after&&c.find(a.insert_after).length?(c=c.find(a.insert_after).first(),c.after(d)):c.prepend(d)),!0)))},a.confirm=function(b){function c(){var c=jQuery(this),d=parseInt(c.data("key"));b.modal&&("fixed"===b.layout?a._close_modal():e.remove()),f.remove(),"function"==typeof b.callback&&b.callback(d)}var d,e,f,h,i,j,k;if(!b instanceof Object)return!1;if(void 0===b.message)return!1;for(b.modal=void 0===b.modal||b.modal,b.layout=void 0===b.layout?"fixed":b.layout,b.parent=void 0===b.parent?g:b.parent,b.buttons=void 0===b.buttons?["OK"]:b.buttons,b.callback=void 0!==b.callback&&b.callback,d=jQuery(b.parent),b.modal&&("fixed"===b.layout?a._make_modal("wpmui-confirm-modal"):e=jQuery('<div class="wpmui-confirm-modal"></div>').css({position:b.layout}).appendTo(d)),f=jQuery('<div class="wpmui-confirm-box"></div>').css({position:b.layout}).appendTo(d),h=jQuery('<div class="wpmui-confirm-msg"></div>').html(b.message),i=jQuery('<div class="wpmui-confirm-btn"></div>'),k=!0,j=0;j<b.buttons.length;j+=1)jQuery("<button></button>").html(b.buttons[j]).addClass(k?"button-primary":"button-secondary").data("key",j).click(c).prependTo(i),k=!1;return h.appendTo(f),i.appendTo(f).find(".button-primary").focus(),!0},a.tooltip=function(a,c){var d,e;b();var f=function(b){var d=b.outerWidth(),e=b.outerHeight(),f=a.outerWidth(),g=a.outerHeight(),h={};switch(h.left=(f-d)/2,h.top=(g-e)/2,h[c.pos]="auto",c.pos){case"top":h.bottom=g+5;break;case"bottom":h.top=g+5;break;case"left":h.right=f+5;break;case"right":h.left=f+5}b.css(h)},g=function(a){var b=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");b.addClass("wpmui-visible"),b.show(),f(b),window.setTimeout(function(){f(b)},35)},h=function(a){var b=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");b.removeClass("wpmui-visible"),b.hide()},i=function(a){d.hasClass("wpmui-visible")?h.call(this,a):g.call(this,a)};return"string"==typeof c&&(c={content:c}),void 0!==c.content&&(a=jQuery(a),!!a.length&&(c.trigger=void 0===c.trigger?"hover":c.trigger.toString().toLowerCase(),c.pos=void 0===c.pos?"top":c.pos.toString().toLowerCase(),c.class=void 0===c.class?"":c.class.toString().toLowerCase(),e=a.parent(),e.hasClass("wpmui-tip-box")||(e=a.wrap('<span class="wpmui-tip-box"></span>').parent().addClass(c.class+"-box")),d=e.find("> .wpmui-tip"),a.off(),d.length||(d=jQuery('<div class="wpmui-tip"></div>'),d.addClass(c.class).addClass(c.pos).appendTo(a.parent()).hide(),isNaN(c.width)||d.width(c.width)),"hover"===c.trigger?a.on("mouseenter",g).on("mouseleave",h):"click"===c.trigger&&a.on("click",i),d.html(c.content),!0))},a.upgrade_tooltips=function(){jQuery("[data-wpmui-tooltip]").each(function(){var b=jQuery(this),c={content:b.attr("data-wpmui-tooltip"),pos:b.attr("data-pos"),trigger:b.attr("data-trigger"),class:b.attr("data-class"),width:b.attr("data-width")};a.tooltip(b,c)})},a.obj=function(a){var b={};if(a instanceof Object)b=a;else if(a instanceof Array)if("function"==typeof a.reduce)b=a.reduce(function(a,b,c){return a[c]=b,a},{});else for(var c=a.length-1;c>0;c-=1)void 0!==a[c]&&(b[c]=a[c]);else"string"==typeof a?b.scalar=a:"number"==typeof a?b.scalar=a:"boolean"==typeof a&&(b.scalar=a);return b},a._modal_overlay=function(){return null===h&&(h=jQuery("<div></div>").addClass("wpmui-overlay").appendTo(g)),h},a._make_modal=function(b,c){var d=a._modal_overlay();return d.removeClass().addClass("wpmui-overlay"),b&&d.addClass(b),g.addClass("wpmui-has-overlay"),f.addClass("wpmui-no-scroll"),c&&f.addClass(c),d},a._close_modal=function(a){g.removeClass("wpmui-has-overlay"),f.removeClass("wpmui-no-scroll"),a&&f.removeClass(a)},jQuery(function(){b()})}(window.wpmUi=window.wpmUi||{}),function(a){var b=1,c={};a.popups=function(){return c},a.WpmUiWindow=function(d,e){function f(){N&&!N.data("hooked")&&(N.data("hooked",!0),N.on("click",".popup-close",k),N.on("click",".popup-title",l),N.on("click",".close",s.hide),N.on("click",".destroy",s.destroy),N.on("click","thead .check-column :checkbox",q),N.on("click","tfoot .check-column :checkbox",q),N.on("click","tbody .check-column :checkbox",r),jQuery(window).on("resize",n),void 0!==jQuery().draggable&&N.draggable({containment:jQuery("body"),scroll:!1,handle:".popup-title"}))}function g(){N&&N.data("hooked")&&(N.data("hooked",!1),N.off("click",".popup-close",k),N.off("click",".popup-title",l),N.off("click",".close",s.hide),N.off("click",".check-column :checkbox",q),jQuery(window).off("resize",n))}function h(){if(!M)return!1;if(!N)return!1;var b=a._modal_overlay(),e=N.find(".popup-title"),f=N.find(".popup-content"),g=e.find(".the-title");if(d&&!g.length&&(g=e),g.html(z),v?N.removeClass("no-close"):N.addClass("no-close"),E){M.find(".buttons").remove(),N.addClass("no-buttons"),A instanceof jQuery?f.empty().append(A):f.html(A);var h=f.find(".buttons");h.length&&(h.appendTo(N),N.removeClass("no-buttons")),N.addClass(B),E=!1}if(b instanceof jQuery&&b.off("click",m),t)i(),u&&a._make_modal("","has-popup"),w&&b.on("click",m),F&&(F=!1,n()),window.setTimeout(function(){"down"===H?f.css({bottom:e.height()+1}):f.css({top:e.height()+1}),y||window.setTimeout(n,5)},5);else{j();var k,l=!0;for(k in c)if(c[k]!==s&&c[k].is_visible()&&c[k].is_modal()){l=!1;break}l&&a._close_modal("has-popup no-scroll can-scroll")}var o=N.find(".popup-close .dashicons");o.length&&("none"===H?o.removeClass().addClass("dashicons dashicons-no-alt"):"collapsed"===P?o.removeClass().addClass("dashicons").addClass(Q):"expanded"===P&&o.removeClass().addClass("dashicons").addClass(R)),N[0].className=N[0].className.replace(/\sslidein-.+?\b/g,""),"none"===H?(N.removeClass("slidein"),N.removeClass("wdev-slidein"),N.addClass("wdev-window")):(N.addClass("slidein"),N.addClass("slidein-"+H),N.addClass("slidein-"+P),N.addClass("wdev-slidein"),N.removeClass("wdev-window")),G.top&&N.addClass("snap-top"),G.left&&N.addClass("snap-left"),G.right&&N.addClass("snap-right"),G.bottom&&N.addClass("snap-bottom")}function i(){N.show();var a="none"!==H,b="collapsed"===P;if(a){if(!b&&"none"===P){var c={};P="collapsed",c=o(c),c=p(c),N.css(c),b=!0}b&&(P="expanding",n(S),F=!1,window.setTimeout(function(){P="expanded",h(),window.setTimeout(n,10)},S))}}function j(){switch(H){case"up":case"down":if("expanded"===P){var a=jQuery(window),b=(a.innerHeight(),N.position()),c={};c["margin-top"]=0,c["margin-bottom"]=0,c.bottom="auto",c.top=b.top,N.css(c),P="collapsing",c=p(),N.animate(c,S,function(){P="collapsed",h(),window.setTimeout(n,10)})}break;default:N.hide()}}function k(a){"none"===H?s.hide():t?s.hide():s.show(),a.stopPropagation()}function l(a){"none"!==H&&(t?s.hide():s.show(),a.stopPropagation())}function m(){var b=a._modal_overlay();return!!M&&(!(!b instanceof jQuery)&&(b.off("click",m),void s.hide()))}function n(a){if(!N)return!1;if("function"==typeof L)L.apply(s,[s.$()]);else{var b={};b=o(b),b=p(b),!isNaN(a)&&a>0?N.animate(b,a):N.css(b)}}function o(a){var b=jQuery(window),c=b.innerWidth(),d=b.innerHeight(),e=parseInt(N.css("border-left-width"))+parseInt(N.css("border-right-width")),f=parseInt(N.css("border-top-width"))+parseInt(N.css("border-bottom-width")),g=x+e,h=y+f;if("object"!=typeof a&&(a={}),!y||!x){var i=!x,j=!y,k=0,l=0;N.find("*").each(function(){var a=jQuery(this),b=a.position(),c=a.outerWidth()+b.left,d=a.outerHeight()+b.top;i&&k<c&&(k=c),j&&l<d&&(l=d)}),i&&(g=k+e),j&&(h=l+f)}return G.left&&G.right?a.width=c-e:(c<g&&(g=c),a.width=g-e),G.top&&G.bottom?a.height=d-f:(d<h&&(h=d),a.height=h-f),a}function p(a){var b=jQuery(window),c=N.find(".slidein-toggle"),d=b.innerWidth(),e=b.innerHeight(),f=parseInt(N.css("border-left-width"))+parseInt(N.css("border-right-width")),g=parseInt(N.css("border-top-width"))+parseInt(N.css("border-bottom-width"));return"object"!=typeof a&&(a={}),void 0!==a.width&&void 0!==a.height||(a=o(a)),G.left||G.right?G.left&&G.right?a.left=0:(G.left&&(a.left=0),G.right&&(a.left=d-a.width-f)):a.left=(d-a.width)/2,"none"===H||"collapsed"!==P&&"collapsing"!==P?G.top||G.bottom?G.top&&G.bottom?a.top=0:(G.top&&(a.top=0),G.bottom&&(a.top=e-a.height-g)):a.top=(e-a.height)/2:a.top="down"===H?c.outerHeight()-a.height:e-c.outerHeight(),a["margin-top"]=0,a["margin-bottom"]=0,a.bottom="auto",a.right="auto",void 0===a.top&&(a.top="auto"),void 0===a.left&&(a.left="auto"),a}function q(a){var b=jQuery(this),c=b.prop("checked");a.shiftKey;b.closest("table").children("tbody, thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",c)}function r(a){var b=jQuery(this),c=b.closest("tbody").find(":checkbox").filter(":visible").not(":checked");return b.closest("table").children("thead, tfoot").find(":checkbox").prop("checked",0===c.length),!0}var s=this,t=!1,u=!1,v=!0,w=!0,x=740,y=400,z="Window",A="",B="",C="",D="",E=!1,F=!1,G={top:!1,left:!1,right:!1,bottom:!1},H="none",I=null,J=null,K=null,L=null,M=null,N=null,O="hidden",P="none",Q="",R="",S=400;this.id=0,this.is_modal=function(){return u},this.is_visible=function(){return t},this.is_slidein=function(){return H},this.get_snap=function(){return G},this.modal=function(a,b){return void 0===b&&(b=!0),u=!!a,w=!!b,h(),s},this.size=function(a,b){var c=parseFloat(a),d=parseFloat(b);return isNaN(c)&&(c=0),isNaN(d)&&(d=0),c>=0&&(x=c),d>=0&&(y=d),F=!0,h(),s},this.snap=function(){var a=!1;G={top:!1,left:!1,right:!1,bottom:!1};for(var b=0;b<arguments.length&&!a;b+=1){var c=arguments[b].toLowerCase();switch(c){case"top":case"left":case"right":case"bottom":G[c]=!0;break;case"none":case"center":a=!0}}return a&&(G={top:!1,left:!1,right:!1,bottom:!1}),F=!0,h(),s},this.slidein=function(a,b){switch(a=a.toLowerCase(),H="none",a){case"down":H="down",Q="dashicons-arrow-down-alt2",R="dashicons-arrow-up-alt2";break;case"up":H="up",Q="dashicons-arrow-up-alt2",R="dashicons-arrow-down-alt2"}return!isNaN(b)&&b>=0&&(S=b),F=!0,h(),s},this.animate=function(a,b){var c=!1,d="Webkit Moz O ms Khtml".split(" ");if(void 0!==N[0].style.animationName&&(c=!0),!1===c)for(var e=0;e<d.length;e++)if(void 0!==N[0].style[d[e]+"AnimationName"]){c=!0;break}return c||(a="",b=""),C=a,D=b,s},this.set_class=function(a){return B=a,E=!0,h(),s},this.onresize=function(a){return L=a,s},this.onshow=function(a){return I=a,s},this.onhide=function(a){return J=a,s},this.onclose=function(a){return K=a,s},this.loading=function(a){return a?N.addClass("wpmui-loading"):N.removeClass("wpmui-loading"),s},this.confirm=function(b){return"visible"!==O?s:!b instanceof Object?s:(b.layout="absolute",b.parent=N,a.confirm(b),s)},this.title=function(a,b){return void 0===b&&(b=!0),z=a,v=!!b,h(),s},this.content=function(a,b){return A=a instanceof jQuery?b?a:a.html():a,F=!0,E=!0,h(),s},this.show=function(){return M.appendTo(jQuery("body")),N.hide(),f(),t=!0,F=!0,O="visible",h(),N.hide(),window.setTimeout(function(){N.show()},2),"none"===H&&C&&(N.addClass(C+" animated"),N.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){N.removeClass("animated"),N.removeClass(C)})),"function"==typeof I&&I.apply(s,[s.$()]),s},this.hide=function(){function a(){"none"===H&&(M.detach(),g()),t=!1,O="hidden",h(),"function"==typeof J&&J.apply(s,[s.$()])}return"none"===H&&D?(N.addClass(D+" animated"),N.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){N.removeClass("animated"),N.removeClass(D),a()})):a(),s},this.destroy=function(){var a=J;"closing"!==O&&(J=function(){"function"==typeof a&&a.apply(s,[s.$()]),O="closing","function"==typeof K&&K.apply(s,[s.$()]),M.remove(),M=null,N=null,delete c[s.id],s=null},s.hide())},this.on=function(a,b,c){return M.on(a,b,c),M.filter(b).length&&M.on(a,c),s},this.off=function(a,b,c){return M.off(a,b,c),M.filter(b).length&&M.off(a,c),s},this.$=function(a){return a?M.find(a):M},s=this,function(){s.id=b,b+=1,c[s.id]=s,d||(d='<div class="wpmui-popup"><div class="popup-title"><span class="the-title"></span><span class="popup-close"><i class="dashicons dashicons-no-alt"></i></span></div><div class="popup-content"></div></div>'),M=jQuery(d),e&&jQuery("<style>"+e+"</style>").prependTo(M),M.filter(".popup").length||M.find(".popup").length||M.addClass("popup"),N=M.hasClass("popup")?M:M.find(".popup").first(),N.find(".popup-title").length||(s.title=function(){return s}),N.find(".popup-content").length||(s.content=function(){return s}),N.find(".slidein-toggle").length||(N.find(".popup-title .popup-close").length?N.find(".popup-title .popup-close").addClass("slidein-toggle"):N.find(".popup-title").length?N.find(".popup-title").addClass("slidein-toggle"):N.prepend('<span class="slidein-toggle only-slidein"><i class="dashicons"></i></span>')),t=!1}()}}(window.wpmUi=window.wpmUi||{}),function(a){a.WpmUiProgress=function(){function a(){var a=c/d*100;a<0&&(a=0),a>100&&(a=100),g.width(a+"%"),j.text(parseInt(a)+" %"),e&&e.length?(i.html(e),i.show()):i.hide()}var b=this,c=0,d=100,e="",f=null,g=null,h=null,i=null,j=null;this.value=function(d){return isNaN(d)||(c=parseInt(d),a()),b},this.max=function(c){return isNaN(c)||(d=parseInt(c),a()),b},this.label=function(c){return e=c,a(),b},this.on=function(a,c,d){return f.on(a,c,d),b},this.off=function(a,c,d){return f.off(a,c,d),b},this.$=function(){return f},b=this,function(){d=100,c=0,f=jQuery('<div class="wpmui-progress-wrap"></div>'),h=jQuery('<div class="wpmui-progress-full"></div>'),g=jQuery('<div class="wpmui-progress"></div>'),i=jQuery('<div class="wpmui-progress-label"></div>'),j=jQuery('<div class="wpmui-progress-percent"></div>'),g.appendTo(h),j.appendTo(h),h.appendTo(f),i.appendTo(f),a()}()}}(window.wpmUi=window.wpmUi||{}),function(a){a.add_action||(a.filters=a.filters||{},a.add_action=function(b,c,d){a.add_filter(b,c,d)},a.add_filter=function(b,c,d){void 0!==c&&(void 0===d&&(d=10),a.filters[b]=a.filters[b]||[],a.filters[b].push({priority:d,callback:c}))},a.remove_action=function(b,c){a.remove_filter(b,c)},a.remove_filter=function(b,c){a.filters[b]=a.filters[b]||[],a.filters[b].forEach(function(d,e){d.callback===c&&a.filters[b].splice(e,1)})},a.remove_all_actions=function(b,c){a.remove_all_filters(b,c)},a.remove_all_filters=function(b,c){a.filters[b]=a.filters[b]||[],void 0===c?a.filters[b]=[]:a.filters[b].forEach(function(d,e){d.priority===c&&a.filters[b].splice(e,1)})},a.do_action=function(b,c){var d=[];void 0!==a.filters[b]&&a.filters[b].length>0&&(a.filters[b].forEach(function(a){d[a.priority]=d[a.priority]||[],d[a.priority].push(a.callback)}),d.forEach(function(a){a.forEach(function(a){a(c)})}))},a.apply_filters=function(b,c,d){var e=[];return void 0!==a.filters[b]&&a.filters[b].length>0&&(a.filters[b].forEach(function(a){e[a.priority]=e[a.priority]||[],e[a.priority].push(a.callback)}),e.forEach(function(a){a.forEach(function(a){c=a(c,d)})})),c})}(window.wpmUi=window.wpmUi||{}),function(a){a.WpmUiAjaxData=function(a,b){function c(){var a=document.createElement("INPUT"),b=new XMLHttpRequest;a.type="file",p="files"in a,o=!!(b&&"upload"in b&&"onprogress"in b.upload),q=!!window.FormData}function d(){var a=new window.XMLHttpRequest;return o&&(a.upload.addEventListener("progress",function(a){if(a.lengthComputable){e(a.loaded/a.total)}else e(-1)},!1),a.addEventListener("progress",function(a){if(a.lengthComputable){e(a.loaded/a.total)}else e(-1)},!1)),a}function e(a){o&&"function"==typeof m&&m(a)}function f(a,b,c){e(100),"function"==typeof n&&n(a,b,c)}function g(a,b){var c={};if(b=b&&q,l instanceof jQuery)if(l.find(".wp-editor-area").each(function(){var a=jQuery(this).attr("id"),b="#wp-"+a+"-wrap",c=jQuery(b),d=window.tinyMCE.get(a);d&&c.hasClass("tmce-active")&&d.save()}),b)c=new window.FormData(l[0]);else{c={};var d={},e={validate:/^[a-zA-Z_][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/},f=function(a,b,c){return a[b]=c,a},g=function(a){return void 0===d[a]&&(d[a]=0),d[a]++};jQuery.each(l.serializeArray(),function(){if(e.validate.test(this.name)){for(var a,b=this.name.match(e.key),d=this.value,h=this.name;void 0!==(a=b.pop());)h=h.replace(new RegExp("\\["+a+"\\]$"),""),a.match(e.push)?d=f([],g(h),d):a.match(e.fixed)?d=f([],a,d):a.match(e.named)&&(d=f({},a,d));c=jQuery.extend(!0,c,d)}}),l.find("input[type=file]").each(function(){var a=jQuery(this),b=a.attr("name"),d=a.clone(!0)[0];c[":files"]=c[":files"]||{},c[":files"][b]=d})}else if("string"==typeof l){var h=l.split("&").map(function(a){return a.split("=",2)});c=b?new window.FormData:{};for(var i in h){var j=decodeURI(h[i][0]),k=decodeURI(h[i][1]);b?c.append(j,k):void 0!==c[j]?("object"!=typeof c[j]&&(c[j]=[c[j]]),c[j].push(k)):c[j]=k}}else if("object"==typeof l)if(b){c=new window.FormData;for(var m in l)l.hasOwnProperty(m)&&c.append(m,l[m])}else c=jQuery.extend({},l);return void 0!==a&&(c instanceof window.FormData?c.append("action",a):c.action=a),c}function h(b,c){var h=g(b,!0),i={},j=null,k=!1;"json"!==c&&(c="text"),e(-1),i={url:a,type:"POST",dataType:"html",data:h,xhr:d,success:function(a,b,d){if(k=!0,j=a,"json"===c)try{j=jQuery.parseJSON(a)}catch(b){j={status:"ERR",data:a}}},error:function(a,b,c){k=!1,j=c},complete:function(a,b){j instanceof Object&&"ERR"===j.status&&(k=!1),f(j,k,a)}},h instanceof window.FormData&&(i.processData=!1,i.contentType=!1),jQuery.ajax(i)}function i(b,c){var d=g(b,!1),e=jQuery("<form></form>"),f="";for(var h in d)if(d.hasOwnProperty(h))if(":files"===h)for(var i in d[h]){var j=d[h][i];e.append(j)}else"action"===h?f=h+"="+d[h].toString():jQuery('<input type="hidden" />').attr("name",h).attr("value",d[h]).appendTo(e);f=-1===a.indexOf("?")?"?"+f:"&"+f,e.attr("action",a+f).attr("method","POST").attr("enctype","multipart/form-data").attr("target",c).hide().appendTo(jQuery("body")),e.submit()}var j=this,k=null,l={},m=null,n=null,o=!1,p=!1,q=!1;this.data=function(a){return l=a,j},this.extract_data=function(a){return l=a,g(void 0,!1)},this.onprogress=function(a){return m=a,j},this.ondone=function(a){return n=a,j},this.reset=function(){return l={},m=null,n=null,j},this.load_text=function(a){return a=a||b,h(a,"text"),j},this.load_json=function(a){return a=a||b,h(a,"json"),j},this.load_http=function(a,c){return a=a||"wpmui_void",c=c||b,i(c,a),j},j=this,function(){a||"string"!=typeof window.ajaxurl||(a=window.ajaxurl),k=jQuery("body").find("#wpmui_void"),k.length||(k=jQuery("<iframe></iframe>").attr("name","wpmui_void").attr("id","wpmui_void").css({width:1,height:1,display:"none",visibility:"hidden",position:"absolute",left:-1e3,top:-1e3}).hide().appendTo(jQuery("body"))),c(),j.reset()}()}}(window.wpmUi=window.wpmUi||{}),function(a){a.WpmUiBinary=function(){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.WpmUiBinary.utf8_encode=function(a){if("string"!=typeof a)return a;a=a.replace(/\r\n/g,"\n");var b,c="",d=0;for(d;d<a.length;d++)b=a.charCodeAt(d),b<128?c+=String.fromCharCode(b):b>127&&b<2048?(c+=String.fromCharCode(b>>6|192),c+=String.fromCharCode(63&b|128)):(c+=String.fromCharCode(b>>12|224),c+=String.fromCharCode(b>>6&63|128),c+=String.fromCharCode(63&b|128));return c},a.WpmUiBinary.utf8_decode=function(a){if("string"!=typeof a)return a;for(var b="",c=0,d=0;c<a.length;)d=a.charCodeAt(c),d<128?(b+=String.fromCharCode(d),c+=1):d>191&&d<224?(b+=String.fromCharCode((31&d)<<6|63&a.charCodeAt(c+1)),c+=2):(b+=String.fromCharCode((15&d)<<12|(63&a.charCodeAt(c+1))<<6|63&a.charCodeAt(c+2)),c+=3);return b},a.WpmUiBinary.base64_encode=function(c){if("string"!=typeof c)return c;c=a.WpmUiBinary.utf8_encode(c);for(var d,e,f,g,h,i,j,k="",l=0;l<c.length;)d=c.charCodeAt(l++),e=c.charCodeAt(l++),f=c.charCodeAt(l++),g=d>>2,h=(3&d)<<4|e>>4,i=(15&e)<<2|f>>6,j=63&f,isNaN(e)?i=j=64:isNaN(f)&&(j=64),k+=b.charAt(g)+b.charAt(h)+b.charAt(i)+b.charAt(j);return k},a.WpmUiBinary.base64_decode=function(c){if("string"!=typeof c)return c;c.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var d,e,f,g,h,i,j,k="",l=0;l<c.length;)g=b.indexOf(c.charAt(l++)),h=b.indexOf(c.charAt(l++)),i=b.indexOf(c.charAt(l++)),j=b.indexOf(c.charAt(l++)),d=g<<2|h>>4,e=(15&h)<<4|i>>2,f=(3&i)<<6|j,k+=String.fromCharCode(d),64!==i&&(k+=String.fromCharCode(e)),64!==j&&(k+=String.fromCharCode(f));return a.WpmUiBinary.utf8_decode(k)}}}(window.wpmUi=window.wpmUi||{});
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
+
!function(a){function b(){null===f&&(e=jQuery(document),f=jQuery("html"),g=jQuery("body"),c(),d(),g.hasClass("no-auto-init")||window.setTimeout(function(){a.upgrade_multiselect(),a.upgrade_tooltips()},20),a.binary=new a.WpmUiBinary)}function c(){var a=function(a){var b=jQuery(this).closest(".wpmui-box");return a.preventDefault(),!b.hasClass("static")&&(b.toggleClass("closed"),!1)};g.on("click",".wpmui-box > h3",a),g.on("click",".wpmui-box > h3 > .toggle",a)}function d(){var a=function(a){var b=jQuery(this),c=b.closest(".wpmui-tabs"),d=c.next(".wpmui-tab-contents"),e=c.find(".active.tab"),f=b.attr("href"),g=e.attr("href"),h=d.find(f),i=d.find(g);return b.hasClass("active")||(e.removeClass("active"),i.removeClass("active")),b.addClass("active"),h.addClass("active"),a.preventDefault(),!1};g.on("click",".wpmui-tabs .tab",a)}var e=null,f=null,g=null,h=null;a.popup=function(c,d){return b(),new a.WpmUiWindow(c,d)},a.progressbar=function(){return b(),new a.WpmUiProgress},a.ajax=function(c,d){return b(),new a.WpmUiAjaxData(c,d)},a.upgrade_multiselect=function(a){b(),a=jQuery(a||g);var c=a.find("select[multiple]").not("select[data-select-ajax]"),d=a.find("select[data-select-ajax]"),e=function(a){var b=a.attr("id"),c="#s2id_"+b;a.parent().find(c).remove()},f=function(){var b=jQuery(this),c={closeOnSelect:!1,width:"100%"};"object"!=typeof b.data("select2")&&"object"!=typeof b.data("chosen")&&(b.filter("[class*=acf-]").length||"1"!==b.data("wpmui-select")&&(b.closest(".no-auto-init",a[0]).length||(b.data("wpmui-select","1"),e(b),"function"==typeof b.wpmuiSelect&&window.setTimeout(function(){b.wpmuiSelect(c)},1))))},h=function(){var b=function(a){return a.text},c=jQuery(this),d={closeOnSelect:!1,width:"100%",multiple:!0,minimumInputLength:1,ajax:{url:c.attr("data-select-ajax"),dataType:"json",quietMillis:100,cache:!0,data:function(a){return{q:a.term,page:a.page}},processResults:function(a,b){return{results:a.items}}},templateResult:b,templateSelection:b};"object"!=typeof c.data("select2")&&"object"!=typeof c.data("chosen")&&(c.filter("[class*=acf-]").length||"1"!==c.data("wpmui-select")&&(c.closest(".no-auto-init",a[0]).length||(c.data("wpmui-select","1"),e(c),"function"==typeof c.wpmuiSelect&&window.setTimeout(function(){c.wpmuiSelect(d)},1))))};"function"==typeof jQuery.fn.each2?(c.each2(f),d.each2(h)):(c.each(f),d.each(h))},a.message=function(a){var c,d,e,f;b();var g=function(a){return a.preventDefault(),d.remove(),!1},h=function(a){jQuery(this).closest(".wpmui-msg").find(".debug").toggle()};return void 0!==a&&(("string"==typeof a||a instanceof Array)&&(a={message:a}),a.message instanceof Array&&(a.message=a.message.join("<br />")),!!a.message&&(a.type=void 0===a.type?"ok":a.type.toString().toLowerCase(),a.close=void 0===a.close||a.close,a.parent=void 0===a.parent?".wrap":a.parent,a.insert_after=void 0===a.insert_after?"h2":a.insert_after,a.id=void 0===a.id?"":a.id.toString().toLowerCase(),a.class=void 0===a.class?"":a.class.toString().toLowerCase(),a.details=void 0!==a.details&&a.details,"error"!==a.type&&"red"!==a.type||(a.type="err"),"success"!==a.type&&"green"!==a.type||(a.type="ok"),c=jQuery(a.parent).first(),!!c.length&&(a.id&&jQuery('.wpmui-msg[data-id="'+a.id+'"]').length?(d=jQuery('.wpmui-msg[data-id="'+a.id+'"]').first(),f=!1):(d=jQuery("<div><p></p></div>"),a.id&&d.attr("data-id",a.id),f=!0),d.find("p").html(a.message),"err"===a.type&&a.details&&window.JSON&&(jQuery('<div class="debug" style="display:none"></div>').appendTo(d).text(JSON.stringify(a.details)),jQuery('<i class="dashicons dashicons-editor-help light"></i>').prependTo(d.find("p:first")).click(h).after(" ")),d.removeClass().addClass("updated wpmui-msg "+a.class),"err"===a.type&&d.addClass("error"),f&&(a.close&&(e=jQuery('<a href="#" class="notice-dismiss"></a>'),e.prependTo(d),e.click(g)),a.insert_after&&c.find(a.insert_after).length?(c=c.find(a.insert_after).first(),c.after(d)):c.prepend(d)),!0)))},a.confirm=function(b){function c(){var c=jQuery(this),d=parseInt(c.data("key"));b.modal&&("fixed"===b.layout?a._close_modal():e.remove()),f.remove(),"function"==typeof b.callback&&b.callback(d)}var d,e,f,h,i,j,k;if(!b instanceof Object)return!1;if(void 0===b.message)return!1;for(b.modal=void 0===b.modal||b.modal,b.layout=void 0===b.layout?"fixed":b.layout,b.parent=void 0===b.parent?g:b.parent,b.buttons=void 0===b.buttons?["OK"]:b.buttons,b.callback=void 0!==b.callback&&b.callback,d=jQuery(b.parent),b.modal&&("fixed"===b.layout?a._make_modal("wpmui-confirm-modal"):e=jQuery('<div class="wpmui-confirm-modal"></div>').css({position:b.layout}).appendTo(d)),f=jQuery('<div class="wpmui-confirm-box"></div>').css({position:b.layout}).appendTo(d),h=jQuery('<div class="wpmui-confirm-msg"></div>').html(b.message),i=jQuery('<div class="wpmui-confirm-btn"></div>'),k=!0,j=0;j<b.buttons.length;j+=1)jQuery("<button></button>").html(b.buttons[j]).addClass(k?"button-primary":"button-secondary").data("key",j).click(c).prependTo(i),k=!1;return h.appendTo(f),i.appendTo(f).find(".button-primary").focus(),!0},a.tooltip=function(a,c){var d,e;b();var f=function(b){var d=b.outerWidth(),e=b.outerHeight(),f=a.outerWidth(),g=a.outerHeight(),h={};switch(h.left=(f-d)/2,h.top=(g-e)/2,h[c.pos]="auto",c.pos){case"top":h.bottom=g+5;break;case"bottom":h.top=g+5;break;case"left":h.right=f+5;break;case"right":h.left=f+5}b.css(h)},g=function(a){var b=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");b.addClass("wpmui-visible"),b.show(),f(b),window.setTimeout(function(){f(b)},35)},h=function(a){var b=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");b.removeClass("wpmui-visible"),b.hide()},i=function(a){d.hasClass("wpmui-visible")?h.call(this,a):g.call(this,a)};return"string"==typeof c&&(c={content:c}),void 0!==c.content&&(a=jQuery(a),!!a.length&&(c.trigger=void 0===c.trigger?"hover":c.trigger.toString().toLowerCase(),c.pos=void 0===c.pos?"top":c.pos.toString().toLowerCase(),c.class=void 0===c.class?"":c.class.toString().toLowerCase(),e=a.parent(),e.hasClass("wpmui-tip-box")||(e=a.wrap('<span class="wpmui-tip-box"></span>').parent().addClass(c.class+"-box")),d=e.find("> .wpmui-tip"),a.off(),d.length||(d=jQuery('<div class="wpmui-tip"></div>'),d.addClass(c.class).addClass(c.pos).appendTo(a.parent()).hide(),isNaN(c.width)||d.width(c.width)),"hover"===c.trigger?a.on("mouseenter",g).on("mouseleave",h):"click"===c.trigger&&a.on("click",i),d.html(c.content),!0))},a.upgrade_tooltips=function(){jQuery("[data-wpmui-tooltip]").each(function(){var b=jQuery(this),c={content:b.attr("data-wpmui-tooltip"),pos:b.attr("data-pos"),trigger:b.attr("data-trigger"),class:b.attr("data-class"),width:b.attr("data-width")};a.tooltip(b,c)})},a.obj=function(a){var b={};if(a instanceof Object)b=a;else if(a instanceof Array)if("function"==typeof a.reduce)b=a.reduce(function(a,b,c){return a[c]=b,a},{});else for(var c=a.length-1;c>0;c-=1)void 0!==a[c]&&(b[c]=a[c]);else"string"==typeof a?b.scalar=a:"number"==typeof a?b.scalar=a:"boolean"==typeof a&&(b.scalar=a);return b},a._modal_overlay=function(){return null===h&&(h=jQuery("<div></div>").addClass("wpmui-overlay").appendTo(g)),h},a._make_modal=function(b,c){var d=a._modal_overlay();return d.removeClass().addClass("wpmui-overlay"),b&&d.addClass(b),g.addClass("wpmui-has-overlay"),f.addClass("wpmui-no-scroll"),c&&f.addClass(c),d},a._close_modal=function(a){g.removeClass("wpmui-has-overlay"),f.removeClass("wpmui-no-scroll"),a&&f.removeClass(a)},jQuery(function(){b()})}(window.wpmUi=window.wpmUi||{}),function(a){var b=1,c={};a.popups=function(){return c},a.WpmUiWindow=function(d,e){function f(){N&&!N.data("hooked")&&(N.data("hooked",!0),N.on("click",".popup-close",k),N.on("click",".popup-title",l),N.on("click",".close",s.hide),N.on("click",".destroy",s.destroy),N.on("click","thead .check-column :checkbox",q),N.on("click","tfoot .check-column :checkbox",q),N.on("click","tbody .check-column :checkbox",r),jQuery(window).on("resize",n),void 0!==jQuery().draggable&&N.draggable({containment:jQuery("body"),scroll:!1,handle:".popup-title"}))}function g(){N&&N.data("hooked")&&(N.data("hooked",!1),N.off("click",".popup-close",k),N.off("click",".popup-title",l),N.off("click",".close",s.hide),N.off("click",".check-column :checkbox",q),jQuery(window).off("resize",n))}function h(){if(!M)return!1;if(!N)return!1;var b=a._modal_overlay(),e=N.find(".popup-title"),f=N.find(".popup-content"),g=e.find(".the-title");if(d&&!g.length&&(g=e),g.html(z),v?N.removeClass("no-close"):N.addClass("no-close"),E){M.find(".buttons").remove(),N.addClass("no-buttons"),A instanceof jQuery?f.empty().append(A):f.html(A);var h=f.find(".buttons");h.length&&(h.appendTo(N),N.removeClass("no-buttons")),N.addClass(B),E=!1}if(b instanceof jQuery&&b.off("click",m),t)i(),u&&a._make_modal("","has-popup"),w&&b.on("click",m),F&&(F=!1,n()),window.setTimeout(function(){"down"===H?f.css({bottom:e.height()+1}):f.css({top:e.height()+1}),y||window.setTimeout(n,5)},5);else{j();var k,l=!0;for(k in c)if(c[k]!==s&&c[k].is_visible()&&c[k].is_modal()){l=!1;break}l&&a._close_modal("has-popup no-scroll can-scroll")}var o=N.find(".popup-close .dashicons");o.length&&("none"===H?o.removeClass().addClass("dashicons dashicons-no-alt"):"collapsed"===P?o.removeClass().addClass("dashicons").addClass(Q):"expanded"===P&&o.removeClass().addClass("dashicons").addClass(R)),N[0].className=N[0].className.replace(/\sslidein-.+?\b/g,""),"none"===H?(N.removeClass("slidein"),N.removeClass("wdev-slidein"),N.addClass("wdev-window")):(N.addClass("slidein"),N.addClass("slidein-"+H),N.addClass("slidein-"+P),N.addClass("wdev-slidein"),N.removeClass("wdev-window")),G.top&&N.addClass("snap-top"),G.left&&N.addClass("snap-left"),G.right&&N.addClass("snap-right"),G.bottom&&N.addClass("snap-bottom")}function i(){N.show();var a="none"!==H,b="collapsed"===P;if(a){if(!b&&"none"===P){var c={};P="collapsed",c=o(c),c=p(c),N.css(c),b=!0}b&&(P="expanding",n(S),F=!1,window.setTimeout(function(){P="expanded",h(),window.setTimeout(n,10)},S))}}function j(){switch(H){case"up":case"down":if("expanded"===P){var a=jQuery(window),b=(a.innerHeight(),N.position()),c={};c["margin-top"]=0,c["margin-bottom"]=0,c.bottom="auto",c.top=b.top,N.css(c),P="collapsing",c=p(),N.animate(c,S,function(){P="collapsed",h(),window.setTimeout(n,10)})}break;default:N.hide()}}function k(a){"none"===H?s.hide():t?s.hide():s.show(),a.stopPropagation()}function l(a){"none"!==H&&(t?s.hide():s.show(),a.stopPropagation())}function m(){var b=a._modal_overlay();return!!M&&(!(!b instanceof jQuery)&&(b.off("click",m),void s.hide()))}function n(a){if(!N)return!1;if("function"==typeof L)L.apply(s,[s.$()]);else{var b={};b=o(b),b=p(b),!isNaN(a)&&a>0?N.animate(b,a):N.css(b)}}function o(a){var b=jQuery(window),c=b.innerWidth(),d=b.innerHeight(),e=parseInt(N.css("border-left-width"))+parseInt(N.css("border-right-width")),f=parseInt(N.css("border-top-width"))+parseInt(N.css("border-bottom-width")),g=x+e,h=y+f;if("object"!=typeof a&&(a={}),!y||!x){var i=!x,j=!y,k=0,l=0;N.find("*").each(function(){var a=jQuery(this),b=a.position(),c=a.outerWidth()+b.left,d=a.outerHeight()+b.top;i&&k<c&&(k=c),j&&l<d&&(l=d)}),i&&(g=k+e),j&&(h=l+f)}return G.left&&G.right?a.width=c-e:(c<g&&(g=c),a.width=g-e),G.top&&G.bottom?a.height=d-f:(d<h&&(h=d),a.height=h-f),a}function p(a){var b=jQuery(window),c=N.find(".slidein-toggle"),d=b.innerWidth(),e=b.innerHeight(),f=parseInt(N.css("border-left-width"))+parseInt(N.css("border-right-width")),g=parseInt(N.css("border-top-width"))+parseInt(N.css("border-bottom-width"));return"object"!=typeof a&&(a={}),void 0!==a.width&&void 0!==a.height||(a=o(a)),G.left||G.right?G.left&&G.right?a.left=0:(G.left&&(a.left=0),G.right&&(a.left=d-a.width-f)):a.left=(d-a.width)/2,"none"===H||"collapsed"!==P&&"collapsing"!==P?G.top||G.bottom?G.top&&G.bottom?a.top=0:(G.top&&(a.top=0),G.bottom&&(a.top=e-a.height-g)):a.top=(e-a.height)/2:a.top="down"===H?c.outerHeight()-a.height:e-c.outerHeight(),a["margin-top"]=0,a["margin-bottom"]=0,a.bottom="auto",a.right="auto",void 0===a.top&&(a.top="auto"),void 0===a.left&&(a.left="auto"),a}function q(a){var b=jQuery(this),c=b.prop("checked");a.shiftKey;b.closest("table").children("tbody, thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",c)}function r(a){var b=jQuery(this),c=b.closest("tbody").find(":checkbox").filter(":visible").not(":checked");return b.closest("table").children("thead, tfoot").find(":checkbox").prop("checked",0===c.length),!0}var s=this,t=!1,u=!1,v=!0,w=!0,x=740,y=400,z="Window",A="",B="",C="",D="",E=!1,F=!1,G={top:!1,left:!1,right:!1,bottom:!1},H="none",I=null,J=null,K=null,L=null,M=null,N=null,O="hidden",P="none",Q="",R="",S=400;this.id=0,this.is_modal=function(){return u},this.is_visible=function(){return t},this.is_slidein=function(){return H},this.get_snap=function(){return G},this.modal=function(a,b){return void 0===b&&(b=!0),u=!!a,w=!!b,h(),s},this.size=function(a,b){var c=parseFloat(a),d=parseFloat(b);return isNaN(c)&&(c=0),isNaN(d)&&(d=0),c>=0&&(x=c),d>=0&&(y=d),F=!0,h(),s},this.snap=function(){var a=!1;G={top:!1,left:!1,right:!1,bottom:!1};for(var b=0;b<arguments.length&&!a;b+=1){var c=arguments[b].toLowerCase();switch(c){case"top":case"left":case"right":case"bottom":G[c]=!0;break;case"none":case"center":a=!0}}return a&&(G={top:!1,left:!1,right:!1,bottom:!1}),F=!0,h(),s},this.slidein=function(a,b){switch(a=a.toLowerCase(),H="none",a){case"down":H="down",Q="dashicons-arrow-down-alt2",R="dashicons-arrow-up-alt2";break;case"up":H="up",Q="dashicons-arrow-up-alt2",R="dashicons-arrow-down-alt2"}return!isNaN(b)&&b>=0&&(S=b),F=!0,h(),s},this.animate=function(a,b){var c=!1,d="Webkit Moz O ms Khtml".split(" ");if(void 0!==N[0].style.animationName&&(c=!0),!1===c)for(var e=0;e<d.length;e++)if(void 0!==N[0].style[d[e]+"AnimationName"]){c=!0;break}return c||(a="",b=""),C=a,D=b,s},this.set_class=function(a){return B=a,E=!0,h(),s},this.onresize=function(a){return L=a,s},this.onshow=function(a){return I=a,s},this.onhide=function(a){return J=a,s},this.onclose=function(a){return K=a,s},this.loading=function(a){return a?N.addClass("wpmui-loading"):N.removeClass("wpmui-loading"),s},this.confirm=function(b){return"visible"!==O?s:!b instanceof Object?s:(b.layout="absolute",b.parent=N,a.confirm(b),s)},this.title=function(a,b){return void 0===b&&(b=!0),z=a,v=!!b,h(),s},this.content=function(a,b){return A=a instanceof jQuery?b?a:a.html():a,F=!0,E=!0,h(),s},this.show=function(){return M.appendTo(jQuery("body")),N.hide(),f(),t=!0,F=!0,O="visible",h(),N.hide(),window.setTimeout(function(){N.show()},2),"none"===H&&C&&(N.addClass(C+" animated"),N.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){N.removeClass("animated"),N.removeClass(C)})),"function"==typeof I&&I.apply(s,[s.$()]),s},this.hide=function(){function a(){"none"===H&&(M.detach(),g()),t=!1,O="hidden",h(),"function"==typeof J&&J.apply(s,[s.$()])}return"none"===H&&D?(N.addClass(D+" animated"),N.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){N.removeClass("animated"),N.removeClass(D),a()})):a(),s},this.destroy=function(){var a=J;"closing"!==O&&(J=function(){"function"==typeof a&&a.apply(s,[s.$()]),O="closing","function"==typeof K&&K.apply(s,[s.$()]),M.remove(),M=null,N=null,delete c[s.id],s=null},s.hide())},this.on=function(a,b,c){return M.on(a,b,c),M.filter(b).length&&M.on(a,c),s},this.off=function(a,b,c){return M.off(a,b,c),M.filter(b).length&&M.off(a,c),s},this.$=function(a){return a?M.find(a):M},s=this,function(){s.id=b,b+=1,c[s.id]=s,d||(d='<div class="wpmui-popup"><div class="popup-title"><span class="the-title"></span><span class="popup-close"><i class="dashicons dashicons-no-alt"></i></span></div><div class="popup-content"></div></div>'),M=jQuery(d),e&&jQuery("<style>"+e+"</style>").prependTo(M),M.filter(".popup").length||M.find(".popup").length||M.addClass("popup"),N=M.hasClass("popup")?M:M.find(".popup").first(),N.find(".popup-title").length||(s.title=function(){return s}),N.find(".popup-content").length||(s.content=function(){return s}),N.find(".slidein-toggle").length||(N.find(".popup-title .popup-close").length?N.find(".popup-title .popup-close").addClass("slidein-toggle"):N.find(".popup-title").length?N.find(".popup-title").addClass("slidein-toggle"):N.prepend('<span class="slidein-toggle only-slidein"><i class="dashicons"></i></span>')),t=!1}()}}(window.wpmUi=window.wpmUi||{}),function(a){a.WpmUiProgress=function(){function a(){var a=c/d*100;a<0&&(a=0),a>100&&(a=100),g.width(a+"%"),j.text(parseInt(a)+" %"),e&&e.length?(i.html(e),i.show()):i.hide()}var b=this,c=0,d=100,e="",f=null,g=null,h=null,i=null,j=null;this.value=function(d){return isNaN(d)||(c=parseInt(d),a()),b},this.max=function(c){return isNaN(c)||(d=parseInt(c),a()),b},this.label=function(c){return e=c,a(),b},this.on=function(a,c,d){return f.on(a,c,d),b},this.off=function(a,c,d){return f.off(a,c,d),b},this.$=function(){return f},b=this,function(){d=100,c=0,f=jQuery('<div class="wpmui-progress-wrap"></div>'),h=jQuery('<div class="wpmui-progress-full"></div>'),g=jQuery('<div class="wpmui-progress"></div>'),i=jQuery('<div class="wpmui-progress-label"></div>'),j=jQuery('<div class="wpmui-progress-percent"></div>'),g.appendTo(h),j.appendTo(h),h.appendTo(f),i.appendTo(f),a()}()}}(window.wpmUi=window.wpmUi||{}),function(a){a.add_action||(a.filters=a.filters||{},a.add_action=function(b,c,d){a.add_filter(b,c,d)},a.add_filter=function(b,c,d){void 0!==c&&(void 0===d&&(d=10),a.filters[b]=a.filters[b]||[],a.filters[b].push({priority:d,callback:c}))},a.remove_action=function(b,c){a.remove_filter(b,c)},a.remove_filter=function(b,c){a.filters[b]=a.filters[b]||[],a.filters[b].forEach(function(d,e){d.callback===c&&a.filters[b].splice(e,1)})},a.remove_all_actions=function(b,c){a.remove_all_filters(b,c)},a.remove_all_filters=function(b,c){a.filters[b]=a.filters[b]||[],void 0===c?a.filters[b]=[]:a.filters[b].forEach(function(d,e){d.priority===c&&a.filters[b].splice(e,1)})},a.do_action=function(b,c){var d=[];void 0!==a.filters[b]&&a.filters[b].length>0&&(a.filters[b].forEach(function(a){d[a.priority]=d[a.priority]||[],d[a.priority].push(a.callback)}),d.forEach(function(a){a.forEach(function(a){a(c)})}))},a.apply_filters=function(b,c,d){var e=[];return void 0!==a.filters[b]&&a.filters[b].length>0&&(a.filters[b].forEach(function(a){e[a.priority]=e[a.priority]||[],e[a.priority].push(a.callback)}),e.forEach(function(a){a.forEach(function(a){c=a(c,d)})})),c})}(window.wpmUi=window.wpmUi||{}),function(a){a.WpmUiAjaxData=function(a,b){function c(){var a=document.createElement("INPUT"),b=new XMLHttpRequest;a.type="file",p="files"in a,o=!!(b&&"upload"in b&&"onprogress"in b.upload),q=!!window.FormData}function d(){var a=new window.XMLHttpRequest;return o&&(a.upload.addEventListener("progress",function(a){if(a.lengthComputable){e(a.loaded/a.total)}else e(-1)},!1),a.addEventListener("progress",function(a){if(a.lengthComputable){e(a.loaded/a.total)}else e(-1)},!1)),a}function e(a){o&&"function"==typeof m&&m(a)}function f(a,b,c){e(100),"function"==typeof n&&n(a,b,c)}function g(a,b){var c={};if(b=b&&q,l instanceof jQuery)if(l.find(".wp-editor-area").each(function(){var a=jQuery(this).attr("id"),b="#wp-"+a+"-wrap",c=jQuery(b),d=window.tinyMCE.get(a);d&&c.hasClass("tmce-active")&&d.save()}),b)c=new window.FormData(l[0]);else{c={};var d={},e={validate:/^[a-zA-Z_][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/},f=function(a,b,c){return a[b]=c,a},g=function(a){return void 0===d[a]&&(d[a]=0),d[a]++};jQuery.each(l.serializeArray(),function(){if(e.validate.test(this.name)){for(var a,b=this.name.match(e.key),d=this.value,h=this.name;void 0!==(a=b.pop());)h=h.replace(new RegExp("\\["+a+"\\]$"),""),a.match(e.push)?d=f([],g(h),d):a.match(e.fixed)?d=f([],a,d):a.match(e.named)&&(d=f({},a,d));c=jQuery.extend(!0,c,d)}}),l.find("input[type=file]").each(function(){var a=jQuery(this),b=a.attr("name"),d=a.clone(!0)[0];c[":files"]=c[":files"]||{},c[":files"][b]=d})}else if("string"==typeof l){var h=l.split("&").map(function(a){return a.split("=",2)});c=b?new window.FormData:{};for(var i in h){var j=decodeURI(h[i][0]),k=decodeURI(h[i][1]);b?c.append(j,k):void 0!==c[j]?("object"!=typeof c[j]&&(c[j]=[c[j]]),c[j].push(k)):c[j]=k}}else if("object"==typeof l)if(b){c=new window.FormData;for(var m in l)l.hasOwnProperty(m)&&c.append(m,l[m])}else c=jQuery.extend({},l);return void 0!==a&&(c instanceof window.FormData?c.append("action",a):c.action=a),c}function h(b,c){var h=g(b,!0),i={},j=null,k=!1;"json"!==c&&(c="text"),e(-1),i={url:a,type:"POST",dataType:"html",data:h,xhr:d,success:function(a,b,d){if(k=!0,j=a,"json"===c)try{j=jQuery.parseJSON(a)}catch(b){j={status:"ERR",data:a}}},error:function(a,b,c){k=!1,j=c},complete:function(a,b){j instanceof Object&&"ERR"===j.status&&(k=!1),f(j,k,a)}},h instanceof window.FormData&&(i.processData=!1,i.contentType=!1),jQuery.ajax(i)}function i(b,c){var d=g(b,!1),e=jQuery("<form></form>"),f="";for(var h in d)if(d.hasOwnProperty(h))if(":files"===h)for(var i in d[h]){var j=d[h][i];e.append(j)}else"action"===h?f=h+"="+d[h].toString():jQuery('<input type="hidden" />').attr("name",h).attr("value",d[h]).appendTo(e);f=-1===a.indexOf("?")?"?"+f:"&"+f,e.attr("action",a+f).attr("method","POST").attr("enctype","multipart/form-data").attr("target",c).hide().appendTo(jQuery("body")),e.submit()}var j=this,k=null,l={},m=null,n=null,o=!1,p=!1,q=!1;this.data=function(a){return l=a,j},this.extract_data=function(a){return l=a,g(void 0,!1)},this.onprogress=function(a){return m=a,j},this.ondone=function(a){return n=a,j},this.reset=function(){return l={},m=null,n=null,j},this.load_text=function(a){return a=a||b,h(a,"text"),j},this.load_json=function(a){return a=a||b,h(a,"json"),j},this.load_http=function(a,c){return a=a||"wpmui_void",c=c||b,i(c,a),j},j=this,function(){a||"string"!=typeof window.ajaxurl||(a=window.ajaxurl),k=jQuery("body").find("#wpmui_void"),k.length||(k=jQuery("<iframe></iframe>").attr("name","wpmui_void").attr("id","wpmui_void").css({width:1,height:1,display:"none",visibility:"hidden",position:"absolute",left:-1e3,top:-1e3}).hide().appendTo(jQuery("body"))),c(),j.reset()}()}}(window.wpmUi=window.wpmUi||{}),function(a){a.WpmUiBinary=function(){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.WpmUiBinary.utf8_encode=function(a){if("string"!=typeof a)return a;a=a.replace(/\r\n/g,"\n");var b,c="",d=0;for(d;d<a.length;d++)b=a.charCodeAt(d),b<128?c+=String.fromCharCode(b):b>127&&b<2048?(c+=String.fromCharCode(b>>6|192),c+=String.fromCharCode(63&b|128)):(c+=String.fromCharCode(b>>12|224),c+=String.fromCharCode(b>>6&63|128),c+=String.fromCharCode(63&b|128));return c},a.WpmUiBinary.utf8_decode=function(a){if("string"!=typeof a)return a;for(var b="",c=0,d=0;c<a.length;)d=a.charCodeAt(c),d<128?(b+=String.fromCharCode(d),c+=1):d>191&&d<224?(b+=String.fromCharCode((31&d)<<6|63&a.charCodeAt(c+1)),c+=2):(b+=String.fromCharCode((15&d)<<12|(63&a.charCodeAt(c+1))<<6|63&a.charCodeAt(c+2)),c+=3);return b},a.WpmUiBinary.base64_encode=function(c){if("string"!=typeof c)return c;c=a.WpmUiBinary.utf8_encode(c);for(var d,e,f,g,h,i,j,k="",l=0;l<c.length;)d=c.charCodeAt(l++),e=c.charCodeAt(l++),f=c.charCodeAt(l++),g=d>>2,h=(3&d)<<4|e>>4,i=(15&e)<<2|f>>6,j=63&f,isNaN(e)?i=j=64:isNaN(f)&&(j=64),k+=b.charAt(g)+b.charAt(h)+b.charAt(i)+b.charAt(j);return k},a.WpmUiBinary.base64_decode=function(c){if("string"!=typeof c)return c;c.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var d,e,f,g,h,i,j,k="",l=0;l<c.length;)g=b.indexOf(c.charAt(l++)),h=b.indexOf(c.charAt(l++)),i=b.indexOf(c.charAt(l++)),j=b.indexOf(c.charAt(l++)),d=g<<2|h>>4,e=(15&h)<<4|i>>2,f=(3&i)<<6|j,k+=String.fromCharCode(d),64!==i&&(k+=String.fromCharCode(e)),64!==j&&(k+=String.fromCharCode(f));return a.WpmUiBinary.utf8_decode(k)}}}(window.wpmUi=window.wpmUi||{});
|
inc/external/wpmu-lib/js/wpmu-vnav.3.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*!
|
inc/external/wpmu-lib/js/wpmu-vnav.3.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library - v3.0.
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! WPMU Dev code library - v3.0.4
|
2 |
* http://premium.wpmudev.org/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
js/cs-cloning.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
js/cs-cloning.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
js/cs-visibility.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
js/cs-visibility.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
js/cs.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*global window:false */
|
@@ -1422,9 +1422,8 @@ window.csSidebars = null;
|
|
1422 |
if ( 0 === $(".sidebars-column-1 .inner .widgets-holder-wrap").length ) {
|
1423 |
var template = wp.template('custom-sidebars-new');
|
1424 |
$(".sidebars-column-1 .inner").before( template() );
|
1425 |
-
$(".custom-sidebars-new").on( "click", function() {
|
1426 |
$( "button.btn-create-sidebar" ).click();
|
1427 |
-
$(this).detach();
|
1428 |
});
|
1429 |
}
|
1430 |
}
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
/*global window:false */
|
1422 |
if ( 0 === $(".sidebars-column-1 .inner .widgets-holder-wrap").length ) {
|
1423 |
var template = wp.template('custom-sidebars-new');
|
1424 |
$(".sidebars-column-1 .inner").before( template() );
|
1425 |
+
$(".custom-sidebars-add-new").on( "click", function() {
|
1426 |
$( "button.btn-create-sidebar" ).click();
|
|
|
1427 |
});
|
1428 |
}
|
1429 |
}
|
js/cs.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! Custom Sidebars - v3.0.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
-
function trim(a){a=a.replace(/^\s\s*/,"");for(var b=a.length-1;b>=0;b--)if(/\S/.test(a.charAt(b))){a=a.substring(0,b+1);break}return a}function CsSidebar(a,b){var c;this.id=a.split("%").join("\\%"),this.type=b,this.sb=jQuery("#"+this.id),this.widgets="",this.name=trim(this.sb.find(".sidebar-name h2").text()),this.description=trim(this.sb.find(".sidebar-description").text()),c="custom"===b?window.csSidebars.extras.find(".cs-custom-sidebar").clone():window.csSidebars.extras.find(".cs-theme-sidebar").clone(),this.sb.parent().append(c),c.find("label").each(function(){var b=jQuery(this);window.csSidebars.addIdToLabel(b,a)})}CsSidebar.prototype.getID=function(){return this.id.split("\\").join("")},window.csSidebars=null,function(a){window.csSidebars={sidebars:[],sidebar_prefix:"cs-",edit_form:null,delete_form:null,export_form:null,location_form:null,right:null,extras:null,action_handlers:{},init:function(){"undefined"!=typeof csSidebarsData&&csSidebars.initControls().initTopTools().initSidebars().initToolbars().initColumns()},initControls:function(){return csSidebars.right=jQuery("#widgets-right"),csSidebars.extras=jQuery("#cs-widgets-extra"),null===csSidebars.edit_form&&(csSidebars.edit_form=csSidebars.extras.find(".cs-editor").clone(),csSidebars.extras.find(".cs-editor").remove()),null===csSidebars.delete_form&&(csSidebars.delete_form=csSidebars.extras.find(".cs-delete").clone(),csSidebars.extras.find(".cs-delete").remove()),null===csSidebars.export_form&&(csSidebars.export_form=csSidebars.extras.find(".cs-export").clone(),csSidebars.extras.find(".cs-export").remove()),null===csSidebars.location_form&&(csSidebars.location_form=csSidebars.extras.find(".cs-location").clone(),csSidebars.extras.find(".cs-location").remove()),jQuery("#cs-title-options").detach().prependTo(csSidebars.right),csSidebars},initColumns:function(){function a(){var a=jQuery(this),b=a.closest(".sidebars-column-1, .sidebars-column-2"),c=b.data("sort-dir");c="asc"===c?"desc":"asc",csSidebars.sort_sidebars(b,c)}var b=csSidebars.right.find(".sidebars-column-1"),c=csSidebars.right.find(".sidebars-column-2"),d=jQuery('<div class="cs-title"><h2></h2></div>'),e=csSidebars.right.find(".widgets-holder-wrap");c.length||(c=jQuery('<div class="sidebars-column-2"></div>'),c.appendTo(csSidebars.right)),d.find("h2").append('<span class="cs-title-val"></span><i class="cs-icon dashicons dashicons-sort"></i>').css({cursor:"pointer"}),d.clone().prependTo(b).click(a).find(".cs-title-val").text(csSidebarsData.custom_sidebars),d.clone().prependTo(c).click(a).find(".cs-title-val").text(csSidebarsData.theme_sidebars),b=jQuery('<div class="inner"></div>').appendTo(b),c=jQuery('<div class="inner"></div>').appendTo(c),e.each(function(){var a=jQuery(this),d=a.find(".widgets-sortables");csSidebars.isCustomSidebar(d)?a.appendTo(b):a.appendTo(c)})},initSidebars:function(){return csSidebars.right.find(".widgets-sortables").each(function(){var a,b,c=!1,d=jQuery(this),e=d.attr("id");if(!0!==d.data("cs-init"))if(d.data("cs-init",!0),csSidebars.isCustomSidebar(this))b=csSidebars.add(e,"custom");else{b=csSidebars.add(e,"theme");for(a in csSidebarsData.replaceable)if(csSidebarsData.replaceable.hasOwnProperty(a)&&csSidebarsData.replaceable[a]===e){c=!0;break}csSidebars.setReplaceable(b,c,!1)}}),csSidebars},initTopTools:function(){var a=jQuery(".btn-create-sidebar"),b=jQuery(".btn-export"),c=jQuery(".cs-options"),d=jQuery('<input type="search" class="cs-filter" />'),e={};return a.click(function(){e.id="",e.title=csSidebarsData.title_new,e.button=csSidebarsData.btn_new,e.description="",e.name="",csSidebars.showEditor(e)}),b.click(csSidebars.showExport),d.appendTo(c).attr("placeholder",csSidebarsData.filter).keyup(csSidebars.filter_sidebars).on("search",csSidebars.filter_sidebars),csSidebars},initToolbars:function(){function a(a){var b=jQuery(a.target).closest(".cs-tool"),c=b.data("action"),d=csSidebars.getIdFromEditbar(b),e=csSidebars.find(d);return!csSidebars.handleAction(c,e)}return csSidebars.registerAction("edit",csSidebars.showEditor),csSidebars.registerAction("location",csSidebars.showLocations),csSidebars.registerAction("delete",csSidebars.showRemove),csSidebars.registerAction("replaceable",csSidebars.setReplaceable),csSidebars.right.on("click",".cs-tool",a),csSidebars},handleAction:function(a,b){return"function"==typeof csSidebars.action_handlers[a]&&!!csSidebars.action_handlers[a](b)},registerAction:function(a,b){csSidebars.action_handlers[a]=b},showAjaxError:function(a){var b={};b.message=csSidebarsData.ajax_error,b.details=a,b.parent="#widgets-right",b.insert_after="#cs-title-options",b.id="editor",b.type="err",wpmUi.message(b)},sort_sidebars:function(a,b){var c=a.find(".widgets-holder-wrap"),d=a.find(".cs-title .cs-icon");c.sortElements(function(a,c){var d=jQuery(a).find(".sidebar-name h2").text(),e=jQuery(c).find(".sidebar-name h2").text();return"asc"===b?d>e?1:-1:d<e?1:-1}),a.data("sort-dir",b),"asc"===b?d.removeClass("dashicons-arrow-down dashicons-sort").addClass("dashicons-arrow-up"):d.removeClass("dashicons-arrow-up dashicons-sort").addClass("dashicons-arrow-down")},filter_sidebars:function(a){var b=jQuery("input.cs-filter").val().toLowerCase();csSidebars.right.find(".widgets-holder-wrap").each(function(){var a=jQuery(this);-1!==a.find(".sidebar-name h2").text().toLowerCase().indexOf(b)?a.show():a.hide()}),jQuery(window).trigger("cs-resize")},showEditor:function(b){function c(){i.$().removeClass("csb-has-more"),i.size(782,215)}function d(){i.$().addClass("csb-has-more"),i.size(782,545)}function e(){jQuery(this).prop("checked")?d():c()}function f(a,b,c){return i.loading(!1),!!a&&(b?(a.sidebar&&(a=a.sidebar),a.id&&i.$().find("#csb-id").val(a.id),a.name&&i.$().find("#csb-name").val(a.name),a.description&&i.$().find("#csb-description").val(a.description),a.before_title&&i.$().find("#csb-before-title").val(a.before_title),a.after_title&&i.$().find("#csb-after-title").val(a.after_title),a.before_widget&&i.$().find("#csb-before-widget").val(a.before_widget),a.after_widget&&i.$().find("#csb-after-widget").val(a.after_widget),void(a.button&&i.$().find(".btn-save").text(a.button))):(i.destroy(),csSidebars.showAjaxError(a),!1))}function g(b,c,d){var e,f={};i.loading(!1),i.destroy(),f.message=b.message,f.parent="#widgets-right",f.insert_after="#cs-title-options",f.id="editor",c?"update"===b.action?(e=csSidebars.find(b.data.id),csSidebars.updateSidebar(e,b.data)):"insert"===b.action&&(csSidebars.insertSidebar(b.data),a(".cs-wrap .custom-sidebars-add-new").detach()):f.type="err",wpmUi.message(f)}function h(){var a=i.$().find("form");return i.loading(!0),j.reset().data(a).ondone(g).load_json(),!1}var i=null,j=null;return b instanceof CsSidebar&&(b={id:b.getID(),title:csSidebarsData.title_edit.replace("[Sidebar]",b.name),button:csSidebarsData.btn_edit}),i=wpmUi.popup().modal(!0).title(b.title).onshow(c).content(csSidebars.edit_form),c(),f(b,!0,null),j=wpmUi.ajax(null,"cs-ajax"),b.id&&(i.loading(!0),j.reset().data({do:"get",sb:b.id}).ondone(f).load_json()),i.show(),i.$().find("#csb-name").focus(),i.$().on("click","#csb-more",e),i.$().on("click",".btn-save",h),i.$().on("click",".btn-cancel",i.destroy),!0},updateSidebar:function(a,b){return a.sb.find(".sidebar-name h2").text(b.name),a.sb.find(".sidebar-description").html('<p class="description"></p>').find(".description").text(b.description),csSidebars},insertSidebar:function(a){var b=jQuery('<div class="widgets-holder-wrap"></div>'),c=jQuery('<div class="widgets-sortables ui-sortable"></div>'),d=jQuery('<div class="sidebar-name"><div class="sidebar-name-arrow"><br></div><h2></h2></div>'),e=jQuery('<div class="sidebar-description"></div>'),f=csSidebars.right.find(".sidebars-column-1 > .inner:first");return c.attr("id",a.id),d.find("h2").text(a.name),e.html('<p class="description"></p>').find(".description").text(a.description),d.appendTo(c),e.appendTo(c),c.appendTo(b),b.prependTo(f),jQuery("#widgets-right .sidebar-name").unbind("click"),jQuery("#widgets-left .sidebar-name").unbind("click"),jQuery(document.body).unbind("click.widgets-toggle"),jQuery(".widgets-chooser").off("click.widgets-chooser").off("keyup.widgets-chooser"),jQuery("#available-widgets .widget .widget-title").off("click.widgets-chooser"),jQuery(".widgets-chooser-sidebars").empty(),window.wpWidgets.init(),csSidebars.initSidebars(),csSidebars},showExport:function(){function a(a){var b=jQuery(this).closest("form");return h.reset().data(b).load_http(),g.destroy(),a.preventDefault(),!1}function b(a,b,c){var d={};g.loading(!1),b?g.size(900,600).content(a.html):(d.message=a.message,d.parent=g.$().find(".wpmui-wnd-content"),d.insert_after=!1,d.id="export",d.class="wpmui-wnd-err",d.type="err",wpmUi.message(d))}function c(a){var c=jQuery(this).closest("form");return g.loading(!0),h.reset().data(c).ondone(b).load_json("cs-ajax"),a.preventDefault(),!1}function d(){var a=jQuery(this),b=a.prop("checked"),c=g.$().find(".column-widgets, .import-widgets");b?c.show():c.hide()}function e(){g.size(782,480),g.content(csSidebars.export_form)}function f(){var a=g.$().find(".frm-import");g.loading(!0),h.reset().data(a).load_http("_self")}var g=null,h=null;return g=wpmUi.popup().modal(!0).size(782,480).title(csSidebarsData.title_export).content(csSidebars.export_form).show(),h=wpmUi.ajax(null,"cs-ajax"),g.$().on("submit",".frm-export",a),g.$().on("submit",".frm-preview-import",c),g.$().on("change","#import-widgets",d),g.$().on("click",".btn-cancel",e),g.$().on("click",".btn-import",f),!0},showRemove:function(a){function b(a){a.find(".name").text(i)}function c(){f.loading(!1),f.destroy()}function d(a,b,c){var d={};f.loading(!1),f.destroy(),d.message=a.message,d.parent="#widgets-right",d.insert_after="#cs-title-options",d.id="editor",b?(csSidebars.right.find("#"+h).closest(".widgets-holder-wrap").remove(),csSidebars.remove(h),"delete"===a.action&&window.csSidebars.showGetStartedBox()):d.type="err",wpmUi.message(d)}function e(){f.loading(!0),g.reset().data({do:"delete",sb:h}).ondone(d).load_json()}var f=null,g=null,h=a.getID(),i=a.name;return f=wpmUi.popup().modal(!0).size(560,160).title(csSidebarsData.title_delete).content(csSidebars.delete_form).onshow(b).show(),g=wpmUi.ajax(null,"cs-ajax"),f.$().on("click",".btn-cancel",c),f.$().on("click",".btn-delete",e),!0},showLocations:function(a){function b(a,b,c){function d(a,b,c){var d=jQuery("<option></option>");d.attr("value",c).text(a.name),b.append(d)}function e(a,b,c,d){var e=d.closest(".cs-replaceable").filter("."+b),f=e.find('option[value="'+c+'"]'),g=e.find("optgroup.used"),h=e.find(".detail-toggle");a===j?(f.prop("selected",!0),!0!==h.prop("checked")&&(h.prop("checked",!0),e.addClass("open"),wpmUi.upgrade_multiselect(e))):(g.length||(g=jQuery('<optgroup class="used">').attr("label",e.data("lbl-used")).appendTo(e.find(".details select"))),f.detach().appendTo(g))}var g,h,i;if(f.loading(!1),!b)return f.destroy(),void csSidebars.showAjaxError(a);f.$().find(".sb-name").text(a.sidebar.name);var j=a.sidebar.id,k=f.$().find(".cs-replaceable");k.hide(),a.replaceable=wpmUi.obj(a.replaceable);for(var l in a.replaceable)a.replaceable.hasOwnProperty(l)&&k.filter("."+a.replaceable[l]).show();var m=f.$().find(".cs-datalist.cs-cat"),n=f.$().find(".cs-datalist.cs-arc-cat"),o=a.categories;n.empty(),m.empty();for(var p in o)d(o[p],n,p),d(o[p],m,p);for(var q in o){if(o[q].single)for(g in o[q].single)e(o[q].single[g],g,q,m);if(o[q].archive)for(g in o[q].archive)e(o[q].archive[g],g,q,n)}var r=f.$().find(".cs-datalist.cs-pt"),s=a.posttypes;r.empty();for(var t in s)h=jQuery("<option></option>"),i=s[t].name,h.attr("value",t).text(i),r.append(h);for(var u in s)if(s[u].single)for(g in s[u].single)e(s[u].single[g],g,u,r);var v=f.$().find(".cs-datalist.cs-arc"),w=a.archives;v.empty();for(var x in w)h=jQuery("<option></option>"),i=w[x].name,h.attr("value",x).text(i),v.append(h);for(var y in w)if(w[y].archive)for(g in w[y].archive)e(w[y].archive[g],g,y,v);var z=f.$().find(".cs-datalist.cs-arc-aut"),A=a.authors;z.empty();for(var B in A)h=jQuery("<option></option>"),i=A[B].name,h.attr("value",B).text(i),z.append(h);for(var C in A)if(A[C].archive)for(g in A[C].archive)e(A[C].archive[g],g,C,z)}function c(a){var b=jQuery(this),c=b.closest(".cs-replaceable"),d=c.find("select");b.prop("checked")?(c.addClass("open"),wpmUi.upgrade_multiselect(c),d.trigger("change.select2")):(c.removeClass("open"),d.val([]))}function d(a,b,c){var d={};f.loading(!1),f.destroy(),d.message=a.message,d.parent="#widgets-right",d.insert_after="#cs-title-options",d.id="editor",b||(d.type="err"),wpmUi.message(d)}function e(){f.loading(!0),g.reset().data(h).ondone(d).load_json()}var f=null,g=null,h=null,i=a.getID();return f=wpmUi.popup().modal(!0).size(782,560).title(csSidebarsData.title_location).content(csSidebars.location_form).show(),f.loading(!0),h=f.$().find(".frm-location"),h.find(".sb-id").val(i),g=wpmUi.ajax(null,"cs-ajax"),g.reset().data({do:"get-location",sb:i}).ondone(b).load_json(),f.$().on("click",".detail-toggle",c),f.$().on("click",".btn-save",e),f.$().on("click",".btn-cancel",f.destroy),!0},setReplaceable:function(a,b,c){function d(a,b,c){a instanceof Object&&"object"==typeof a.replaceable&&(csSidebarsData.replaceable=wpmUi.obj(a.replaceable),f.find(".widgets-sortables").each(function(){var a=!1,b=jQuery(this),c=b.attr("id"),d=csSidebars.find(c);for(var e in csSidebarsData.replaceable)if(csSidebarsData.replaceable.hasOwnProperty(e)&&csSidebarsData.replaceable[e]===c){a=!0;break}csSidebars.setReplaceable(d,a,!1)})),f.find(".cs-toolbar .chk-replaceable").prop("disabled",!1),f.find(".cs-toolbar .btn-replaceable").removeClass("wpmui-loading")}var e,f=csSidebars.right.find(".sidebars-column-2 .widgets-holder-wrap"),g=jQuery(a.sb).closest(".widgets-holder-wrap"),h=g.find(".cs-toolbar .chk-replaceable"),i=g.find(".replace-marker");g.find(".cs-toolbar .btn-replaceable");return void 0===b&&(b=h.prop("checked")),void 0===c&&(c=!0),h.data("active")!==b&&(h.data("active",b),h.prop("checked",b),b?(i.length||jQuery("<div></div>").appendTo(g).attr("data-label",csSidebarsData.lbl_replaceable).addClass("replace-marker"),g.addClass("replaceable")):(i.remove(),g.removeClass("replaceable")),c&&(f.find(".cs-toolbar .chk-replaceable").prop("disabled",!0),f.find(".cs-toolbar .btn-replaceable").addClass("wpmui-loading"),e=wpmUi.ajax(null,"cs-ajax"),e.reset().data({do:"replaceable",state:b,sb:a.getID()}).ondone(d).load_json()),!1)},find:function(a){return csSidebars.sidebars[a]},add:function(a,b){return csSidebars.sidebars[a]=new CsSidebar(a,b),csSidebars.sidebars[a]},remove:function(a){delete csSidebars.sidebars[a]},isCustomSidebar:function(a){return jQuery(a).attr("id").substr(0,csSidebars.sidebar_prefix.length)===csSidebars.sidebar_prefix},addIdToLabel:function(a,b){if(!0!==a.data("label-done")){var c=a.attr("for");a.attr("for",c+b),a.find(".has-label").attr("id",c+b),a.data("label-done",!0)}},getIdFromEditbar:function(a){return a.closest(".widgets-holder-wrap").find(".widgets-sortables:first").attr("id")},showGetStartedBox:function(){if(0===a(".sidebars-column-1 .inner .widgets-holder-wrap").length){var b=wp.template("custom-sidebars-new");a(".sidebars-column-1 .inner").before(b()),a(".custom-sidebars-new").on("click",function(){a("button.btn-create-sidebar").click(),a(this).detach()})}}},jQuery(function(a){a("#csfooter").hide(),a("#widgets-right").length>0&&csSidebars.init(),a(".defaultsContainer").hide(),a("#widgets-right .widgets-sortables").on("sort",function(b,c){a("#widgets-right").top;c.position.top=-a("#widgets-right").css("top")})}),jQuery(document).ready(function(a){window.setTimeout(function(){window.csSidebars.showGetStartedBox()},1e3)})}(jQuery),jQuery.fn.sortElements=function(){var a=[].sort;return function(b,c){c=c||function(){return this};var d=this.map(function(){var a=c.call(this),b=a.parentNode,d=b.insertBefore(document.createTextNode(""),a.nextSibling);return function(){if(b===this)throw new Error("You can't sort elements if any one is a descendant of another.");b.insertBefore(this,d),b.removeChild(d)}});return a.call(this,b).each(function(a){d[a].call(c.call(this))})}}();
|
1 |
+
/*! Custom Sidebars - v3.0.5
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
4 |
|
5 |
+
function trim(a){a=a.replace(/^\s\s*/,"");for(var b=a.length-1;b>=0;b--)if(/\S/.test(a.charAt(b))){a=a.substring(0,b+1);break}return a}function CsSidebar(a,b){var c;this.id=a.split("%").join("\\%"),this.type=b,this.sb=jQuery("#"+this.id),this.widgets="",this.name=trim(this.sb.find(".sidebar-name h2").text()),this.description=trim(this.sb.find(".sidebar-description").text()),c="custom"===b?window.csSidebars.extras.find(".cs-custom-sidebar").clone():window.csSidebars.extras.find(".cs-theme-sidebar").clone(),this.sb.parent().append(c),c.find("label").each(function(){var b=jQuery(this);window.csSidebars.addIdToLabel(b,a)})}CsSidebar.prototype.getID=function(){return this.id.split("\\").join("")},window.csSidebars=null,function(a){window.csSidebars={sidebars:[],sidebar_prefix:"cs-",edit_form:null,delete_form:null,export_form:null,location_form:null,right:null,extras:null,action_handlers:{},init:function(){"undefined"!=typeof csSidebarsData&&csSidebars.initControls().initTopTools().initSidebars().initToolbars().initColumns()},initControls:function(){return csSidebars.right=jQuery("#widgets-right"),csSidebars.extras=jQuery("#cs-widgets-extra"),null===csSidebars.edit_form&&(csSidebars.edit_form=csSidebars.extras.find(".cs-editor").clone(),csSidebars.extras.find(".cs-editor").remove()),null===csSidebars.delete_form&&(csSidebars.delete_form=csSidebars.extras.find(".cs-delete").clone(),csSidebars.extras.find(".cs-delete").remove()),null===csSidebars.export_form&&(csSidebars.export_form=csSidebars.extras.find(".cs-export").clone(),csSidebars.extras.find(".cs-export").remove()),null===csSidebars.location_form&&(csSidebars.location_form=csSidebars.extras.find(".cs-location").clone(),csSidebars.extras.find(".cs-location").remove()),jQuery("#cs-title-options").detach().prependTo(csSidebars.right),csSidebars},initColumns:function(){function a(){var a=jQuery(this),b=a.closest(".sidebars-column-1, .sidebars-column-2"),c=b.data("sort-dir");c="asc"===c?"desc":"asc",csSidebars.sort_sidebars(b,c)}var b=csSidebars.right.find(".sidebars-column-1"),c=csSidebars.right.find(".sidebars-column-2"),d=jQuery('<div class="cs-title"><h2></h2></div>'),e=csSidebars.right.find(".widgets-holder-wrap");c.length||(c=jQuery('<div class="sidebars-column-2"></div>'),c.appendTo(csSidebars.right)),d.find("h2").append('<span class="cs-title-val"></span><i class="cs-icon dashicons dashicons-sort"></i>').css({cursor:"pointer"}),d.clone().prependTo(b).click(a).find(".cs-title-val").text(csSidebarsData.custom_sidebars),d.clone().prependTo(c).click(a).find(".cs-title-val").text(csSidebarsData.theme_sidebars),b=jQuery('<div class="inner"></div>').appendTo(b),c=jQuery('<div class="inner"></div>').appendTo(c),e.each(function(){var a=jQuery(this),d=a.find(".widgets-sortables");csSidebars.isCustomSidebar(d)?a.appendTo(b):a.appendTo(c)})},initSidebars:function(){return csSidebars.right.find(".widgets-sortables").each(function(){var a,b,c=!1,d=jQuery(this),e=d.attr("id");if(!0!==d.data("cs-init"))if(d.data("cs-init",!0),csSidebars.isCustomSidebar(this))b=csSidebars.add(e,"custom");else{b=csSidebars.add(e,"theme");for(a in csSidebarsData.replaceable)if(csSidebarsData.replaceable.hasOwnProperty(a)&&csSidebarsData.replaceable[a]===e){c=!0;break}csSidebars.setReplaceable(b,c,!1)}}),csSidebars},initTopTools:function(){var a=jQuery(".btn-create-sidebar"),b=jQuery(".btn-export"),c=jQuery(".cs-options"),d=jQuery('<input type="search" class="cs-filter" />'),e={};return a.click(function(){e.id="",e.title=csSidebarsData.title_new,e.button=csSidebarsData.btn_new,e.description="",e.name="",csSidebars.showEditor(e)}),b.click(csSidebars.showExport),d.appendTo(c).attr("placeholder",csSidebarsData.filter).keyup(csSidebars.filter_sidebars).on("search",csSidebars.filter_sidebars),csSidebars},initToolbars:function(){function a(a){var b=jQuery(a.target).closest(".cs-tool"),c=b.data("action"),d=csSidebars.getIdFromEditbar(b),e=csSidebars.find(d);return!csSidebars.handleAction(c,e)}return csSidebars.registerAction("edit",csSidebars.showEditor),csSidebars.registerAction("location",csSidebars.showLocations),csSidebars.registerAction("delete",csSidebars.showRemove),csSidebars.registerAction("replaceable",csSidebars.setReplaceable),csSidebars.right.on("click",".cs-tool",a),csSidebars},handleAction:function(a,b){return"function"==typeof csSidebars.action_handlers[a]&&!!csSidebars.action_handlers[a](b)},registerAction:function(a,b){csSidebars.action_handlers[a]=b},showAjaxError:function(a){var b={};b.message=csSidebarsData.ajax_error,b.details=a,b.parent="#widgets-right",b.insert_after="#cs-title-options",b.id="editor",b.type="err",wpmUi.message(b)},sort_sidebars:function(a,b){var c=a.find(".widgets-holder-wrap"),d=a.find(".cs-title .cs-icon");c.sortElements(function(a,c){var d=jQuery(a).find(".sidebar-name h2").text(),e=jQuery(c).find(".sidebar-name h2").text();return"asc"===b?d>e?1:-1:d<e?1:-1}),a.data("sort-dir",b),"asc"===b?d.removeClass("dashicons-arrow-down dashicons-sort").addClass("dashicons-arrow-up"):d.removeClass("dashicons-arrow-up dashicons-sort").addClass("dashicons-arrow-down")},filter_sidebars:function(a){var b=jQuery("input.cs-filter").val().toLowerCase();csSidebars.right.find(".widgets-holder-wrap").each(function(){var a=jQuery(this);-1!==a.find(".sidebar-name h2").text().toLowerCase().indexOf(b)?a.show():a.hide()}),jQuery(window).trigger("cs-resize")},showEditor:function(b){function c(){i.$().removeClass("csb-has-more"),i.size(782,215)}function d(){i.$().addClass("csb-has-more"),i.size(782,545)}function e(){jQuery(this).prop("checked")?d():c()}function f(a,b,c){return i.loading(!1),!!a&&(b?(a.sidebar&&(a=a.sidebar),a.id&&i.$().find("#csb-id").val(a.id),a.name&&i.$().find("#csb-name").val(a.name),a.description&&i.$().find("#csb-description").val(a.description),a.before_title&&i.$().find("#csb-before-title").val(a.before_title),a.after_title&&i.$().find("#csb-after-title").val(a.after_title),a.before_widget&&i.$().find("#csb-before-widget").val(a.before_widget),a.after_widget&&i.$().find("#csb-after-widget").val(a.after_widget),void(a.button&&i.$().find(".btn-save").text(a.button))):(i.destroy(),csSidebars.showAjaxError(a),!1))}function g(b,c,d){var e,f={};i.loading(!1),i.destroy(),f.message=b.message,f.parent="#widgets-right",f.insert_after="#cs-title-options",f.id="editor",c?"update"===b.action?(e=csSidebars.find(b.data.id),csSidebars.updateSidebar(e,b.data)):"insert"===b.action&&(csSidebars.insertSidebar(b.data),a(".cs-wrap .custom-sidebars-add-new").detach()):f.type="err",wpmUi.message(f)}function h(){var a=i.$().find("form");return i.loading(!0),j.reset().data(a).ondone(g).load_json(),!1}var i=null,j=null;return b instanceof CsSidebar&&(b={id:b.getID(),title:csSidebarsData.title_edit.replace("[Sidebar]",b.name),button:csSidebarsData.btn_edit}),i=wpmUi.popup().modal(!0).title(b.title).onshow(c).content(csSidebars.edit_form),c(),f(b,!0,null),j=wpmUi.ajax(null,"cs-ajax"),b.id&&(i.loading(!0),j.reset().data({do:"get",sb:b.id}).ondone(f).load_json()),i.show(),i.$().find("#csb-name").focus(),i.$().on("click","#csb-more",e),i.$().on("click",".btn-save",h),i.$().on("click",".btn-cancel",i.destroy),!0},updateSidebar:function(a,b){return a.sb.find(".sidebar-name h2").text(b.name),a.sb.find(".sidebar-description").html('<p class="description"></p>').find(".description").text(b.description),csSidebars},insertSidebar:function(a){var b=jQuery('<div class="widgets-holder-wrap"></div>'),c=jQuery('<div class="widgets-sortables ui-sortable"></div>'),d=jQuery('<div class="sidebar-name"><div class="sidebar-name-arrow"><br></div><h2></h2></div>'),e=jQuery('<div class="sidebar-description"></div>'),f=csSidebars.right.find(".sidebars-column-1 > .inner:first");return c.attr("id",a.id),d.find("h2").text(a.name),e.html('<p class="description"></p>').find(".description").text(a.description),d.appendTo(c),e.appendTo(c),c.appendTo(b),b.prependTo(f),jQuery("#widgets-right .sidebar-name").unbind("click"),jQuery("#widgets-left .sidebar-name").unbind("click"),jQuery(document.body).unbind("click.widgets-toggle"),jQuery(".widgets-chooser").off("click.widgets-chooser").off("keyup.widgets-chooser"),jQuery("#available-widgets .widget .widget-title").off("click.widgets-chooser"),jQuery(".widgets-chooser-sidebars").empty(),window.wpWidgets.init(),csSidebars.initSidebars(),csSidebars},showExport:function(){function a(a){var b=jQuery(this).closest("form");return h.reset().data(b).load_http(),g.destroy(),a.preventDefault(),!1}function b(a,b,c){var d={};g.loading(!1),b?g.size(900,600).content(a.html):(d.message=a.message,d.parent=g.$().find(".wpmui-wnd-content"),d.insert_after=!1,d.id="export",d.class="wpmui-wnd-err",d.type="err",wpmUi.message(d))}function c(a){var c=jQuery(this).closest("form");return g.loading(!0),h.reset().data(c).ondone(b).load_json("cs-ajax"),a.preventDefault(),!1}function d(){var a=jQuery(this),b=a.prop("checked"),c=g.$().find(".column-widgets, .import-widgets");b?c.show():c.hide()}function e(){g.size(782,480),g.content(csSidebars.export_form)}function f(){var a=g.$().find(".frm-import");g.loading(!0),h.reset().data(a).load_http("_self")}var g=null,h=null;return g=wpmUi.popup().modal(!0).size(782,480).title(csSidebarsData.title_export).content(csSidebars.export_form).show(),h=wpmUi.ajax(null,"cs-ajax"),g.$().on("submit",".frm-export",a),g.$().on("submit",".frm-preview-import",c),g.$().on("change","#import-widgets",d),g.$().on("click",".btn-cancel",e),g.$().on("click",".btn-import",f),!0},showRemove:function(a){function b(a){a.find(".name").text(i)}function c(){f.loading(!1),f.destroy()}function d(a,b,c){var d={};f.loading(!1),f.destroy(),d.message=a.message,d.parent="#widgets-right",d.insert_after="#cs-title-options",d.id="editor",b?(csSidebars.right.find("#"+h).closest(".widgets-holder-wrap").remove(),csSidebars.remove(h),"delete"===a.action&&window.csSidebars.showGetStartedBox()):d.type="err",wpmUi.message(d)}function e(){f.loading(!0),g.reset().data({do:"delete",sb:h}).ondone(d).load_json()}var f=null,g=null,h=a.getID(),i=a.name;return f=wpmUi.popup().modal(!0).size(560,160).title(csSidebarsData.title_delete).content(csSidebars.delete_form).onshow(b).show(),g=wpmUi.ajax(null,"cs-ajax"),f.$().on("click",".btn-cancel",c),f.$().on("click",".btn-delete",e),!0},showLocations:function(a){function b(a,b,c){function d(a,b,c){var d=jQuery("<option></option>");d.attr("value",c).text(a.name),b.append(d)}function e(a,b,c,d){var e=d.closest(".cs-replaceable").filter("."+b),f=e.find('option[value="'+c+'"]'),g=e.find("optgroup.used"),h=e.find(".detail-toggle");a===j?(f.prop("selected",!0),!0!==h.prop("checked")&&(h.prop("checked",!0),e.addClass("open"),wpmUi.upgrade_multiselect(e))):(g.length||(g=jQuery('<optgroup class="used">').attr("label",e.data("lbl-used")).appendTo(e.find(".details select"))),f.detach().appendTo(g))}var g,h,i;if(f.loading(!1),!b)return f.destroy(),void csSidebars.showAjaxError(a);f.$().find(".sb-name").text(a.sidebar.name);var j=a.sidebar.id,k=f.$().find(".cs-replaceable");k.hide(),a.replaceable=wpmUi.obj(a.replaceable);for(var l in a.replaceable)a.replaceable.hasOwnProperty(l)&&k.filter("."+a.replaceable[l]).show();var m=f.$().find(".cs-datalist.cs-cat"),n=f.$().find(".cs-datalist.cs-arc-cat"),o=a.categories;n.empty(),m.empty();for(var p in o)d(o[p],n,p),d(o[p],m,p);for(var q in o){if(o[q].single)for(g in o[q].single)e(o[q].single[g],g,q,m);if(o[q].archive)for(g in o[q].archive)e(o[q].archive[g],g,q,n)}var r=f.$().find(".cs-datalist.cs-pt"),s=a.posttypes;r.empty();for(var t in s)h=jQuery("<option></option>"),i=s[t].name,h.attr("value",t).text(i),r.append(h);for(var u in s)if(s[u].single)for(g in s[u].single)e(s[u].single[g],g,u,r);var v=f.$().find(".cs-datalist.cs-arc"),w=a.archives;v.empty();for(var x in w)h=jQuery("<option></option>"),i=w[x].name,h.attr("value",x).text(i),v.append(h);for(var y in w)if(w[y].archive)for(g in w[y].archive)e(w[y].archive[g],g,y,v);var z=f.$().find(".cs-datalist.cs-arc-aut"),A=a.authors;z.empty();for(var B in A)h=jQuery("<option></option>"),i=A[B].name,h.attr("value",B).text(i),z.append(h);for(var C in A)if(A[C].archive)for(g in A[C].archive)e(A[C].archive[g],g,C,z)}function c(a){var b=jQuery(this),c=b.closest(".cs-replaceable"),d=c.find("select");b.prop("checked")?(c.addClass("open"),wpmUi.upgrade_multiselect(c),d.trigger("change.select2")):(c.removeClass("open"),d.val([]))}function d(a,b,c){var d={};f.loading(!1),f.destroy(),d.message=a.message,d.parent="#widgets-right",d.insert_after="#cs-title-options",d.id="editor",b||(d.type="err"),wpmUi.message(d)}function e(){f.loading(!0),g.reset().data(h).ondone(d).load_json()}var f=null,g=null,h=null,i=a.getID();return f=wpmUi.popup().modal(!0).size(782,560).title(csSidebarsData.title_location).content(csSidebars.location_form).show(),f.loading(!0),h=f.$().find(".frm-location"),h.find(".sb-id").val(i),g=wpmUi.ajax(null,"cs-ajax"),g.reset().data({do:"get-location",sb:i}).ondone(b).load_json(),f.$().on("click",".detail-toggle",c),f.$().on("click",".btn-save",e),f.$().on("click",".btn-cancel",f.destroy),!0},setReplaceable:function(a,b,c){function d(a,b,c){a instanceof Object&&"object"==typeof a.replaceable&&(csSidebarsData.replaceable=wpmUi.obj(a.replaceable),f.find(".widgets-sortables").each(function(){var a=!1,b=jQuery(this),c=b.attr("id"),d=csSidebars.find(c);for(var e in csSidebarsData.replaceable)if(csSidebarsData.replaceable.hasOwnProperty(e)&&csSidebarsData.replaceable[e]===c){a=!0;break}csSidebars.setReplaceable(d,a,!1)})),f.find(".cs-toolbar .chk-replaceable").prop("disabled",!1),f.find(".cs-toolbar .btn-replaceable").removeClass("wpmui-loading")}var e,f=csSidebars.right.find(".sidebars-column-2 .widgets-holder-wrap"),g=jQuery(a.sb).closest(".widgets-holder-wrap"),h=g.find(".cs-toolbar .chk-replaceable"),i=g.find(".replace-marker");g.find(".cs-toolbar .btn-replaceable");return void 0===b&&(b=h.prop("checked")),void 0===c&&(c=!0),h.data("active")!==b&&(h.data("active",b),h.prop("checked",b),b?(i.length||jQuery("<div></div>").appendTo(g).attr("data-label",csSidebarsData.lbl_replaceable).addClass("replace-marker"),g.addClass("replaceable")):(i.remove(),g.removeClass("replaceable")),c&&(f.find(".cs-toolbar .chk-replaceable").prop("disabled",!0),f.find(".cs-toolbar .btn-replaceable").addClass("wpmui-loading"),e=wpmUi.ajax(null,"cs-ajax"),e.reset().data({do:"replaceable",state:b,sb:a.getID()}).ondone(d).load_json()),!1)},find:function(a){return csSidebars.sidebars[a]},add:function(a,b){return csSidebars.sidebars[a]=new CsSidebar(a,b),csSidebars.sidebars[a]},remove:function(a){delete csSidebars.sidebars[a]},isCustomSidebar:function(a){return jQuery(a).attr("id").substr(0,csSidebars.sidebar_prefix.length)===csSidebars.sidebar_prefix},addIdToLabel:function(a,b){if(!0!==a.data("label-done")){var c=a.attr("for");a.attr("for",c+b),a.find(".has-label").attr("id",c+b),a.data("label-done",!0)}},getIdFromEditbar:function(a){return a.closest(".widgets-holder-wrap").find(".widgets-sortables:first").attr("id")},showGetStartedBox:function(){if(0===a(".sidebars-column-1 .inner .widgets-holder-wrap").length){var b=wp.template("custom-sidebars-new");a(".sidebars-column-1 .inner").before(b()),a(".custom-sidebars-add-new").on("click",function(){a("button.btn-create-sidebar").click()})}}},jQuery(function(a){a("#csfooter").hide(),a("#widgets-right").length>0&&csSidebars.init(),a(".defaultsContainer").hide(),a("#widgets-right .widgets-sortables").on("sort",function(b,c){a("#widgets-right").top;c.position.top=-a("#widgets-right").css("top")})}),jQuery(document).ready(function(a){window.setTimeout(function(){window.csSidebars.showGetStartedBox()},1e3)})}(jQuery),jQuery.fn.sortElements=function(){var a=[].sort;return function(b,c){c=c||function(){return this};var d=this.map(function(){var a=c.call(this),b=a.parentNode,d=b.insertBefore(document.createTextNode(""),a.nextSibling);return function(){if(b===this)throw new Error("You can't sort elements if any one is a descendant of another.");b.insertBefore(this,d),b.removeChild(d)}});return a.call(this,b).each(function(a){d[a].call(c.call(this))})}}();
|
lang/custom-sidebars.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customsidebars\n"
|
7 |
-
"POT-Creation-Date: 2017-04-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -60,78 +60,78 @@ msgstr ""
|
|
60 |
msgid "Clone"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: inc/class-custom-sidebars-editor.php:
|
64 |
#: inc/class-custom-sidebars-export.php:97
|
65 |
msgid "You do not have permission for this"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: inc/class-custom-sidebars-editor.php:
|
69 |
msgid "Sidebar-name cannot be empty"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: inc/class-custom-sidebars-editor.php:
|
73 |
-
#: inc/class-custom-sidebars-editor.php:
|
74 |
msgid "The sidebar does not exist"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: inc/class-custom-sidebars-editor.php:
|
78 |
msgid "Created new sidebar <strong>%1$s</strong>"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: inc/class-custom-sidebars-editor.php:
|
82 |
msgid "Updated sidebar <strong>%1$s</strong>"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: inc/class-custom-sidebars-editor.php:
|
86 |
-
#: inc/class-custom-sidebars-editor.php:
|
87 |
msgid "The sidebar was not found"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: inc/class-custom-sidebars-editor.php:
|
91 |
msgid "Deleted sidebar <strong>%1$s</strong>"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: inc/class-custom-sidebars-editor.php:
|
95 |
msgid "Front Page"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: inc/class-custom-sidebars-editor.php:
|
99 |
msgid "Search Results"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: inc/class-custom-sidebars-editor.php:
|
103 |
msgid "Not found (404)"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: inc/class-custom-sidebars-editor.php:
|
107 |
msgid "Any Author Archive"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: inc/class-custom-sidebars-editor.php:
|
111 |
msgid "Tag Archives"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: inc/class-custom-sidebars-editor.php:
|
115 |
msgid "Date Archives"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: inc/class-custom-sidebars-editor.php:
|
119 |
msgid "Post Index"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: inc/class-custom-sidebars-editor.php:
|
123 |
msgid "%1$s Archives"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: inc/class-custom-sidebars-editor.php:
|
127 |
msgid "Updated sidebar <strong>%1$s</strong> settings."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: inc/class-custom-sidebars-editor.php:
|
131 |
msgid "Sidebars"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: inc/class-custom-sidebars-editor.php:
|
135 |
#: views/widgets.php:47
|
136 |
msgid "Custom Sidebars"
|
137 |
msgstr ""
|
@@ -228,7 +228,7 @@ msgstr ""
|
|
228 |
#: inc/class-custom-sidebars-visibility.php:343
|
229 |
#: inc/class-custom-sidebars-visibility.php:362
|
230 |
#: inc/class-custom-sidebars-visibility.php:381
|
231 |
-
#: inc/class-custom-sidebars-visibility.php:
|
232 |
msgid "AND"
|
233 |
msgstr ""
|
234 |
|
@@ -273,22 +273,22 @@ msgstr ""
|
|
273 |
msgid "Only these %s:"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: inc/class-custom-sidebars.php:
|
277 |
msgid ""
|
278 |
"<strong>Accessibility mode is not supported by the\n"
|
279 |
"\t\t\t\t\t\t%1$s plugin.</strong><br /><a href=\"%2$s\">Click here</a>\n"
|
280 |
"\t\t\t\t\t\tto disable accessibility mode and use the %1$s plugin!"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: inc/class-custom-sidebars.php:
|
284 |
msgid "Widgets"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: inc/class-custom-sidebars.php:
|
288 |
msgid "Support"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: inc/class-custom-sidebars.php:
|
292 |
msgid "Create a custom sidebar to get started."
|
293 |
msgstr ""
|
294 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customsidebars\n"
|
7 |
+
"POT-Creation-Date: 2017-04-24 15:18:13+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
60 |
msgid "Clone"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: inc/class-custom-sidebars-editor.php:121
|
64 |
#: inc/class-custom-sidebars-export.php:97
|
65 |
msgid "You do not have permission for this"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: inc/class-custom-sidebars-editor.php:196
|
69 |
msgid "Sidebar-name cannot be empty"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: inc/class-custom-sidebars-editor.php:220
|
73 |
+
#: inc/class-custom-sidebars-editor.php:303
|
74 |
msgid "The sidebar does not exist"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: inc/class-custom-sidebars-editor.php:251
|
78 |
msgid "Created new sidebar <strong>%1$s</strong>"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: inc/class-custom-sidebars-editor.php:259
|
82 |
msgid "Updated sidebar <strong>%1$s</strong>"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: inc/class-custom-sidebars-editor.php:270
|
86 |
+
#: inc/class-custom-sidebars-editor.php:323
|
87 |
msgid "The sidebar was not found"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: inc/class-custom-sidebars-editor.php:312
|
91 |
msgid "Deleted sidebar <strong>%1$s</strong>"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: inc/class-custom-sidebars-editor.php:381
|
95 |
msgid "Front Page"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: inc/class-custom-sidebars-editor.php:382
|
99 |
msgid "Search Results"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: inc/class-custom-sidebars-editor.php:383
|
103 |
msgid "Not found (404)"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: inc/class-custom-sidebars-editor.php:384
|
107 |
msgid "Any Author Archive"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: inc/class-custom-sidebars-editor.php:385
|
111 |
msgid "Tag Archives"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: inc/class-custom-sidebars-editor.php:386
|
115 |
msgid "Date Archives"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: inc/class-custom-sidebars-editor.php:427
|
119 |
msgid "Post Index"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: inc/class-custom-sidebars-editor.php:431
|
123 |
msgid "%1$s Archives"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: inc/class-custom-sidebars-editor.php:608
|
127 |
msgid "Updated sidebar <strong>%1$s</strong> settings."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: inc/class-custom-sidebars-editor.php:644 views/widgets.php:17
|
131 |
msgid "Sidebars"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: inc/class-custom-sidebars-editor.php:896 views/import.php:123
|
135 |
#: views/widgets.php:47
|
136 |
msgid "Custom Sidebars"
|
137 |
msgstr ""
|
228 |
#: inc/class-custom-sidebars-visibility.php:343
|
229 |
#: inc/class-custom-sidebars-visibility.php:362
|
230 |
#: inc/class-custom-sidebars-visibility.php:381
|
231 |
+
#: inc/class-custom-sidebars-visibility.php:465
|
232 |
msgid "AND"
|
233 |
msgstr ""
|
234 |
|
273 |
msgid "Only these %s:"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: inc/class-custom-sidebars.php:131
|
277 |
msgid ""
|
278 |
"<strong>Accessibility mode is not supported by the\n"
|
279 |
"\t\t\t\t\t\t%1$s plugin.</strong><br /><a href=\"%2$s\">Click here</a>\n"
|
280 |
"\t\t\t\t\t\tto disable accessibility mode and use the %1$s plugin!"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: inc/class-custom-sidebars.php:919 views/import.php:140
|
284 |
msgid "Widgets"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: inc/class-custom-sidebars.php:929
|
288 |
msgid "Support"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: inc/class-custom-sidebars.php:946
|
292 |
msgid "Create a custom sidebar to get started."
|
293 |
msgstr ""
|
294 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
|
3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to: 4.7.
|
6 |
-
Stable tag: 3.0.
|
7 |
|
8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
9 |
|
@@ -120,6 +120,14 @@ If you are running a earlier version of WordPress download Custom Sidebars 0.8.2
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
= 3.0.4 =
|
124 |
* Improved "Create a custom sidebar to get started." box.
|
125 |
* Upgraded "WPMU Dev code library" to version 3.0.3.
|
2 |
Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
|
3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 4.7.4
|
6 |
+
Stable tag: 3.0.5
|
7 |
|
8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
9 |
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 3.0.5 =
|
124 |
+
* Improved columns display on post list screen - now "Custom Sidebars" column is hidden by default.
|
125 |
+
* Prevent to load assets on front-end.
|
126 |
+
* Updated "WPMU Dev code library" to version 3.0.4.
|
127 |
+
* Fixed a CSS glitch on media library.
|
128 |
+
* Fixed a JavaScript conflicting with CiviCRM plugin.
|
129 |
+
* Fixed a problem with taxonomies.
|
130 |
+
|
131 |
= 3.0.4 =
|
132 |
* Improved "Create a custom sidebar to get started." box.
|
133 |
* Upgraded "WPMU Dev code library" to version 3.0.3.
|