WordPress.org

Plugin Directory

Changeset 1606600


Ignore:
Timestamp:
03/02/17 14:41:29 (5 months ago)
Author:
TemplateMonster 2002
Message:

UPD: version bump to 1.1.3

Location:
cherry-real-estate/trunk
Files:
69 edited

Legend:

Unmodified
Added
Removed
  • cherry-real-estate/trunk/cherry-framework/cherry-core.php

    r1575518 r1606600  
    22/** 
    33 * Class Cherry Core 
    4  * Version: 1.4.0 
     4 * Version: 1.4.2 
    55 * 
    66 * @package    Cherry_Framework 
  • cherry-real-estate/trunk/cherry-framework/config.json

    r1575518 r1606600  
    11{ 
    22    "name" : "Cherry Framework", 
    3     "version" : "1.4.0", 
     3    "version" : "1.4.2", 
    44    "description" : "", 
    55    "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs", 
     
    99            "name" : "Breadcrumb Trail", 
    1010            "description" : "A breadcrumb menu script for WordPress.", 
    11             "version" : "1.1.2", 
     11            "version" : "1.1.3", 
    1212            "doc_link" : "", 
    1313            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-breadcrumbs", 
     
    2020            "name" : "Customizer API", 
    2121            "description" : "Customizer functionality.", 
    22             "version" : "1.1.5", 
     22            "version" : "1.1.7", 
    2323            "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/01.%20cherry-customizer.md", 
    2424            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-customizer", 
     
    4242            "name" : "Dynamic CSS", 
    4343            "description" : "Generate CSS.", 
    44             "version" : "1.2.2", 
     44            "version" : "1.4.0", 
    4545            "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/03.%20cherry-dynamic-css.md", 
    4646            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-dynamic-css", 
     
    6464            "name" : "Cherry handler", 
    6565            "description" : "Initialize handlers.", 
    66             "version" : "1.1.1", 
     66            "version" : "1.1.2", 
    6767            "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/02.%20cherry-handler.md", 
    6868            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-handler", 
     
    119119            "name" : "Template Manager", 
    120120            "description" : "Module for load and parse *.tmpl files.", 
    121             "version" : "1.0.1", 
     121            "version" : "1.0.2", 
    122122            "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/05.%20cherry-template-manager.md", 
    123123            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-template-manager", 
     
    152152            "name" : "UI Elements", 
    153153            "description" : "UI Elements", 
    154             "version" : "1.3.4", 
     154            "version" : "1.4.1", 
    155155            "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/09.%20cherry-ui-elements.md", 
    156156            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-ui-elements", 
     
    163163            "name" : "Utility", 
    164164            "description" : "Multiple utility functions.", 
    165             "version" : "1.1.5", 
     165            "version" : "1.1.6", 
    166166            "doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/08.%20cherry-utility.md", 
    167167            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-utility", 
     
    185185            "name" : "Insert Shortcode", 
    186186            "description" : "The module allows you to add shortcodes from editor tinyMCE.", 
    187             "version" : "1.0.0", 
     187            "version" : "1.0.1", 
    188188            "doc_link" : "", 
    189189            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry5-insert-shortcode", 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.scss

    r1575518 r1606600  
    7979        } 
    8080        &:focus{ 
    81             outline: 1px solid $link-hover-color; 
     81            outline: 1px solid rgba(41, 143, 252, .6); 
     82            box-shadow: 0px 0px 2px rgba(41,143,252,0.6); 
    8283        } 
    8384    } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.css

    r1575518 r1606600  
    1 .cherry-ui-kit button *{pointer-events:none}.cherry-component__content .cherry-settings__content{display:none}.cherry-component__content .cherry-settings__content.show{display:inherit}html{font-size:13px}.cherry-ui-kit h1{font-weight:700;font-size:2.308rem;line-height:2.308rem}.cherry-ui-kit h1 .dashicons{font-size:3rem;line-height:inherit;width:20px;margin:0 20px 0 -5px}.cherry-ui-kit h2{font-weight:600;font-size:1.538rem;line-height:1.538rem}.cherry-ui-kit h2 .dashicons{font-size:2rem;line-height:inherit;width:20px;margin-right:20px}.cherry-ui-kit h3{font-weight:600;font-size:1.231rem;line-height:1.231rem}.cherry-ui-kit h3 .dashicons{font-size:1.7rem;line-height:inherit;margin-right:5px}.cherry-ui-kit h4{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h5{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h6{font-weight:400;font-size:1rem;line-height:1rem}.cherry-ui-kit a{color:#298ffc;text-decoration:none}.cherry-ui-kit a:hover{color:#23282d}.cherry-ui-kit a:focus{outline:1px solid #23282d}.cherry-ui-kit__description{font-size:0.9rem;color:#96989a;margin:10px 0}.cherry-ui-kit__title{margin:20px 0}.cherry-ui-kit.hide{display:none}.cherry-control+.cherry-control,.cherry-settings+.cherry-control{border-top:1px solid rgba(0,0,0,0.1)}.cherry-section{padding:10px;background-color:#fff;margin-left:-10px}.cherry-section__title,.cherry-section__description{margin:10px 0 0 0}.cherry-section+.cherry-ui-kit{border-top:1px solid rgba(0,0,0,0.1)}@media (min-width: 783px){.cherry-section{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);padding:15px;margin:15px 15px 0 0}.cherry-section__holder{background-color:#efefef;border-radius:5px;padding:15px}.cherry-section__info{background-color:#fff;border-radius:5px;padding:15px;box-shadow:0px 5px 21px rgba(0,0,0,0.1);margin-bottom:15px}.cherry-section .cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff;margin-top:15px}.cherry-section .cherry-settings:first-child{margin-top:0}}@media (min-width: 961px){.cherry-section{padding:30px;margin:20px 20px 0 0}.cherry-section__info{padding:30px;margin-bottom:30px}.cherry-section__holder{padding:30px}.cherry-section .cherry-settings{margin-top:30px}}.cherry-component{padding:20px 0}@media (min-width: 783px){.cherry-component{padding:15px}}@media (min-width: 961px){.cherry-component{padding:30px}}.cherry-component+*{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component__title{margin-top:0}.cherry-component .cherry-component__content .cherry-settings{padding:0;border-top:none}.cherry-component__button{display:block;min-height:45px;-webkit-transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19)}.cherry-component__button .cherry-ui-kit__title{color:inherit}.cherry-component__button.active,.cherry-component__button:hover{color:#298ffc;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component__button:focus{outline:none;box-shadow:inset 0px 0px 10px rgba(41,143,252,0.5);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button,.cherry-component.cherry-toggle .cherry-component__button{width:100%;padding:15px 20px;border:0;background:none;cursor:pointer;position:relative}.cherry-component.cherry-accordion .cherry-component__button .cherry-toggle__title,.cherry-component.cherry-toggle .cherry-component__button .cherry-toggle__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"],.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"]{position:absolute;top:50%;right:5px;margin-top:-10px;font-size:25px;color:#b4b7ba;padding:5px 5px;width:10px;height:9px;text-align:left;overflow:hidden}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].hide-icon,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].hide-icon{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].hide-icon:before,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].hide-icon:before{position:relative;top:-8px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].show-icon,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].show-icon{-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].show-icon:before,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].show-icon:before{position:relative;top:-7px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button.active>span[class*="icon"].show-icon,.cherry-component.cherry-toggle .cherry-component__button.active>span[class*="icon"].show-icon{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button.active>span[class*="icon"].hide-icon,.cherry-component.cherry-toggle .cherry-component__button.active>span[class*="icon"].hide-icon{-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button+.cherry-settings__content,.cherry-component.cherry-toggle .cherry-component__button+.cherry-settings__content{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings+.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings+.cherry-settings{margin-top:10px}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start;border-bottom:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-box-flex:0;-ms-flex:0 1 100%;flex:0 1 100%;-ms-flex-item-align:auto;-ms-grid-row-align:auto;align-self:auto;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button.active{-ms-box-shadow:inset 0px -3px 0px 0px #298ffc;box-shadow:inset 0px -3px 0px 0px #298ffc}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button .cherry-tab__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__body{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff}.cherry-component.cherry-tab .cherry-tab__body .cherry-settings{box-shadow:none;border-radius:0;border:none;background-color:inherit;margin:0}@media (min-width: 783px){.cherry-component.cherry-tab .cherry-tab__tabs{border:solid 1px rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:none}.cherry-component.cherry-tab .cherry-tab__body{border:none}.cherry-component.cherry-tab .cherry-tab__body .cherry-tab__content{border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab--horizontal>.cherry-tab__body{border-radius:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;border-radius:5px 5px 0 0;border-bottom:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__content{border-radius:0 0 5px 5px}.cherry-component.cherry-tab--vertical>.cherry-tab__body{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:0;-ms-flex:0 1 25%;flex:0 1 25%;border-radius:5px 0 0 5px;border-right:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{text-align:right}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button .cherry-tab__title{width:100%}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button.active{box-shadow:inset -3px 0px 0px #298ffc}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__content{-webkit-box-flex:0;-ms-flex:0 1 75%;flex:0 1 75%;border-radius:0 5px 5px 0}}@media (min-width: 1200px){.cherry-component.cherry-tab--vertical .cherry-tab__tabs{-webkit-box-flex:0;-ms-flex:0 1 20%;flex:0 1 20%}.cherry-component.cherry-tab--vertical .cherry-tab__content{-webkit-box-flex:0;-ms-flex:0 1 80%;flex:0 1 80%}}.cherry-settings+.cherry-settings{border-top:1px solid rgba(0,0,0,0.1)}.cherry-settings .cherry-settings__title{margin-bottom:10px}.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:10px}@media (min-width: 783px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:15px}}@media (min-width: 961px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:30px}}.cherry-control{padding:15px 20px}.cherry-control__title{margin:0 0 10px 0}.cherry-control__description{margin-top:0}.cherry-control .cherry-ui-container{margin:0}@media (min-width: 783px){.cherry-control{padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.cherry-control__info{-webkit-box-flex:0;-ms-flex:0 1 30%;flex:0 1 30%;padding-right:15px}.cherry-control__content{-webkit-box-flex:0;-ms-flex:0 1 70%;flex:0 1 70%}}@media (min-width: 961px){.cherry-control{padding:30px}}@media (min-width: 783px){.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner,.cherry-tab__content>.cherry-scroll,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content{max-height:700px;overflow-y:auto;position:relative}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar{width:10px;height:10px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-button,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-button,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button{width:0px;height:0px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb{background-color:#298ffc;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:hover,.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:active,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:hover,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:active,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active{background:#206ff4}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-track,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-track,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track{background-color:#fff;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-corner,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-corner,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner{background:transparent}} 
     1.cherry-ui-kit button *{pointer-events:none}.cherry-component__content .cherry-settings__content{display:none}.cherry-component__content .cherry-settings__content.show{display:inherit}html{font-size:13px}.cherry-ui-kit h1{font-weight:700;font-size:2.308rem;line-height:2.308rem}.cherry-ui-kit h1 .dashicons{font-size:3rem;line-height:inherit;width:20px;margin:0 20px 0 -5px}.cherry-ui-kit h2{font-weight:600;font-size:1.538rem;line-height:1.538rem}.cherry-ui-kit h2 .dashicons{font-size:2rem;line-height:inherit;width:20px;margin-right:20px}.cherry-ui-kit h3{font-weight:600;font-size:1.231rem;line-height:1.231rem}.cherry-ui-kit h3 .dashicons{font-size:1.7rem;line-height:inherit;margin-right:5px}.cherry-ui-kit h4{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h5{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h6{font-weight:400;font-size:1rem;line-height:1rem}.cherry-ui-kit a{color:#298ffc;text-decoration:none}.cherry-ui-kit a:hover{color:#23282d}.cherry-ui-kit a:focus{outline:1px solid rgba(41,143,252,0.6);box-shadow:0px 0px 2px rgba(41,143,252,0.6)}.cherry-ui-kit__description{font-size:0.9rem;color:#96989a;margin:10px 0}.cherry-ui-kit__title{margin:20px 0}.cherry-ui-kit.hide{display:none}.cherry-control+.cherry-control,.cherry-settings+.cherry-control{border-top:1px solid rgba(0,0,0,0.1)}.cherry-section{padding:10px;background-color:#fff;margin-left:-10px}.cherry-section__title,.cherry-section__description{margin:10px 0 0 0}.cherry-section+.cherry-ui-kit{border-top:1px solid rgba(0,0,0,0.1)}@media (min-width: 783px){.cherry-section{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);padding:15px;margin:15px 15px 0 0}.cherry-section__holder{background-color:#efefef;border-radius:5px;padding:15px}.cherry-section__info{background-color:#fff;border-radius:5px;padding:15px;box-shadow:0px 5px 21px rgba(0,0,0,0.1);margin-bottom:15px}.cherry-section .cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff;margin-top:15px}.cherry-section .cherry-settings:first-child{margin-top:0}}@media (min-width: 961px){.cherry-section{padding:30px;margin:20px 20px 0 0}.cherry-section__info{padding:30px;margin-bottom:30px}.cherry-section__holder{padding:30px}.cherry-section .cherry-settings{margin-top:30px}}.cherry-component{padding:20px 0}@media (min-width: 783px){.cherry-component{padding:15px}}@media (min-width: 961px){.cherry-component{padding:30px}}.cherry-component+*{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component__title{margin-top:0}.cherry-component .cherry-component__content .cherry-settings{padding:0;border-top:none}.cherry-component__button{display:block;min-height:45px;-webkit-transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19)}.cherry-component__button .cherry-ui-kit__title{color:inherit}.cherry-component__button.active,.cherry-component__button:hover{color:#298ffc;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component__button:focus{outline:none;box-shadow:inset 0px 0px 10px rgba(41,143,252,0.5);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button,.cherry-component.cherry-toggle .cherry-component__button{width:100%;padding:15px 20px;border:0;background:none;cursor:pointer;position:relative}.cherry-component.cherry-accordion .cherry-component__button .cherry-toggle__title,.cherry-component.cherry-toggle .cherry-component__button .cherry-toggle__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"],.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"]{position:absolute;top:50%;right:5px;margin-top:-10px;font-size:25px;color:#b4b7ba;padding:5px 5px;width:10px;height:9px;text-align:left;overflow:hidden}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].hide-icon,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].hide-icon{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].hide-icon:before,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].hide-icon:before{position:relative;top:-8px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].show-icon,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].show-icon{-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button>span[class*="icon"].show-icon:before,.cherry-component.cherry-toggle .cherry-component__button>span[class*="icon"].show-icon:before{position:relative;top:-7px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button.active>span[class*="icon"].show-icon,.cherry-component.cherry-toggle .cherry-component__button.active>span[class*="icon"].show-icon{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button.active>span[class*="icon"].hide-icon,.cherry-component.cherry-toggle .cherry-component__button.active>span[class*="icon"].hide-icon{-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button+.cherry-settings__content,.cherry-component.cherry-toggle .cherry-component__button+.cherry-settings__content{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings+.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings+.cherry-settings{margin-top:10px}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start;border-bottom:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-box-flex:0;-ms-flex:0 1 100%;flex:0 1 100%;-ms-flex-item-align:auto;-ms-grid-row-align:auto;align-self:auto;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button.active{-ms-box-shadow:inset 0px -3px 0px 0px #298ffc;box-shadow:inset 0px -3px 0px 0px #298ffc}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button .cherry-tab__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__body{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff}.cherry-component.cherry-tab .cherry-tab__body .cherry-settings{box-shadow:none;border-radius:0;border:none;background-color:inherit;margin:0}@media (min-width: 783px){.cherry-component.cherry-tab .cherry-tab__tabs{border:solid 1px rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:none}.cherry-component.cherry-tab .cherry-tab__body{border:none}.cherry-component.cherry-tab .cherry-tab__body .cherry-tab__content{border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab--horizontal>.cherry-tab__body{border-radius:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;border-radius:5px 5px 0 0;border-bottom:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__content{border-radius:0 0 5px 5px}.cherry-component.cherry-tab--vertical>.cherry-tab__body{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:0;-ms-flex:0 1 25%;flex:0 1 25%;border-radius:5px 0 0 5px;border-right:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{text-align:right}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button .cherry-tab__title{width:100%}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button.active{box-shadow:inset -3px 0px 0px #298ffc}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__content{-webkit-box-flex:0;-ms-flex:0 1 75%;flex:0 1 75%;border-radius:0 5px 5px 0}}@media (min-width: 1200px){.cherry-component.cherry-tab--vertical .cherry-tab__tabs{-webkit-box-flex:0;-ms-flex:0 1 20%;flex:0 1 20%}.cherry-component.cherry-tab--vertical .cherry-tab__content{-webkit-box-flex:0;-ms-flex:0 1 80%;flex:0 1 80%}}.cherry-settings+.cherry-settings{border-top:1px solid rgba(0,0,0,0.1)}.cherry-settings .cherry-settings__title{margin-bottom:10px}.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:10px}@media (min-width: 783px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:15px}}@media (min-width: 961px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:30px}}.cherry-control{padding:15px 20px}.cherry-control__title{margin:0 0 10px 0}.cherry-control__description{margin-top:0}.cherry-control .cherry-ui-container{margin:0}@media (min-width: 783px){.cherry-control{padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.cherry-control__info{-webkit-box-flex:0;-ms-flex:0 1 30%;flex:0 1 30%;padding-right:15px}.cherry-control__content{-webkit-box-flex:0;-ms-flex:0 1 70%;flex:0 1 70%}}@media (min-width: 961px){.cherry-control{padding:30px}}@media (min-width: 783px){.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner,.cherry-tab__content>.cherry-scroll,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content{max-height:700px;overflow-y:auto;position:relative}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar{width:10px;height:10px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-button,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-button,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button{width:0px;height:0px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb{background-color:#298ffc;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:hover,.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:active,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:hover,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:active,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active{background:#206ff4}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-track,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-track,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track{background-color:#fff;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-corner,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-corner,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner{background:transparent}} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-page-builder/cherry-page-builder.php

    r1555518 r1606600  
    114114            ); 
    115115 
    116             $this->views = __DIR__ . '/views/'; 
     116            $this->views = dirname( __FILE__ ) . '/views/'; 
    117117            add_action( 'admin_enqueue_scripts', array( $this, 'assets' ) ); 
    118118        } 
     
    344344 
    345345            if ( isset( $value[ $setting['slug'] ] ) ) { 
    346                 $setting['field']['value'] = $value[ $setting['slug'] ]; 
     346 
     347                $_value = $value[ $setting['slug'] ]; 
     348                $setting['field']['value'] = $_value; 
     349                $setting['field']['value'] = ( 'page' == $setting['slug'] ) ? apply_filters( 'wpml_object_id', $_value, 'page', true ) : $_value; 
     350 
    347351            } else { 
    348352                $setting['field']['value'] = ''; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php

    r1575518 r1606600  
    33 * Module Name: UI Elements 
    44 * Description: Class for the building ui elements 
    5  * Version: 1.3.4 
     5 * Version: 1.4.1 
    66 * Author: Cherry Team 
    77 * Author URI: http://www.cherryframework.com/ 
     
    1111 * @package    Cherry_Framework 
    1212 * @subpackage Modules 
    13  * @version    1.3.4 
     13 * @version    1.4.1 
    1414 * @author     Cherry Team <cherryframework@gmail.com> 
    1515 * @copyright  Copyright (c) 2012 - 2016, Cherry Team 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/min/ui-button.min.css

    r1519310 r1606600  
    1 .ui-button{padding:16px 30px;display:inline-block;background-color:#96989a;font-weight:900;text-transform:uppercase;color:#fff;box-shadow:0px 0px 13px rgba(0,0,0,0.2);cursor:pointer;border-radius:4px;border:none;-webkit-transition:background 300ms ease-in-out;transition:background 300ms ease-in-out}.ui-button:hover{background-color:#b4b7ba}.ui-button:focus{outline:none}.ui-button.ui-button-normal-style{background-color:#495159}.ui-button.ui-button-normal-style:hover{background-color:#393f45}.ui-button.ui-button-success-style{background-color:#48c569}.ui-button.ui-button-success-style:hover{background-color:#3ba956}.ui-button.ui-button-primary-style{background-color:#298ffc}.ui-button.ui-button-primary-style:hover{background-color:#206ff4}.ui-button.ui-button-danger-style{background-color:#e54343}.ui-button.ui-button-danger-style:hover{background-color:#c73434}.ui-button.ui-button-warning-style{background-color:#faa730}.ui-button.ui-button-warning-style:hover{background-color:#ee8425} 
     1.cherry5-ui-button{position:relative;display:inline-block;font-size:12px;line-height:18px;font-weight:900;letter-spacing:0.5px;text-decoration:none;padding:15px 20px;color:#23282d;text-transform:uppercase;border-radius:4px;border-width:1px;border-style:solid;outline:none;cursor:pointer;transition:all 200ms linear}.cherry5-ui-button:before{position:absolute;display:block;width:100%;height:100%;top:0;left:0;border-radius:4px;background-image:linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);content:''}.cherry5-ui-button:hover:before{background-image:linear-gradient(0deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%)}.cherry5-ui-button:active:before{opacity:0}.cherry5-ui-button.cherry5-ui-button-normal-style{color:#23282d;border-color:#d7d7d7 #b7b7b7 #b7b7b7 #d7d7d7;background-color:#f0f0f0}.cherry5-ui-button.cherry5-ui-button-normal-style:active{background-color:#e1e1e1;border-color:#9e9e9e #d7d7d7 #d7d7d7 #9e9e9e}.cherry5-ui-button.cherry5-ui-button-success-style{color:#fff;border-color:#49c56a #3a9e54 #3a9e54 #49c56a;background-color:#49c66a}.cherry5-ui-button.cherry5-ui-button-success-style:active{background-color:#3ba956;border-color:#2c7940 #49c56a #49c56a #2c7940}.cherry5-ui-button.cherry5-ui-button-primary-style{color:#fff;border-color:#5b9add #3e6a99 #3e6a99 #5b9add;background-color:#2a90fc}.cherry5-ui-button.cherry5-ui-button-primary-style:active{background-color:#206ff4;border-color:#2f5175 #5b9add #5b9add #2f5175}.cherry5-ui-button.cherry5-ui-button-secondary-style{color:#fff;border-color:#777879 #41464d #41464d #777879;background-color:#495159}.cherry5-ui-button.cherry5-ui-button-secondary-style:active{background-color:#495159;border-color:#2a2d31 #777879 #777879 #2a2d31}.cherry5-ui-button.cherry5-ui-button-danger-style{color:#fff;border-color:#e54444 #b83636 #b83636 #e54444;background-color:#e64545}.cherry5-ui-button.cherry5-ui-button-danger-style:active{background-color:#c73434;border-color:#912a2a #e54444 #e54444 #912a2a}.cherry5-ui-button.cherry5-ui-button-warning-style{color:#fff;border-color:#faa832 #c98627 #c98627 #faa832;background-color:#faa832}.cherry5-ui-button.cherry5-ui-button-warning-style:active{background-color:#ee8425;border-color:#9e6a1f #faa832 #faa832 #9e6a1f} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-button.scss

    r1519310 r1606600  
    22@import "ui-kit/mixins"; 
    33 
    4 .ui-button{ 
    5     padding: 16px 30px; 
    6     display: inline-block; 
    7     background-color: $grey_color_1; 
    8     font-weight: 900; 
    9     text-transform: uppercase; 
    10     color: #fff; 
    11     box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.2); 
    12     cursor: pointer; 
    13     border-radius: 4px; 
    14     border: none; 
    15     transition: background 300ms ease-in-out; 
    16         &:hover{ 
    17             background-color: $grey_color_4; 
     4.cherry5-ui-button{ 
     5    @include button_base(); 
     6 
     7    &.cherry5-ui-button-normal-style { 
     8        color: $dark_color; 
     9        border-color: $normal_outset_1 $normal_outset_2 $normal_outset_2 $normal_outset_1; 
     10        background-color: $normal_gradint_2; 
     11        &:active { 
     12            background-color: $normal_bg_color; 
     13            border-color: darken( $normal_outset_2, 10%) $normal_outset_1 $normal_outset_1 darken( $normal_outset_2, 10%); 
    1814        } 
    19         &:focus{ 
    20             outline: none; 
     15    } 
     16 
     17    &.cherry5-ui-button-success-style { 
     18        color: $light_color; 
     19        border-color: $success_outset_1 $success_outset_2 $success_outset_2 $success_outset_1; 
     20        background-color: $success_gradint_2; 
     21        &:active { 
     22            background-color: $success_bg_color; 
     23            border-color: darken( $success_outset_2, 10%) $success_outset_1 $success_outset_1 darken( $success_outset_2, 10%); 
    2124        } 
    22         &.ui-button-normal-style{ 
    23             background-color: $normal_color; 
    24             &:hover{ 
    25                 background-color: $normal_color_h; 
    26             } 
     25    } 
     26 
     27    &.cherry5-ui-button-primary-style { 
     28        color: $light_color; 
     29        border-color: $primary_outset_1 $primary_outset_2 $primary_outset_2 $primary_outset_1; 
     30        background-color: $primary_gradint_2; 
     31        &:active { 
     32            background-color: $primary_bg_color; 
     33            border-color: darken( $primary_outset_2, 10%) $primary_outset_1 $primary_outset_1 darken( $primary_outset_2, 10%); 
    2734        } 
    28         &.ui-button-success-style{ 
    29             background-color: $green_color; 
    30             &:hover{ 
    31                 background-color: $green_color_h; 
    32             } 
     35    } 
     36 
     37    &.cherry5-ui-button-secondary-style { 
     38        color: $light_color; 
     39        border-color: $secondary_outset_1 $secondary_outset_2 $secondary_outset_2 $secondary_outset_1; 
     40        background-color: $secondary_gradint_2; 
     41        &:active { 
     42            background-color: $secondary_bg_color; 
     43            border-color: darken( $secondary_outset_2, 10%) $secondary_outset_1 $secondary_outset_1 darken( $secondary_outset_2, 10%); 
    3344        } 
    34         &.ui-button-primary-style{ 
    35             background-color: $blue_color; 
    36             &:hover{ 
    37                 background-color: $blue_color_h; 
    38             } 
     45    } 
     46 
     47    &.cherry5-ui-button-danger-style{ 
     48        color: $light_color; 
     49        border-color: $danger_outset_1 $danger_outset_2 $danger_outset_2 $danger_outset_1; 
     50        background-color: $danger_gradint_2; 
     51        &:active { 
     52            background-color: $danger_bg_color; 
     53            border-color: darken( $danger_outset_2, 10%) $danger_outset_1 $danger_outset_1 darken( $danger_outset_2, 10%); 
    3954        } 
    40         &.ui-button-danger-style{ 
    41             background-color: $red_color; 
    42             &:hover{ 
    43                 background-color: $red_color_h; 
    44             } 
     55    } 
     56 
     57    &.cherry5-ui-button-warning-style{ 
     58        color: $light_color; 
     59        border-color: $warning_outset_1 $warning_outset_2 $warning_outset_2 $warning_outset_1; 
     60        background-color: $warning_gradint_2; 
     61        &:active { 
     62            background-color: $warning_bg_color; 
     63            border-color: darken( $warning_outset_2, 10%) $warning_outset_1 $warning_outset_1 darken( $warning_outset_2, 10%); 
    4564        } 
    46         &.ui-button-warning-style{ 
    47             background-color: $orange_color; 
    48             &:hover{ 
    49                 background-color: $orange_color_h; 
    50             } 
    51         } 
     65    } 
    5266} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_mixins.scss

    r1519310 r1606600  
    11@mixin button_base() { 
     2    position: relative; 
    23    display: inline-block; 
     4    font-size: 12px; 
     5    line-height: 18px; 
     6    font-weight: 900; 
     7    letter-spacing: 0.5px; 
    38    text-decoration: none; 
    4     font-size: 12px; 
    5     line-height: 20px; 
    6     font-weight: bold; 
    79    padding: 15px 20px; 
    8     color: #fff; 
     10    color: $dark_color; 
    911    text-transform: uppercase; 
    1012    border-radius: $border_radius_small; 
     13    border-width: 1px; 
     14    border-style: solid; 
     15    outline: none; 
     16    cursor: pointer; 
    1117    transition: all 200ms linear; 
    12     box-shadow: $box_shadow; 
    13     &:hover { 
    14         color: #fff; 
    15         box-shadow: none; 
     18 
     19    &:before { 
     20        position: absolute; 
     21        display: block; 
     22        width: 100%; 
     23        height: 100%; 
     24        top: 0; 
     25        left: 0; 
     26        border-radius: $border_radius_small; 
     27        background-image: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%); 
     28        content: ''; 
    1629    } 
    17     &:focus, 
    18     &:active { 
    19         outline: none; 
    20         box-shadow: none; 
    21         color: #fff; 
    22     } 
    23 } 
    2430 
    25 @mixin button_normal() { 
    26     background: $dark_color_2; 
    27     &:hover { 
    28         background: $dark_color_2_h; 
    29     } 
    30 } 
    31  
    32 @mixin button_primary() { 
    33     background: $blue_color; 
    34     &:hover { 
    35         background: $blue_color_h; 
    36     } 
    37 } 
    38  
    39 @mixin button_success() { 
    40     background: $green_color; 
    41     &:hover { 
    42         background: $green_color_h; 
    43     } 
    44 } 
    45  
    46 @mixin button_danger() { 
    47     background: $red_color; 
    48     &:hover { 
    49         background: $red_color_h; 
    50     } 
    51 } 
    52  
    53 @mixin button_warning() { 
    54     background: $orange_color; 
    55     &:hover { 
    56         background: $orange_color_h; 
    57     } 
    58 } 
    59  
    60 @mixin input() { 
    61     font-size: 14px; 
    62     line-height: 20px; 
    63     color: $dark_color_1; 
    64     background-color: $grey_color_3; 
    65     border-radius: $border_radius_extra_small; 
    66     padding: 10px 20px; 
    67     min-height: 50px; 
    68     border: 1px solid $grey_color_3; 
    69     box-shadow: none; 
    70         &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
    73         } 
    74 } 
    75  
    76 @mixin button_icon( $icon ) { 
    77     content: $icon; 
    78     display: inline-block; 
    79     font-family: dashicons; 
    80     font-size: 16px; 
    81     font-style: normal; 
    82     font-weight: 400; 
    83     height: 18px; 
    84     line-height: 18px; 
    85     text-align: center; 
    86     text-decoration: inherit; 
    87     transition: all 200ms linear; 
    88     vertical-align: middle; 
    89 } 
    90  
    91 @mixin button_icon_before( $icon ) { 
    92     &:before { 
    93         @include button_icon( $icon ); 
    94         padding: 0 5px 0 0; 
    95     } 
    96 } 
    97  
    98 @mixin button_icon_after( $icon ) { 
    99     &:after { 
    100         @include button_icon( $icon ); 
    101         padding: 0 0 0 5px; 
    102     } 
    103 } 
    104  
    105 @mixin button_icon_middle( $icon ) { 
    106     &:before { 
    107         @include button_icon( $icon ); 
    108         margin: 0 -5px; 
    109     } 
    110 } 
    111  
    112 @mixin link() { 
    113     display: inline-block; 
    114     text-decoration: none; 
    115     font-size: 12px; 
    116     line-height: 20px; 
    117     font-weight: bold; 
    118     color: $blue_color; 
    119     text-transform: uppercase; 
    120     transition: all 200ms linear; 
    121     &:hover { 
    122         color: $dark_color_1; 
    123         box-shadow: none; 
    124     } 
    125     &:focus, 
    126     &:active { 
    127         outline: none; 
    128         box-shadow: none; 
    129         color: $blue_color; 
    130     } 
    131 } 
    132  
    133 @mixin link_icon_before( $icon ) { 
    134     &:before { 
    135         @include button_icon( $icon ); 
    136         padding: 0 5px 0 0; 
    137         color: $grey_color_4; 
    138     } 
    13931    &:hover { 
    14032        &:before { 
    141             color: $blue_color; 
     33            background-image: linear-gradient(0deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%); 
     34        } 
     35    } 
     36 
     37    &:active { 
     38        &:before { 
     39            opacity: 0; 
    14240        } 
    14341    } 
    14442} 
    145  
    146 @mixin container() { 
    147     padding: 30px; 
    148     border: 2px solid $grey_color_2; 
    149     background: $grey_color_3; 
    150     border-radius: $border_radius_large; 
    151 } 
    152  
    153 @mixin container_heading() { 
    154     margin: -30px -30px 30px -30px; 
    155     border-radius: $border_radius_large $border_radius_large 0 0; 
    156     border-bottom: 1px solid $grey_color_2; 
    157     padding: 20px 30px; 
    158     font-weight: bold; 
    159     font-size: 16px; 
    160     line-height: 18px; 
    161     text-align: center; 
    162     background: #fff; 
    163 } 
    164  
    165 @mixin box() { 
    166     margin: 0 0 30px; 
    167     padding: 20px; 
    168     background: #fff; 
    169     box-shadow: $box_shadow_box; 
    170     border-radius: $border_radius; 
    171 } 
    172  
    173 @mixin box_heading() { 
    174     margin: -20px -20px 20px -20px; 
    175     border-radius: $border_radius_small $border_radius_small 0 0; 
    176     border-bottom: 1px solid $grey_color_2; 
    177     padding: 20px 30px; 
    178     font-weight: bold; 
    179     font-size: 16px; 
    180     line-height: 18px; 
    181     background: #fff; 
    182 } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_variables.scss

    r1519310 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
    8 $normal_color: #495159; 
    9 $normal_color_h: #393f45; 
    10 $blue_color: #298ffc; 
    11 $blue_color_h: #206ff4; 
    12 $green_color: #48c569; 
    13 $green_color_h: #3ba956; 
    14 $red_color: #e54343; 
    15 $red_color_h: #c73434; 
    16 $orange_color: #faa730; 
    17 $orange_color_h: #ee8425; 
     1$light_color: #ffffff; 
     2$dark_color: #23282d; 
     3 
     4$normal_bg_color: #e1e1e1; 
     5$normal_gradint_1: #ffffff; 
     6$normal_gradint_2: #f0f0f0; 
     7$normal_outset_1: #d7d7d7; 
     8$normal_outset_2: #b7b7b7; 
     9 
     10$primary_bg_color: #206ff4; 
     11$primary_gradint_1: #5fadff; 
     12$primary_gradint_2: #2a90fc; 
     13$primary_outset_1: #5b9add; 
     14$primary_outset_2: #3e6a99; 
     15 
     16$secondary_bg_color: #495159; 
     17$secondary_gradint_1: #4c5054; 
     18$secondary_gradint_2: #495159; 
     19$secondary_outset_1: #777879; 
     20$secondary_outset_2: #41464d; 
     21 
     22$success_bg_color: #3ba956; 
     23$success_gradint_1: #71e18f; 
     24$success_gradint_2: #49c66a; 
     25$success_outset_1: #49c56a; 
     26$success_outset_2: #3a9e54; 
     27 
     28$danger_bg_color: #c73434; 
     29$danger_gradint_1: #f98888; 
     30$danger_gradint_2: #e64545; 
     31$danger_outset_1: #e54444; 
     32$danger_outset_2: #b83636; 
     33 
     34$warning_bg_color: #ee8425; 
     35$warning_gradint_1: #ffcb81; 
     36$warning_gradint_2: #faa832; 
     37$warning_outset_1: #faa832; 
     38$warning_outset_2: #c98627; 
    1839 
    1940$border_radius_extra_small: 2px; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/ui-button.php

    r1575518 r1606600  
    3030         */ 
    3131        private $defaults_settings = array( 
    32             'id'         => 'cherry-ui-button-id', 
    33             'name'       => 'cherry-ui-button-name', 
    34             'value'      => 'button', 
    35             'disabled'   => false, 
    36             'form'       => '', 
    37             'formaction' => '', 
    38             'type'      => 'button', 
    39             'style'      => 'normal', 
    40             'content'    => 'Button', 
    41             'class'      => '', 
    42             'master'     => '', 
     32            'id'          => 'cherry-ui-button-id', 
     33            'name'        => 'cherry-ui-button-name', 
     34            'value'       => 'button', 
     35            'disabled'    => false, 
     36            'form'        => '', 
     37            'formaction'  => '', 
     38            'button_type' => 'button', 
     39            'style'       => 'normal', 
     40            'content'     => 'Button', 
     41            'class'       => '', 
     42            'master'      => '', 
    4343        ); 
    4444 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/view/button-view.php

    r1555518 r1606600  
    1515    die; 
    1616} 
    17 $class = trim( implode( ' ', array( 'ui-button', 'ui-button-' . $__data['style'] . '-style ', $__data['master'], $__data['class'] ) ) ); 
     17$class = trim( implode( ' ', array( 'cherry5-ui-button', 'cherry5-ui-button-' . $__data['style'] . '-style ', $__data['master'], $__data['class'], 'ui-button' ) ) ); 
    1818$attrs = Cherry_Toolkit::join( 
    1919    array( 
    20         'type'       => esc_attr( $__data['type'] ), 
     20        'type'       => esc_attr( $__data['button_type'] ), 
    2121        'id'         => esc_attr( $__data['id'] ), 
    2222        'name'       => esc_attr( $__data['name'] ), 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}.cherry-checkbox-item{width:26px;height:26px;display:inline-block;border-radius:2px;margin-right:10px;margin-bottom:6px;cursor:pointer;position:relative;background-color:#f1f1f1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1)}.cherry-checkbox-item .marker{position:absolute;width:26px;height:26px;top:0px;left:0px;color:#fff;font-size:28px;-webkit-transition:inherit;transition:inherit;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.cherry-checkbox-item .marker:before{-webkit-transition:inherit;transition:inherit;position:relative;left:-2px}.cherry-checkbox-input[checked]+.cherry-checkbox-item{background-color:#48c569}.cherry-checkbox-input[checked]+.cherry-checkbox-item .marker{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.cherry-checkbox-label{display:inline-block;vertical-align:top;font-size:14px;line-height:26px;color:#23282d;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}.cherry-checkbox-item{width:26px;height:26px;display:inline-block;border-radius:2px;margin-right:10px;margin-bottom:6px;cursor:pointer;position:relative;background-color:#f1f1f1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1)}.cherry-checkbox-item .marker{position:absolute;width:26px;height:26px;top:0px;left:0px;color:#fff;font-size:28px;-webkit-transition:inherit;transition:inherit;-webkit-transform:scale(0);transform:scale(0)}.cherry-checkbox-item .marker:before{-webkit-transition:inherit;transition:inherit;position:relative;left:-2px}.cherry-checkbox-input[checked]+.cherry-checkbox-item{background-color:#48c569}.cherry-checkbox-input[checked]+.cherry-checkbox-item .marker{-webkit-transform:scale(1);transform:scale(1)}.cherry-checkbox-label{display:inline-block;vertical-align:top;font-size:14px;line-height:26px;color:#23282d;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cherry-checkbox-label:focus{outline:1px solid rgba(41,143,252,0.6);box-shadow:0px 0px 2px rgba(41,143,252,0.6)} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.scss

    r1505656 r1606600  
    5656    color: $dark_color_1; 
    5757    user-select: none; 
     58    &:focus{ 
     59        outline: 1px solid rgba(41, 143, 252, .6); 
     60        box-shadow: 0px 0px 2px rgba(41,143,252,0.6); 
     61    } 
    5862} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1818    &:active { 
    1919        outline: none; 
    20         box-shadow: none; 
     20        border-color: rgba(41, 143, 252, .6); 
     21        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    2122        color: #fff; 
    2223    } 
     
    6566    border-radius: $border_radius_extra_small; 
    6667    padding: 10px 20px; 
    67     height: 50px; 
     68    min-height: 50px; 
    6869    border: 1px solid $grey_color_3; 
    6970    box-shadow: none; 
    7071        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     72            border-color: rgba(41, 143, 252, .6); 
     73            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7374        } 
    7475} 
     
    126127    &:active { 
    127128        outline: none; 
    128         box-shadow: none; 
     129        border-color: rgba(41, 143, 252, .6); 
     130        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    129131        color: $blue_color; 
    130132    } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.wp-picker-container{display:block;background-color:#f1f1f1;border-radius:2px;display:inline-block;padding:8px;max-width:380px}.wp-picker-container a.wp-color-result{border:medium none;box-shadow:none;height:35px;margin:0;border-radius:0;padding-left:36px}.wp-picker-container a.wp-color-result:after{background-color:#f1f1f1;border:medium none;border-radius:0;line-height:36px;font-size:14px;color:#23282d;padding:0 80px 0 20px}@media screen and (max-width: 782px){.wp-picker-container a.wp-color-result{height:36px}.wp-picker-container a.wp-color-result:after{line-height:36px}}.wp-picker-container .wp-picker-holder{position:absolute;z-index:1000}.wp-picker-container .wp-picker-input-wrap input[type="text"]{padding:7px 4px}.wp-picker-container .wp-picker-input-wrap input.wp-picker-clear{height:32px} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-colorpicker-wrapper{background-color:#f1f1f1;padding:5px;max-width:230px;height:46px;box-sizing:border-box}.cherry-ui-colorpicker-wrapper .wp-picker-container,.customize-control-content .wp-picker-container{display:block;position:relative;z-index:1000}.cherry-ui-colorpicker-wrapper .wp-picker-container:active,.customize-control-content .wp-picker-container:active{display:block}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-color-result,.customize-control-content .wp-picker-container>.wp-color-result{margin:0;border-radius:2px;display:block;border:none;box-shadow:none;height:auto;padding-left:35px}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-color-result:after,.customize-control-content .wp-picker-container>.wp-color-result:after{padding:7px 0px;font-size:14px;border-left:none}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-color-result:focus,.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-color-result:active,.customize-control-content .wp-picker-container>.wp-color-result:focus,.customize-control-content .wp-picker-container>.wp-color-result:active{outline:none;border:1px solid rgba(41,143,252,0.6);box-shadow:0px 0px 2px rgba(41,143,252,0.6)}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-picker-input-wrap,.customize-control-content .wp-picker-container>.wp-picker-input-wrap{display:none;display:-webkit-box;display:-ms-flexbox;display:flex;width:calc(100% - 40px);max-width:calc(100% - 40px);float:right}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-picker-input-wrap:after,.customize-control-content .wp-picker-container>.wp-picker-input-wrap:after{content:'.';clear:both;visibility:hidden;height:0}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-picker-input-wrap input[type="text"],.customize-control-content .wp-picker-container>.wp-picker-input-wrap input[type="text"]{padding:8px 10px 9px;font-size:14px;max-width:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.cherry-ui-colorpicker-wrapper .wp-picker-container>.wp-picker-input-wrap input[type="button"],.customize-control-content .wp-picker-container>.wp-picker-input-wrap input[type="button"]{height:auto;border:none;border-radius:2px;box-shadow:none;padding:6px 10px 7px;font-size:14px;margin-left:5px;-ms-flex-negative:0;flex-shrink:0}.cherry-ui-colorpicker-wrapper .wp-picker-container.wp-picker-active>.wp-color-result,.customize-control-content .wp-picker-container.wp-picker-active>.wp-color-result{height:35px;width:0;display:inline-block;margin-right:5px}.cherry-ui-colorpicker-wrapper .wp-picker-container.wp-picker-active>.wp-color-result:after,.customize-control-content .wp-picker-container.wp-picker-active>.wp-color-result:after{display:none}.cherry-ui-colorpicker-wrapper .wp-picker-container.wp-picker-active>.wp-picker-input-wrap,.customize-control-content .wp-picker-container.wp-picker-active>.wp-picker-input-wrap{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.scss

    r1505656 r1606600  
    11@import "ui-kit/variables"; 
    22@import "ui-kit/mixins"; 
     3 
     4$font_size: 14px; 
    35 
    46.cherry-ui-container{ 
     
    911    display: block; 
    1012} 
    11 .wp-picker-container{ 
    12     display: block; 
     13.cherry-ui-colorpicker-wrapper{ 
    1314    background-color: $grey_color_3; 
    14     border-radius: $border_radius_extra_small; 
    15     display: inline-block; 
    16     padding: 8px; 
    17     max-width: 380px; 
    18     a.wp-color-result{ 
    19         border: medium none; 
    20         box-shadow: none; 
    21         height: 35px; 
    22         margin: 0; 
    23         border-radius: 0; 
    24         padding-left: 36px; 
    25         &:after{ 
    26             background-color: $grey_color_3; 
    27             border: medium none; 
    28             border-radius: 0; 
    29             line-height: 36px; 
    30             font-size: 14px; 
    31             color: $dark_color_1; 
    32             padding: 0 80px 0 20px; 
     15    padding: 5px; 
     16    max-width: 230px; 
     17    height: 46px; 
     18    box-sizing: border-box; 
     19} 
     20.cherry-ui-colorpicker-wrapper, .customize-control-content{ 
     21    & .wp-picker-container{ 
     22        display: block; 
     23 
     24        position: relative; 
     25        z-index: 1000; 
     26        &:active{ 
     27            display: block; 
    3328        } 
    34         @media screen and (max-width: 782px){ 
    35             height: 36px; 
     29        > .wp-color-result{ 
     30            margin: 0; 
     31            border-radius: $border_radius_extra_small; 
     32            display: block; 
     33            border: none; 
     34            box-shadow: none; 
     35            height: auto; 
     36            padding-left: 35px; 
    3637            &:after{ 
    37                 line-height: 36px; 
     38                padding:7px 0px; 
     39                font-size: $font_size; 
     40                border-left: none; 
     41            }; 
     42            &:focus, &:active{ 
     43                outline: none; 
     44                border: 1px solid rgba(41, 143, 252, .6); 
     45                box-shadow: 0px 0px 2px rgba(41,143,252,0.6); 
     46            } 
     47        } 
     48        > .wp-picker-input-wrap{ 
     49            display: none; 
     50            display: flex; 
     51            width: calc(100% - 40px); 
     52            max-width: calc(100% - 40px); 
     53            float: right; 
     54            &:after{ 
     55                content: '.'; 
     56                clear: both; 
     57                visibility: hidden; 
     58                height: 0; 
     59            }; 
     60            input[type="text"]{ 
     61                padding: 8px 10px 9px; 
     62                font-size: $font_size; 
     63                max-width: 100%; 
     64                flex-grow: 1; 
     65            } 
     66            input[type="button"]{ 
     67                height: auto; 
     68                border: none; 
     69                border-radius: $border_radius_extra_small; 
     70                box-shadow: none; 
     71                padding: 6px 10px 7px; 
     72                font-size: $font_size; 
     73                margin-left: 5px; 
     74                flex-shrink: 0; 
     75            } 
     76        } 
     77        &.wp-picker-active{ 
     78            > .wp-color-result{ 
     79                height: 35px; 
     80                width: 0; 
     81                display: inline-block; 
     82                margin-right: 5px; 
     83                &:after{ 
     84                    display: none; 
     85                } 
     86            } 
     87            > .wp-picker-input-wrap{ 
     88                display: inline-flex; 
    3889            } 
    3990        } 
    4091    } 
    41     .wp-picker-holder{ 
    42         position: absolute; 
    43         z-index: 1000; 
    44     } 
    45     .wp-picker-input-wrap{ 
    46         input[type="text"]{ 
    47             padding: 7px 4px; 
    48         } 
    49         input.wp-picker-clear{ 
    50             height: 32px; 
    51         } 
    52     } 
    5392} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1818    &:active { 
    1919        outline: none; 
    20         box-shadow: none; 
     20        border-color: rgba(41, 143, 252, .6); 
     21        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    2122        color: #fff; 
    2223    } 
     
    6566    border-radius: $border_radius_extra_small; 
    6667    padding: 10px 20px; 
    67     height: 50px; 
     68    min-height: 50px; 
    6869    border: 1px solid $grey_color_3; 
    6970    box-shadow: none; 
    7071        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     72            border-color: rgba(41, 143, 252, .6); 
     73            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7374        } 
    7475} 
     
    126127    &:active { 
    127128        outline: none; 
    128         box-shadow: none; 
     129        border-color: rgba(41, 143, 252, .6); 
     130        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    129131        color: $blue_color; 
    130132    } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.css

    r1505656 r1606600  
    1 .cherry-ui-iconpicker-group{max-width:230px;position:relative}.cherry-ui-iconpicker-group .input-group-addon{position:absolute;width:36px;height:36px;left:0px;top:0px;background:#f1f1f1;font-size:14px;line-height:36px;text-align:center;border-radius:3px 0 0 3px;border-right:1px solid #dddcdc;margin:7px}.cherry-ui-iconpicker-group .input-group-addon .fa{line-height:36px}.cherry-ui-iconpicker-group .cherry-ui-text{font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;height:50px;border:1px solid #f1f1f1;box-shadow:none;padding-left:60px}.cherry-ui-iconpicker-group .cherry-ui-text:focus{border-color:rgba(72,197,105,0.6);box-shadow:0 0 2px rgba(72,197,105,0.6)}.iconpicker-popover.popover{position:absolute;top:0;left:0;display:none;max-width:none;padding:1px;text-align:left;width:242px;background:#f0f0f0;z-index:999}.iconpicker-popover.popover.top,.iconpicker-popover.popover.topLeftCorner,.iconpicker-popover.popover.topLeft,.iconpicker-popover.popover.topRight,.iconpicker-popover.popover.topRightCorner{margin-top:-10px}.iconpicker-popover.popover.right,.iconpicker-popover.popover.rightTop,.iconpicker-popover.popover.rightBottom{margin-left:10px}.iconpicker-popover.popover.bottom,.iconpicker-popover.popover.bottomRightCorner,.iconpicker-popover.popover.bottomRight,.iconpicker-popover.popover.bottomLeft,.iconpicker-popover.popover.bottomLeftCorner{margin-top:10px}.iconpicker-popover.popover.left,.iconpicker-popover.popover.leftBottom,.iconpicker-popover.popover.leftTop{margin-left:-10px}.iconpicker-popover.popover.inline{margin:0 0 14px 0;position:relative;display:inline-block;opacity:1;top:auto;left:auto;bottom:auto;right:auto;max-width:100%;box-shadow:none;z-index:auto;vertical-align:top}.iconpicker-popover.popover.inline>.arrow{display:none}.dropdown-menu .iconpicker-popover.inline{margin:0;border:none}.dropdown-menu.iconpicker-container{padding:0}.iconpicker-popover.popover .popover-title{padding:14px;font-size:14px;line-height:16px;border-bottom:1px solid #ebebeb;background-color:#f0f0f0}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px 0}.iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search{margin-top:14px}.iconpicker-popover.popover .popover-content{padding:0px;text-align:center}.iconpicker-popover .popover-footer{float:none;clear:both;padding:14px;text-align:right;margin:0;border-top:1px solid #ebebeb;background-color:#f0f0f0}.iconpicker-popover .popover-footer:before,.iconpicker-popover .popover-footer:after{content:" ";display:table}.iconpicker-popover .popover-footer:after{clear:both}.iconpicker-popover .popover-footer .iconpicker-btn{margin-left:10px}.iconpicker-popover .popover-footer input[type=search].iconpicker-search{margin-bottom:14px}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.top>.arrow,.iconpicker-popover.popover.topLeft>.arrow,.iconpicker-popover.popover.topRight>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#f0f0f0;bottom:-11px}.iconpicker-popover.popover.top>.arrow:after,.iconpicker-popover.popover.topLeft>.arrow:after,.iconpicker-popover.popover.topRight>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.iconpicker-popover.popover.topLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.topRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.right>.arrow,.iconpicker-popover.popover.rightTop>.arrow,.iconpicker-popover.popover.rightBottom>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#f0f0f0}.iconpicker-popover.popover.right>.arrow:after,.iconpicker-popover.popover.rightTop>.arrow:after,.iconpicker-popover.popover.rightBottom>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.iconpicker-popover.popover.rightTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker-popover.popover.rightBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.bottom>.arrow,.iconpicker-popover.popover.bottomRight>.arrow,.iconpicker-popover.popover.bottomLeft>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#f0f0f0;top:-11px}.iconpicker-popover.popover.bottom>.arrow:after,.iconpicker-popover.popover.bottomRight>.arrow:after,.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#f0f0f0}.iconpicker-popover.popover.bottomLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.bottomRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.left>.arrow,.iconpicker-popover.popover.leftBottom>.arrow,.iconpicker-popover.popover.leftTop>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#f0f0f0}.iconpicker-popover.popover.left>.arrow:after,.iconpicker-popover.popover.leftBottom>.arrow:after,.iconpicker-popover.popover.leftTop>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.iconpicker-popover.popover.leftBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.leftTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker{position:relative;text-align:left;text-shadow:none;line-height:0;display:block;margin:0;overflow:hidden}.iconpicker *{box-sizing:content-box;position:relative}.iconpicker:before,.iconpicker:after{content:" ";display:table}.iconpicker:after{clear:both}.iconpicker .iconpicker-items{position:relative;clear:both;float:none;padding:10px 0 0 10px;background:#fff;margin:0;overflow:hidden;overflow-y:auto;min-height:55px;max-height:275px}.iconpicker .iconpicker-items:before,.iconpicker .iconpicker-items:after{content:" ";display:table}.iconpicker .iconpicker-items:after{clear:both}.iconpicker .iconpicker-item{float:left;width:28px;height:28px;line-height:28px;margin:0 7px 7px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:18px;color:#444;box-shadow:0 0 0 1px #dddddd}.iconpicker .iconpicker-item .fa{line-height:28px}.iconpicker .iconpicker-item:hover:not(.iconpicker-selected){background-color:#eeeeee}.iconpicker .iconpicker-item.iconpicker-selected{box-shadow:none;background:#ddd}.iconpicker-component{cursor:pointer} 
     1.cherry-ui-iconpicker-group{position:relative}.full .cherry-ui-iconpicker-group{max-width:100%}.fixed .cherry-ui-iconpicker-group{max-width:230px}.cherry-ui-iconpicker-group .input-group-addon{position:absolute;width:36px;height:36px;left:0px;top:0px;background:#f1f1f1;font-size:14px;line-height:36px;text-align:center;border-radius:3px 0 0 3px;border-right:1px solid #dddcdc;margin:7px}.cherry-ui-iconpicker-group .input-group-addon .fa{line-height:36px}.cherry-ui-iconpicker-group .cherry-ui-text{font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;min-height:50px;border:1px solid #f1f1f1;box-shadow:none;padding-left:60px}.cherry-ui-iconpicker-group .cherry-ui-text:focus{border-color:rgba(41,143,252,0.6);box-shadow:0 0 2px rgba(41,143,252,0.6)}.iconpicker-popover.popover{position:absolute;top:0;left:0;display:none;max-width:none;padding:1px;text-align:left;width:242px;background:#f0f0f0;z-index:999}.iconpicker-popover.popover.top,.iconpicker-popover.popover.topLeftCorner,.iconpicker-popover.popover.topLeft,.iconpicker-popover.popover.topRight,.iconpicker-popover.popover.topRightCorner{margin-top:-10px}.iconpicker-popover.popover.right,.iconpicker-popover.popover.rightTop,.iconpicker-popover.popover.rightBottom{margin-left:10px}.iconpicker-popover.popover.bottom,.iconpicker-popover.popover.bottomRightCorner,.iconpicker-popover.popover.bottomRight,.iconpicker-popover.popover.bottomLeft,.iconpicker-popover.popover.bottomLeftCorner{margin-top:10px}.iconpicker-popover.popover.left,.iconpicker-popover.popover.leftBottom,.iconpicker-popover.popover.leftTop{margin-left:-10px}.iconpicker-popover.popover.inline{margin:0 0 14px 0;position:relative;display:inline-block;opacity:1;top:auto;left:auto;bottom:auto;right:auto;max-width:100%;box-shadow:none;z-index:auto;vertical-align:top}.iconpicker-popover.popover.inline>.arrow{display:none}.dropdown-menu .iconpicker-popover.inline{margin:0;border:none}.dropdown-menu.iconpicker-container{padding:0}.iconpicker-popover.popover .popover-title{padding:14px;font-size:14px;line-height:16px;border-bottom:1px solid #ebebeb;background-color:#f0f0f0}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px 0}.iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search{margin-top:14px}.iconpicker-popover.popover .popover-content{padding:0px;text-align:center}.iconpicker-popover .popover-footer{float:none;clear:both;padding:14px;text-align:right;margin:0;border-top:1px solid #ebebeb;background-color:#f0f0f0}.iconpicker-popover .popover-footer:before,.iconpicker-popover .popover-footer:after{content:" ";display:table}.iconpicker-popover .popover-footer:after{clear:both}.iconpicker-popover .popover-footer .iconpicker-btn{margin-left:10px}.iconpicker-popover .popover-footer input[type=search].iconpicker-search{margin-bottom:14px}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.top>.arrow,.iconpicker-popover.popover.topLeft>.arrow,.iconpicker-popover.popover.topRight>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#f0f0f0;bottom:-11px}.iconpicker-popover.popover.top>.arrow:after,.iconpicker-popover.popover.topLeft>.arrow:after,.iconpicker-popover.popover.topRight>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.iconpicker-popover.popover.topLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.topRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.right>.arrow,.iconpicker-popover.popover.rightTop>.arrow,.iconpicker-popover.popover.rightBottom>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#f0f0f0}.iconpicker-popover.popover.right>.arrow:after,.iconpicker-popover.popover.rightTop>.arrow:after,.iconpicker-popover.popover.rightBottom>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.iconpicker-popover.popover.rightTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker-popover.popover.rightBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.bottom>.arrow,.iconpicker-popover.popover.bottomRight>.arrow,.iconpicker-popover.popover.bottomLeft>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#f0f0f0;top:-11px}.iconpicker-popover.popover.bottom>.arrow:after,.iconpicker-popover.popover.bottomRight>.arrow:after,.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#f0f0f0}.iconpicker-popover.popover.bottomLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.bottomRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.left>.arrow,.iconpicker-popover.popover.leftBottom>.arrow,.iconpicker-popover.popover.leftTop>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#f0f0f0}.iconpicker-popover.popover.left>.arrow:after,.iconpicker-popover.popover.leftBottom>.arrow:after,.iconpicker-popover.popover.leftTop>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.iconpicker-popover.popover.leftBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.leftTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker{position:relative;text-align:left;text-shadow:none;line-height:0;display:block;margin:0;overflow:hidden}.iconpicker *{box-sizing:content-box;position:relative}.iconpicker:before,.iconpicker:after{content:" ";display:table}.iconpicker:after{clear:both}.iconpicker .iconpicker-items{position:relative;clear:both;float:none;padding:10px 0 0 10px;background:#fff;margin:0;overflow:hidden;overflow-y:auto;min-height:55px;max-height:275px}.iconpicker .iconpicker-items:before,.iconpicker .iconpicker-items:after{content:" ";display:table}.iconpicker .iconpicker-items:after{clear:both}.iconpicker .iconpicker-item{float:left;width:28px;height:28px;line-height:28px;margin:0 7px 7px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:18px;color:#444;box-shadow:0 0 0 1px #dddddd}.iconpicker .iconpicker-item .fa{line-height:28px}.iconpicker .iconpicker-item:hover:not(.iconpicker-selected){background-color:#eeeeee}.iconpicker .iconpicker-item.iconpicker-selected{box-shadow:none;background:#ddd}.iconpicker-component{cursor:pointer} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js

    r1575518 r1606600  
    1 !function(e,t,n){"use strict";t.utilites.namespace("ui_elements.iconpicker"),t.ui_elements.iconpicker={iconSets:{},iconSetsKey:"cherry5-icon-sets",init:function(){e(document).on("cherry-ajax-handler-success",this.setIconsSets.bind(this)).on("ready.iconpicker",this.setIconsSets.bind(this,window.сherry5IconSets)).on("ready.iconpicker",this.render.bind(this)).on("cherry-ui-elements-init",this.render.bind(this))},setIconsSets:function(e){var t,i=this;e&&(t=e.response?e.response.cherry5IconSets:e,n.each(t,function(e,t){i.iconSets[t]=e}),i.setState(i.iconSetsKey,i.iconSets))},getIconsSets:function(){var e=this.getState(this.iconSetsKey);e&&(this.iconSets=e)},render:function(t){var n,i,s,c=t._target?t._target:e("body"),o=e('.cherry-ui-iconpicker:not([name*="__i__"])',c),r=this;o[0]&&(this.getIconsSets(),o.each(function(){n=e(this),i=n.data("set"),s=r.iconSets[i],n.length&&s.icons&&n.iconpicker({icons:s.icons,iconBaseClass:s.iconBase,iconClassPrefix:s.iconPrefix,animation:!1,fullClassFormatter:function(e){return s.iconBase+" "+s.iconPrefix+e}}).on("iconpickerUpdated",function(){e(this).trigger("change")}),s&&e("head").append('<link rel="stylesheet" type="text/css" href="'+s.iconCSS+'"">')}))},getState:function(e){try{return JSON.parse(window.sessionStorage.getItem(e))}catch(e){return!1}},setState:function(e,t){try{window.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){return!1}}},t.ui_elements.iconpicker.init()}(jQuery,window.CherryJsCore,window._); 
     1!function(e,t,n){"use strict";t.utilites.namespace("ui_elements.iconpicker"),t.ui_elements.iconpicker={iconSets:{},iconSetsKey:"cherry5-icon-sets",init:function(){e(document).on("cherry-ajax-handler-success",this.setIconsSets.bind(this)).on("ready.iconpicker",this.setIconsSets.bind(this,window.cherry5IconSets)).on("ready.iconpicker",this.render.bind(this)).on("cherry-ui-elements-init",this.render.bind(this))},setIconsSets:function(e){var t,i=this;e&&(t=e.response?e.response.cherry5IconSets:e,n.each(t,function(e,t){i.iconSets[t]=e}),i.setState(i.iconSetsKey,i.iconSets))},getIconsSets:function(){var e=this.getState(this.iconSetsKey);e&&(this.iconSets=e)},render:function(t){var n,i,s,c=t._target?t._target:e("body"),o=e('.cherry-ui-iconpicker:not([name*="__i__"])',c),r=this;o[0]&&(this.getIconsSets(),o.each(function(){n=e(this),i=n.data("set"),s=r.iconSets[i],n.length&&s.icons&&n.iconpicker({icons:s.icons,iconBaseClass:s.iconBase,iconClassPrefix:s.iconPrefix,animation:!1,fullClassFormatter:function(e){return s.iconBase+" "+s.iconPrefix+e}}).on("iconpickerUpdated",function(){e(this).trigger("change")}),s&&e("head").append('<link rel="stylesheet" type="text/css" href="'+s.iconCSS+'"">')}))},getState:function(e){try{return JSON.parse(window.sessionStorage.getItem(e))}catch(e){return!1}},setState:function(e,t){try{window.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){return!1}}},t.ui_elements.iconpicker.init()}(jQuery,window.CherryJsCore,window._); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js

    r1575518 r1606600  
    1313            $( document ) 
    1414                .on( 'cherry-ajax-handler-success', this.setIconsSets.bind( this ) ) 
    15                 .on( 'ready.iconpicker', this.setIconsSets.bind( this, window.сherry5IconSets ) ) 
     15                .on( 'ready.iconpicker', this.setIconsSets.bind( this, window.cherry5IconSets ) ) 
    1616                .on( 'ready.iconpicker', this.render.bind( this ) ) 
    1717                .on( 'cherry-ui-elements-init', this.render.bind( this ) ); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.scss

    r1505656 r1606600  
    33 
    44.cherry-ui-iconpicker-group { 
    5     max-width: 230px; 
    6     position: relative; 
     5    position: relative; 
     6    .full &{ 
     7        max-width: 100%; 
     8    } 
     9    .fixed &{ 
     10        max-width: 230px; 
     11    } 
    712    .input-group-addon { 
    813        position: absolute; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1818    &:active { 
    1919        outline: none; 
    20         box-shadow: none; 
     20        border-color: rgba(41, 143, 252, .6); 
     21        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    2122        color: #fff; 
    2223    } 
     
    6566    border-radius: $border_radius_extra_small; 
    6667    padding: 10px 20px; 
    67     height: 50px; 
     68    min-height: 50px; 
    6869    border: 1px solid $grey_color_3; 
    6970    box-shadow: none; 
    7071        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     72            border-color: rgba(41, 143, 252, .6); 
     73            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7374        } 
    7475} 
     
    126127    &:active { 
    127128        outline: none; 
    128         box-shadow: none; 
     129        border-color: rgba(41, 143, 252, .6); 
     130        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    129131        color: $blue_color; 
    130132    } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/ui-iconpicker.php

    r1575518 r1606600  
    4040            'class'       => '', 
    4141            'master'      => '', 
     42            'width'       => 'fixed', // full, fixed 
    4243            'required'    => false, 
    4344        ); 
     
    111112        public function render() { 
    112113            $html = ''; 
    113             $class = $this->settings['class']; 
     114            $class = $this->settings['class'] . $this->settings['width'] ; 
    114115            $class .= ' ' . $this->settings['master']; 
    115116 
     
    123124                    $this->default_icon_data 
    124125                ); 
    125  
    126                 $this->maybe_parse_set_from_css(); 
    127126 
    128127                $html .= '<div class="cherry-ui-iconpicker-group">'; 
     
    169168        public function prepare_icon_set() { 
    170169 
     170            if ( empty( $this->settings['icon_data']['icons'] ) ) { 
     171                $this->maybe_parse_set_from_css(); 
     172            } 
     173 
    171174            if ( ! array_key_exists( $this->settings['icon_data']['icon_set'], self::$sets ) ) { 
    172175                self::$sets[ $this->settings['icon_data']['icon_set'] ] = array( 
     
    199202            $result = ob_get_clean(); 
    200203 
    201             preg_match_all( '/\.([-a-zA-Z0-9]+):before[, {]/', $result, $matches ); 
     204            preg_match_all( '/\.([-_a-zA-Z0-9]+):before[, {]/', $result, $matches ); 
    202205 
    203206            if ( ! is_array( $matches ) || empty( $matches[1] ) ) { 
     
    278281                $json = json_encode( $data ); 
    279282 
    280                 printf( '<script> if ( ! window.сherry5IconSets ) { window.сherry5IconSets = {} } window.сherry5IconSets.%1$s = %2$s</script>', $set, $json ); 
     283                printf( '<script> if ( ! window.cherry5IconSets ) { window.cherry5IconSets = {} } window.cherry5IconSets.%1$s = %2$s</script>', $set, $json ); 
    281284            } 
    282285 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-media-wrap .cherry-upload-preview{display:block;margin:0 0 5px 0}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap{position:relative;display:inline-block;vertical-align:top;width:120px;height:120px}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner{width:110px;height:110px;margin:3px;position:relative;border:2px solid #298ffc;border-radius:2px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder{width:100%;height:100%;position:relative;background:#f1f1f1;box-sizing:border-box}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder .centered{position:absolute;width:100%;height:100%;top:0;left:0;-webkit-transform:translate(50%, 50%);-ms-transform:translate(50%, 50%);transform:translate(50%, 50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder img{max-width:100%;height:auto;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder span{width:auto;height:auto;font-size:60px;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .title{position:absolute;width:100%;padding:5px 0;bottom:0;left:0;color:#fff;background:rgba(41,143,252,0.8);text-align:center;font-size:11px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap:hover .cherry-remove-image{display:block}.cherry-ui-media-wrap .cherry-upload-preview .cherry-media-thumb-sortable-placeholder{width:112px;height:112px;margin:3px;vertical-align:top;border:1px dashed #96989a;display:inline-block;background-color:#f1f1f1}.cherry-ui-media-wrap .upload-button{float:left}.cherry-ui-media-wrap .cherry-remove-image{width:30px;height:30px;color:#e54343;display:block;position:absolute;top:0;right:0;cursor:pointer;text-decoration:none;outline:0;display:none}.cherry-ui-media-wrap .cherry-remove-image i{width:30px;height:30px;font-size:30px}.cherry-ui-media-wrap .cherry-remove-image:hover{color:#c73434}.cherry-ui-media-wrap .cherry-bgsetting{float:left;width:32%;margin-right:1%}.cherry-ui-media-wrap .cherry-bgsetting:nth-child(3n+1){width:34%;margin-right:0}.cherry-ui-media-wrap .cherry-bgsetting select{margin-bottom:10px}.button-default_{display:inline-block;text-decoration:none;font-size:12px;line-height:20px;font-weight:bold;padding:15px 20px;color:#fff;text-transform:uppercase;border-radius:4px;-webkit-transition:all 200ms linear;transition:all 200ms linear;box-shadow:0 5px 13px rgba(0,0,0,0.18);border:none;cursor:pointer;background:#495159}.button-default_:hover{color:#fff;box-shadow:none}.button-default_:focus,.button-default_:active{outline:none;box-shadow:none;color:#fff}.button-default_:hover{background:#393f45} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-media-wrap .cherry-upload-preview{display:block;margin:0 0 5px 0}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap{position:relative;display:inline-block;vertical-align:top;width:120px;height:120px}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner{width:110px;height:110px;margin:3px;position:relative;border:2px solid #298ffc;border-radius:2px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder{width:100%;height:100%;position:relative;background:#f1f1f1;box-sizing:border-box}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder .centered{position:absolute;width:100%;height:100%;top:0;left:0;-webkit-transform:translate(50%, 50%);transform:translate(50%, 50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder img{max-width:100%;height:auto;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder span{width:auto;height:auto;font-size:60px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .title{position:absolute;width:100%;padding:5px 0;bottom:0;left:0;color:#fff;background:rgba(41,143,252,0.8);text-align:center;font-size:11px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap:hover .cherry-remove-image{display:block}.cherry-ui-media-wrap .cherry-upload-preview .cherry-media-thumb-sortable-placeholder{width:112px;height:112px;margin:3px;vertical-align:top;border:1px dashed #dcdcdc;display:inline-block;background-color:#f1f1f1}.cherry-ui-media-wrap .upload-button{float:left}.cherry-ui-media-wrap .cherry-remove-image{width:30px;height:30px;color:#e54343;display:block;position:absolute;top:0;right:0;cursor:pointer;text-decoration:none;outline:0;display:none}.cherry-ui-media-wrap .cherry-remove-image i{width:30px;height:30px;font-size:30px}.cherry-ui-media-wrap .cherry-remove-image:hover{color:#d71e1e}.cherry-ui-media-wrap .cherry-bgsetting{float:left;width:32%;margin-right:1%}.cherry-ui-media-wrap .cherry-bgsetting:nth-child(3n+1){width:34%;margin-right:0}.cherry-ui-media-wrap .cherry-bgsetting select{margin-bottom:10px}.button-default_{position:relative;display:inline-block;font-size:12px;line-height:18px;font-weight:900;letter-spacing:0.5px;text-decoration:none;padding:15px 20px;color:#23282d;text-transform:uppercase;border-radius:4px;border-width:1px;border-style:solid;outline:none;cursor:pointer;transition:all 200ms linear;color:#fff;border-color:#777879 #2f343a #2f343a #777879;background-color:#495159}.button-default_:before{position:absolute;display:block;width:100%;height:100%;top:0;left:0;border-radius:4px;background-image:linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);content:''}.button-default_:hover:before{background-image:linear-gradient(0deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%)}.button-default_:active:before{opacity:0}.button-default_:active{background-color:#495159;border-color:#181b1e #777879 #777879 #181b1e} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    11@mixin button_base() { 
     2    position: relative; 
    23    display: inline-block; 
     4    font-size: 12px; 
     5    line-height: 18px; 
     6    font-weight: 900; 
     7    letter-spacing: 0.5px; 
    38    text-decoration: none; 
    4     font-size: 12px; 
    5     line-height: 20px; 
    6     font-weight: bold; 
    79    padding: 15px 20px; 
    8     color: #fff; 
     10    color: $dark_color; 
    911    text-transform: uppercase; 
    1012    border-radius: $border_radius_small; 
     13    border-width: 1px; 
     14    border-style: solid; 
     15    outline: none; 
     16    cursor: pointer; 
    1117    transition: all 200ms linear; 
    12     box-shadow: $box_shadow; 
    13     border: none; 
    14     cursor: pointer; 
    15     &:hover { 
    16         color: #fff; 
    17         box-shadow: none; 
     18 
     19    &:before { 
     20        position: absolute; 
     21        display: block; 
     22        width: 100%; 
     23        height: 100%; 
     24        top: 0; 
     25        left: 0; 
     26        border-radius: $border_radius_small; 
     27        background-image: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%); 
     28        content: ''; 
    1829    } 
    19     &:focus, 
    20     &:active { 
    21         outline: none; 
    22         box-shadow: none; 
    23         color: #fff; 
    24     } 
    25 } 
    2630 
    27 @mixin button_normal() { 
    28     background: $dark_color_2; 
    29     &:hover { 
    30         background: $dark_color_2_h; 
    31     } 
    32 } 
    33  
    34 @mixin button_primary() { 
    35     background: $blue_color; 
    36     &:hover { 
    37         background: $blue_color_h; 
    38     } 
    39 } 
    40  
    41 @mixin button_success() { 
    42     background: $green_color; 
    43     &:hover { 
    44         background: $green_color_h; 
    45     } 
    46 } 
    47  
    48 @mixin button_danger() { 
    49     background: $red_color; 
    50     &:hover { 
    51         background: $red_color_h; 
    52     } 
    53 } 
    54  
    55 @mixin button_warning() { 
    56     background: $orange_color; 
    57     &:hover { 
    58         background: $orange_color_h; 
    59     } 
    60 } 
    61  
    62 @mixin input() { 
    63     font-size: 14px; 
    64     line-height: 20px; 
    65     color: $dark_color_1; 
    66     background-color: $grey_color_3; 
    67     border-radius: $border_radius_extra_small; 
    68     padding: 10px 20px; 
    69     height: 50px; 
    70     border: 1px solid $grey_color_3; 
    71     box-shadow: none; 
    72         &:focus{ 
    73             border-color: rgba(72,197,105,.6); 
    74             box-shadow: 0 0 2px rgba(72,197,105,.6); 
    75         } 
    76 } 
    77  
    78 @mixin button_icon( $icon ) { 
    79     content: $icon; 
    80     display: inline-block; 
    81     font-family: dashicons; 
    82     font-size: 16px; 
    83     font-style: normal; 
    84     font-weight: 400; 
    85     height: 18px; 
    86     line-height: 18px; 
    87     text-align: center; 
    88     text-decoration: inherit; 
    89     transition: all 200ms linear; 
    90     vertical-align: middle; 
    91 } 
    92  
    93 @mixin button_icon_before( $icon ) { 
    94     &:before { 
    95         @include button_icon( $icon ); 
    96         padding: 0 5px 0 0; 
    97     } 
    98 } 
    99  
    100 @mixin button_icon_after( $icon ) { 
    101     &:after { 
    102         @include button_icon( $icon ); 
    103         padding: 0 0 0 5px; 
    104     } 
    105 } 
    106  
    107 @mixin button_icon_middle( $icon ) { 
    108     &:before { 
    109         @include button_icon( $icon ); 
    110         margin: 0 -5px; 
    111     } 
    112 } 
    113  
    114 @mixin link() { 
    115     display: inline-block; 
    116     text-decoration: none; 
    117     font-size: 12px; 
    118     line-height: 20px; 
    119     font-weight: bold; 
    120     color: $blue_color; 
    121     text-transform: uppercase; 
    122     transition: all 200ms linear; 
    123     &:hover { 
    124         color: $dark_color_1; 
    125         box-shadow: none; 
    126     } 
    127     &:focus, 
    128     &:active { 
    129         outline: none; 
    130         box-shadow: none; 
    131         color: $blue_color; 
    132     } 
    133 } 
    134  
    135 @mixin link_icon_before( $icon ) { 
    136     &:before { 
    137         @include button_icon( $icon ); 
    138         padding: 0 5px 0 0; 
    139         color: $grey_color_4; 
    140     } 
    14131    &:hover { 
    14232        &:before { 
    143             color: $blue_color; 
     33            background-image: linear-gradient(0deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%); 
     34        } 
     35    } 
     36 
     37    &:active { 
     38        &:before { 
     39            opacity: 0; 
    14440        } 
    14541    } 
    14642} 
    14743 
    148 @mixin container() { 
    149     padding: 30px; 
    150     border: 2px solid $grey_color_2; 
    151     background: $grey_color_3; 
    152     border-radius: $border_radius_large; 
     44@mixin secondary_button() { 
     45    color: $light_color; 
     46    border-color: $secondary_outset_1 $secondary_outset_2 $secondary_outset_2 $secondary_outset_1; 
     47    background-color: $secondary_gradint_2; 
     48    &:active { 
     49        background-color: $secondary_bg_color; 
     50        border-color: darken( $secondary_outset_2, 10%) $secondary_outset_1 $secondary_outset_1 darken( $secondary_outset_2, 10%); 
     51    } 
    15352} 
    154  
    155 @mixin container_heading() { 
    156     margin: -30px -30px 30px -30px; 
    157     border-radius: $border_radius_large $border_radius_large 0 0; 
    158     border-bottom: 1px solid $grey_color_2; 
    159     padding: 20px 30px; 
    160     font-weight: bold; 
    161     font-size: 16px; 
    162     line-height: 18px; 
    163     text-align: center; 
    164     background: #fff; 
    165 } 
    166  
    167 @mixin box() { 
    168     margin: 0 0 30px; 
    169     padding: 20px; 
    170     background: #fff; 
    171     box-shadow: $box_shadow_box; 
    172     border-radius: $border_radius; 
    173 } 
    174  
    175 @mixin box_heading() { 
    176     margin: -20px -20px 20px -20px; 
    177     border-radius: $border_radius_small $border_radius_small 0 0; 
    178     border-bottom: 1px solid $grey_color_2; 
    179     padding: 20px 30px; 
    180     font-weight: bold; 
    181     font-size: 16px; 
    182     line-height: 18px; 
    183     background: #fff; 
    184 } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_variables.scss

    r1505656 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
     1$bg_color: #f1f1f1; 
     2$border_color: #dcdcdc; 
     3 
    84$blue_color: #298ffc; 
    9 $blue_color_h: #206ff4; 
    10 $green_color: #48c569; 
    11 $green_color_h: #3ba956; 
    12 $red_color: #e54343; 
    13 $red_color_h: #c73434; 
    14 $orange_color: #faa730; 
    15 $orange_color_h: #ee8425; 
     5$remove_color: #e54343; 
     6 
     7$light_color: #ffffff; 
     8$dark_color: #23282d; 
     9 
     10$normal_bg_color: #e1e1e1; 
     11$normal_gradint_1: #ffffff; 
     12$normal_gradint_2: #f0f0f0; 
     13$normal_outset_1: #d7d7d7; 
     14$normal_outset_2: #b7b7b7; 
     15 
     16$primary_bg_color: #206ff4; 
     17$primary_gradint_1: #5fadff; 
     18$primary_gradint_2: #2a90fc; 
     19$primary_outset_1: #5b9add; 
     20$primary_outset_2: #3e6a99; 
     21 
     22$secondary_bg_color: #495159; 
     23$secondary_gradint_1: #4c5054; 
     24$secondary_gradint_2: #495159; 
     25$secondary_outset_1: #777879; 
     26$secondary_outset_2: #2f343a; 
     27 
     28$success_bg_color: #3ba956; 
     29$success_gradint_1: #71e18f; 
     30$success_gradint_2: #49c66a; 
     31$success_outset_1: #49c56a; 
     32$success_outset_2: #3a9e54; 
     33 
     34$danger_bg_color: #c73434; 
     35$danger_gradint_1: #f98888; 
     36$danger_gradint_2: #e64545; 
     37$danger_outset_1: #e54444; 
     38$danger_outset_2: #b83636; 
     39 
     40$warning_bg_color: #ee8425; 
     41$warning_gradint_1: #ffcb81; 
     42$warning_gradint_2: #faa832; 
     43$warning_outset_1: #faa832; 
     44$warning_outset_2: #c98627; 
    1645 
    1746$border_radius_extra_small: 2px; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.scss

    r1505656 r1606600  
    22@import "ui-kit/mixins"; 
    33 
    4 .cherry-ui-container{ 
     4.cherry-ui-container { 
    55    margin: 10px 0 20px 0; 
    66} 
    7 label.cherry-label{ 
     7label.cherry-label { 
    88    margin: 0 0 5px 0; 
    99    display: block; 
    1010} 
    11 .cherry-ui-media-wrap{ 
     11.cherry-ui-media-wrap { 
    1212    .cherry-upload-preview{ 
    1313        display: block; 
    1414        margin: 0 0 5px 0; 
    15         .cherry-image-wrap{ 
     15        .cherry-image-wrap { 
    1616            position: relative; 
    1717            display: inline-block; 
     
    1919            width: 120px; 
    2020            height: 120px; 
    21             .inner{ 
     21            .inner { 
    2222                width: 110px; 
    2323                height: 110px; 
     
    2727                border-radius: $border_radius_extra_small; 
    2828                overflow: hidden; 
    29                 .preview-holder{ 
     29                .preview-holder { 
    3030                    width: 100%; 
    3131                    height: 100%; 
    3232                    position: relative; 
    33                     background: $grey_color_3; 
     33                    background: $bg_color; 
    3434                    box-sizing: border-box; 
    35                         .centered{ 
     35                        .centered { 
    3636                            position: absolute; 
    3737                            width: 100%; 
     
    4141                            transform: translate(50%,50%); 
    4242                        } 
    43                         img{ 
     43                        img { 
    4444                            max-width: 100%; 
    4545                            height: auto; 
    4646                            transform: translate(-50%,-50%); 
    4747                        } 
    48                         span{ 
     48                        span { 
    4949                            width: auto; 
    5050                            height: auto; 
     
    5353                        } 
    5454                } 
    55                 .title{ 
     55                .title { 
    5656                    position: absolute; 
    5757                    width: 100%; 
     
    6666                } 
    6767            } 
    68             &:hover{ 
    69                 .cherry-remove-image{ 
     68            &:hover { 
     69                .cherry-remove-image { 
    7070                    display: block; 
    7171                } 
    7272            } 
    7373        } 
    74         .cherry-media-thumb-sortable-placeholder{ 
     74        .cherry-media-thumb-sortable-placeholder { 
    7575            width: 112px; 
    7676            height: 112px; 
    7777            margin: 3px; 
    7878            vertical-align: top; 
    79             border: 1px dashed $grey_color_1; 
     79            border: 1px dashed $border_color; 
    8080            display: inline-block; 
    81             background-color: $grey_color_3; 
     81            background-color: $bg_color; 
    8282        } 
    8383    } 
    84     .upload-button{ 
     84    .upload-button { 
    8585        float: left; 
    8686    } 
    87     .cherry-remove-image{ 
     87    .cherry-remove-image { 
    8888        width: 30px; 
    8989        height: 30px; 
    90         color: $red_color; 
     90        color: $remove_color; 
    9191        display: block; 
    9292        position: absolute; 
     
    9797        outline: 0; 
    9898        display: none; 
    99             i{ 
     99            i { 
    100100                width: 30px; 
    101101                height: 30px; 
    102102                font-size: 30px; 
    103103            } 
    104             &:hover{ 
    105                 color: $red_color_h; 
     104            &:hover { 
     105                color: darken( $remove_color, 10% ); 
    106106            } 
    107107    } 
    108     .cherry-bgsetting{ 
     108    .cherry-bgsetting { 
    109109        float: left; 
    110110        width: 32%; 
    111111        margin-right: 1%; 
    112             &:nth-child(3n+1){ 
     112            &:nth-child(3n+1) { 
    113113                width: 34%; 
    114114                margin-right: 0; 
    115115            } 
    116             select{ 
     116            select { 
    117117                margin-bottom: 10px; 
    118118            } 
     
    120120} 
    121121 
    122 .button-default_{ 
     122.button-default_ { 
    123123    @include button_base(); 
    124     @include button_normal(); 
     124    @include secondary_button(); 
    125125} 
    126 /*.button_{ 
    127     display: inline-block; 
    128     cursor: pointer; 
    129     white-space: nowrap; 
    130     text-decoration: none; 
    131     box-sizing: border-box; 
    132     backface-visibility: hidden; 
    133     box-shadow: 0 0 1px rgba(0, 0, 0, 0); 
    134     position: relative; 
    135     transform: translateZ(0px); 
    136     transition-duration: 0.5s; 
    137     transition-property: color; 
    138     vertical-align: middle; 
    139     &:hover, 
    140     &:active, 
    141     &:focus { 
    142         outline: none; 
    143     } 
    144 } 
    145  
    146 .button-default_{ 
    147     @extend .button_; 
    148     font-size: 13px; 
    149     background-color: #ffffff; 
    150     border: 1px solid #dddcdc; 
    151     border-radius: 3px; 
    152     line-height: 32px; 
    153     margin: 0; 
    154     padding: 0 14px; 
    155     box-shadow: none; 
    156     color: #464646; 
    157     height: auto; 
    158 }*/ 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/ui-media.php

    r1575518 r1606600  
    3434            'value'              => '', 
    3535            'multi_upload'       => true, 
    36             'library_type'       => '', // image, video 
     36            'library_type'       => '', // image, video, sound 
    3737            'upload_button_text' => 'Choose Media', 
    3838            'label'              => '', 
     
    138138                        $html .= '<div class="cherry-element-wrap">'; 
    139139                            $html .= '<input type="hidden" id="' . esc_attr( $this->settings['id'] ) . '" class="cherry-upload-input" name="' . esc_attr( $this->settings['name'] ) . '" value="' . esc_html( $this->settings['value'] ) . '" >'; 
    140                             $html .= '<input type="button" class="upload-button cherry-upload-button button-default_" value="' . esc_attr( $this->settings['upload_button_text'] ) . '" data-title="' . esc_attr( $this->settings['upload_button_text'] ) . '" data-multi-upload="' . esc_attr( $this->settings['multi_upload'] ) . '" data-library-type="' . esc_attr( $this->settings['library_type'] ) . '"/>'; 
     140                            $html .= '<button type="button" class="upload-button cherry-upload-button button-default_" value="' . esc_attr( $this->settings['upload_button_text'] ) . '" data-title="' . esc_attr( $this->settings['upload_button_text'] ) . '" data-multi-upload="' . esc_attr( $this->settings['multi_upload'] ) . '" data-library-type="' . esc_attr( $this->settings['library_type'] ) . '">' . esc_attr( $this->settings['upload_button_text'] ) . '</button>'; 
    141141                            $html .= '<div class="clear"></div>'; 
    142142                        $html .= '</div>'; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}input.cherry-radio-input{display:none}.cherry-radio-item{margin-bottom:10px}.cherry-radio-item:last-child{margin-bottom:0}.cherry-radio-item label{display:inline-block;font-size:14px;line-height:22px;color:#23282d}.cherry-radio-item span{width:25px;height:25px;border-radius:25px;margin-right:10px;cursor:pointer;position:relative;background-color:#f1f1f1;display:inline-block;float:left}.cherry-radio-item span i{width:13px;height:13px;background-color:#298ffc;margin:6px;border-radius:20px;display:inline-block;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1)}.cherry-radio-item .cherry-radio-input:checked+label span i{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.cherry-radio-img{float:left;margin:10px 5px 0 5px;text-align:center;max-width:80px;position:relative}.cherry-radio-img label{display:inline-block}.cherry-radio-img img{width:100%;height:auto;margin:0 0 5px 0;pointer-events:none}.cherry-radio-img .cherry-radio-input:checked+label{font-weight:bold}.cherry-radio-img .cherry-radio-input:checked+label .check{display:block}.cherry-radio-img .cherry-radio-input:checked+label img{box-shadow:0 0 0 2px #fffeff,0 0 0 5px #298ffc} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}input.cherry-radio-input{display:none}.cherry-radio-item{margin-bottom:10px}.cherry-radio-item:last-child{margin-bottom:0}.cherry-radio-item label{display:inline-block;font-size:14px;line-height:22px;color:#23282d}.cherry-radio-item span{width:25px;height:25px;border-radius:25px;margin-right:10px;cursor:pointer;position:relative;background-color:#f1f1f1;display:inline-block;float:left}.cherry-radio-item span i{width:13px;height:13px;background-color:#298ffc;margin:6px;border-radius:20px;display:inline-block;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1)}.cherry-radio-item .cherry-radio-input:checked+label span i{-webkit-transform:scale(1);transform:scale(1)}.cherry-radio-img{float:left;margin:10px 5px 0 5px;text-align:center;max-width:80px;position:relative}.cherry-radio-img label{display:inline-block}.cherry-radio-img img{width:100%;height:auto;margin:0 0 5px 0;pointer-events:none}.cherry-radio-img .cherry-radio-input:checked+label{font-weight:bold}.cherry-radio-img .cherry-radio-input:checked+label .check{display:block}.cherry-radio-img .cherry-radio-input:checked+label img{box-shadow:0 0 0 2px #fffeff,0 0 0 5px #298ffc} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.js

    r1505656 r1606600  
    1 !function(t,e){"use strict";e.utilites.namespace("ui_elements.radio"),e.ui_elements.radio={inputClass:'.cherry-radio-input:not([name*="__i__"])',containerClass:".cherry-ui-container",wrapperClass:".widget, .postbox, .cherry-form",init:function(){t(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.setState.bind(this))},addEvent:function(){t("body").on("click.masterSlave",this.inputClass,this.switchState.bind(this)),this.setState({_target:t("body")})},setState:function(e){this.switchState({currentTarget:t(this.inputClass,e._target)})},switchState:function(e){for(var i,s,n,a=t(e.currentTarget).closest(this.containerClass),r=t(this.inputClass,a),c=r.length-1;c>=0;c--)i=t(r[c]),n=i.data(),s=i.closest(this.wrapperClass),jQuery.isEmptyObject(n)||t("."+n.slave,s)[i[0].checked?"removeClass":"addClass"]("hide")}},e.ui_elements.radio.init()}(jQuery,window.CherryJsCore); 
     1!function(t,e){"use strict";e.utilites.namespace("ui_elements.radio"),e.ui_elements.radio={inputClass:'.cherry-radio-input:not([name*="__i__"])',containerClass:".cherry-ui-container",wrapperClass:".widget, .postbox, .cherry-form, .cherry-ui-repeater-item",init:function(){t(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.setState.bind(this))},addEvent:function(){t("body").on("click.masterSlave",this.inputClass,this.switchState.bind(this)),this.setState({_target:t("body")})},setState:function(e){this.switchState({currentTarget:t(this.inputClass,e._target)})},switchState:function(e){for(var i,s,n,a=t(e.currentTarget).closest(this.containerClass),r=t(this.inputClass,a),c=r.length-1;c>=0;c--)i=t(r[c]),n=i.data(),s=i.closest(this.wrapperClass),jQuery.isEmptyObject(n)||t("."+n.slave,s)[i[0].checked?"removeClass":"addClass"]("hide")}},e.ui_elements.radio.init()}(jQuery,window.CherryJsCore); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    88    color: #fff; 
    99    text-transform: uppercase; 
    10     border-radius: $border_radius; 
     10    border-radius: $border_radius_small; 
    1111    transition: all 200ms linear; 
    1212    box-shadow: $box_shadow; 
     
    1818    &:active { 
    1919        outline: none; 
    20         box-shadow: none; 
     20        border-color: rgba(41, 143, 252, .6); 
     21        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    2122        color: #fff; 
    2223    } 
     
    5657        background: $orange_color_h; 
    5758    } 
     59} 
     60 
     61@mixin input() { 
     62    font-size: 14px; 
     63    line-height: 20px; 
     64    color: $dark_color_1; 
     65    background-color: $grey_color_3; 
     66    border-radius: $border_radius_extra_small; 
     67    padding: 10px 20px; 
     68    min-height: 50px; 
     69    border: 1px solid $grey_color_3; 
     70    box-shadow: none; 
     71        &:focus{ 
     72            border-color: rgba(41, 143, 252, .6); 
     73            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
     74        } 
    5875} 
    5976 
     
    110127    &:active { 
    111128        outline: none; 
    112         box-shadow: none; 
     129        border-color: rgba(41, 143, 252, .6); 
     130        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    113131        color: $blue_color; 
    114132    } 
     
    132150    border: 2px solid $grey_color_2; 
    133151    background: $grey_color_3; 
    134     border-radius: $border_radius_2x; 
     152    border-radius: $border_radius_large; 
    135153} 
    136154 
    137155@mixin container_heading() { 
    138156    margin: -30px -30px 30px -30px; 
    139     border-radius: $border_radius_2x $border_radius_2x 0 0; 
     157    border-radius: $border_radius_large $border_radius_large 0 0; 
    140158    border-bottom: 1px solid $grey_color_2; 
    141159    padding: 20px 30px; 
     
    157175@mixin box_heading() { 
    158176    margin: -20px -20px 20px -20px; 
    159     border-radius: $border_radius $border_radius 0 0; 
     177    border-radius: $border_radius_small $border_radius_small 0 0; 
    160178    border-bottom: 1px solid $grey_color_2; 
    161179    padding: 20px 30px; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-radio.js

    r1505656 r1606600  
    99        inputClass: '.cherry-radio-input:not([name*="__i__"])', 
    1010        containerClass: '.cherry-ui-container', 
    11         wrapperClass: '.widget, .postbox, .cherry-form', 
     11        wrapperClass: '.widget, .postbox, .cherry-form, .cherry-ui-repeater-item', 
    1212 
    1313        init: function () { 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/min/ui-repeater.min.css

    r1505656 r1606600  
    1 .cherry-ui-repeater-container label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-repeater-add{display:inline-block;text-decoration:none;font-size:12px;line-height:20px;font-weight:bold;color:#298ffc;text-transform:uppercase;-webkit-transition:all 200ms linear;transition:all 200ms linear}.cherry-ui-repeater-add:hover{color:#23282d;box-shadow:none}.cherry-ui-repeater-add:focus,.cherry-ui-repeater-add:active{outline:none;box-shadow:none;color:#298ffc}.cherry-ui-repeater-add:before{content:"";display:inline-block;font-family:dashicons;font-size:16px;font-style:normal;font-weight:400;height:18px;line-height:18px;text-align:center;text-decoration:inherit;-webkit-transition:all 200ms linear;transition:all 200ms linear;vertical-align:middle;padding:0 5px 0 0;color:#b4b7ba}.cherry-ui-repeater-add:hover:before{color:#298ffc}.cherry-ui-repeater-item{padding:10px 10px 10px 30px;position:relative}.cherry-ui-repeater-remove{position:absolute;width:20px;height:20px;right:18px;top:13px;border-radius:50%;border:1px solid currentColor;color:red;font-size:18px;line-height:20px;text-align:center;cursor:pointer}.cherry-ui-repeater-remove:before{content:"\00D7"}.cherry-ui-repeater-remove:hover{color:black}.cherry-ui-kit.cherry-ui-repeater-container{padding:30px;border:2px solid #e5e5e5;background:#f1f1f1;border-radius:8px}.cherry-ui-kit>label.cherry-label{margin:-30px -30px 30px -30px;border-radius:8px 8px 0 0;border-bottom:1px solid #e5e5e5;padding:20px 30px;font-weight:bold;font-size:16px;line-height:18px;text-align:center;background:#fff}.cherry-ui-kit .cherry-ui-repeater-item{margin:0 0 30px;padding:20px;background:#fff;box-shadow:0 8px 21px rgba(0,0,0,0.1);border-radius:4px}.cherry-ui-kit .cherry-ui-repeater-actions-box{margin:-20px -20px 20px -20px;border-radius:4px 4px 0 0;border-bottom:1px solid #e5e5e5;padding:20px 30px;font-weight:bold;font-size:16px;line-height:18px;background:#fff;padding:15px 20px;cursor:move;position:relative;text-align:center;min-height:18px}.cherry-ui-kit .cherry-ui-repeater-toggle{position:absolute;color:#b4b7ba;width:20px;height:20px;font-size:22px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;text-decoration:none;box-shadow:none;outline:none;top:13px;left:18px}.cherry-ui-kit .cherry-ui-repeater-toggle:before{content:"\f142";-webkit-transition:all 200ms linear;transition:all 200ms linear;font-family:dashicons;vertical-align:middle}.cherry-ui-kit .cherry-ui-repeater-toggle:hover{color:#23282d}.cherry-ui-kit .cherry-ui-repeater-remove{position:absolute;border:none;color:#b4b7ba;font-size:20px;line-height:20px;width:20px;height:20px;text-align:center;vertical-align:middle;text-decoration:none;box-shadow:none;outline:none;top:13px;right:18px}.cherry-ui-kit .cherry-ui-repeater-remove:before{content:"\f158";-webkit-transition:all 200ms linear;transition:all 200ms linear;font-family:dashicons;vertical-align:middle}.cherry-ui-kit .cherry-ui-repeater-remove:hover{color:#23282d}.cherry-ui-kit .cherry-ui-repeater-title{width:70%;overflow:hidden;text-overflow:ellipsis;display:inline-block;font-size:14px}.cherry-ui-kit .cherry-ui-repeater-min{padding-bottom:0}.cherry-ui-kit .cherry-ui-repeater-min>.cheryr-ui-repeater-content-box{display:none}.cherry-ui-kit .cherry-ui-repeater-min>.cherry-ui-repeater-actions-box{margin-bottom:0;border-bottom:none;background:none}.cherry-ui-kit .cherry-ui-repeater-min>.cherry-ui-repeater-actions-box .cherry-ui-repeater-toggle:before{content:"\f140"} 
     1.cherry-ui-repeater-container label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-repeater-add{display:inline-block;text-decoration:none;font-size:12px;line-height:20px;font-weight:bold;color:#298ffc;text-transform:uppercase;transition:all 200ms linear}.cherry-ui-repeater-add:hover{color:#23282d;box-shadow:none}.cherry-ui-repeater-add:focus,.cherry-ui-repeater-add:active{outline:none;border-color:rgba(41,143,252,0.6);box-shadow:0 0 2px rgba(41,143,252,0.6);color:#298ffc}.cherry-ui-repeater-add:before{content:"";display:inline-block;font-family:dashicons;font-size:16px;font-style:normal;font-weight:400;height:18px;line-height:18px;text-align:center;text-decoration:inherit;transition:all 200ms linear;vertical-align:middle;padding:0 5px 0 0;color:#b4b7ba}.cherry-ui-repeater-add:hover:before{color:#298ffc}.cherry-ui-repeater-item{padding:10px 10px 10px 30px;position:relative}.cherry-ui-repeater-remove{position:absolute;width:20px;height:20px;right:18px;top:13px;border-radius:50%;border:1px solid currentColor;color:red;font-size:18px;line-height:20px;text-align:center;cursor:pointer}.cherry-ui-repeater-remove:before{content:"\00D7"}.cherry-ui-repeater-remove:hover{color:black}.cherry-ui-kit.cherry-ui-repeater-container{padding:30px;border:2px solid #e5e5e5;background:#f1f1f1;border-radius:8px}.cherry-ui-kit>label.cherry-label{margin:-30px -30px 30px -30px;border-radius:8px 8px 0 0;border-bottom:1px solid #e5e5e5;padding:20px 30px;font-weight:bold;font-size:16px;line-height:18px;text-align:center;background:#fff}.cherry-ui-kit .cherry-ui-repeater-item{margin:0 0 30px;padding:20px;background:#fff;box-shadow:0 8px 21px rgba(0,0,0,0.1);border-radius:4px}.cherry-ui-kit .cherry-ui-repeater-actions-box{margin:-20px -20px 20px -20px;border-radius:4px 4px 0 0;border-bottom:1px solid #e5e5e5;padding:20px 30px;font-weight:bold;font-size:16px;line-height:18px;background:#fff;padding:15px 20px;cursor:move;position:relative;text-align:center;min-height:18px}.cherry-ui-kit .cherry-ui-repeater-toggle{position:absolute;color:#b4b7ba;width:20px;height:20px;font-size:22px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;text-decoration:none;box-shadow:none;outline:none;top:13px;left:18px}.cherry-ui-kit .cherry-ui-repeater-toggle:before{content:"\f142";-webkit-transition:all 200ms linear;transition:all 200ms linear;font-family:dashicons;vertical-align:middle}.cherry-ui-kit .cherry-ui-repeater-toggle:hover{color:#23282d}.cherry-ui-kit .cherry-ui-repeater-remove{position:absolute;border:none;color:#b4b7ba;font-size:20px;line-height:20px;width:20px;height:20px;text-align:center;vertical-align:middle;text-decoration:none;box-shadow:none;outline:none;top:13px;right:18px}.cherry-ui-kit .cherry-ui-repeater-remove:before{content:"\f158";-webkit-transition:all 200ms linear;transition:all 200ms linear;font-family:dashicons;vertical-align:middle}.cherry-ui-kit .cherry-ui-repeater-remove:hover{color:#23282d}.cherry-ui-kit .cherry-ui-repeater-title{width:70%;overflow:hidden;text-overflow:ellipsis;display:inline-block;font-size:14px}.cherry-ui-kit .cherry-ui-repeater-add:focus{outline:none;box-shadow:none}.cherry-ui-kit .cherry-ui-repeater-min{padding-bottom:0}.cherry-ui-kit .cherry-ui-repeater-min>.cheryr-ui-repeater-content-box{display:none}.cherry-ui-kit .cherry-ui-repeater-min>.cherry-ui-repeater-actions-box{margin-bottom:0;border-bottom:none;background:none}.cherry-ui-kit .cherry-ui-repeater-min>.cherry-ui-repeater-actions-box .cherry-ui-repeater-toggle:before{content:"\f140"} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1818    &:active { 
    1919        outline: none; 
    20         box-shadow: none; 
     20        border-color: rgba(41, 143, 252, .6); 
     21        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    2122        color: #fff; 
    2223    } 
     
    5657        background: $orange_color_h; 
    5758    } 
     59} 
     60 
     61@mixin input() { 
     62    font-size: 14px; 
     63    line-height: 20px; 
     64    color: $dark_color_1; 
     65    background-color: $grey_color_3; 
     66    border-radius: $border_radius_extra_small; 
     67    padding: 10px 20px; 
     68    min-height: 50px; 
     69    border: 1px solid $grey_color_3; 
     70    box-shadow: none; 
     71        &:focus{ 
     72            border-color: rgba(41, 143, 252, .6); 
     73            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
     74        } 
    5875} 
    5976 
     
    110127    &:active { 
    111128        outline: none; 
    112         box-shadow: none; 
     129        border-color: rgba(41, 143, 252, .6); 
     130        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    113131        color: $blue_color; 
    114132    } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-repeater.scss

    r1505656 r1606600  
    117117            font-size: 14px; 
    118118        } 
     119        &-add { 
     120            &:focus { 
     121                outline: none; 
     122                box-shadow: none; 
     123            } 
     124        } 
    119125    } 
    120126 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/min/ui-select.min.css

    r1519283 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}select.cherry-ui-select{width:100%;outline:0 none;color:#23282d;font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;height:50px;border:1px solid #f1f1f1;box-shadow:none}select.cherry-ui-select:focus{border-color:rgba(72,197,105,0.6);box-shadow:0 0 2px rgba(72,197,105,0.6)}select.cherry-ui-select:focus{border-color:none;box-shadow:none}select.select2-hidden-accessible{display:none}.select2{color:#23282d;background-color:#f1f1f1;border-radius:2px}.select2 .selection .select2-selection.select2-selection--single{background-color:transparent;border:none;border-radius:2px;height:50px}.select2 .selection .select2-selection.select2-selection--single .select2-selection__rendered{padding:15px 20px;font-size:14px;line-height:20px}.select2 .selection .select2-selection.select2-selection--single .select2-selection__arrow{height:50px}.select2 .selection .select2-selection.select2-selection--multiple{background-color:transparent;border:none;border-radius:2px}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered{font-size:14px;line-height:20px;padding:0;display:block}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-selection__choice{line-height:20px;margin:5px;border:none;background-color:#495159;border-radius:2px;color:#fff;padding:10px}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{color:#e54343;margin-right:10px}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-search{margin:0}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-search .select2-search__field{padding:0;margin:15px 10px;border:none;box-shadow:none;line-height:20px}.select2-container .select2-dropdown{background-color:#e5e5e5;border:none;border-radius:2px;margin:5px 0;box-shadow:0px 5px 21px rgba(0,0,0,0.1);z-index:500001}.select2-container .select2-dropdown .select2-search__field{border:none;box-shadow:none;border-radius:2px;margin:0}.select2-container .select2-dropdown .select2-search__field:focus{outline:none}.select2-container .select2-dropdown .select2-results .select2-results__options .select2-results__option[aria-selected=true]{color:#fff;background-color:#48c569}.select2-container .select2-dropdown .select2-results .select2-results__options .select2-results__option--highlighted{color:#fff;background-color:#495159}.select2-container .select2-dropdown .select2-results .select2-results__options .li[aria-disabled=true]{display:none} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}select.cherry-ui-select{width:100%;outline:0 none;color:#23282d;font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;min-height:50px;border:1px solid #dcdcdc;box-shadow:none}select.cherry-ui-select:focus{border-color:rgba(41,143,252,0.6);box-shadow:0 0 2px rgba(41,143,252,0.6)}select.cherry-ui-select:focus{border-color:none;box-shadow:none}select.select2-hidden-accessible{display:none}.select2{color:#23282d;background-color:#f1f1f1;border-radius:2px;border:1px solid #dcdcdc}.select2 .selection .select2-selection.select2-selection--single{background-color:transparent;border:none;border-radius:2px;height:50px}.select2 .selection .select2-selection.select2-selection--single .select2-selection__rendered{padding:15px 20px;font-size:14px;line-height:20px}.select2 .selection .select2-selection.select2-selection--single .select2-selection__arrow{height:50px}.select2 .selection .select2-selection.select2-selection--multiple{background-color:transparent;border:none;border-radius:2px}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered{font-size:14px;line-height:20px;padding:0;display:block}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-selection__choice{line-height:20px;margin:5px;border:none;background-color:#23282d;border-radius:2px;color:#fff;padding:10px}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{color:#e64545;margin-right:10px}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-search{margin:0}.select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-search .select2-search__field{padding:0;margin:15px 10px;border:none;box-shadow:none;line-height:20px}.select2-container .select2-dropdown{background-color:#e5e5e5;border:none;border-radius:2px;margin:5px 0;box-shadow:0px 5px 21px rgba(0,0,0,0.1);z-index:500001}.select2-container .select2-dropdown .select2-search__field{border:none;box-shadow:none;border-radius:2px;margin:0}.select2-container .select2-dropdown .select2-search__field:focus{outline:none}.select2-container .select2-dropdown .select2-results .select2-results__options .select2-results__option[aria-selected=true]{color:#fff;background-color:#2a90fc}.select2-container .select2-dropdown .select2-results .select2-results__options .select2-results__option--highlighted{color:#fff;background-color:#23282d}.select2-container .select2-dropdown .select2-results .select2-results__options .li[aria-disabled=true]{display:none} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/min/ui-select.min.js

    r1505656 r1606600  
    1 !function(e,t){"use strict";t.utilites.namespace("ui_elements.select"),t.ui_elements.select={selectClass:'.cherry-ui-select[data-filter="true"]:not([name*="__i__"]), .cherry-ui-select[multiple]:not([name*="__i__"])',wrapperClass:".widget, .postbox, .cherry-form",init:function(){e(document).on("ready.cherry-ui-elements-init",this.render.bind(this)).on("cherry-ui-elements-init",this.render.bind(this))},render:function(t){var i=t._target?t._target:e("body");e(this.selectClass,i).each(this.select2Init.bind(this))},select2Init:function(t,i){var s=e(i),r={placeholder:s.attr("placeholder")};s.select2(r).on("change.cherrySelect2",this.changeEvent.bind(this)).trigger("change.cherrySelect2")},changeEvent:function(e){this.switchState(e.currentTarget)},switchState:function(t){for(var i,s,r,n=e(t),c=n[0].length;c>=0;c--)i=e(n[0][c]),s=i.data(),r=e(n[0]).closest(this.wrapperClass),jQuery.isEmptyObject(s)||e("."+s.slave,r)[i[0].selected?"removeClass":"addClass"]("hide")}},t.ui_elements.select.init()}(jQuery,window.CherryJsCore); 
     1!function(e,t){"use strict";t.utilites.namespace("ui_elements.select"),t.ui_elements.select={selectClass:'.cherry-ui-select[data-filter="true"]:not([name*="__i__"]), .cherry-ui-select[multiple]:not([name*="__i__"])',wrapperClass:".widget, .postbox, .cherry-form, .cherry-ui-repeater-item",init:function(){e(document).on("ready.cherry-ui-elements-init",this.render.bind(this)).on("cherry-ui-elements-init",this.render.bind(this))},render:function(t){var i=t._target?t._target:e("body");e(this.selectClass,i).each(this.select2Init.bind(this))},select2Init:function(t,i){var s=e(i),r={placeholder:s.attr("placeholder")};s.select2(r).on("change.cherrySelect2",this.changeEvent.bind(this)).trigger("change.cherrySelect2")},changeEvent:function(e){this.switchState(e.currentTarget)},switchState:function(t){for(var i,s,r,n=e(t),c=n[0].length;c>=0;c--)i=e(n[0][c]),s=i.data(),r=e(n[0]).closest(this.wrapperClass),jQuery.isEmptyObject(s)||e("."+s.slave,r)[i[0].selected?"removeClass":"addClass"]("hide")}},t.ui_elements.select.init()}(jQuery,window.CherryJsCore); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1 @mixin button_base() { 
    2     display: inline-block; 
    3     text-decoration: none; 
    4     font-size: 12px; 
    5     line-height: 20px; 
    6     font-weight: bold; 
    7     padding: 15px 20px; 
    8     color: #fff; 
    9     text-transform: uppercase; 
    10     border-radius: $border_radius_small; 
    11     transition: all 200ms linear; 
    12     box-shadow: $box_shadow; 
    13     &:hover { 
    14         color: #fff; 
    15         box-shadow: none; 
    16     } 
    17     &:focus, 
    18     &:active { 
    19         outline: none; 
    20         box-shadow: none; 
    21         color: #fff; 
    22     } 
    23 } 
    24  
    25 @mixin button_normal() { 
    26     background: $dark_color_2; 
    27     &:hover { 
    28         background: $dark_color_2_h; 
    29     } 
    30 } 
    31  
    32 @mixin button_primary() { 
    33     background: $blue_color; 
    34     &:hover { 
    35         background: $blue_color_h; 
    36     } 
    37 } 
    38  
    39 @mixin button_success() { 
    40     background: $green_color; 
    41     &:hover { 
    42         background: $green_color_h; 
    43     } 
    44 } 
    45  
    46 @mixin button_danger() { 
    47     background: $red_color; 
    48     &:hover { 
    49         background: $red_color_h; 
    50     } 
    51 } 
    52  
    53 @mixin button_warning() { 
    54     background: $orange_color; 
    55     &:hover { 
    56         background: $orange_color_h; 
    57     } 
    58 } 
    59  
    601@mixin input() { 
    612    font-size: 14px; 
    623    line-height: 20px; 
    63     color: $dark_color_1; 
    64     background-color: $grey_color_3; 
     4    color: $dark_color; 
     5    background-color: $bg_color; 
    656    border-radius: $border_radius_extra_small; 
    667    padding: 10px 20px; 
    67     height: 50px; 
    68     border: 1px solid $grey_color_3; 
     8    min-height: 50px; 
     9    border: 1px solid $border_color; 
    6910    box-shadow: none; 
    7011        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     12            border-color: rgba(41, 143, 252, .6); 
     13            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7314        } 
    7415} 
    75  
    76 @mixin button_icon( $icon ) { 
    77     content: $icon; 
    78     display: inline-block; 
    79     font-family: dashicons; 
    80     font-size: 16px; 
    81     font-style: normal; 
    82     font-weight: 400; 
    83     height: 18px; 
    84     line-height: 18px; 
    85     text-align: center; 
    86     text-decoration: inherit; 
    87     transition: all 200ms linear; 
    88     vertical-align: middle; 
    89 } 
    90  
    91 @mixin button_icon_before( $icon ) { 
    92     &:before { 
    93         @include button_icon( $icon ); 
    94         padding: 0 5px 0 0; 
    95     } 
    96 } 
    97  
    98 @mixin button_icon_after( $icon ) { 
    99     &:after { 
    100         @include button_icon( $icon ); 
    101         padding: 0 0 0 5px; 
    102     } 
    103 } 
    104  
    105 @mixin button_icon_middle( $icon ) { 
    106     &:before { 
    107         @include button_icon( $icon ); 
    108         margin: 0 -5px; 
    109     } 
    110 } 
    111  
    112 @mixin link() { 
    113     display: inline-block; 
    114     text-decoration: none; 
    115     font-size: 12px; 
    116     line-height: 20px; 
    117     font-weight: bold; 
    118     color: $blue_color; 
    119     text-transform: uppercase; 
    120     transition: all 200ms linear; 
    121     &:hover { 
    122         color: $dark_color_1; 
    123         box-shadow: none; 
    124     } 
    125     &:focus, 
    126     &:active { 
    127         outline: none; 
    128         box-shadow: none; 
    129         color: $blue_color; 
    130     } 
    131 } 
    132  
    133 @mixin link_icon_before( $icon ) { 
    134     &:before { 
    135         @include button_icon( $icon ); 
    136         padding: 0 5px 0 0; 
    137         color: $grey_color_4; 
    138     } 
    139     &:hover { 
    140         &:before { 
    141             color: $blue_color; 
    142         } 
    143     } 
    144 } 
    145  
    146 @mixin container() { 
    147     padding: 30px; 
    148     border: 2px solid $grey_color_2; 
    149     background: $grey_color_3; 
    150     border-radius: $border_radius_large; 
    151 } 
    152  
    153 @mixin container_heading() { 
    154     margin: -30px -30px 30px -30px; 
    155     border-radius: $border_radius_large $border_radius_large 0 0; 
    156     border-bottom: 1px solid $grey_color_2; 
    157     padding: 20px 30px; 
    158     font-weight: bold; 
    159     font-size: 16px; 
    160     line-height: 18px; 
    161     text-align: center; 
    162     background: #fff; 
    163 } 
    164  
    165 @mixin box() { 
    166     margin: 0 0 30px; 
    167     padding: 20px; 
    168     background: #fff; 
    169     box-shadow: $box_shadow_box; 
    170     border-radius: $border_radius; 
    171 } 
    172  
    173 @mixin box_heading() { 
    174     margin: -20px -20px 20px -20px; 
    175     border-radius: $border_radius_small $border_radius_small 0 0; 
    176     border-bottom: 1px solid $grey_color_2; 
    177     padding: 20px 30px; 
    178     font-weight: bold; 
    179     font-size: 16px; 
    180     line-height: 18px; 
    181     background: #fff; 
    182 } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/ui-kit/_variables.scss

    r1505656 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
    8 $blue_color: #298ffc; 
    9 $blue_color_h: #206ff4; 
    10 $green_color: #48c569; 
    11 $green_color_h: #3ba956; 
    12 $red_color: #e54343; 
    13 $red_color_h: #c73434; 
    14 $orange_color: #faa730; 
    15 $orange_color_h: #ee8425; 
     1$light_color: #ffffff; 
     2$dark_color: #23282d; 
     3 
     4$bg_color: #f1f1f1; 
     5$bg_color_2: #e5e5e5; 
     6$border_color: #dcdcdc; 
     7 
     8$remove_color: #e64545; 
     9$primary_color: #2a90fc; 
    1610 
    1711$border_radius_extra_small: 2px; 
    18 $border_radius_small: 4px; 
    19 $border_radius_medium: 6px; 
    20 $border_radius_large: 8px; 
    21  
    22 $box_shadow: 0 5px 13px rgba(0,0,0,.18); 
    23 $box_shadow_box: 0 8px 21px rgba(0,0,0,.1); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/ui-select.js

    r1505656 r1606600  
    88    CherryJsCore.ui_elements.select = { 
    99        selectClass: '.cherry-ui-select[data-filter="true"]:not([name*="__i__"]), .cherry-ui-select[multiple]:not([name*="__i__"])', 
    10         wrapperClass: '.widget, .postbox, .cherry-form', 
     10        wrapperClass: '.widget, .postbox, .cherry-form, .cherry-ui-repeater-item', 
    1111 
    1212        init: function () { 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/ui-select.scss

    r1519283 r1606600  
    1515    width: 100%; 
    1616    outline: 0 none; 
    17     color: $dark_color_1; 
     17    color: $dark_color; 
    1818    @include input(); 
    1919    &:focus{ 
     
    2727} 
    2828.select2{ 
    29     color: $dark_color_1; 
    30     background-color: $grey_color_3; 
     29    color: $dark_color; 
     30    background-color: $bg_color; 
    3131    border-radius: $border_radius_extra_small; 
     32    border: 1px solid $border_color; 
    3233    .selection{ 
    3334        .select2-selection{ 
     
    5960                        margin: 5px; 
    6061                        border: none; 
    61                         background-color: $dark_color_2; 
     62                        background-color: $dark_color; 
    6263                        border-radius: $border_radius_extra_small; 
    6364                        color: #fff; 
    6465                        padding: 10px; 
    6566                        .select2-selection__choice__remove{ 
    66                             color: $red_color; 
     67                            color: $remove_color; 
    6768                            margin-right: 10px; 
    6869                        } 
     
    8889.select2-container{ 
    8990    .select2-dropdown{ 
    90         background-color: $grey_color_2; 
     91        background-color: $bg_color_2; 
    9192        border: none; 
    9293        border-radius: $border_radius_extra_small; 
     
    110111                    &[aria-selected=true]{ 
    111112                        color: #fff; 
    112                         background-color: $green_color; 
     113                        background-color: $primary_color; 
    113114                    } 
    114115                    &--highlighted{ 
    115116                        color: #fff; 
    116                         background-color: $dark_color_2; 
     117                        background-color: $dark_color; 
    117118                    } 
    118119                } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-slider/assets/min/ui-slider.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}.cherry-ui-container .cherry-ui-container{margin:0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-slider-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.cherry-slider-wrap .cherry-slider-input{-webkit-box-flex:0;-webkit-flex:0 1 10%;-ms-flex:0 1 10%;flex:0 1 10%;min-width:100px;max-width:200px}.cherry-slider-wrap .cherry-slider-holder{-webkit-box-flex:0;-webkit-flex:0 1 90%;-ms-flex:0 1 90%;flex:0 1 90%;min-width:200px;max-width:300px;margin-right:20px}.cherry-slider-wrap .cherry-slider-holder input[type=range]{-webkit-appearance:none;width:100%;margin:20px 0}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus{outline:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;box-shadow:none;background:#48c569;border-radius:25px;border:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-webkit-slider-thumb{box-shadow:5px 5px 13px rgba(0,0,0,0.18);border:5px solid #48c569;height:20px;width:20px;margin-top:-7px;border-radius:15px;background:#48c569;cursor:pointer;-webkit-appearance:none;-webkit-transition:all 250ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 250ms cubic-bezier(0.645, 0.045, 0.355, 1)}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-webkit-slider-thumb{background:#f1f1f1;height:28px;width:28px;margin-top:-11.5px}.cherry-slider-wrap .cherry-slider-holder input[type=range]:hover::-webkit-slider-thumb{background:#f1f1f1;height:28px;width:28px;margin-top:-11.5px}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-webkit-slider-runnable-track{background:#48c569}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-moz-range-track{width:100%;height:5px;cursor:pointer;box-shadow:none;background:#48c569;border-radius:25px;border:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-moz-range-thumb{box-shadow:none;border:none;height:28px;width:28px;border-radius:15px;background:#48c569;cursor:pointer}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-track{width:100%;height:10px;cursor:pointer;background:#f1f1f1;border-color:transparent;color:transparent}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-fill-lower{background:#f1f1f1;border:none;border-radius:50px;box-shadow:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-fill-upper{background:#48c569;border:none;border-radius:50px;box-shadow:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-thumb{box-shadow:none;border:none;height:10px;width:10px;border-radius:15px;background:#495159;cursor:pointer}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-ms-fill-lower{background:#f1f1f1}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-ms-fill-upper{background:#48c569}.cherry-slider-wrap .cherry-input{margin:0;width:100%} 
     1.cherry-ui-container{margin:10px 0 20px 0}.cherry-ui-container .cherry-ui-container{margin:0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-slider-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.cherry-slider-wrap .cherry-slider-input{-webkit-box-flex:0;-ms-flex:0 1 10%;flex:0 1 10%;min-width:100px;max-width:200px}.cherry-slider-wrap .cherry-slider-holder{-webkit-box-flex:0;-ms-flex:0 1 90%;flex:0 1 90%;min-width:200px;max-width:300px;margin-right:20px}.cherry-slider-wrap .cherry-slider-holder input[type=range]{-webkit-appearance:none;width:100%;margin:20px 0}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus{outline:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;box-shadow:none;background:#48c569;border-radius:25px;border:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-webkit-slider-thumb{box-shadow:5px 5px 13px rgba(0,0,0,0.18);border:5px solid #48c569;height:20px;width:20px;margin-top:-7px;border-radius:15px;background:#48c569;cursor:pointer;-webkit-appearance:none;-webkit-transition:all 250ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 250ms cubic-bezier(0.645, 0.045, 0.355, 1)}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-webkit-slider-thumb{background:#f1f1f1;height:28px;width:28px;margin-top:-11.5px}.cherry-slider-wrap .cherry-slider-holder input[type=range]:hover::-webkit-slider-thumb{background:#f1f1f1;height:28px;width:28px;margin-top:-11.5px}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-webkit-slider-runnable-track{background:#48c569}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-moz-range-track{width:100%;height:5px;cursor:pointer;box-shadow:none;background:#48c569;border-radius:25px;border:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-moz-range-thumb{box-shadow:none;border:none;height:28px;width:28px;border-radius:15px;background:#48c569;cursor:pointer}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-track{width:100%;height:10px;cursor:pointer;background:#f1f1f1;border-color:transparent;color:transparent}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-fill-lower{background:#f1f1f1;border:none;border-radius:50px;box-shadow:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-fill-upper{background:#48c569;border:none;border-radius:50px;box-shadow:none}.cherry-slider-wrap .cherry-slider-holder input[type=range]::-ms-thumb{box-shadow:none;border:none;height:10px;width:10px;border-radius:15px;background:#495159;cursor:pointer}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-ms-fill-lower{background:#f1f1f1}.cherry-slider-wrap .cherry-slider-holder input[type=range]:focus::-ms-fill-upper{background:#48c569}.cherry-slider-wrap .cherry-input{margin:0;width:100%} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-slider/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1818    &:active { 
    1919        outline: none; 
    20         box-shadow: none; 
     20        border-color: rgba(41, 143, 252, .6); 
     21        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    2122        color: #fff; 
    2223    } 
     
    6566    border-radius: $border_radius_extra_small; 
    6667    padding: 10px 20px; 
    67     height: 50px; 
     68    min-height: 50px; 
    6869    border: 1px solid $grey_color_3; 
    6970    box-shadow: none; 
    7071        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     72            border-color: rgba(41, 143, 252, .6); 
     73            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7374        } 
    7475} 
     
    126127    &:active { 
    127128        outline: none; 
    128         box-shadow: none; 
     129        border-color: rgba(41, 143, 252, .6); 
     130        box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    129131        color: $blue_color; 
    130132    } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-stepper/assets/min/ui-stepper.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-stepper{position:relative;max-width:100px}.cherry-ui-stepper input[type=number]{font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;height:50px;border:1px solid #f1f1f1;box-shadow:none;padding:10px 10px 10px 20px}.cherry-ui-stepper input[type=number]:focus{border-color:rgba(72,197,105,0.6);box-shadow:0 0 2px rgba(72,197,105,0.6)}.cherry-ui-stepper-input{min-width:90px;max-width:90px;text-align:center} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-stepper{position:relative;max-width:100px}.cherry-ui-stepper input[type=number]{font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px;min-height:50px;border:1px solid #dcdcdc;box-shadow:none}.cherry-ui-stepper input[type=number]:focus{border-color:rgba(41,143,252,0.6);box-shadow:0 0 2px rgba(41,143,252,0.6)}.cherry-ui-stepper-input{min-width:90px;max-width:90px;text-align:center} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-stepper/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1 @mixin button_base() { 
    2     display: inline-block; 
    3     text-decoration: none; 
    4     font-size: 12px; 
    5     line-height: 20px; 
    6     font-weight: bold; 
    7     padding: 15px 20px; 
    8     color: #fff; 
    9     text-transform: uppercase; 
    10     border-radius: $border_radius_small; 
    11     transition: all 200ms linear; 
    12     box-shadow: $box_shadow; 
    13     &:hover { 
    14         color: #fff; 
    15         box-shadow: none; 
    16     } 
    17     &:focus, 
    18     &:active { 
    19         outline: none; 
    20         box-shadow: none; 
    21         color: #fff; 
    22     } 
    23 } 
    24  
    25 @mixin button_normal() { 
    26     background: $dark_color_2; 
    27     &:hover { 
    28         background: $dark_color_2_h; 
    29     } 
    30 } 
    31  
    32 @mixin button_primary() { 
    33     background: $blue_color; 
    34     &:hover { 
    35         background: $blue_color_h; 
    36     } 
    37 } 
    38  
    39 @mixin button_success() { 
    40     background: $green_color; 
    41     &:hover { 
    42         background: $green_color_h; 
    43     } 
    44 } 
    45  
    46 @mixin button_danger() { 
    47     background: $red_color; 
    48     &:hover { 
    49         background: $red_color_h; 
    50     } 
    51 } 
    52  
    53 @mixin button_warning() { 
    54     background: $orange_color; 
    55     &:hover { 
    56         background: $orange_color_h; 
    57     } 
    58 } 
    59  
    601@mixin input() { 
    612    font-size: 14px; 
    623    line-height: 20px; 
    63     color: $dark_color_1; 
    64     background-color: $grey_color_3; 
     4    color: $dark_color; 
     5    background-color: $bg_color; 
    656    border-radius: $border_radius_extra_small; 
    66     padding: 10px 20px; 
    67     height: 50px; 
    68     border: 1px solid $grey_color_3; 
     7    padding: 10px; 
     8    min-height: 50px; 
     9    border: 1px solid $border_color; 
    6910    box-shadow: none; 
    7011        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     12            border-color: rgba(41, 143, 252, .6); 
     13            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7314        } 
    7415} 
    75  
    76 @mixin button_icon( $icon ) { 
    77     content: $icon; 
    78     display: inline-block; 
    79     font-family: dashicons; 
    80     font-size: 16px; 
    81     font-style: normal; 
    82     font-weight: 400; 
    83     height: 18px; 
    84     line-height: 18px; 
    85     text-align: center; 
    86     text-decoration: inherit; 
    87     transition: all 200ms linear; 
    88     vertical-align: middle; 
    89 } 
    90  
    91 @mixin button_icon_before( $icon ) { 
    92     &:before { 
    93         @include button_icon( $icon ); 
    94         padding: 0 5px 0 0; 
    95     } 
    96 } 
    97  
    98 @mixin button_icon_after( $icon ) { 
    99     &:after { 
    100         @include button_icon( $icon ); 
    101         padding: 0 0 0 5px; 
    102     } 
    103 } 
    104  
    105 @mixin button_icon_middle( $icon ) { 
    106     &:before { 
    107         @include button_icon( $icon ); 
    108         margin: 0 -5px; 
    109     } 
    110 } 
    111  
    112 @mixin link() { 
    113     display: inline-block; 
    114     text-decoration: none; 
    115     font-size: 12px; 
    116     line-height: 20px; 
    117     font-weight: bold; 
    118     color: $blue_color; 
    119     text-transform: uppercase; 
    120     transition: all 200ms linear; 
    121     &:hover { 
    122         color: $dark_color_1; 
    123         box-shadow: none; 
    124     } 
    125     &:focus, 
    126     &:active { 
    127         outline: none; 
    128         box-shadow: none; 
    129         color: $blue_color; 
    130     } 
    131 } 
    132  
    133 @mixin link_icon_before( $icon ) { 
    134     &:before { 
    135         @include button_icon( $icon ); 
    136         padding: 0 5px 0 0; 
    137         color: $grey_color_4; 
    138     } 
    139     &:hover { 
    140         &:before { 
    141             color: $blue_color; 
    142         } 
    143     } 
    144 } 
    145  
    146 @mixin container() { 
    147     padding: 30px; 
    148     border: 2px solid $grey_color_2; 
    149     background: $grey_color_3; 
    150     border-radius: $border_radius_large; 
    151 } 
    152  
    153 @mixin container_heading() { 
    154     margin: -30px -30px 30px -30px; 
    155     border-radius: $border_radius_large $border_radius_large 0 0; 
    156     border-bottom: 1px solid $grey_color_2; 
    157     padding: 20px 30px; 
    158     font-weight: bold; 
    159     font-size: 16px; 
    160     line-height: 18px; 
    161     text-align: center; 
    162     background: #fff; 
    163 } 
    164  
    165 @mixin box() { 
    166     margin: 0 0 30px; 
    167     padding: 20px; 
    168     background: #fff; 
    169     box-shadow: $box_shadow_box; 
    170     border-radius: $border_radius; 
    171 } 
    172  
    173 @mixin box_heading() { 
    174     margin: -20px -20px 20px -20px; 
    175     border-radius: $border_radius_small $border_radius_small 0 0; 
    176     border-bottom: 1px solid $grey_color_2; 
    177     padding: 20px 30px; 
    178     font-weight: bold; 
    179     font-size: 16px; 
    180     line-height: 18px; 
    181     background: #fff; 
    182 } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-stepper/assets/ui-kit/_variables.scss

    r1505656 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
    8 $blue_color: #298ffc; 
    9 $blue_color_h: #206ff4; 
    10 $green_color: #48c569; 
    11 $green_color_h: #3ba956; 
    12 $red_color: #e54343; 
    13 $red_color_h: #c73434; 
    14 $orange_color: #faa730; 
    15 $orange_color_h: #ee8425; 
     1$light_color: #ffffff; 
     2$dark_color: #23282d; 
     3 
     4$bg_color: #f1f1f1; 
     5$border_color: #dcdcdc; 
    166 
    177$border_radius_extra_small: 2px; 
    18 $border_radius_small: 4px; 
    19 $border_radius_medium: 6px; 
    20 $border_radius_large: 8px; 
    21  
    22 $box_shadow: 0 5px 13px rgba(0,0,0,.18); 
    23 $box_shadow_box: 0 8px 21px rgba(0,0,0,.1); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-stepper/assets/ui-stepper.scss

    r1505656 r1606600  
    1414    input[type=number]{ 
    1515        @include input(); 
    16         padding: 10px 10px 10px 20px; 
    1716    } 
    1817 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-switcher/assets/min/ui-switcher.min.css

    r1505656 r1606600  
    1 .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}.cherry-switcher-wrap{height:49px;border-radius:25px;display:inline-block;overflow:hidden;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cherry-switcher-wrap label{height:49px;background-color:#e54343;display:block;float:left;-webkit-transition:all 0.4s ease;transition:all 0.4s ease}.cherry-switcher-wrap label span{font-size:12px;line-height:19px;font-weight:800;text-transform:uppercase;color:#fff;padding:15px;text-align:center;display:block;opacity:1;-webkit-transition:all 0.4s ease;transition:all 0.4s ease}.cherry-switcher-wrap .sw-enable span{opacity:0}.cherry-switcher-wrap .sw-disable span{opacity:1}.cherry-switcher-wrap .state-marker{background-color:#fff;display:block;position:absolute;width:41px;height:41px;margin:4px;top:0;left:0;margin-left:4px;border-radius:25px;-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1)}.cherry-switcher-wrap .cherry-input-switcher{display:none}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .sw-enable{background-color:#48c569}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .sw-enable span{opacity:1}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .sw-disable{background-color:#48c569}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .sw-disable span{opacity:0}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .state-marker{left:100%;margin-left:-45px}.cherry-switcher-wrap.size-small{height:25px}.cherry-switcher-wrap.size-small label{height:25px}.cherry-switcher-wrap.size-small label span{font-size:10px;line-height:15px;padding:5px}.cherry-switcher-wrap.size-small .state-marker{width:17px;height:17px;margin-left:4px}.cherry-switcher-wrap.size-small .cherry-input-switcher-true:checked ~ .state-marker{margin-left:-22px} 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}.cherry-switcher-wrap{height:47px;border-radius:25px;display:inline-block;overflow:hidden;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid #dcdcdc}.cherry-switcher-wrap label{background-color:#f1f1f1;display:block;float:left;-webkit-transition:all 0.4s ease;transition:all 0.4s ease}.cherry-switcher-wrap label span{font-size:12px;line-height:18px;font-weight:900;text-transform:uppercase;color:#23282d;text-align:center;display:block;opacity:1;-webkit-transition:all 0.4s ease;transition:all 0.4s ease}.cherry-switcher-wrap .sw-enable{padding:15px 10px 15px 20px}.cherry-switcher-wrap .sw-enable span{opacity:0}.cherry-switcher-wrap .sw-disable{padding:15px 20px 15px 10px}.cherry-switcher-wrap .sw-disable span{opacity:1}.cherry-switcher-wrap .state-marker{background-color:#e64545;display:block;position:absolute;width:41px;height:41px;margin:3px;top:0;left:0;margin-left:4px;border-radius:25px;border-style:solid;border-width:1px;border-color:#e54545 #c13b3b #c13b3b #e54545;-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);box-sizing:border-box}.cherry-switcher-wrap .state-marker:before{position:absolute;display:block;width:100%;height:100%;top:0;left:0;border-radius:50%;background-image:-webkit-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);background-image:linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);content:''}.cherry-switcher-wrap .cherry-input-switcher{display:none}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .sw-enable span{opacity:1}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .sw-disable span{opacity:0}.cherry-switcher-wrap .cherry-input-switcher-true:checked ~ .state-marker{left:100%;margin-left:-45px;border-color:#43b05f #3b9b54 #3b9b54 #43b05f;background-color:#49c66a}.cherry-switcher-wrap.size-small{height:23px}.cherry-switcher-wrap.size-small label{height:23px;padding:0}.cherry-switcher-wrap.size-small label span{font-size:10px;line-height:15px;padding:5px}.cherry-switcher-wrap.size-small .state-marker{width:17px;height:17px;margin-left:4px}.cherry-switcher-wrap.size-small .cherry-input-switcher-true:checked ~ .state-marker{margin-left:-22px} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-switcher/assets/min/ui-switcher.min.js

    r1505656 r1606600  
    1 !function(t,e){"use strict";e.utilites.namespace("ui_elements.switcher"),e.ui_elements.switcher={switcherClass:".cherry-switcher-wrap",inputTrueClass:".cherry-input-switcher-true",inputFalseClass:".cherry-input-switcher-false",containerClass:".cherry-ui-container",wrapperClass:".widget, .postbox, .cherry-form",init:function(){t(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.initState.bind(this))},addEvent:function(){t("body").on("click",this.switcherClass,this.switchState.bind(this)),this.initState()},initState:function(){for(var e,i=t(this.switcherClass),s=i.length-1;s>=0;s--)e=t(i[s]),this.switchState({currentTarget:e,initState:!0})},switchState:function(e){var i,s=t(e.currentTarget),r=t(this.inputTrueClass,s),a=t(this.inputFalseClass,s),n=r.data(),c=a.data(),h=s.closest(this.wrapperClass);e.initState||this.checkedRadio(r,a,r[0].checked),i=r[0].checked,jQuery.isEmptyObject(n)||t("."+n.slave,h)[i?"removeClass":"addClass"]("hide"),jQuery.isEmptyObject(c)||t("."+c.slave,h)[i?"addClass":"removeClass"]("hide")},checkedRadio:function(t,e,i){t.attr("checked",i?!1:!0),e.attr("checked",i?!0:!1).trigger("change")}},e.ui_elements.switcher.init()}(jQuery,window.CherryJsCore); 
     1!function(t,e){"use strict";e.utilites.namespace("ui_elements.switcher"),e.ui_elements.switcher={switcherClass:".cherry-switcher-wrap",inputTrueClass:".cherry-input-switcher-true",inputFalseClass:".cherry-input-switcher-false",containerClass:".cherry-ui-container",wrapperClass:".widget, .postbox, .cherry-form, .cherry-ui-repeater-item",init:function(){t(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.initState.bind(this))},addEvent:function(){t("body").on("click",this.switcherClass,this.switchState.bind(this)),this.initState()},initState:function(){for(var e,i=t(this.switcherClass),s=i.length-1;s>=0;s--)e=t(i[s]),this.switchState({currentTarget:e,initState:!0})},switchState:function(e){var i,s=t(e.currentTarget),r=t(this.inputTrueClass,s),a=t(this.inputFalseClass,s),n=r.data(),c=a.data(),h=s.closest(this.wrapperClass);e.initState||this.checkedRadio(r,a,r[0].checked),i=r[0].checked,jQuery.isEmptyObject(n)||t("."+n.slave,h)[i?"removeClass":"addClass"]("hide"),jQuery.isEmptyObject(c)||t("."+c.slave,h)[i?"addClass":"removeClass"]("hide")},checkedRadio:function(t,e,i){t.attr("checked",i?!1:!0),e.attr("checked",i?!0:!1).trigger("change")}},e.ui_elements.switcher.init()}(jQuery,window.CherryJsCore); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-switcher/assets/ui-kit/_variables.scss

    r1505656 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
    8 $blue_color: #298ffc; 
    9 $blue_color_h: #206ff4; 
    10 $green_color: #48c569; 
    11 $green_color_h: #3ba956; 
    12 $red_color: #e54343; 
    13 $red_color_h: #c73434; 
    14 $orange_color: #faa730; 
    15 $orange_color_h: #ee8425; 
     1$light_color: #ffffff; 
     2$dark_color: #23282d; 
    163 
    17 $border_radius_extra_small: 2px; 
    18 $border_radius_small: 4px; 
    19 $border_radius_medium: 6px; 
    20 $border_radius_large: 8px; 
     4$switcher_bg_color: #f1f1f1; 
     5$switcher_border_color: #dcdcdc; 
    216 
    22 $box_shadow: 0 5px 13px rgba(0,0,0,.18); 
    23 $box_shadow_box: 0 8px 21px rgba(0,0,0,.1); 
     7$true_state_gradint_1: #71e18f; 
     8$true_state_gradint_2: #49c66a; 
     9$true_state_outset_1: #43b05f; 
     10$true_state_outset_2: #3b9b54; 
     11 
     12$false_state_gradint_1: #f98888; 
     13$false_state_gradint_2: #e64545; 
     14$false_state_outset_1: #e54545; 
     15$false_state_outset_2: #c13b3b; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-switcher/assets/ui-switcher.js

    r1505656 r1606600  
    1111        inputFalseClass: '.cherry-input-switcher-false', 
    1212        containerClass:  '.cherry-ui-container', 
    13         wrapperClass: '.widget, .postbox, .cherry-form', 
     13        wrapperClass: '.widget, .postbox, .cherry-form, .cherry-ui-repeater-item', 
    1414 
    1515        init: function () { 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-switcher/assets/ui-switcher.scss

    r1505656 r1606600  
    11@import "ui-kit/variables"; 
    2 @import "ui-kit/mixins"; 
    32 
    43.cherry-ui-container{ 
     
    1312} 
    1413.cherry-switcher-wrap{ 
    15     height: 49px; 
     14    height: 47px; 
    1615    border-radius: 25px; 
    1716    display: inline-block; 
     
    2019    cursor: pointer; 
    2120    user-select: none; 
     21    border: 1px solid $switcher_border_color; 
    2222    label{ 
    23         height: 49px; 
    24         background-color: $red_color; 
     23        background-color: $switcher_bg_color; 
    2524        display: block; 
    2625        float: left; 
     
    2827        span{ 
    2928            font-size: 12px; 
    30             line-height: 19px; 
    31             font-weight: 800; 
     29            line-height: 18px; 
     30            font-weight: 900; 
    3231            text-transform: uppercase; 
    33             color: #fff; 
    34             padding: 15px; 
     32            color: $dark_color; 
    3533            text-align: center; 
    3634            display: block; 
     
    4038    } 
    4139    .sw-enable{ 
     40        padding: 15px 10px 15px 20px; 
    4241        span{ 
    4342            opacity: 0; 
     
    4544    } 
    4645    .sw-disable{ 
     46        padding: 15px 20px 15px 10px; 
    4747        span{ 
    4848            opacity: 1; 
     
    5050    } 
    5151    .state-marker{ 
    52         background-color: #fff; 
     52        background-color: $false_state_gradint_2; 
    5353        display: block; 
    5454        position: absolute; 
    5555        width: 41px; 
    5656        height: 41px; 
    57         margin: 4px; 
     57        margin: 3px; 
    5858        top: 0; 
    5959        left: 0; 
    6060        margin-left: 4px; 
    6161        border-radius: 25px; 
     62        border-style: solid; 
     63        border-width: 1px; 
     64        border-color: $false_state_outset_1 $false_state_outset_2 $false_state_outset_2 $false_state_outset_1; 
    6265        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
     66        box-sizing: border-box; 
     67        &:before { 
     68            position: absolute; 
     69            display: block; 
     70            width: 100%; 
     71            height: 100%; 
     72            top: 0; 
     73            left: 0; 
     74            border-radius: 50%; 
     75            background-image: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%); 
     76            content: ''; 
     77        } 
    6378    } 
    6479    .cherry-input-switcher{ 
     
    6782    .cherry-input-switcher-true:checked{ 
    6883        ~ .sw-enable{ 
    69             background-color: $green_color; 
    7084                span{ 
    7185                    opacity: 1; 
     
    7387        } 
    7488        ~ .sw-disable{ 
    75             background-color: $green_color; 
    7689                span{ 
    7790                    opacity: 0; 
     
    8194            left: 100%; 
    8295            margin-left: -45px; 
     96            border-color: $true_state_outset_1 $true_state_outset_2 $true_state_outset_2 $true_state_outset_1; 
     97            background-color: $true_state_gradint_2; 
    8398        } 
    8499    } 
    85100 
    86101    &.size-small{ 
    87         height: 25px; 
     102        height: 23px; 
    88103        label{ 
    89             height: 25px; 
     104            height: 23px; 
     105            padding: 0; 
    90106                span{ 
    91107                    font-size: 10px; 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-text/assets/min/ui-text.min.css

    r1505656 r1606600  
    1 .cherry-ui-container { 
    2   margin: 10px 0 20px 0; } 
    3  
    4 label.cherry-label { 
    5   margin: 0 0 5px 0; 
    6   display: block; } 
    7  
    8 input.cherry-ui-text { 
    9   font-size: 14px; 
    10   line-height: 20px; 
    11   color: #23282d; 
    12   background-color: #f1f1f1; 
    13   border-radius: 2px; 
    14   padding: 10px 20px; 
    15   min-height: 50px; 
    16   border: 1px solid #f1f1f1; 
    17   box-shadow: none; } 
    18   input.cherry-ui-text:focus { 
    19     border-color: rgba(72, 197, 105, 0.6); 
    20     box-shadow: 0 0 2px rgba(72, 197, 105, 0.6); } 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}input.cherry-ui-text{font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;min-height:50px;border:1px solid #dcdcdc;box-shadow:none}input.cherry-ui-text:focus{border-color:rgba(41,143,252,0.6);box-shadow:0 0 2px rgba(41,143,252,0.6)} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-text/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1 @mixin button_base() { 
    2     display: inline-block; 
    3     text-decoration: none; 
    4     font-size: 12px; 
    5     line-height: 20px; 
    6     font-weight: bold; 
    7     padding: 15px 20px; 
    8     color: #fff; 
    9     text-transform: uppercase; 
    10     border-radius: $border_radius_small; 
    11     transition: all 200ms linear; 
    12     box-shadow: $box_shadow; 
    13     &:hover { 
    14         color: #fff; 
    15         box-shadow: none; 
    16     } 
    17     &:focus, 
    18     &:active { 
    19         outline: none; 
    20         box-shadow: none; 
    21         color: #fff; 
    22     } 
    23 } 
    24  
    25 @mixin button_normal() { 
    26     background: $dark_color_2; 
    27     &:hover { 
    28         background: $dark_color_2_h; 
    29     } 
    30 } 
    31  
    32 @mixin button_primary() { 
    33     background: $blue_color; 
    34     &:hover { 
    35         background: $blue_color_h; 
    36     } 
    37 } 
    38  
    39 @mixin button_success() { 
    40     background: $green_color; 
    41     &:hover { 
    42         background: $green_color_h; 
    43     } 
    44 } 
    45  
    46 @mixin button_danger() { 
    47     background: $red_color; 
    48     &:hover { 
    49         background: $red_color_h; 
    50     } 
    51 } 
    52  
    53 @mixin button_warning() { 
    54     background: $orange_color; 
    55     &:hover { 
    56         background: $orange_color_h; 
    57     } 
    58 } 
    59  
    601@mixin input() { 
    612    font-size: 14px; 
    623    line-height: 20px; 
    63     color: $dark_color_1; 
    64     background-color: $grey_color_3; 
     4    color: $dark_color; 
     5    background-color: $bg_color; 
    656    border-radius: $border_radius_extra_small; 
    667    padding: 10px 20px; 
    678    min-height: 50px; 
    68     border: 1px solid $grey_color_3; 
     9    border: 1px solid $border_color; 
    6910    box-shadow: none; 
    7011        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     12            border-color: rgba(41, 143, 252, .6); 
     13            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7314        } 
    7415} 
    75  
    76 @mixin button_icon( $icon ) { 
    77     content: $icon; 
    78     display: inline-block; 
    79     font-family: dashicons; 
    80     font-size: 16px; 
    81     font-style: normal; 
    82     font-weight: 400; 
    83     height: 18px; 
    84     line-height: 18px; 
    85     text-align: center; 
    86     text-decoration: inherit; 
    87     transition: all 200ms linear; 
    88     vertical-align: middle; 
    89 } 
    90  
    91 @mixin button_icon_before( $icon ) { 
    92     &:before { 
    93         @include button_icon( $icon ); 
    94         padding: 0 5px 0 0; 
    95     } 
    96 } 
    97  
    98 @mixin button_icon_after( $icon ) { 
    99     &:after { 
    100         @include button_icon( $icon ); 
    101         padding: 0 0 0 5px; 
    102     } 
    103 } 
    104  
    105 @mixin button_icon_middle( $icon ) { 
    106     &:before { 
    107         @include button_icon( $icon ); 
    108         margin: 0 -5px; 
    109     } 
    110 } 
    111  
    112 @mixin link() { 
    113     display: inline-block; 
    114     text-decoration: none; 
    115     font-size: 12px; 
    116     line-height: 20px; 
    117     font-weight: bold; 
    118     color: $blue_color; 
    119     text-transform: uppercase; 
    120     transition: all 200ms linear; 
    121     &:hover { 
    122         color: $dark_color_1; 
    123         box-shadow: none; 
    124     } 
    125     &:focus, 
    126     &:active { 
    127         outline: none; 
    128         box-shadow: none; 
    129         color: $blue_color; 
    130     } 
    131 } 
    132  
    133 @mixin link_icon_before( $icon ) { 
    134     &:before { 
    135         @include button_icon( $icon ); 
    136         padding: 0 5px 0 0; 
    137         color: $grey_color_4; 
    138     } 
    139     &:hover { 
    140         &:before { 
    141             color: $blue_color; 
    142         } 
    143     } 
    144 } 
    145  
    146 @mixin container() { 
    147     padding: 30px; 
    148     border: 2px solid $grey_color_2; 
    149     background: $grey_color_3; 
    150     border-radius: $border_radius_large; 
    151 } 
    152  
    153 @mixin container_heading() { 
    154     margin: -30px -30px 30px -30px; 
    155     border-radius: $border_radius_large $border_radius_large 0 0; 
    156     border-bottom: 1px solid $grey_color_2; 
    157     padding: 20px 30px; 
    158     font-weight: bold; 
    159     font-size: 16px; 
    160     line-height: 18px; 
    161     text-align: center; 
    162     background: #fff; 
    163 } 
    164  
    165 @mixin box() { 
    166     margin: 0 0 30px; 
    167     padding: 20px; 
    168     background: #fff; 
    169     box-shadow: $box_shadow_box; 
    170     border-radius: $border_radius; 
    171 } 
    172  
    173 @mixin box_heading() { 
    174     margin: -20px -20px 20px -20px; 
    175     border-radius: $border_radius_small $border_radius_small 0 0; 
    176     border-bottom: 1px solid $grey_color_2; 
    177     padding: 20px 30px; 
    178     font-weight: bold; 
    179     font-size: 16px; 
    180     line-height: 18px; 
    181     background: #fff; 
    182 } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-text/assets/ui-kit/_variables.scss

    r1505656 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
    8 $blue_color: #298ffc; 
    9 $blue_color_h: #206ff4; 
    10 $green_color: #48c569; 
    11 $green_color_h: #3ba956; 
    12 $red_color: #e54343; 
    13 $red_color_h: #c73434; 
    14 $orange_color: #faa730; 
    15 $orange_color_h: #ee8425; 
     1$light_color: #ffffff; 
     2$dark_color: #23282d; 
     3 
     4$bg_color: #f1f1f1; 
     5$border_color: #dcdcdc; 
    166 
    177$border_radius_extra_small: 2px; 
    18 $border_radius_small: 4px; 
    19 $border_radius_medium: 6px; 
    20 $border_radius_large: 8px; 
    21  
    22 $box_shadow: 0 5px 13px rgba(0,0,0,.18); 
    23 $box_shadow_box: 0 8px 21px rgba(0,0,0,.1); 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-textarea/assets/min/ui-textarea.min.css

    r1505656 r1606600  
    1 .cherry-ui-container { 
    2   margin: 10px 0 20px 0; } 
    3  
    4 label.cherry-label { 
    5   margin: 0 0 5px 0; 
    6   display: block; } 
    7  
    8 textarea.cherry-ui-textarea { 
    9   width: 100%; 
    10   font-size: 14px; 
    11   line-height: 20px; 
    12   color: #23282d; 
    13   background-color: #f1f1f1; 
    14   border-radius: 2px; 
    15   padding: 10px 20px; 
    16   min-height: 50px; 
    17   border: 1px solid #f1f1f1; 
    18   box-shadow: none; 
    19   height: 200px; } 
    20   textarea.cherry-ui-textarea:focus { 
    21     border-color: rgba(72, 197, 105, 0.6); 
    22     box-shadow: 0 0 2px rgba(72, 197, 105, 0.6); } 
     1.cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}textarea.cherry-ui-textarea{width:100%;font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;min-height:50px;border:1px solid #dcdcdc;box-shadow:none;height:200px}textarea.cherry-ui-textarea:focus{border-color:rgba(41,143,252,0.6);box-shadow:0 0 2px rgba(41,143,252,0.6)} 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-textarea/assets/ui-kit/_mixins.scss

    r1505656 r1606600  
    1 @mixin button_base() { 
    2     display: inline-block; 
    3     text-decoration: none; 
    4     font-size: 12px; 
    5     line-height: 20px; 
    6     font-weight: bold; 
    7     padding: 15px 20px; 
    8     color: #fff; 
    9     text-transform: uppercase; 
    10     border-radius: $border_radius_small; 
    11     transition: all 200ms linear; 
    12     box-shadow: $box_shadow; 
    13     &:hover { 
    14         color: #fff; 
    15         box-shadow: none; 
    16     } 
    17     &:focus, 
    18     &:active { 
    19         outline: none; 
    20         box-shadow: none; 
    21         color: #fff; 
    22     } 
    23 } 
    24  
    25 @mixin button_normal() { 
    26     background: $dark_color_2; 
    27     &:hover { 
    28         background: $dark_color_2_h; 
    29     } 
    30 } 
    31  
    32 @mixin button_primary() { 
    33     background: $blue_color; 
    34     &:hover { 
    35         background: $blue_color_h; 
    36     } 
    37 } 
    38  
    39 @mixin button_success() { 
    40     background: $green_color; 
    41     &:hover { 
    42         background: $green_color_h; 
    43     } 
    44 } 
    45  
    46 @mixin button_danger() { 
    47     background: $red_color; 
    48     &:hover { 
    49         background: $red_color_h; 
    50     } 
    51 } 
    52  
    53 @mixin button_warning() { 
    54     background: $orange_color; 
    55     &:hover { 
    56         background: $orange_color_h; 
    57     } 
    58 } 
    59  
    601@mixin input() { 
    612    font-size: 14px; 
    623    line-height: 20px; 
    63     color: $dark_color_1; 
    64     background-color: $grey_color_3; 
     4    color: $dark_color; 
     5    background-color: $bg_color; 
    656    border-radius: $border_radius_extra_small; 
    667    padding: 10px 20px; 
    678    min-height: 50px; 
    68     border: 1px solid $grey_color_3; 
     9    border: 1px solid $border_color; 
    6910    box-shadow: none; 
    7011        &:focus{ 
    71             border-color: rgba(72,197,105,.6); 
    72             box-shadow: 0 0 2px rgba(72,197,105,.6); 
     12            border-color: rgba(41, 143, 252, .6); 
     13            box-shadow: 0 0 2px rgba(41, 143, 252, .6); 
    7314        } 
    7415} 
    75  
    76 @mixin button_icon( $icon ) { 
    77     content: $icon; 
    78     display: inline-block; 
    79     font-family: dashicons; 
    80     font-size: 16px; 
    81     font-style: normal; 
    82     font-weight: 400; 
    83     height: 18px; 
    84     line-height: 18px; 
    85     text-align: center; 
    86     text-decoration: inherit; 
    87     transition: all 200ms linear; 
    88     vertical-align: middle; 
    89 } 
    90  
    91 @mixin button_icon_before( $icon ) { 
    92     &:before { 
    93         @include button_icon( $icon ); 
    94         padding: 0 5px 0 0; 
    95     } 
    96 } 
    97  
    98 @mixin button_icon_after( $icon ) { 
    99     &:after { 
    100         @include button_icon( $icon ); 
    101         padding: 0 0 0 5px; 
    102     } 
    103 } 
    104  
    105 @mixin button_icon_middle( $icon ) { 
    106     &:before { 
    107         @include button_icon( $icon ); 
    108         margin: 0 -5px; 
    109     } 
    110 } 
    111  
    112 @mixin link() { 
    113     display: inline-block; 
    114     text-decoration: none; 
    115     font-size: 12px; 
    116     line-height: 20px; 
    117     font-weight: bold; 
    118     color: $blue_color; 
    119     text-transform: uppercase; 
    120     transition: all 200ms linear; 
    121     &:hover { 
    122         color: $dark_color_1; 
    123         box-shadow: none; 
    124     } 
    125     &:focus, 
    126     &:active { 
    127         outline: none; 
    128         box-shadow: none; 
    129         color: $blue_color; 
    130     } 
    131 } 
    132  
    133 @mixin link_icon_before( $icon ) { 
    134     &:before { 
    135         @include button_icon( $icon ); 
    136         padding: 0 5px 0 0; 
    137         color: $grey_color_4; 
    138     } 
    139     &:hover { 
    140         &:before { 
    141             color: $blue_color; 
    142         } 
    143     } 
    144 } 
    145  
    146 @mixin container() { 
    147     padding: 30px; 
    148     border: 2px solid $grey_color_2; 
    149     background: $grey_color_3; 
    150     border-radius: $border_radius_large; 
    151 } 
    152  
    153 @mixin container_heading() { 
    154     margin: -30px -30px 30px -30px; 
    155     border-radius: $border_radius_large $border_radius_large 0 0; 
    156     border-bottom: 1px solid $grey_color_2; 
    157     padding: 20px 30px; 
    158     font-weight: bold; 
    159     font-size: 16px; 
    160     line-height: 18px; 
    161     text-align: center; 
    162     background: #fff; 
    163 } 
    164  
    165 @mixin box() { 
    166     margin: 0 0 30px; 
    167     padding: 20px; 
    168     background: #fff; 
    169     box-shadow: $box_shadow_box; 
    170     border-radius: $border_radius; 
    171 } 
    172  
    173 @mixin box_heading() { 
    174     margin: -20px -20px 20px -20px; 
    175     border-radius: $border_radius_small $border_radius_small 0 0; 
    176     border-bottom: 1px solid $grey_color_2; 
    177     padding: 20px 30px; 
    178     font-weight: bold; 
    179     font-size: 16px; 
    180     line-height: 18px; 
    181     background: #fff; 
    182 } 
  • cherry-real-estate/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-textarea/assets/ui-kit/_variables.scss

    r1505656 r1606600  
    1 $dark_color_1: #23282d; 
    2 $dark_color_2: #495159; 
    3 $dark_color_2_h: #393f45; 
    4 $grey_color_1: #96989a; 
    5 $grey_color_2: #e5e5e5; 
    6 $grey_color_3: #f1f1f1; 
    7 $grey_color_4: #b4b7ba; 
    8 $blue_color: #298ffc; 
    9 $blue_color_h: #206ff4; 
    10 $green_color: #48c569; 
    11 $green_color_h: #3ba956; 
    12 $red_color: #e54343; 
    13 $red_color_h: #c73434; 
    14 $orange_color: #faa730; 
    15 $orange_color_h: #ee8425; 
     1$light_color: #ffffff; 
     2$dark_color: #23282d; 
     3 
     4$bg_color: #f1f1f1; 
     5$border_color: #dcdcdc; 
    166 
    177$border_radius_extra_small: 2px; 
    18 $border_radius_small: 4px; 
    19 $border_radius_medium: 6px; 
    20 $border_radius_large: 8px; 
    21  
    22 $box_shadow: 0 5px 13px rgba(0,0,0,.18); 
    23 $box_shadow_box: 0 8px 21px rgba(0,0,0,.1); 
  • cherry-real-estate/trunk/cherry-real-estate.php

    r1575518 r1606600  
    22/** 
    33 * Plugin Name: Cherry Real Estate 
    4  * Plugin URI:  http://www.cherryframework.com/plugins/ 
     4 * Plugin URI:  https://wordpress.org/plugins/cherry-real-estate/ 
    55 * Description: Plugin for adding real estate functionality to the site. 
    6  * Version:     1.1.2 
     6 * Version:     1.1.3 
    77 * Author:      Template Monster 
    8  * Author URI:  http://www.cherryframework.com/ 
     8 * Author URI:  http://www.cherryframework.com/plugins/ 
    99 * Text Domain: cherry-real-estate 
    1010 * License:     GPL-3.0+ 
     
    9191 
    9292            // Set up a Cherry core. 
    93             add_action( 'after_setup_theme', require( trailingslashit( __DIR__ ) . 'cherry-framework/setup.php' ), 0 ); 
     93            add_action( 'after_setup_theme', require( trailingslashit( dirname( __FILE__ ) ) . 'cherry-framework/setup.php' ), 0 ); 
    9494            add_action( 'after_setup_theme', array( $this, 'get_core' ), 1 ); 
    9595            add_action( 'after_setup_theme', array( 'Cherry_Core', 'load_all_modules' ), 2 ); 
     
    166166             * @since 1.0.0 
    167167             */ 
    168             define( 'CHERRY_REAL_ESTATE_VERSION', '1.1.2' ); 
     168            define( 'CHERRY_REAL_ESTATE_VERSION', '1.1.3' ); 
    169169        } 
    170170 
     
    184184            // Classes. 
    185185            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-registration.php' ); 
    186             include_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-assets.php' ); 
    187             include_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-agent-data.php' ); 
    188             include_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-property-data.php' ); 
    189             include_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-shortcodes-data.php' ); 
    190             include_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-template-loader.php' ); 
     186            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-assets.php' ); 
     187            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-agent-data.php' ); 
     188            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-property-data.php' ); 
     189            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-shortcodes-data.php' ); 
     190            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-template-loader.php' ); 
    191191            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-tools.php' ); 
    192192 
    193193            // Functions. 
    194             include_once( CHERRY_REAL_ESTATE_DIR . 'includes/core-functions.php' ); 
     194            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/core-functions.php' ); 
    195195 
    196196            // Frontend. 
    197197            if ( ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) ) { 
    198                 include_once( CHERRY_REAL_ESTATE_DIR . 'includes/template-hooks.php' ); 
     198                require_once( CHERRY_REAL_ESTATE_DIR . 'includes/template-hooks.php' ); 
    199199                require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-template-callbacks.php' ); 
    200200            } 
     
    202202            // Admin. 
    203203            if ( is_admin() ) { 
    204                 include_once( CHERRY_REAL_ESTATE_DIR . 'admin/class-cherry-re-admin.php' ); 
     204                require_once( CHERRY_REAL_ESTATE_DIR . 'admin/class-cherry-re-admin.php' ); 
    205205            } 
    206206        } 
     
    323323         */ 
    324324        public function template_functions() { 
    325             include_once( 'includes/template-functions.php' ); 
     325            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/template-functions.php' ); 
    326326        } 
    327327 
     
    355355         */ 
    356356        public function add_widgets() { 
    357             require_once( CHERRY_REAL_ESTATE_DIR . '/widgets/class-cherry-re-search-widget.php' ); 
    358             require_once( CHERRY_REAL_ESTATE_DIR . '/widgets/class-cherry-re-properties-widget.php' ); 
     357            require_once( CHERRY_REAL_ESTATE_DIR . 'widgets/class-cherry-re-search-widget.php' ); 
     358            require_once( CHERRY_REAL_ESTATE_DIR . 'widgets/class-cherry-re-properties-widget.php' ); 
    359359        } 
    360360 
     
    594594                '<a href="%s">%s</a>', 
    595595                esc_url( get_admin_url( null, $path ) ), 
    596                 esc_html__( 'Settings', 'cherry-real-esatate' ) 
     596                esc_html__( 'Settings', 'cherry-real-estate' ) 
    597597            ); 
    598598 
  • cherry-real-estate/trunk/includes/class-cherry-re-assets.php

    r1555518 r1606600  
    351351            esc_url( Cherry_RE_Tools::get_google_map_url( array( 
    352352                'libraries' => 'places', 
     353                'v'         => 3, 
    353354            ) ) ), 
    354355            array(), 
     
    530531            } 
    531532 
    532             if ( preg_match( '/maps.google.com/i', $r->src ) || preg_match( '/maps.googleapis.com/i', $r->src ) ) { 
     533            if ( Cherry_RE_Tools::is_googlemaps_script( $r ) ) { 
    533534 
    534535                if ( empty( $r->extra['group'] ) ) { 
     
    567568            } 
    568569 
    569             if ( preg_match( '/maps.google.com/i', $r->src ) || preg_match( '/maps.googleapis.com/i', $r->src ) ) { 
     570            if ( Cherry_RE_Tools::is_googlemaps_script( $r ) ) { 
    570571 
    571572                if ( in_array( $r->handle, $wp_scripts->done ) ) { 
  • cherry-real-estate/trunk/includes/class-cherry-re-template-loader.php

    r1555518 r1606600  
    198198     */ 
    199199    public function setup_template_data( $atts = array() ) { 
     200 
     201        if ( ! class_exists( 'Cherry_RE_Template_Callbacks' ) ) { 
     202            require_once( CHERRY_REAL_ESTATE_DIR . 'includes/class-cherry-re-template-callbacks.php' ); 
     203        } 
     204 
    200205        $callbacks = new Cherry_RE_Template_Callbacks( $atts ); 
    201206 
  • cherry-real-estate/trunk/includes/class-cherry-re-tools.php

    r1555518 r1606600  
    104104 
    105105        $query = wp_parse_args( $args, array( 
    106             'key' => $api_key, 
     106            'key' => esc_attr( $api_key ), 
    107107        ) ); 
    108108 
     
    111111 
    112112        return apply_filters( 'cherry_re_google_map_url', $url, $query, $args ); 
     113    } 
     114 
     115    /** 
     116     * Perform a regular expression match 
     117     * 
     118     * @since  1.1.3 
     119     * @param  WP_Scripts $script WP_Scripts object. 
     120     * @return bool 
     121     */ 
     122    public static function is_googlemaps_script( $script ) { 
     123 
     124        if ( preg_match( '/maps.google.com/i', $script->src ) 
     125            || preg_match( '/maps.googleapis.com/i', $script->src ) 
     126            || preg_match( '/maps-api-ssl/i', $script->src ) 
     127            ) { 
     128            return true; 
     129        } 
     130 
     131        return false; 
    113132    } 
    114133 
  • cherry-real-estate/trunk/includes/core-functions.php

    r1555518 r1606600  
    245245    $post_type    = cherry_real_estate()->get_post_type_name(); 
    246246    $listing_page = Model_Settings::get_listing_page(); 
     247    $listing_page = apply_filters( 'wpml_object_id', $listing_page, 'page', true ); 
    247248 
    248249    return is_post_type_archive( $post_type ) || ( is_page( $listing_page ) && '' !== $listing_page ); 
  • cherry-real-estate/trunk/languages/cherry-real-estate-blank.pot

    r1555518 r1606600  
    66"Project-Id-Version: Cherry Real Estate\n" 
    77"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n" 
    8 "POT-Creation-Date: 2016-11-30 14:02+0200\n" 
     8"POT-Creation-Date: 2017-03-01 15:51+0200\n" 
    99"PO-Revision-Date: 2014-08-20 15:31+0200\n" 
    1010"Last-Translator: FULL NAME <email@example.com>\n" 
    11 "Language-Team: Cherry Team <translations@example.com >\n" 
     11"Language-Team: Cherry Team <cherryframework@gmail.com>\n" 
    1212"Language: en\n" 
    1313"MIME-Version: 1.0\n" 
    1414"Content-Type: text/plain; charset=UTF-8\n" 
    1515"Content-Transfer-Encoding: 8bit\n" 
    16 "X-Generator: Poedit 1.8.11\n" 
     16"X-Generator: Poedit 1.8.12\n" 
    1717"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;" 
    1818"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n" 
     
    202202 
    203203#: ../admin/class-cherry-re-options-page.php:245 
    204 msgid "Api Key" 
     204msgid "Google Maps API Key" 
     205msgstr "" 
     206 
     207#: ../admin/class-cherry-re-options-page.php:253 
     208msgid "This API key can be obtained from the" 
    205209msgstr "" 
    206210 
    207211#: ../admin/class-cherry-re-options-page.php:254 
     212msgid "Google Developers Console" 
     213msgstr "" 
     214 
     215#: ../admin/class-cherry-re-options-page.php:260 
    208216msgid "Style" 
    209217msgstr "" 
    210218 
    211 #: ../admin/class-cherry-re-options-page.php:263 
     219#: ../admin/class-cherry-re-options-page.php:269 
    212220msgid "Marker" 
    213221msgstr "" 
    214222 
    215 #: ../admin/class-cherry-re-options-page.php:269 
     223#: ../admin/class-cherry-re-options-page.php:275 
    216224#: ../includes/models/model-agents.php:217 
    217225#: ../templates/form-fields/uploaded-file-html.php:20 
     
    219227msgstr "" 
    220228 
    221 #: ../admin/class-cherry-re-options-page.php:276 
     229#: ../admin/class-cherry-re-options-page.php:282 
    222230msgid "Notification E-mail subject" 
    223231msgstr "" 
    224232 
    225 #: ../admin/class-cherry-re-options-page.php:280 
     233#: ../admin/class-cherry-re-options-page.php:286 
    226234msgid "Notification e-mail" 
    227235msgstr "" 
    228236 
    229 #: ../admin/class-cherry-re-options-page.php:285 
     237#: ../admin/class-cherry-re-options-page.php:291 
    230238msgid "Notification E-mail message" 
    231239msgstr "" 
    232240 
    233 #: ../admin/class-cherry-re-options-page.php:289 
     241#: ../admin/class-cherry-re-options-page.php:295 
    234242msgid "" 
    235243"Your request has been successfully queued for moderation. Expect an " 
     
    237245msgstr "" 
    238246 
    239 #: ../admin/class-cherry-re-options-page.php:294 
     247#: ../admin/class-cherry-re-options-page.php:300 
    240248msgid "Congratulation E-mail subject" 
    241249msgstr "" 
    242250 
    243 #: ../admin/class-cherry-re-options-page.php:298 
     251#: ../admin/class-cherry-re-options-page.php:304 
    244252msgid "Congratulation e-mail" 
    245253msgstr "" 
    246254 
    247 #: ../admin/class-cherry-re-options-page.php:303 
     255#: ../admin/class-cherry-re-options-page.php:309 
    248256msgid "Congratulation E-mail message" 
    249257msgstr "" 
    250258 
    251 #: ../admin/class-cherry-re-options-page.php:307 
     259#: ../admin/class-cherry-re-options-page.php:313 
    252260msgid "Congratulations! Your property has been published." 
    253261msgstr "" 
    254262 
    255 #: ../admin/class-cherry-re-options-page.php:314 
     263#: ../admin/class-cherry-re-options-page.php:320 
    256264msgid "Page" 
    257265msgstr "" 
    258266 
    259 #: ../admin/class-cherry-re-options-page.php:325 
     267#: ../admin/class-cherry-re-options-page.php:331 
    260268msgid "Layout" 
    261269msgstr "" 
    262270 
    263 #: ../admin/class-cherry-re-options-page.php:330 
     271#: ../admin/class-cherry-re-options-page.php:336 
    264272#: ../templates/misc/switch-layout.php:22 
    265273msgid "Grid" 
    266274msgstr "" 
    267275 
    268 #: ../admin/class-cherry-re-options-page.php:331 
     276#: ../admin/class-cherry-re-options-page.php:337 
    269277#: ../templates/misc/switch-layout.php:23 
    270278msgid "List" 
    271279msgstr "" 
    272280 
    273 #: ../admin/class-cherry-re-options-page.php:339 
     281#: ../admin/class-cherry-re-options-page.php:345 
    274282msgid "Listings Per Page" 
    275283msgstr "" 
    276284 
    277 #: ../admin/class-cherry-re-options-page.php:435 
     285#: ../admin/class-cherry-re-options-page.php:441 
    278286msgid "&mdash;&nbsp;Select&nbsp;&mdash;" 
    279287msgstr "" 
     
    11781186msgstr "" 
    11791187 
    1180 #: ../templates/widgets/search/form.php:124 
     1188#: ../templates/widgets/search/form.php:128 
    11811189#: ../views/metabox/location.php:23 
    11821190msgid "Search" 
  • cherry-real-estate/trunk/readme.txt

    r1575518 r1606600  
    33Tags: realestate, custom post type, properties, cherry framework 
    44Requires at least: 4.5 
    5 Tested up to: 4.7 
    6 Stable tag: 1.1.2 
     5Tested up to: 4.7.2 
     6Stable tag: 1.1.3 
    77License: GPL-3.0+ 
    88License URI: http://www.gnu.org/licenses/gpl-3.0.txt 
     
    1515Cherry Real Estate plugin is a one stop tool allowing to create real estate catalog, add and manage agents, get announcements from your site visitors through real estate frontend submission form. Intuitive settings panel allows to manage your currency, metric units, real estate types, submission rights and much more. Custom widgets allow to display property map, real estate agents, advanced search forms and recently submitted property. Besides that cool submission form helps site owners get new real estate for sale directly from site visitors in easy and safe manner. Email templates editor give control over messages people get while registration and estate submission. 
    1616 
    17 The plugin is absolutely free and has no any hidden fees. Use Cherry Real Estate plugin to build your catalog, real estate agency website or real estate personal web page 
     17The plugin is absolutely free and has no any hidden fees. Use Cherry Real Estate plugin to build your catalog, real estate agency website or real estate personal web page. 
     18 
     19[Plugin website]( http://www.cherryframework.com/plugins ) 
     20 
     21[Github Repository]( https://github.com/CherryFramework/cherry-real-estate ) 
    1822 
    1923== Installation == 
     
    5256* UPD: cherry-framework (v.1.4.0) 
    5357* FIX: searching by `Parking places` 
     58 
     59= 1.1.3 = 
     60 
     61* ADD: compatibility with WPML-package 
     62* UPD: cherry-framework to 1.4.2 version 
     63* FIX: text-domain 
     64* FIX: js-conflict on ssl-based sites (pair with Power Builder plugin) 
     65* FIX: stop using constant __DIR__ 
     66* FIX: Fatal error when edit page/post (pair with Power Builder and Yoast SEO plugins) 
  • cherry-real-estate/trunk/templates/search/no-properties-found.php

    r1505656 r1606600  
    1212 */ 
    1313?> 
    14 <p class="widget-tm-re-search__not-found"><?php esc_html_e( 'No properties were found matching your selection.', 'cherry-real-esate' ); ?></p> 
     14<p class="widget-tm-re-search__not-found"><?php esc_html_e( 'No properties were found matching your selection.', 'cherry-real-estate' ); ?></p> 
  • cherry-real-estate/trunk/templates/widgets/search/form.php

    r1505656 r1606600  
    1414$values = $passed_vars['values']; ?> 
    1515 
    16 <form role="search" method="get" class="widget-tm-re-search__form" action="<?php echo home_url( '/' ); ?>"> 
     16<form role="search" method="get" class="widget-tm-re-search__form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 
    1717 
    1818    <?php if ( ! empty( $passed_vars['title'] ) ) { 
     
    122122    <input type="hidden" name="post_type" value="<?php echo cherry_real_estate()->get_post_type_name(); ?>"> 
    123123 
     124    <?php if ( function_exists( 'wpml_the_language_input_field' ) ) { 
     125        wpml_the_language_input_field(); 
     126    } ?> 
     127 
    124128    <button type="submit" class="tm-re-search-form__submit"><?php esc_html_e( 'Search', 'cherry-real-estate' ); ?></button> 
    125129</form> 
  • cherry-real-estate/trunk/widgets/class-cherry-re-properties-widget.php

    r1505656 r1606600  
    5353                    'options' => array( 
    5454                        'all' => array( 
    55                             'label' => esc_html__( 'All', 'cherry-real-esate' ), 
     55                            'label' => esc_html__( 'All', 'cherry-real-estate' ), 
    5656                        ), 
    5757                        $post_type . '_type' => array( 
    58                             'label' => esc_html__( 'Types', 'cherry-real-esate' ), 
     58                            'label' => esc_html__( 'Types', 'cherry-real-estate' ), 
    5959                            'slave' => 'types_relation', 
    6060                        ), 
    6161                        $post_type . '_tag' => array( 
    62                             'label' => esc_html__( 'Tags', 'cherry-real-esate' ), 
     62                            'label' => esc_html__( 'Tags', 'cherry-real-estate' ), 
    6363                            'slave' => 'tags_relation', 
    6464                        ), 
    6565                        $post_type . '_feature' => array( 
    66                             'label' => esc_html__( 'Features', 'cherry-real-esate' ), 
     66                            'label' => esc_html__( 'Features', 'cherry-real-estate' ), 
    6767                            'slave' => 'features_relation', 
    6868                        ), 
    6969                        'ids' => array( 
    70                             'label' => esc_html__( 'IDs', 'cherry-real-esate' ), 
     70                            'label' => esc_html__( 'IDs', 'cherry-real-estate' ), 
    7171                            'slave' => 'ids_relation', 
    7272                        ), 
    7373                    ), 
    74                     'label' => esc_html__( 'Source:', 'cherry-real-esate' ), 
     74                    'label' => esc_html__( 'Source:', 'cherry-real-estate' ), 
    7575                ), 
    7676                $post_type . '_type' => array( 
     
    7979                    'options_callback' => array( 'Model_Properties', 'get_property_types', array( 'id' ) ), 
    8080                    'options'          => false, 
    81                     'label'            => esc_html__( 'Select types:', 'cherry-real-esate' ), 
     81                    'label'            => esc_html__( 'Select types:', 'cherry-real-estate' ), 
    8282                    'multiple'         => true, 
    83                     'placeholder'      => esc_html__( 'Select types:', 'cherry-real-esate' ), 
     83                    'placeholder'      => esc_html__( 'Select types:', 'cherry-real-estate' ), 
    8484                    'master'           => 'types_relation', 
    8585                ), 
     
    8989                    'options_callback' => array( 'Model_Properties', 'get_property_tags', array( 'id' ) ), 
    9090                    'options'          => false, 
    91                     'label'            => esc_html__( 'Select tags:', 'cherry-real-esate' ), 
     91                    'label'            => esc_html__( 'Select tags:', 'cherry-real-estate' ), 
    9292                    'multiple'         => true, 
    93                     'placeholder'      => esc_html__( 'Select tags:', 'cherry-real-esate' ), 
     93                    'placeholder'      => esc_html__( 'Select tags:', 'cherry-real-estate' ), 
    9494                    'master'           => 'tags_relation', 
    9595                ), 
     
    9999                    'options_callback' => array( 'Model_Properties', 'get_property_features', array( 'id' ) ), 
    100100                    'options'          => false, 
    101                     'label'            => esc_html__( 'Select features:', 'cherry-real-esate' ), 
     101                    'label'            => esc_html__( 'Select features:', 'cherry-real-estate' ), 
    102102                    'multiple'         => true, 
    103                     'placeholder'      => esc_html__( 'Select features:', 'cherry-real-esate' ), 
     103                    'placeholder'      => esc_html__( 'Select features:', 'cherry-real-estate' ), 
    104104                    'master'           => 'features_relation', 
    105105                ), 
     
    107107                    'type'        => 'text', 
    108108                    'value'       => '', 
    109                     'label'       => esc_html__( 'Type posts ID (for a custom sorting):', 'cherry-real-esate' ), 
    110                     'placeholder' => esc_html__( 'Type posts ID:', 'cherry-real-esate' ), 
     109                    'label'       => esc_html__( 'Type posts ID (for a custom sorting):', 'cherry-real-estate' ), 
     110                    'placeholder' => esc_html__( 'Type posts ID:', 'cherry-real-estate' ), 
    111111                    'master'      => 'ids_relation', 
    112112                ), 
     
    302302            $image_size       = ! empty( $instance['image_size'] ) ? sanitize_text_field( $instance['image_size'] ) : $this->settings['image_size']['value']; 
    303303            $excerpt_length   = ! empty( $instance['excerpt_length'] ) ? sanitize_text_field( $instance['excerpt_length'] ) : $this->settings['excerpt_length']['value']; 
    304             $more_button_text = ! empty( $instance['more_button_text'] ) ? sanitize_text_field( $instance['more_button_text'] ) : $this->settings['more_button_text']['value']; 
     304            $more_button_text = $this->use_wpml_translate( 'more_button_text' ); 
    305305            $template         = ! empty( $instance['template'] ) ? sanitize_text_field( $instance['template'] ) : $this->settings['template']['value']; 
    306306 
Note: See TracChangeset for help on using the changeset viewer.