diff --git a/assets/extras/chosen/chosen.css b/assets/extras/chosen/chosen.css index 8f6db26..30262d1 100644 --- a/assets/extras/chosen/chosen.css +++ b/assets/extras/chosen/chosen.css @@ -1,413 +1,438 @@ /* @group Base */ -.chzn-container { - font-size: 13px; - position: relative; - display: inline-block; - zoom: 1; - *display: inline; -} -.chzn-container .chzn-drop { - background: #fff; - border: 1px solid #aaa; - border-top: 0; - position: absolute; - top: 29px; - left: 0; - -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15); - -moz-box-shadow : 0 4px 5px rgba(0,0,0,.15); - box-shadow : 0 4px 5px rgba(0,0,0,.15); - z-index: 1010; +.chosen-container { + position: relative; + display: inline-block; + vertical-align: middle; + font-size: 13px; + zoom: 1; + *display: inline; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.chosen-container * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container .chosen-drop { + position: absolute; + top: 100%; + left: -9999px; + z-index: 1010; + width: 100%; + border: 1px solid #aaa; + border-top: 0; + background: #fff; + box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); +} +.chosen-container.chosen-with-drop .chosen-drop { + left: 0; +} +.chosen-container a { + cursor: pointer; +} +.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name { + margin-right: 4px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-weight: normal; + color: #999999; +} +.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after { + content: ":"; + padding-left: 2px; + vertical-align: top; } -/* @end */ +/* @end */ /* @group Single Chosen */ -.chzn-container-single .chzn-single { - background-color: #ffffff; - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 ); - background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4)); - background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background-image: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - -webkit-border-radius: 5px; - -moz-border-radius : 5px; - border-radius : 5px; - -moz-background-clip : padding; - -webkit-background-clip: padding-box; - background-clip : padding-box; - border: 1px solid #aaaaaa; - -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1); - -moz-box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1); - box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1); - display: block; - overflow: hidden; - white-space: nowrap; - position: relative; - height: 23px; - line-height: 24px; - padding: 0 0 0 8px; - color: #444444; - text-decoration: none; -} -.chzn-container-single .chzn-default { - color: #999; -} -.chzn-container-single .chzn-single span { - margin-right: 26px; - display: block; - overflow: hidden; - white-space: nowrap; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; - text-overflow: ellipsis; -} -.chzn-container-single .chzn-single abbr { - display: block; - position: absolute; - right: 26px; - top: 6px; - width: 12px; - height: 12px; - font-size: 1px; - background: url('chosen-sprite.png') -42px 1px no-repeat; -} -.chzn-container-single .chzn-single abbr:hover { - background-position: -42px -10px; -} -.chzn-container-single.chzn-disabled .chzn-single abbr:hover { - background-position: -42px -10px; -} -.chzn-container-single .chzn-single div { - position: absolute; - right: 0; - top: 0; - display: block; - height: 100%; - width: 18px; -} -.chzn-container-single .chzn-single div b { - background: url('chosen-sprite.png') no-repeat 0px 2px; - display: block; - width: 100%; - height: 100%; -} -.chzn-container-single .chzn-search { - padding: 3px 4px; - position: relative; - margin: 0; - white-space: nowrap; - z-index: 1010; -} -.chzn-container-single .chzn-search input { - background: #fff url('chosen-sprite.png') no-repeat 100% -20px; - background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); - background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%); - margin: 1px 0; - padding: 4px 20px 4px 5px; - outline: 0; - border: 1px solid #aaa; - font-family: sans-serif; - font-size: 1em; -} -.chzn-container-single .chzn-drop { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius : 0 0 4px 4px; - border-radius : 0 0 4px 4px; - -moz-background-clip : padding; - -webkit-background-clip: padding-box; - background-clip : padding-box; +.chosen-container-single .chosen-single { + position: relative; + display: block; + overflow: hidden; + padding: 0 0 0 8px; + height: 25px; + border: 1px solid #aaa; + border-radius: 5px; + background-color: #fff; + background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4)); + background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); + background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); + background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); + background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); + background-clip: padding-box; + box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1); + color: #444; + text-decoration: none; + white-space: nowrap; + line-height: 24px; +} +.chosen-container-single .chosen-default { + color: #999; +} +.chosen-container-single .chosen-single span { + display: block; + overflow: hidden; + margin-right: 26px; + text-overflow: ellipsis; + white-space: nowrap; +} +.chosen-container-single .chosen-single-with-deselect span { + margin-right: 38px; +} +.chosen-container-single .chosen-single abbr { + position: absolute; + top: 6px; + right: 26px; + display: block; + width: 12px; + height: 12px; + background: url('chosen-sprite.png') -42px 1px no-repeat; + font-size: 1px; +} +.chosen-container-single .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single.chosen-disabled .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-single div { + position: absolute; + top: 0; + right: 0; + display: block; + width: 18px; + height: 100%; +} +.chosen-container-single .chosen-single div b { + display: block; + width: 100%; + height: 100%; + background: url('chosen-sprite.png') no-repeat 0px 2px; +} +.chosen-container-single .chosen-search { + position: relative; + z-index: 1010; + margin: 0; + padding: 3px 4px; + white-space: nowrap; +} +.chosen-container-single .chosen-search input[type="text"] { + margin: 1px 0; + padding: 4px 20px 4px 5px; + width: 100%; + height: auto; + outline: 0; + border: 1px solid #aaa; + background: white url('chosen-sprite.png') no-repeat 100% -20px; + background: url('chosen-sprite.png') no-repeat 100% -20px; + font-size: 1em; + font-family: sans-serif; + line-height: normal; + border-radius: 0; +} +.chosen-container-single .chosen-drop { + margin-top: -1px; + border-radius: 0 0 4px 4px; + background-clip: padding-box; +} +.chosen-container-single.chosen-container-single-nosearch .chosen-search { + position: absolute; + left: -9999px; } -/* @end */ -.chzn-container-single-nosearch .chzn-search input { - position: absolute; - left: -9000px; +/* @end */ +/* @group Results */ +.chosen-container .chosen-results { + color: #444; + position: relative; + overflow-x: hidden; + overflow-y: auto; + margin: 0 4px 4px 0; + padding: 0 0 0 4px; + max-height: 240px; + -webkit-overflow-scrolling: touch; +} +.chosen-container .chosen-results li { + display: none; + margin: 0; + padding: 5px 6px; + list-style: none; + line-height: 15px; + word-wrap: break-word; + -webkit-touch-callout: none; +} +.chosen-container .chosen-results li.active-result { + display: list-item; + cursor: pointer; +} +.chosen-container .chosen-results li.disabled-result { + display: list-item; + color: #ccc; + cursor: default; +} +.chosen-container .chosen-results li.highlighted { + background-color: #3875d7; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc)); + background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%); + background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%); + background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%); + background-image: linear-gradient(#3875d7 20%, #2a62bc 90%); + color: #fff; +} +.chosen-container .chosen-results li.no-results { + color: #777; + display: list-item; + background: #f4f4f4; +} +.chosen-container .chosen-results li.group-result { + display: list-item; + font-weight: bold; + cursor: default; +} +.chosen-container .chosen-results li.group-option { + padding-left: 15px; +} +.chosen-container .chosen-results li em { + font-style: normal; + text-decoration: underline; } +/* @end */ /* @group Multi Chosen */ -.chzn-container-multi .chzn-choices { - background-color: #fff; - background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); - background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background-image: linear-gradient(#eeeeee 1%, #ffffff 15%); - border: 1px solid #aaa; - margin: 0; - padding: 0; - cursor: text; - overflow: hidden; - height: auto !important; - height: 1%; - position: relative; -} -.chzn-container-multi .chzn-choices li { - float: left; - list-style: none; -} -.chzn-container-multi .chzn-choices .search-field { - white-space: nowrap; - margin: 0; - padding: 0; -} -.chzn-container-multi .chzn-choices .search-field input { - color: #666; - background: transparent !important; - border: 0 !important; - font-family: sans-serif; - font-size: 100%; - height: 15px; - padding: 5px; - margin: 1px 0; - outline: 0; - -webkit-box-shadow: none; - -moz-box-shadow : none; - box-shadow : none; -} -.chzn-container-multi .chzn-choices .search-field .default { - color: #999; -} -.chzn-container-multi .chzn-choices .search-choice { - -webkit-border-radius: 3px; - -moz-border-radius : 3px; - border-radius : 3px; - -moz-background-clip : padding; - -webkit-background-clip: padding-box; - background-clip : padding-box; - background-color: #e4e4e4; - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 ); - background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); - background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); - -moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); - box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); - color: #333; - border: 1px solid #aaaaaa; - line-height: 13px; - padding: 3px 20px 3px 5px; - margin: 3px 0 3px 5px; - position: relative; - cursor: default; -} -.chzn-container-multi .chzn-choices .search-choice.search-choice-disabled { - background-color: #e4e4e4; - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 ); - background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); - background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - color: #666; - border: 1px solid #cccccc; - padding-right: 5px; -} -.chzn-container-multi .chzn-choices .search-choice-focus { - background: #d4d4d4; -} -.chzn-container-multi .chzn-choices .search-choice .search-choice-close { - display: block; - position: absolute; - right: 3px; - top: 4px; - width: 12px; - height: 12px; - font-size: 1px; - background: url('chosen-sprite.png') -42px 1px no-repeat; -} -.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover { - background-position: -42px -10px; -} -.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close { - background-position: -42px -10px; +.chosen-container-multi .chosen-choices { + position: relative; + overflow: hidden; + margin: 0; + padding: 0 5px; + width: 100%; + height: auto !important; + height: 1%; + border: 1px solid #aaa; + background-color: #fff; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); + background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%); + background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%); + background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%); + background-image: linear-gradient(#eeeeee 1%, #ffffff 15%); + cursor: text; +} +.chosen-container-multi .chosen-choices li { + float: left; + list-style: none; +} +.chosen-container-multi .chosen-choices li.search-field { + margin: 0; + padding: 0; + white-space: nowrap; +} +.chosen-container-multi .chosen-choices li.search-field input[type="text"] { + margin: 1px 0; + padding: 0; + height: 25px; + outline: 0; + border: 0 !important; + background: transparent !important; + box-shadow: none; + color: #999; + font-size: 100%; + font-family: sans-serif; + line-height: normal; + border-radius: 0; +} +.chosen-container-multi .chosen-choices li.search-choice { + position: relative; + margin: 3px 5px 3px 0; + padding: 3px 20px 3px 5px; + border: 1px solid #aaa; + max-width: 100%; + border-radius: 3px; + background-color: #eeeeee; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); + background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-size: 100% 19px; + background-repeat: repeat-x; + background-clip: padding-box; + box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05); + color: #333; + line-height: 13px; + cursor: default; +} +.chosen-container-multi .chosen-choices li.search-choice span { + word-wrap: break-word; +} +.chosen-container-multi .chosen-choices li.search-choice .search-choice-close { + position: absolute; + top: 4px; + right: 3px; + display: block; + width: 12px; + height: 12px; + background: url('chosen-sprite.png') -42px 1px no-repeat; + font-size: 1px; +} +.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover { + background-position: -42px -10px; +} +.chosen-container-multi .chosen-choices li.search-choice-disabled { + padding-right: 5px; + border: 1px solid #ccc; + background-color: #e4e4e4; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); + background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); + color: #666; +} +.chosen-container-multi .chosen-choices li.search-choice-focus { + background: #d4d4d4; +} +.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close { + background-position: -42px -10px; +} +.chosen-container-multi .chosen-results { + margin: 0; + padding: 0; +} +.chosen-container-multi .chosen-drop .result-selected { + display: list-item; + color: #ccc; + cursor: default; } -/* @end */ -/* @group Results */ -.chzn-container .chzn-results { - margin: 0 4px 4px 0; - max-height: 240px; - padding: 0 0 0 4px; - position: relative; - overflow-x: hidden; - overflow-y: auto; - -webkit-overflow-scrolling: touch; -} -.chzn-container-multi .chzn-results { - margin: -1px 0 0; - padding: 0; -} -.chzn-container .chzn-results li { - display: none; - line-height: 15px; - padding: 5px 6px; - margin: 0; - list-style: none; -} -.chzn-container .chzn-results .active-result { - cursor: pointer; - display: list-item; -} -.chzn-container .chzn-results .highlighted { - background-color: #3875d7; - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 ); - background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc)); - background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%); - background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%); - background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%); - background-image: linear-gradient(#3875d7 20%, #2a62bc 90%); - color: #fff; -} -.chzn-container .chzn-results li em { - background: #feffde; - font-style: normal; -} -.chzn-container .chzn-results .highlighted em { - background: transparent; -} -.chzn-container .chzn-results .no-results { - background: #f4f4f4; - display: list-item; -} -.chzn-container .chzn-results .group-result { - cursor: default; - color: #999; - font-weight: bold; -} -.chzn-container .chzn-results .group-option { - padding-left: 15px; -} -.chzn-container-multi .chzn-drop .result-selected { - display: none; -} -.chzn-container .chzn-results-scroll { - background: white; - margin: 0 4px; - position: absolute; - text-align: center; - width: 321px; /* This should by dynamic with js */ - z-index: 1; -} -.chzn-container .chzn-results-scroll span { - display: inline-block; - height: 17px; - text-indent: -5000px; - width: 9px; -} -.chzn-container .chzn-results-scroll-down { - bottom: 0; -} -.chzn-container .chzn-results-scroll-down span { - background: url('chosen-sprite.png') no-repeat -4px -3px; -} -.chzn-container .chzn-results-scroll-up span { - background: url('chosen-sprite.png') no-repeat -22px -3px; -} /* @end */ - /* @group Active */ -.chzn-container-active .chzn-single { - -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3); - -moz-box-shadow : 0 0 5px rgba(0,0,0,.3); - box-shadow : 0 0 5px rgba(0,0,0,.3); - border: 1px solid #5897fb; -} -.chzn-container-active .chzn-single-with-drop { - border: 1px solid #aaa; - -webkit-box-shadow: 0 1px 0 #fff inset; - -moz-box-shadow : 0 1px 0 #fff inset; - box-shadow : 0 1px 0 #fff inset; - background-color: #eee; - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 ); - background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff)); - background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%); - background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%); - background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%); - background-image: linear-gradient(#eeeeee 20%, #ffffff 80%); - -webkit-border-bottom-left-radius : 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomleft : 0; - -moz-border-radius-bottomright: 0; - border-bottom-left-radius : 0; - border-bottom-right-radius: 0; -} -.chzn-container-active .chzn-single-with-drop div { - background: transparent; - border-left: none; -} -.chzn-container-active .chzn-single-with-drop div b { - background-position: -18px 2px; -} -.chzn-container-active .chzn-choices { - -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3); - -moz-box-shadow : 0 0 5px rgba(0,0,0,.3); - box-shadow : 0 0 5px rgba(0,0,0,.3); - border: 1px solid #5897fb; -} -.chzn-container-active .chzn-choices .search-field input { - color: #111 !important; +.chosen-container-active .chosen-single { + border: 1px solid #5897fb; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); +} +.chosen-container-active.chosen-with-drop .chosen-single { + border: 1px solid #aaa; + -moz-border-radius-bottomright: 0; + border-bottom-right-radius: 0; + -moz-border-radius-bottomleft: 0; + border-bottom-left-radius: 0; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff)); + background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%); + background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%); + background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%); + background-image: linear-gradient(#eeeeee 20%, #ffffff 80%); + box-shadow: 0 1px 0 #fff inset; +} +.chosen-container-active.chosen-with-drop .chosen-single div { + border-left: none; + background: transparent; +} +.chosen-container-active.chosen-with-drop .chosen-single div b { + background-position: -18px 2px; +} +.chosen-container-active .chosen-choices { + border: 1px solid #5897fb; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); +} +.chosen-container-active .chosen-choices li.search-field input[type="text"] { + color: #222 !important; } -/* @end */ +/* @end */ /* @group Disabled Support */ -.chzn-disabled { - cursor: default; - opacity:0.5 !important; +.chosen-disabled { + opacity: 0.5 !important; + cursor: default; } -.chzn-disabled .chzn-single { - cursor: default; +.chosen-disabled .chosen-single { + cursor: default; } -.chzn-disabled .chzn-choices .search-choice .search-choice-close { - cursor: default; +.chosen-disabled .chosen-choices .search-choice .search-choice-close { + cursor: default; } +/* @end */ /* @group Right to Left */ -.chzn-rtl { text-align: right; } -.chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; } -.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; } - -.chzn-rtl .chzn-single div { left: 3px; right: auto; } -.chzn-rtl .chzn-single abbr { - left: 26px; - right: auto; -} -.chzn-rtl .chzn-choices .search-field input { direction: rtl; } -.chzn-rtl .chzn-choices li { float: right; } -.chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; } -.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; } -.chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; } -.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; } -.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; } -.chzn-rtl .chzn-search input { - background: #fff url('chosen-sprite.png') no-repeat -30px -20px; - background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); - background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%); - padding: 4px 5px 4px 20px; - direction: rtl; -} -.chzn-container-single.chzn-rtl .chzn-single div b { - background-position: 6px 2px; -} -.chzn-container-single.chzn-rtl .chzn-single-with-drop div b { - background-position: -12px 2px; +.chosen-rtl { + text-align: right; +} +.chosen-rtl .chosen-single { + overflow: visible; + padding: 0 8px 0 0; +} +.chosen-rtl .chosen-single span { + margin-right: 0; + margin-left: 26px; + direction: rtl; +} +.chosen-rtl .chosen-single-with-deselect span { + margin-left: 38px; +} +.chosen-rtl .chosen-single div { + right: auto; + left: 3px; +} +.chosen-rtl .chosen-single abbr { + right: auto; + left: 26px; +} +.chosen-rtl .chosen-choices li { + float: right; +} +.chosen-rtl .chosen-choices li.search-field input[type="text"] { + direction: rtl; +} +.chosen-rtl .chosen-choices li.search-choice { + margin: 3px 5px 3px 0; + padding: 3px 5px 3px 19px; +} +.chosen-rtl .chosen-choices li.search-choice .search-choice-close { + right: auto; + left: 4px; +} +.chosen-rtl.chosen-container-single-nosearch .chosen-search, +.chosen-rtl .chosen-drop { + left: 9999px; +} +.chosen-rtl.chosen-container-single .chosen-results { + margin: 0 0 4px 4px; + padding: 0 4px 0 0; +} +.chosen-rtl .chosen-results li.group-option { + padding-right: 15px; + padding-left: 0; +} +.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div { + border-right: none; +} +.chosen-rtl .chosen-search input[type="text"] { + padding: 4px 5px 4px 20px; + background: white url('chosen-sprite.png') no-repeat -30px -20px; + background: url('chosen-sprite.png') no-repeat -30px -20px; + direction: rtl; +} +.chosen-rtl.chosen-container-single .chosen-single div b { + background-position: 6px 2px; +} +.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b { + background-position: -12px 2px; } -/* @end */ +/* @end */ /* @group Retina compatibility */ -@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) { - .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span { - background-image: url('chosen-sprite@2x.png') !important; - background-repeat: no-repeat !important; - background-size: 52px 37px !important; - } +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) { + .chosen-rtl .chosen-search input[type="text"], + .chosen-container-single .chosen-single abbr, + .chosen-container-single .chosen-single div b, + .chosen-container-single .chosen-search input[type="text"], + .chosen-container-multi .chosen-choices .search-choice .search-choice-close, + .chosen-container .chosen-results-scroll-down span, + .chosen-container .chosen-results-scroll-up span { + background-image: url('chosen-sprite@2x.png') !important; + background-size: 52px 37px !important; + background-repeat: no-repeat !important; + } } /* @end */ diff --git a/assets/extras/chosen/chosen.jquery.js b/assets/extras/chosen/chosen.jquery.js index 84d86e5..2cbf96f 100644 --- a/assets/extras/chosen/chosen.jquery.js +++ b/assets/extras/chosen/chosen.jquery.js @@ -1,1089 +1,1258 @@ -// Chosen, a Select Box Enhancer for jQuery and Protoype -// by Patrick Filler for Harvest, http://getharvest.com -// -// Version 0.9.12 -// Full source at https://github.com/harvesthq/chosen -// Copyright (c) 2011 Harvest http://getharvest.com - -// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md -// This file is generated by `cake build`, do not edit it by hand. -(function() { - var SelectParser; - - SelectParser = (function() { - - function SelectParser() { - this.options_index = 0; - this.parsed = []; - } - - SelectParser.prototype.add_node = function(child) { - if (child.nodeName.toUpperCase() === "OPTGROUP") { - return this.add_group(child); - } else { - return this.add_option(child); - } - }; - - SelectParser.prototype.add_group = function(group) { - var group_position, option, _i, _len, _ref, _results; - group_position = this.parsed.length; - this.parsed.push({ - array_index: group_position, - group: true, - label: group.label, - children: 0, - disabled: group.disabled - }); - _ref = group.childNodes; - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - option = _ref[_i]; - _results.push(this.add_option(option, group_position, group.disabled)); - } - return _results; - }; - - SelectParser.prototype.add_option = function(option, group_position, group_disabled) { - if (option.nodeName.toUpperCase() === "OPTION") { - if (option.text !== "") { - if (group_position != null) { - this.parsed[group_position].children += 1; - } - this.parsed.push({ - array_index: this.parsed.length, - options_index: this.options_index, - value: option.value, - text: option.text, - html: option.innerHTML, - selected: option.selected, - disabled: group_disabled === true ? group_disabled : option.disabled, - group_array_index: group_position, - classes: option.className, - style: option.style.cssText - }); - } else { - this.parsed.push({ - array_index: this.parsed.length, - options_index: this.options_index, - empty: true - }); - } - return this.options_index += 1; - } - }; - - return SelectParser; - - })(); +/*! + Chosen, a Select Box Enhancer for jQuery and Prototype + by Patrick Filler for Harvest, http://getharvest.com - SelectParser.select_to_array = function(select) { - var child, parser, _i, _len, _ref; - parser = new SelectParser(); - _ref = select.childNodes; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - child = _ref[_i]; - parser.add_node(child); - } - return parser.parsed; - }; - - this.SelectParser = SelectParser; - -}).call(this); - -/* -Chosen source: generate output using 'cake build' -Copyright (c) 2011 by Harvest -*/ + Version 1.4.0 + Full source at https://github.com/harvesthq/chosen + Copyright (c) 2011-2015 Harvest http://getharvest.com + MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md + This file is generated by `grunt build`, do not edit it by hand. + */ (function() { - var AbstractChosen, root; - - root = this; - - AbstractChosen = (function() { - - function AbstractChosen(form_field, options) { - this.form_field = form_field; - this.options = options != null ? options : {}; - this.is_multiple = this.form_field.multiple; - this.set_default_text(); - this.set_default_values(); - this.setup(); - this.set_up_html(); - this.register_observers(); - this.finish_setup(); - } - - AbstractChosen.prototype.set_default_values = function() { - var _this = this; - this.click_test_action = function(evt) { - return _this.test_active_click(evt); - }; - this.activate_action = function(evt) { - return _this.activate_field(evt); - }; - this.active_field = false; - this.mouse_on_container = false; - this.results_showing = false; - this.result_highlighted = null; - this.result_single_selected = null; - this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false; - this.disable_search_threshold = this.options.disable_search_threshold || 0; - this.disable_search = this.options.disable_search || false; - this.enable_split_word_search = this.options.enable_split_word_search != null ? this.options.enable_split_word_search : true; - this.search_contains = this.options.search_contains || false; - this.choices = 0; - this.single_backstroke_delete = this.options.single_backstroke_delete || false; - this.max_selected_options = this.options.max_selected_options || Infinity; - return this.inherit_select_classes = this.options.inherit_select_classes || false; - }; - - AbstractChosen.prototype.set_default_text = function() { - if (this.form_field.getAttribute("data-placeholder")) { - this.default_text = this.form_field.getAttribute("data-placeholder"); - } else if (this.is_multiple) { - this.default_text = this.options.placeholder_text_multiple || this.options.placeholder_text || "Select Some Options"; - } else { - this.default_text = this.options.placeholder_text_single || this.options.placeholder_text || "Select an Option"; - } - return this.results_none_found = this.form_field.getAttribute("data-no_results_text") || this.options.no_results_text || "No results match"; - }; - - AbstractChosen.prototype.mouse_enter = function() { - return this.mouse_on_container = true; - }; - - AbstractChosen.prototype.mouse_leave = function() { - return this.mouse_on_container = false; - }; - - AbstractChosen.prototype.input_focus = function(evt) { - var _this = this; - if (this.is_multiple) { - if (!this.active_field) { - return setTimeout((function() { - return _this.container_mousedown(); - }), 50); - } - } else { - if (!this.active_field) { - return this.activate_field(); + var $, AbstractChosen, Chosen, SelectParser, _ref, + __hasProp = {}.hasOwnProperty, + __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; + + SelectParser = (function() { + function SelectParser() { + this.options_index = 0; + this.parsed = []; } - } - }; - AbstractChosen.prototype.input_blur = function(evt) { - var _this = this; - if (!this.mouse_on_container) { - this.active_field = false; - return setTimeout((function() { - return _this.blur_test(); - }), 100); - } - }; + SelectParser.prototype.add_node = function(child) { + if (child.nodeName.toUpperCase() === "OPTGROUP") { + return this.add_group(child); + } else { + return this.add_option(child); + } + }; + + SelectParser.prototype.add_group = function(group) { + var group_position, option, _i, _len, _ref, _results; + group_position = this.parsed.length; + this.parsed.push({ + array_index: group_position, + group: true, + label: this.escapeExpression(group.label), + title: group.title ? group.title : void 0, + children: 0, + disabled: group.disabled, + classes: group.className + }); + _ref = group.childNodes; + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + option = _ref[_i]; + _results.push(this.add_option(option, group_position, group.disabled)); + } + return _results; + }; + + SelectParser.prototype.add_option = function(option, group_position, group_disabled) { + if (option.nodeName.toUpperCase() === "OPTION") { + if (option.text !== "") { + if (group_position != null) { + this.parsed[group_position].children += 1; + } + this.parsed.push({ + array_index: this.parsed.length, + options_index: this.options_index, + value: option.value, + text: option.text, + html: option.innerHTML, + title: option.title ? option.title : void 0, + selected: option.selected, + disabled: group_disabled === true ? group_disabled : option.disabled, + group_array_index: group_position, + group_label: group_position != null ? this.parsed[group_position].label : null, + classes: option.className, + style: option.style.cssText + }); + } else { + this.parsed.push({ + array_index: this.parsed.length, + options_index: this.options_index, + empty: true + }); + } + return this.options_index += 1; + } + }; - AbstractChosen.prototype.result_add_option = function(option) { - var classes, style; - if (!option.disabled) { - option.dom_id = this.container_id + "_o_" + option.array_index; - classes = option.selected && this.is_multiple ? [] : ["active-result"]; - if (option.selected) { - classes.push("result-selected"); - } - if (option.group_array_index != null) { - classes.push("group-option"); - } - if (option.classes !== "") { - classes.push(option.classes); + SelectParser.prototype.escapeExpression = function(text) { + var map, unsafe_chars; + if ((text == null) || text === false) { + return ""; + } + if (!/[\&\<\>\"\'\`]/.test(text)) { + return text; + } + map = { + "<": "<", + ">": ">", + '"': """, + "'": "'", + "`": "`" + }; + unsafe_chars = /&(?!\w+;)|[\<\>\"\'\`]/g; + return text.replace(unsafe_chars, function(chr) { + return map[chr] || "&"; + }); + }; + + return SelectParser; + + })(); + + SelectParser.select_to_array = function(select) { + var child, parser, _i, _len, _ref; + parser = new SelectParser(); + _ref = select.childNodes; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + child = _ref[_i]; + parser.add_node(child); } - style = option.style.cssText !== "" ? " style=\"" + option.style + "\"" : ""; - return '
  • ' + option.html + '
  • '; - } else { - return ""; - } - }; - - AbstractChosen.prototype.results_update_field = function() { - if (!this.is_multiple) { - this.results_reset_cleanup(); - } - this.result_clear_highlight(); - this.result_single_selected = null; - return this.results_build(); - }; - - AbstractChosen.prototype.results_toggle = function() { - if (this.results_showing) { - return this.results_hide(); - } else { - return this.results_show(); - } - }; - - AbstractChosen.prototype.results_search = function(evt) { - if (this.results_showing) { - return this.winnow_results(); - } else { - return this.results_show(); - } - }; - - AbstractChosen.prototype.keyup_checker = function(evt) { - var stroke, _ref; - stroke = (_ref = evt.which) != null ? _ref : evt.keyCode; - this.search_field_scale(); - switch (stroke) { - case 8: - if (this.is_multiple && this.backstroke_length < 1 && this.choices > 0) { - return this.keydown_backstroke(); - } else if (!this.pending_backstroke) { - this.result_clear_highlight(); - return this.results_search(); - } - break; - case 13: - evt.preventDefault(); - if (this.results_showing) { - return this.result_select(evt); - } - break; - case 27: - if (this.results_showing) { - this.results_hide(); - } - return true; - case 9: - case 38: - case 40: - case 16: - case 91: - case 17: - break; - default: - return this.results_search(); - } + return parser.parsed; }; - AbstractChosen.prototype.generate_field_id = function() { - var new_id; - new_id = this.generate_random_id(); - this.form_field.id = new_id; - return new_id; - }; - - AbstractChosen.prototype.generate_random_char = function() { - var chars, newchar, rand; - chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; - rand = Math.floor(Math.random() * chars.length); - return newchar = chars.substring(rand, rand + 1); - }; - - return AbstractChosen; - - })(); - - root.AbstractChosen = AbstractChosen; - -}).call(this); - -/* -Chosen source: generate output using 'cake build' -Copyright (c) 2011 by Harvest -*/ - - -(function() { - var $, Chosen, get_side_border_padding, root, - __hasProp = {}.hasOwnProperty, - __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; - - root = this; - - $ = jQuery; - - $.fn.extend({ - chosen: function(options) { - var browser, match, ua; - ua = navigator.userAgent.toLowerCase(); - match = /(msie) ([\w.]+)/.exec(ua) || []; - browser = { - name: match[1] || "", - version: match[2] || "0" - }; - if (browser.name === "msie" && (browser.version === "6.0" || (browser.version === "7.0" && document.documentMode === 7))) { - return this; - } - return this.each(function(input_field) { - var $this; - $this = $(this); - if (!$this.hasClass("chzn-done")) { - return $this.data('chosen', new Chosen(this, options)); + AbstractChosen = (function() { + function AbstractChosen(form_field, options) { + this.form_field = form_field; + this.options = options != null ? options : {}; + if (!AbstractChosen.browser_is_supported()) { + return; + } + this.is_multiple = this.form_field.multiple; + this.set_default_text(); + this.set_default_values(); + this.setup(); + this.set_up_html(); + this.register_observers(); + this.on_ready(); } - }); - } - }); - - Chosen = (function(_super) { - - __extends(Chosen, _super); - - function Chosen() { - Chosen.__super__.constructor.apply(this, arguments); - } - Chosen.prototype.setup = function() { - this.form_field_jq = $(this.form_field); - this.current_value = this.form_field_jq.val(); - return this.is_rtl = this.form_field_jq.hasClass("chzn-rtl"); - }; + AbstractChosen.prototype.set_default_values = function() { + var _this = this; + this.click_test_action = function(evt) { + return _this.test_active_click(evt); + }; + this.activate_action = function(evt) { + return _this.activate_field(evt); + }; + this.active_field = false; + this.mouse_on_container = false; + this.results_showing = false; + this.result_highlighted = null; + this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false; + this.disable_search_threshold = this.options.disable_search_threshold || 0; + this.disable_search = this.options.disable_search || false; + this.enable_split_word_search = this.options.enable_split_word_search != null ? this.options.enable_split_word_search : true; + this.group_search = this.options.group_search != null ? this.options.group_search : true; + this.search_contains = this.options.search_contains || false; + this.single_backstroke_delete = this.options.single_backstroke_delete != null ? this.options.single_backstroke_delete : true; + this.max_selected_options = this.options.max_selected_options || Infinity; + this.inherit_select_classes = this.options.inherit_select_classes || false; + this.display_selected_options = this.options.display_selected_options != null ? this.options.display_selected_options : true; + this.display_disabled_options = this.options.display_disabled_options != null ? this.options.display_disabled_options : true; + return this.include_group_label_in_selected = this.options.include_group_label_in_selected || false; + }; + + AbstractChosen.prototype.set_default_text = function() { + if (this.form_field.getAttribute("data-placeholder")) { + this.default_text = this.form_field.getAttribute("data-placeholder"); + } else if (this.is_multiple) { + this.default_text = this.options.placeholder_text_multiple || this.options.placeholder_text || AbstractChosen.default_multiple_text; + } else { + this.default_text = this.options.placeholder_text_single || this.options.placeholder_text || AbstractChosen.default_single_text; + } + return this.results_none_found = this.form_field.getAttribute("data-no_results_text") || this.options.no_results_text || AbstractChosen.default_no_result_text; + }; - Chosen.prototype.finish_setup = function() { - return this.form_field_jq.addClass("chzn-done"); - }; + AbstractChosen.prototype.choice_label = function(item) { + if (this.include_group_label_in_selected && (item.group_label != null)) { + return "" + item.group_label + "" + item.html; + } else { + return item.html; + } + }; - Chosen.prototype.set_up_html = function() { - var container_classes, container_div, container_props, dd_top, dd_width, sf_width; - this.container_id = this.form_field.id.length ? this.form_field.id.replace(/[^\w]/g, '_') : this.generate_field_id(); - this.container_id += "_chzn"; - container_classes = ["chzn-container"]; - container_classes.push("chzn-container-" + (this.is_multiple ? "multi" : "single")); - if (this.inherit_select_classes && this.form_field.className) { - container_classes.push(this.form_field.className); - } - if (this.is_rtl) { - container_classes.push("chzn-rtl"); - } - this.f_width = this.form_field_jq.outerWidth(); - container_props = { - id: this.container_id, - "class": container_classes.join(' '), - style: 'width: ' + this.f_width + 'px;', - title: this.form_field.title - }; - container_div = $("
    ", container_props); - if (this.is_multiple) { - container_div.html('
    '); - } else { - container_div.html('' + this.default_text + '
    '); - } - this.form_field_jq.hide().after(container_div); - this.container = $('#' + this.container_id); - this.dropdown = this.container.find('div.chzn-drop').first(); - dd_top = this.container.height(); - dd_width = this.f_width - get_side_border_padding(this.dropdown); - this.dropdown.css({ - "width": dd_width + "px", - "top": dd_top + "px" - }); - this.search_field = this.container.find('input').first(); - this.search_results = this.container.find('ul.chzn-results').first(); - this.search_field_scale(); - this.search_no_results = this.container.find('li.no-results').first(); - if (this.is_multiple) { - this.search_choices = this.container.find('ul.chzn-choices').first(); - this.search_container = this.container.find('li.search-field').first(); - } else { - this.search_container = this.container.find('div.chzn-search').first(); - this.selected_item = this.container.find('.chzn-single').first(); - sf_width = dd_width - get_side_border_padding(this.search_container) - get_side_border_padding(this.search_field); - this.search_field.css({ - "width": sf_width + "px" - }); - } - this.results_build(); - this.set_tab_index(); - return this.form_field_jq.trigger("liszt:ready", { - chosen: this - }); - }; + AbstractChosen.prototype.mouse_enter = function() { + return this.mouse_on_container = true; + }; - Chosen.prototype.register_observers = function() { - var _this = this; - this.container.mousedown(function(evt) { - _this.container_mousedown(evt); - }); - this.container.mouseup(function(evt) { - _this.container_mouseup(evt); - }); - this.container.mouseenter(function(evt) { - _this.mouse_enter(evt); - }); - this.container.mouseleave(function(evt) { - _this.mouse_leave(evt); - }); - this.search_results.mouseup(function(evt) { - _this.search_results_mouseup(evt); - }); - this.search_results.mouseover(function(evt) { - _this.search_results_mouseover(evt); - }); - this.search_results.mouseout(function(evt) { - _this.search_results_mouseout(evt); - }); - this.form_field_jq.bind("liszt:updated", function(evt) { - _this.results_update_field(evt); - }); - this.form_field_jq.bind("liszt:activate", function(evt) { - _this.activate_field(evt); - }); - this.form_field_jq.bind("liszt:open", function(evt) { - _this.container_mousedown(evt); - }); - this.search_field.blur(function(evt) { - _this.input_blur(evt); - }); - this.search_field.keyup(function(evt) { - _this.keyup_checker(evt); - }); - this.search_field.keydown(function(evt) { - _this.keydown_checker(evt); - }); - this.search_field.focus(function(evt) { - _this.input_focus(evt); - }); - if (this.is_multiple) { - return this.search_choices.click(function(evt) { - _this.choices_click(evt); - }); - } else { - return this.container.click(function(evt) { - evt.preventDefault(); - }); - } - }; + AbstractChosen.prototype.mouse_leave = function() { + return this.mouse_on_container = false; + }; - Chosen.prototype.search_field_disabled = function() { - this.is_disabled = this.form_field_jq[0].disabled; - if (this.is_disabled) { - this.container.addClass('chzn-disabled'); - this.search_field[0].disabled = true; - if (!this.is_multiple) { - this.selected_item.unbind("focus", this.activate_action); - } - return this.close_field(); - } else { - this.container.removeClass('chzn-disabled'); - this.search_field[0].disabled = false; - if (!this.is_multiple) { - return this.selected_item.bind("focus", this.activate_action); - } - } - }; - - Chosen.prototype.container_mousedown = function(evt) { - var target_closelink; - if (!this.is_disabled) { - target_closelink = evt != null ? ($(evt.target)).hasClass("search-choice-close") : false; - if (evt && evt.type === "mousedown" && !this.results_showing) { - evt.preventDefault(); - } - if (!this.pending_destroy_click && !target_closelink) { - if (!this.active_field) { + AbstractChosen.prototype.input_focus = function(evt) { + var _this = this; if (this.is_multiple) { - this.search_field.val(""); + if (!this.active_field) { + return setTimeout((function() { + return _this.container_mousedown(); + }), 50); + } + } else { + if (!this.active_field) { + return this.activate_field(); + } } - $(document).click(this.click_test_action); - this.results_show(); - } else if (!this.is_multiple && evt && (($(evt.target)[0] === this.selected_item[0]) || $(evt.target).parents("a.chzn-single").length)) { - evt.preventDefault(); - this.results_toggle(); - } - return this.activate_field(); - } else { - return this.pending_destroy_click = false; - } - } - }; - - Chosen.prototype.container_mouseup = function(evt) { - if (evt.target.nodeName === "ABBR" && !this.is_disabled) { - return this.results_reset(evt); - } - }; - - Chosen.prototype.blur_test = function(evt) { - if (!this.active_field && this.container.hasClass("chzn-container-active")) { - return this.close_field(); - } - }; + }; + + AbstractChosen.prototype.input_blur = function(evt) { + var _this = this; + if (!this.mouse_on_container) { + this.active_field = false; + return setTimeout((function() { + return _this.blur_test(); + }), 100); + } + }; + + AbstractChosen.prototype.results_option_build = function(options) { + var content, data, _i, _len, _ref; + content = ''; + _ref = this.results_data; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + data = _ref[_i]; + if (data.group) { + content += this.result_add_group(data); + } else { + content += this.result_add_option(data); + } + if (options != null ? options.first : void 0) { + if (data.selected && this.is_multiple) { + this.choice_build(data); + } else if (data.selected && !this.is_multiple) { + this.single_set_selected_text(data.html); + } + } + } + return content; + }; - Chosen.prototype.close_field = function() { - $(document).unbind("click", this.click_test_action); - this.active_field = false; - this.results_hide(); - this.container.removeClass("chzn-container-active"); - this.winnow_results_clear(); - this.clear_backstroke(); - this.show_search_field_default(); - return this.search_field_scale(); - }; + AbstractChosen.prototype.result_add_option = function(option) { + var classes, option_el; + if (!option.search_match) { + return ''; + } + if (!this.include_option_in_results(option)) { + return ''; + } + classes = []; + if (!option.disabled && !(option.selected && this.is_multiple)) { + classes.push("active-result"); + } + if (option.disabled && !(option.selected && this.is_multiple)) { + classes.push("disabled-result"); + } + if (option.selected) { + classes.push("result-selected"); + } + if (option.group_array_index != null) { + classes.push("group-option"); + } + if (option.classes !== "") { + classes.push(option.classes); + } + option_el = document.createElement("li"); + option_el.className = classes.join(" "); + option_el.style.cssText = option.style; + option_el.setAttribute("data-option-array-index", option.array_index); + option_el.innerHTML = option.search_text; + if (option.title) { + option_el.title = option.title; + } + return this.outerHTML(option_el); + }; - Chosen.prototype.activate_field = function() { - this.container.addClass("chzn-container-active"); - this.active_field = true; - this.search_field.val(this.search_field.val()); - return this.search_field.focus(); - }; + AbstractChosen.prototype.result_add_group = function(group) { + var classes, group_el; + if (!(group.search_match || group.group_match)) { + return ''; + } + if (!(group.active_options > 0)) { + return ''; + } + classes = []; + classes.push("group-result"); + if (group.classes) { + classes.push(group.classes); + } + group_el = document.createElement("li"); + group_el.className = classes.join(" "); + group_el.innerHTML = group.search_text; + if (group.title) { + group_el.title = group.title; + } + return this.outerHTML(group_el); + }; - Chosen.prototype.test_active_click = function(evt) { - if ($(evt.target).parents('#' + this.container_id).length) { - return this.active_field = true; - } else { - return this.close_field(); - } - }; + AbstractChosen.prototype.results_update_field = function() { + this.set_default_text(); + if (!this.is_multiple) { + this.results_reset_cleanup(); + } + this.result_clear_highlight(); + this.results_build(); + if (this.results_showing) { + return this.winnow_results(); + } + }; + + AbstractChosen.prototype.reset_single_select_options = function() { + var result, _i, _len, _ref, _results; + _ref = this.results_data; + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + result = _ref[_i]; + if (result.selected) { + _results.push(result.selected = false); + } else { + _results.push(void 0); + } + } + return _results; + }; - Chosen.prototype.results_build = function() { - var content, data, _i, _len, _ref; - this.parsing = true; - this.results_data = root.SelectParser.select_to_array(this.form_field); - if (this.is_multiple && this.choices > 0) { - this.search_choices.find("li.search-choice").remove(); - this.choices = 0; - } else if (!this.is_multiple) { - this.selected_item.addClass("chzn-default").find("span").text(this.default_text); - if (this.disable_search || this.form_field.options.length <= this.disable_search_threshold) { - this.container.addClass("chzn-container-single-nosearch"); - } else { - this.container.removeClass("chzn-container-single-nosearch"); - } - } - content = ''; - _ref = this.results_data; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - data = _ref[_i]; - if (data.group) { - content += this.result_add_group(data); - } else if (!data.empty) { - content += this.result_add_option(data); - if (data.selected && this.is_multiple) { - this.choice_build(data); - } else if (data.selected && !this.is_multiple) { - this.selected_item.removeClass("chzn-default").find("span").text(data.text); - if (this.allow_single_deselect) { - this.single_deselect_control_build(); - } - } - } - } - this.search_field_disabled(); - this.show_search_field_default(); - this.search_field_scale(); - this.search_results.html(content); - return this.parsing = false; - }; + AbstractChosen.prototype.results_toggle = function() { + if (this.results_showing) { + return this.results_hide(); + } else { + return this.results_show(); + } + }; - Chosen.prototype.result_add_group = function(group) { - if (!group.disabled) { - group.dom_id = this.container_id + "_g_" + group.array_index; - return '
  • ' + $("
    ").text(group.label).html() + '
  • '; - } else { - return ""; - } - }; + AbstractChosen.prototype.results_search = function(evt) { + if (this.results_showing) { + return this.winnow_results(); + } else { + return this.results_show(); + } + }; + + AbstractChosen.prototype.winnow_results = function() { + var escapedSearchText, option, regex, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref; + this.no_results_clear(); + results = 0; + searchText = this.get_search_text(); + escapedSearchText = searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); + zregex = new RegExp(escapedSearchText, 'i'); + regex = this.get_search_regex(escapedSearchText); + _ref = this.results_data; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + option = _ref[_i]; + option.search_match = false; + results_group = null; + if (this.include_option_in_results(option)) { + if (option.group) { + option.group_match = false; + option.active_options = 0; + } + if ((option.group_array_index != null) && this.results_data[option.group_array_index]) { + results_group = this.results_data[option.group_array_index]; + if (results_group.active_options === 0 && results_group.search_match) { + results += 1; + } + results_group.active_options += 1; + } + if (!(option.group && !this.group_search)) { + option.search_text = option.group ? option.label : option.html; + option.search_match = this.search_string_match(option.search_text, regex); + if (option.search_match && !option.group) { + results += 1; + } + if (option.search_match) { + if (searchText.length) { + startpos = option.search_text.search(zregex); + text = option.search_text.substr(0, startpos + searchText.length) + '' + option.search_text.substr(startpos + searchText.length); + option.search_text = text.substr(0, startpos) + '' + text.substr(startpos); + } + if (results_group != null) { + results_group.group_match = true; + } + } else if ((option.group_array_index != null) && this.results_data[option.group_array_index].search_match) { + option.search_match = true; + } + } + } + } + this.result_clear_highlight(); + if (results < 1 && searchText.length) { + this.update_results_content(""); + return this.no_results(searchText); + } else { + this.update_results_content(this.results_option_build()); + return this.winnow_results_set_highlight(); + } + }; + + AbstractChosen.prototype.get_search_regex = function(escaped_search_string) { + var regex_anchor; + regex_anchor = this.search_contains ? "" : "^"; + return new RegExp(regex_anchor + escaped_search_string, 'i'); + }; + + AbstractChosen.prototype.search_string_match = function(search_string, regex) { + var part, parts, _i, _len; + if (regex.test(search_string)) { + return true; + } else if (this.enable_split_word_search && (search_string.indexOf(" ") >= 0 || search_string.indexOf("[") === 0)) { + parts = search_string.replace(/\[|\]/g, "").split(" "); + if (parts.length) { + for (_i = 0, _len = parts.length; _i < _len; _i++) { + part = parts[_i]; + if (regex.test(part)) { + return true; + } + } + } + } + }; - Chosen.prototype.result_do_highlight = function(el) { - var high_bottom, high_top, maxHeight, visible_bottom, visible_top; - if (el.length) { - this.result_clear_highlight(); - this.result_highlight = el; - this.result_highlight.addClass("highlighted"); - maxHeight = parseInt(this.search_results.css("maxHeight"), 10); - visible_top = this.search_results.scrollTop(); - visible_bottom = maxHeight + visible_top; - high_top = this.result_highlight.position().top + this.search_results.scrollTop(); - high_bottom = high_top + this.result_highlight.outerHeight(); - if (high_bottom >= visible_bottom) { - return this.search_results.scrollTop((high_bottom - maxHeight) > 0 ? high_bottom - maxHeight : 0); - } else if (high_top < visible_top) { - return this.search_results.scrollTop(high_top); - } - } - }; + AbstractChosen.prototype.choices_count = function() { + var option, _i, _len, _ref; + if (this.selected_option_count != null) { + return this.selected_option_count; + } + this.selected_option_count = 0; + _ref = this.form_field.options; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + option = _ref[_i]; + if (option.selected) { + this.selected_option_count += 1; + } + } + return this.selected_option_count; + }; - Chosen.prototype.result_clear_highlight = function() { - if (this.result_highlight) { - this.result_highlight.removeClass("highlighted"); - } - return this.result_highlight = null; - }; + AbstractChosen.prototype.choices_click = function(evt) { + evt.preventDefault(); + if (!(this.results_showing || this.is_disabled)) { + return this.results_show(); + } + }; + + AbstractChosen.prototype.keyup_checker = function(evt) { + var stroke, _ref; + stroke = (_ref = evt.which) != null ? _ref : evt.keyCode; + this.search_field_scale(); + switch (stroke) { + case 8: + if (this.is_multiple && this.backstroke_length < 1 && this.choices_count() > 0) { + return this.keydown_backstroke(); + } else if (!this.pending_backstroke) { + this.result_clear_highlight(); + return this.results_search(); + } + break; + case 13: + evt.preventDefault(); + if (this.results_showing) { + return this.result_select(evt); + } + break; + case 27: + if (this.results_showing) { + this.results_hide(); + } + return true; + case 9: + case 38: + case 40: + case 16: + case 91: + case 17: + break; + default: + return this.results_search(); + } + }; + + AbstractChosen.prototype.clipboard_event_checker = function(evt) { + var _this = this; + return setTimeout((function() { + return _this.results_search(); + }), 50); + }; + + AbstractChosen.prototype.container_width = function() { + if (this.options.width != null) { + return this.options.width; + } else { + return "" + this.form_field.offsetWidth + "px"; + } + }; - Chosen.prototype.results_show = function() { - var dd_top; - if (!this.is_multiple) { - this.selected_item.addClass("chzn-single-with-drop"); - if (this.result_single_selected) { - this.result_do_highlight(this.result_single_selected); - } - } else if (this.max_selected_options <= this.choices) { - this.form_field_jq.trigger("liszt:maxselected", { - chosen: this - }); - return false; - } - dd_top = this.is_multiple ? this.container.height() : this.container.height() - 1; - this.form_field_jq.trigger("liszt:showing_dropdown", { - chosen: this - }); - this.dropdown.css({ - "top": dd_top + "px", - "left": 0 - }); - this.results_showing = true; - this.search_field.focus(); - this.search_field.val(this.search_field.val()); - return this.winnow_results(); - }; + AbstractChosen.prototype.include_option_in_results = function(option) { + if (this.is_multiple && (!this.display_selected_options && option.selected)) { + return false; + } + if (!this.display_disabled_options && option.disabled) { + return false; + } + if (option.empty) { + return false; + } + return true; + }; + + AbstractChosen.prototype.search_results_touchstart = function(evt) { + this.touch_started = true; + return this.search_results_mouseover(evt); + }; + + AbstractChosen.prototype.search_results_touchmove = function(evt) { + this.touch_started = false; + return this.search_results_mouseout(evt); + }; + + AbstractChosen.prototype.search_results_touchend = function(evt) { + if (this.touch_started) { + return this.search_results_mouseup(evt); + } + }; - Chosen.prototype.results_hide = function() { - if (!this.is_multiple) { - this.selected_item.removeClass("chzn-single-with-drop"); - } - this.result_clear_highlight(); - this.form_field_jq.trigger("liszt:hiding_dropdown", { - chosen: this - }); - this.dropdown.css({ - "left": "-9000px" - }); - return this.results_showing = false; - }; + AbstractChosen.prototype.outerHTML = function(element) { + var tmp; + if (element.outerHTML) { + return element.outerHTML; + } + tmp = document.createElement("div"); + tmp.appendChild(element); + return tmp.innerHTML; + }; + + AbstractChosen.browser_is_supported = function() { + if (window.navigator.appName === "Microsoft Internet Explorer") { + return document.documentMode >= 8; + } + if (/iP(od|hone)/i.test(window.navigator.userAgent)) { + return false; + } + if (/Android/i.test(window.navigator.userAgent)) { + if (/Mobile/i.test(window.navigator.userAgent)) { + return false; + } + } + return true; + }; - Chosen.prototype.set_tab_index = function(el) { - var ti; - if (this.form_field_jq.attr("tabindex")) { - ti = this.form_field_jq.attr("tabindex"); - this.form_field_jq.attr("tabindex", -1); - return this.search_field.attr("tabindex", ti); - } - }; + AbstractChosen.default_multiple_text = "Select Some Options"; - Chosen.prototype.show_search_field_default = function() { - if (this.is_multiple && this.choices < 1 && !this.active_field) { - this.search_field.val(this.default_text); - return this.search_field.addClass("default"); - } else { - this.search_field.val(""); - return this.search_field.removeClass("default"); - } - }; + AbstractChosen.default_single_text = "Select an Option"; - Chosen.prototype.search_results_mouseup = function(evt) { - var target; - target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first(); - if (target.length) { - this.result_highlight = target; - this.result_select(evt); - return this.search_field.focus(); - } - }; + AbstractChosen.default_no_result_text = "No results match"; - Chosen.prototype.search_results_mouseover = function(evt) { - var target; - target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first(); - if (target) { - return this.result_do_highlight(target); - } - }; + return AbstractChosen; - Chosen.prototype.search_results_mouseout = function(evt) { - if ($(evt.target).hasClass("active-result" || $(evt.target).parents('.active-result').first())) { - return this.result_clear_highlight(); - } - }; + })(); - Chosen.prototype.choices_click = function(evt) { - evt.preventDefault(); - if (this.active_field && !($(evt.target).hasClass("search-choice" || $(evt.target).parents('.search-choice').first)) && !this.results_showing) { - return this.results_show(); - } - }; + $ = jQuery; - Chosen.prototype.choice_build = function(item) { - var choice_id, html, link, - _this = this; - if (this.is_multiple && this.max_selected_options <= this.choices) { - this.form_field_jq.trigger("liszt:maxselected", { - chosen: this - }); - return false; - } - choice_id = this.container_id + "_c_" + item.array_index; - this.choices += 1; - if (item.disabled) { - html = '
  • ' + item.html + '
  • '; - } else { - html = '
  • ' + item.html + '
  • '; - } - this.search_container.before(html); - link = $('#' + choice_id).find("a").first(); - return link.click(function(evt) { - return _this.choice_destroy_link_click(evt); - }); - }; + $.fn.extend({ + chosen: function(options) { + if (!AbstractChosen.browser_is_supported()) { + return this; + } + return this.each(function(input_field) { + var $this, chosen; + $this = $(this); + chosen = $this.data('chosen'); + if (options === 'destroy' && chosen instanceof Chosen) { + chosen.destroy(); + } else if (!(chosen instanceof Chosen)) { + $this.data('chosen', new Chosen(this, options)); + } + }); + } + }); - Chosen.prototype.choice_destroy_link_click = function(evt) { - evt.preventDefault(); - if (!this.is_disabled) { - this.pending_destroy_click = true; - return this.choice_destroy($(evt.target)); - } else { - return evt.stopPropagation; - } - }; + Chosen = (function(_super) { + __extends(Chosen, _super); - Chosen.prototype.choice_destroy = function(link) { - if (this.result_deselect(link.attr("rel"))) { - this.choices -= 1; - this.show_search_field_default(); - if (this.is_multiple && this.choices > 0 && this.search_field.val().length < 1) { - this.results_hide(); + function Chosen() { + _ref = Chosen.__super__.constructor.apply(this, arguments); + return _ref; } - link.parents('li').first().remove(); - return this.search_field_scale(); - } - }; - Chosen.prototype.results_reset = function() { - this.form_field.options[0].selected = true; - this.selected_item.find("span").text(this.default_text); - if (!this.is_multiple) { - this.selected_item.addClass("chzn-default"); - } - this.show_search_field_default(); - this.results_reset_cleanup(); - this.form_field_jq.trigger("change"); - if (this.active_field) { - return this.results_hide(); - } - }; + Chosen.prototype.setup = function() { + this.form_field_jq = $(this.form_field); + this.current_selectedIndex = this.form_field.selectedIndex; + return this.is_rtl = this.form_field_jq.hasClass("chosen-rtl"); + }; + + Chosen.prototype.set_up_html = function() { + var container_classes, container_props; + container_classes = ["chosen-container"]; + container_classes.push("chosen-container-" + (this.is_multiple ? "multi" : "single")); + if (this.inherit_select_classes && this.form_field.className) { + container_classes.push(this.form_field.className); + } + if (this.is_rtl) { + container_classes.push("chosen-rtl"); + } + container_props = { + 'class': container_classes.join(' '), + 'style': "width: " + (this.container_width()) + ";", + 'title': this.form_field.title + }; + if (this.form_field.id.length) { + container_props.id = this.form_field.id.replace(/[^\w]/g, '_') + "_chosen"; + } + this.container = $("
    ", container_props); + if (this.is_multiple) { + this.container.html('
      '); + } else { + this.container.html('' + this.default_text + '
        '); + } + this.form_field_jq.hide().after(this.container); + this.dropdown = this.container.find('div.chosen-drop').first(); + this.search_field = this.container.find('input').first(); + this.search_results = this.container.find('ul.chosen-results').first(); + this.search_field_scale(); + this.search_no_results = this.container.find('li.no-results').first(); + if (this.is_multiple) { + this.search_choices = this.container.find('ul.chosen-choices').first(); + this.search_container = this.container.find('li.search-field').first(); + } else { + this.search_container = this.container.find('div.chosen-search').first(); + this.selected_item = this.container.find('.chosen-single').first(); + } + this.results_build(); + this.set_tab_index(); + return this.set_label_behavior(); + }; + + Chosen.prototype.on_ready = function() { + return this.form_field_jq.trigger("chosen:ready", { + chosen: this + }); + }; + + Chosen.prototype.register_observers = function() { + var _this = this; + this.container.bind('touchstart.chosen', function(evt) { + _this.container_mousedown(evt); + }); + this.container.bind('touchend.chosen', function(evt) { + _this.container_mouseup(evt); + }); + this.container.bind('mousedown.chosen', function(evt) { + _this.container_mousedown(evt); + }); + this.container.bind('mouseup.chosen', function(evt) { + _this.container_mouseup(evt); + }); + this.container.bind('mouseenter.chosen', function(evt) { + _this.mouse_enter(evt); + }); + this.container.bind('mouseleave.chosen', function(evt) { + _this.mouse_leave(evt); + }); + this.search_results.bind('mouseup.chosen', function(evt) { + _this.search_results_mouseup(evt); + }); + this.search_results.bind('mouseover.chosen', function(evt) { + _this.search_results_mouseover(evt); + }); + this.search_results.bind('mouseout.chosen', function(evt) { + _this.search_results_mouseout(evt); + }); + this.search_results.bind('mousewheel.chosen DOMMouseScroll.chosen', function(evt) { + _this.search_results_mousewheel(evt); + }); + this.search_results.bind('touchstart.chosen', function(evt) { + _this.search_results_touchstart(evt); + }); + this.search_results.bind('touchmove.chosen', function(evt) { + _this.search_results_touchmove(evt); + }); + this.search_results.bind('touchend.chosen', function(evt) { + _this.search_results_touchend(evt); + }); + this.form_field_jq.bind("chosen:updated.chosen", function(evt) { + _this.results_update_field(evt); + }); + this.form_field_jq.bind("chosen:activate.chosen", function(evt) { + _this.activate_field(evt); + }); + this.form_field_jq.bind("chosen:open.chosen", function(evt) { + _this.container_mousedown(evt); + }); + this.form_field_jq.bind("chosen:close.chosen", function(evt) { + _this.input_blur(evt); + }); + this.search_field.bind('blur.chosen', function(evt) { + _this.input_blur(evt); + }); + this.search_field.bind('keyup.chosen', function(evt) { + _this.keyup_checker(evt); + }); + this.search_field.bind('keydown.chosen', function(evt) { + _this.keydown_checker(evt); + }); + this.search_field.bind('focus.chosen', function(evt) { + _this.input_focus(evt); + }); + this.search_field.bind('cut.chosen', function(evt) { + _this.clipboard_event_checker(evt); + }); + this.search_field.bind('paste.chosen', function(evt) { + _this.clipboard_event_checker(evt); + }); + if (this.is_multiple) { + return this.search_choices.bind('click.chosen', function(evt) { + _this.choices_click(evt); + }); + } else { + return this.container.bind('click.chosen', function(evt) { + evt.preventDefault(); + }); + } + }; - Chosen.prototype.results_reset_cleanup = function() { - this.current_value = this.form_field_jq.val(); - return this.selected_item.find("abbr").remove(); - }; + Chosen.prototype.destroy = function() { + $(this.container[0].ownerDocument).unbind("click.chosen", this.click_test_action); + if (this.search_field[0].tabIndex) { + this.form_field_jq[0].tabIndex = this.search_field[0].tabIndex; + } + this.container.remove(); + this.form_field_jq.removeData('chosen'); + return this.form_field_jq.show(); + }; + + Chosen.prototype.search_field_disabled = function() { + this.is_disabled = this.form_field_jq[0].disabled; + if (this.is_disabled) { + this.container.addClass('chosen-disabled'); + this.search_field[0].disabled = true; + if (!this.is_multiple) { + this.selected_item.unbind("focus.chosen", this.activate_action); + } + return this.close_field(); + } else { + this.container.removeClass('chosen-disabled'); + this.search_field[0].disabled = false; + if (!this.is_multiple) { + return this.selected_item.bind("focus.chosen", this.activate_action); + } + } + }; - Chosen.prototype.result_select = function(evt) { - var high, high_id, item, position; - if (this.result_highlight) { - high = this.result_highlight; - high_id = high.attr("id"); - this.result_clear_highlight(); - if (this.is_multiple) { - this.result_deactivate(high); - } else { - this.search_results.find(".result-selected").removeClass("result-selected"); - this.result_single_selected = high; - this.selected_item.removeClass("chzn-default"); - } - high.addClass("result-selected"); - position = high_id.substr(high_id.lastIndexOf("_") + 1); - item = this.results_data[position]; - item.selected = true; - this.form_field.options[item.options_index].selected = true; - if (this.is_multiple) { - this.choice_build(item); - } else { - this.selected_item.find("span").first().text(item.text); - if (this.allow_single_deselect) { - this.single_deselect_control_build(); - } - } - if (!((evt.metaKey || evt.ctrlKey) && this.is_multiple)) { - this.results_hide(); - } - this.search_field.val(""); - if (this.is_multiple || this.form_field_jq.val() !== this.current_value) { - this.form_field_jq.trigger("change", { - 'selected': this.form_field.options[item.options_index].value - }); - } - this.current_value = this.form_field_jq.val(); - return this.search_field_scale(); - } - }; + Chosen.prototype.container_mousedown = function(evt) { + if (!this.is_disabled) { + if (evt && evt.type === "mousedown" && !this.results_showing) { + evt.preventDefault(); + } + if (!((evt != null) && ($(evt.target)).hasClass("search-choice-close"))) { + if (!this.active_field) { + if (this.is_multiple) { + this.search_field.val(""); + } + $(this.container[0].ownerDocument).bind('click.chosen', this.click_test_action); + this.results_show(); + } else if (!this.is_multiple && evt && (($(evt.target)[0] === this.selected_item[0]) || $(evt.target).parents("a.chosen-single").length)) { + evt.preventDefault(); + this.results_toggle(); + } + return this.activate_field(); + } + } + }; - Chosen.prototype.result_activate = function(el) { - return el.addClass("active-result"); - }; + Chosen.prototype.container_mouseup = function(evt) { + if (evt.target.nodeName === "ABBR" && !this.is_disabled) { + return this.results_reset(evt); + } + }; - Chosen.prototype.result_deactivate = function(el) { - return el.removeClass("active-result"); - }; + Chosen.prototype.search_results_mousewheel = function(evt) { + var delta; + if (evt.originalEvent) { + delta = evt.originalEvent.deltaY || -evt.originalEvent.wheelDelta || evt.originalEvent.detail; + } + if (delta != null) { + evt.preventDefault(); + if (evt.type === 'DOMMouseScroll') { + delta = delta * 40; + } + return this.search_results.scrollTop(delta + this.search_results.scrollTop()); + } + }; - Chosen.prototype.result_deselect = function(pos) { - var result, result_data; - result_data = this.results_data[pos]; - if (!this.form_field.options[result_data.options_index].disabled) { - result_data.selected = false; - this.form_field.options[result_data.options_index].selected = false; - result = $("#" + this.container_id + "_o_" + pos); - result.removeClass("result-selected").addClass("active-result").show(); - this.result_clear_highlight(); - this.winnow_results(); - this.form_field_jq.trigger("change", { - deselected: this.form_field.options[result_data.options_index].value - }); - this.search_field_scale(); - return true; - } else { - return false; - } - }; + Chosen.prototype.blur_test = function(evt) { + if (!this.active_field && this.container.hasClass("chosen-container-active")) { + return this.close_field(); + } + }; - Chosen.prototype.single_deselect_control_build = function() { - if (this.allow_single_deselect && this.selected_item.find("abbr").length < 1) { - return this.selected_item.find("span").first().after(""); - } - }; + Chosen.prototype.close_field = function() { + $(this.container[0].ownerDocument).unbind("click.chosen", this.click_test_action); + this.active_field = false; + this.results_hide(); + this.container.removeClass("chosen-container-active"); + this.clear_backstroke(); + this.show_search_field_default(); + return this.search_field_scale(); + }; + + Chosen.prototype.activate_field = function() { + this.container.addClass("chosen-container-active"); + this.active_field = true; + this.search_field.val(this.search_field.val()); + return this.search_field.focus(); + }; + + Chosen.prototype.test_active_click = function(evt) { + var active_container; + active_container = $(evt.target).closest('.chosen-container'); + if (active_container.length && this.container[0] === active_container[0]) { + return this.active_field = true; + } else { + return this.close_field(); + } + }; - Chosen.prototype.winnow_results = function() { - var found, option, part, parts, regex, regexAnchor, result, result_id, results, searchText, startpos, text, zregex, _i, _j, _len, _len1, _ref; - this.no_results_clear(); - results = 0; - searchText = this.search_field.val() === this.default_text ? "" : $('
        ').text($.trim(this.search_field.val())).html(); - regexAnchor = this.search_contains ? "" : "^"; - regex = new RegExp(regexAnchor + searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), 'i'); - zregex = new RegExp(searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), 'i'); - _ref = this.results_data; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - option = _ref[_i]; - if (!option.disabled && !option.empty) { - if (option.group) { - $('#' + option.dom_id).css('display', 'none'); - } else if (!(this.is_multiple && option.selected)) { - found = false; - result_id = option.dom_id; - result = $("#" + result_id); - if (regex.test(option.html)) { - found = true; - results += 1; - } else if (this.enable_split_word_search && (option.html.indexOf(" ") >= 0 || option.html.indexOf("[") === 0)) { - parts = option.html.replace(/\[|\]/g, "").split(" "); - if (parts.length) { - for (_j = 0, _len1 = parts.length; _j < _len1; _j++) { - part = parts[_j]; - if (regex.test(part)) { - found = true; - results += 1; - } + Chosen.prototype.results_build = function() { + this.parsing = true; + this.selected_option_count = null; + this.results_data = SelectParser.select_to_array(this.form_field); + if (this.is_multiple) { + this.search_choices.find("li.search-choice").remove(); + } else if (!this.is_multiple) { + this.single_set_selected_text(); + if (this.disable_search || this.form_field.options.length <= this.disable_search_threshold) { + this.search_field[0].readOnly = true; + this.container.addClass("chosen-container-single-nosearch"); + } else { + this.search_field[0].readOnly = false; + this.container.removeClass("chosen-container-single-nosearch"); } - } - } - if (found) { - if (searchText.length) { - startpos = option.html.search(zregex); - text = option.html.substr(0, startpos + searchText.length) + '' + option.html.substr(startpos + searchText.length); - text = text.substr(0, startpos) + '' + text.substr(startpos); - } else { - text = option.html; - } - result.html(text); - this.result_activate(result); - if (option.group_array_index != null) { - $("#" + this.results_data[option.group_array_index].dom_id).css('display', 'list-item'); - } - } else { - if (this.result_highlight && result_id === this.result_highlight.attr('id')) { + } + this.update_results_content(this.results_option_build({ + first: true + })); + this.search_field_disabled(); + this.show_search_field_default(); + this.search_field_scale(); + return this.parsing = false; + }; + + Chosen.prototype.result_do_highlight = function(el) { + var high_bottom, high_top, maxHeight, visible_bottom, visible_top; + if (el.length) { this.result_clear_highlight(); - } - this.result_deactivate(result); + this.result_highlight = el; + this.result_highlight.addClass("highlighted"); + maxHeight = parseInt(this.search_results.css("maxHeight"), 10); + visible_top = this.search_results.scrollTop(); + visible_bottom = maxHeight + visible_top; + high_top = this.result_highlight.position().top + this.search_results.scrollTop(); + high_bottom = high_top + this.result_highlight.outerHeight(); + if (high_bottom >= visible_bottom) { + return this.search_results.scrollTop((high_bottom - maxHeight) > 0 ? high_bottom - maxHeight : 0); + } else if (high_top < visible_top) { + return this.search_results.scrollTop(high_top); + } } - } - } - } - if (results < 1 && searchText.length) { - return this.no_results(searchText); - } else { - return this.winnow_results_set_highlight(); - } - }; + }; - Chosen.prototype.winnow_results_clear = function() { - var li, lis, _i, _len, _results; - this.search_field.val(""); - lis = this.search_results.find("li"); - _results = []; - for (_i = 0, _len = lis.length; _i < _len; _i++) { - li = lis[_i]; - li = $(li); - if (li.hasClass("group-result")) { - _results.push(li.css('display', 'auto')); - } else if (!this.is_multiple || !li.hasClass("result-selected")) { - _results.push(this.result_activate(li)); - } else { - _results.push(void 0); - } - } - return _results; - }; + Chosen.prototype.result_clear_highlight = function() { + if (this.result_highlight) { + this.result_highlight.removeClass("highlighted"); + } + return this.result_highlight = null; + }; + + Chosen.prototype.results_show = function() { + if (this.is_multiple && this.max_selected_options <= this.choices_count()) { + this.form_field_jq.trigger("chosen:maxselected", { + chosen: this + }); + return false; + } + this.container.addClass("chosen-with-drop"); + this.results_showing = true; + this.search_field.focus(); + this.search_field.val(this.search_field.val()); + this.winnow_results(); + return this.form_field_jq.trigger("chosen:showing_dropdown", { + chosen: this + }); + }; + + Chosen.prototype.update_results_content = function(content) { + return this.search_results.html(content); + }; + + Chosen.prototype.results_hide = function() { + if (this.results_showing) { + this.result_clear_highlight(); + this.container.removeClass("chosen-with-drop"); + this.form_field_jq.trigger("chosen:hiding_dropdown", { + chosen: this + }); + } + return this.results_showing = false; + }; + + Chosen.prototype.set_tab_index = function(el) { + var ti; + if (this.form_field.tabIndex) { + ti = this.form_field.tabIndex; + this.form_field.tabIndex = -1; + return this.search_field[0].tabIndex = ti; + } + }; - Chosen.prototype.winnow_results_set_highlight = function() { - var do_high, selected_results; - if (!this.result_highlight) { - selected_results = !this.is_multiple ? this.search_results.find(".result-selected.active-result") : []; - do_high = selected_results.length ? selected_results.first() : this.search_results.find(".active-result").first(); - if (do_high != null) { - return this.result_do_highlight(do_high); - } - } - }; + Chosen.prototype.set_label_behavior = function() { + var _this = this; + this.form_field_label = this.form_field_jq.parents("label"); + if (!this.form_field_label.length && this.form_field.id.length) { + this.form_field_label = $("label[for='" + this.form_field.id + "']"); + } + if (this.form_field_label.length > 0) { + return this.form_field_label.bind('click.chosen', function(evt) { + if (_this.is_multiple) { + return _this.container_mousedown(evt); + } else { + return _this.activate_field(); + } + }); + } + }; - Chosen.prototype.no_results = function(terms) { - var no_results_html; - no_results_html = $('
      • ' + this.results_none_found + ' ""
      • '); - no_results_html.find("span").first().html(terms); - return this.search_results.append(no_results_html); - }; + Chosen.prototype.show_search_field_default = function() { + if (this.is_multiple && this.choices_count() < 1 && !this.active_field) { + this.search_field.val(this.default_text); + return this.search_field.addClass("default"); + } else { + this.search_field.val(""); + return this.search_field.removeClass("default"); + } + }; + + Chosen.prototype.search_results_mouseup = function(evt) { + var target; + target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first(); + if (target.length) { + this.result_highlight = target; + this.result_select(evt); + return this.search_field.focus(); + } + }; - Chosen.prototype.no_results_clear = function() { - return this.search_results.find(".no-results").remove(); - }; + Chosen.prototype.search_results_mouseover = function(evt) { + var target; + target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first(); + if (target) { + return this.result_do_highlight(target); + } + }; - Chosen.prototype.keydown_arrow = function() { - var first_active, next_sib; - if (!this.result_highlight) { - first_active = this.search_results.find("li.active-result").first(); - if (first_active) { - this.result_do_highlight($(first_active)); - } - } else if (this.results_showing) { - next_sib = this.result_highlight.nextAll("li.active-result").first(); - if (next_sib) { - this.result_do_highlight(next_sib); - } - } - if (!this.results_showing) { - return this.results_show(); - } - }; + Chosen.prototype.search_results_mouseout = function(evt) { + if ($(evt.target).hasClass("active-result" || $(evt.target).parents('.active-result').first())) { + return this.result_clear_highlight(); + } + }; + + Chosen.prototype.choice_build = function(item) { + var choice, close_link, + _this = this; + choice = $('
      • ', { + "class": "search-choice" + }).html("" + (this.choice_label(item)) + ""); + if (item.disabled) { + choice.addClass('search-choice-disabled'); + } else { + close_link = $('', { + "class": 'search-choice-close', + 'data-option-array-index': item.array_index + }); + close_link.bind('click.chosen', function(evt) { + return _this.choice_destroy_link_click(evt); + }); + choice.append(close_link); + } + return this.search_container.before(choice); + }; - Chosen.prototype.keyup_arrow = function() { - var prev_sibs; - if (!this.results_showing && !this.is_multiple) { - return this.results_show(); - } else if (this.result_highlight) { - prev_sibs = this.result_highlight.prevAll("li.active-result"); - if (prev_sibs.length) { - return this.result_do_highlight(prev_sibs.first()); - } else { - if (this.choices > 0) { - this.results_hide(); - } - return this.result_clear_highlight(); - } - } - }; + Chosen.prototype.choice_destroy_link_click = function(evt) { + evt.preventDefault(); + evt.stopPropagation(); + if (!this.is_disabled) { + return this.choice_destroy($(evt.target)); + } + }; - Chosen.prototype.keydown_backstroke = function() { - var next_available_destroy; - if (this.pending_backstroke) { - this.choice_destroy(this.pending_backstroke.find("a").first()); - return this.clear_backstroke(); - } else { - next_available_destroy = this.search_container.siblings("li.search-choice").last(); - if (next_available_destroy.length && !next_available_destroy.hasClass("search-choice-disabled")) { - this.pending_backstroke = next_available_destroy; - if (this.single_backstroke_delete) { - return this.keydown_backstroke(); - } else { - return this.pending_backstroke.addClass("search-choice-focus"); - } - } - } - }; + Chosen.prototype.choice_destroy = function(link) { + if (this.result_deselect(link[0].getAttribute("data-option-array-index"))) { + this.show_search_field_default(); + if (this.is_multiple && this.choices_count() > 0 && this.search_field.val().length < 1) { + this.results_hide(); + } + link.parents('li').first().remove(); + return this.search_field_scale(); + } + }; + + Chosen.prototype.results_reset = function() { + this.reset_single_select_options(); + this.form_field.options[0].selected = true; + this.single_set_selected_text(); + this.show_search_field_default(); + this.results_reset_cleanup(); + this.form_field_jq.trigger("change"); + if (this.active_field) { + return this.results_hide(); + } + }; - Chosen.prototype.clear_backstroke = function() { - if (this.pending_backstroke) { - this.pending_backstroke.removeClass("search-choice-focus"); - } - return this.pending_backstroke = null; - }; + Chosen.prototype.results_reset_cleanup = function() { + this.current_selectedIndex = this.form_field.selectedIndex; + return this.selected_item.find("abbr").remove(); + }; - Chosen.prototype.keydown_checker = function(evt) { - var stroke, _ref; - stroke = (_ref = evt.which) != null ? _ref : evt.keyCode; - this.search_field_scale(); - if (stroke !== 8 && this.pending_backstroke) { - this.clear_backstroke(); - } - switch (stroke) { - case 8: - this.backstroke_length = this.search_field.val().length; - break; - case 9: - if (this.results_showing && !this.is_multiple) { - this.result_select(evt); - } - this.mouse_on_container = false; - break; - case 13: - evt.preventDefault(); - break; - case 38: - evt.preventDefault(); - this.keyup_arrow(); - break; - case 40: - this.keydown_arrow(); - break; - } - }; + Chosen.prototype.result_select = function(evt) { + var high, item; + if (this.result_highlight) { + high = this.result_highlight; + this.result_clear_highlight(); + if (this.is_multiple && this.max_selected_options <= this.choices_count()) { + this.form_field_jq.trigger("chosen:maxselected", { + chosen: this + }); + return false; + } + if (this.is_multiple) { + high.removeClass("active-result"); + } else { + this.reset_single_select_options(); + } + item = this.results_data[high[0].getAttribute("data-option-array-index")]; + item.selected = true; + this.form_field.options[item.options_index].selected = true; + this.selected_option_count = null; + if (this.is_multiple) { + this.choice_build(item); + } else { + this.single_set_selected_text(this.choice_label(item)); + } + if (!((evt.metaKey || evt.ctrlKey) && this.is_multiple)) { + this.results_hide(); + } + this.search_field.val(""); + if (this.is_multiple || this.form_field.selectedIndex !== this.current_selectedIndex) { + this.form_field_jq.trigger("change", { + 'selected': this.form_field.options[item.options_index].value + }); + } + this.current_selectedIndex = this.form_field.selectedIndex; + evt.preventDefault(); + return this.search_field_scale(); + } + }; - Chosen.prototype.search_field_scale = function() { - var dd_top, div, h, style, style_block, styles, w, _i, _len; - if (this.is_multiple) { - h = 0; - w = 0; - style_block = "position:absolute; left: -1000px; top: -1000px; display:none;"; - styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing']; - for (_i = 0, _len = styles.length; _i < _len; _i++) { - style = styles[_i]; - style_block += style + ":" + this.search_field.css(style) + ";"; - } - div = $('
        ', { - 'style': style_block - }); - div.text(this.search_field.val()); - $('body').append(div); - w = div.width() + 25; - div.remove(); - if (w > this.f_width - 10) { - w = this.f_width - 10; - } - this.search_field.css({ - 'width': w + 'px' - }); - dd_top = this.container.height(); - return this.dropdown.css({ - "top": dd_top + "px" - }); - } - }; + Chosen.prototype.single_set_selected_text = function(text) { + if (text == null) { + text = this.default_text; + } + if (text === this.default_text) { + this.selected_item.addClass("chosen-default"); + } else { + this.single_deselect_control_build(); + this.selected_item.removeClass("chosen-default"); + } + return this.selected_item.find("span").html(text); + }; + + Chosen.prototype.result_deselect = function(pos) { + var result_data; + result_data = this.results_data[pos]; + if (!this.form_field.options[result_data.options_index].disabled) { + result_data.selected = false; + this.form_field.options[result_data.options_index].selected = false; + this.selected_option_count = null; + this.result_clear_highlight(); + if (this.results_showing) { + this.winnow_results(); + } + this.form_field_jq.trigger("change", { + deselected: this.form_field.options[result_data.options_index].value + }); + this.search_field_scale(); + return true; + } else { + return false; + } + }; - Chosen.prototype.generate_random_id = function() { - var string; - string = "sel" + this.generate_random_char() + this.generate_random_char() + this.generate_random_char(); - while ($("#" + string).length > 0) { - string += this.generate_random_char(); - } - return string; - }; + Chosen.prototype.single_deselect_control_build = function() { + if (!this.allow_single_deselect) { + return; + } + if (!this.selected_item.find("abbr").length) { + this.selected_item.find("span").first().after(""); + } + return this.selected_item.addClass("chosen-single-with-deselect"); + }; + + Chosen.prototype.get_search_text = function() { + if (this.search_field.val() === this.default_text) { + return ""; + } else { + return $('
        ').text($.trim(this.search_field.val())).html(); + } + }; + + Chosen.prototype.winnow_results_set_highlight = function() { + var do_high, selected_results; + selected_results = !this.is_multiple ? this.search_results.find(".result-selected.active-result") : []; + do_high = selected_results.length ? selected_results.first() : this.search_results.find(".active-result").first(); + if (do_high != null) { + return this.result_do_highlight(do_high); + } + }; + + Chosen.prototype.no_results = function(terms) { + var no_results_html; + no_results_html = $('
      • ' + this.results_none_found + ' ""
      • '); + no_results_html.find("span").first().html(terms); + this.search_results.append(no_results_html); + return this.form_field_jq.trigger("chosen:no_results", { + chosen: this + }); + }; + + Chosen.prototype.no_results_clear = function() { + return this.search_results.find(".no-results").remove(); + }; + + Chosen.prototype.keydown_arrow = function() { + var next_sib; + if (this.results_showing && this.result_highlight) { + next_sib = this.result_highlight.nextAll("li.active-result").first(); + if (next_sib) { + return this.result_do_highlight(next_sib); + } + } else { + return this.results_show(); + } + }; + + Chosen.prototype.keyup_arrow = function() { + var prev_sibs; + if (!this.results_showing && !this.is_multiple) { + return this.results_show(); + } else if (this.result_highlight) { + prev_sibs = this.result_highlight.prevAll("li.active-result"); + if (prev_sibs.length) { + return this.result_do_highlight(prev_sibs.first()); + } else { + if (this.choices_count() > 0) { + this.results_hide(); + } + return this.result_clear_highlight(); + } + } + }; - return Chosen; + Chosen.prototype.keydown_backstroke = function() { + var next_available_destroy; + if (this.pending_backstroke) { + this.choice_destroy(this.pending_backstroke.find("a").first()); + return this.clear_backstroke(); + } else { + next_available_destroy = this.search_container.siblings("li.search-choice").last(); + if (next_available_destroy.length && !next_available_destroy.hasClass("search-choice-disabled")) { + this.pending_backstroke = next_available_destroy; + if (this.single_backstroke_delete) { + return this.keydown_backstroke(); + } else { + return this.pending_backstroke.addClass("search-choice-focus"); + } + } + } + }; - })(AbstractChosen); + Chosen.prototype.clear_backstroke = function() { + if (this.pending_backstroke) { + this.pending_backstroke.removeClass("search-choice-focus"); + } + return this.pending_backstroke = null; + }; + + Chosen.prototype.keydown_checker = function(evt) { + var stroke, _ref1; + stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode; + this.search_field_scale(); + if (stroke !== 8 && this.pending_backstroke) { + this.clear_backstroke(); + } + switch (stroke) { + case 8: + this.backstroke_length = this.search_field.val().length; + break; + case 9: + if (this.results_showing && !this.is_multiple) { + this.result_select(evt); + } + this.mouse_on_container = false; + break; + case 13: + if (this.results_showing) { + evt.preventDefault(); + } + break; + case 32: + if (this.disable_search) { + evt.preventDefault(); + } + break; + case 38: + evt.preventDefault(); + this.keyup_arrow(); + break; + case 40: + evt.preventDefault(); + this.keydown_arrow(); + break; + } + }; - root.Chosen = Chosen; + Chosen.prototype.search_field_scale = function() { + var div, f_width, h, style, style_block, styles, w, _i, _len; + if (this.is_multiple) { + h = 0; + w = 0; + style_block = "position:absolute; left: -1000px; top: -1000px; display:none;"; + styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing']; + for (_i = 0, _len = styles.length; _i < _len; _i++) { + style = styles[_i]; + style_block += style + ":" + this.search_field.css(style) + ";"; + } + div = $('
        ', { + 'style': style_block + }); + div.text(this.search_field.val()); + $('body').append(div); + w = div.width() + 25; + div.remove(); + f_width = this.container.outerWidth(); + if (w > f_width - 10) { + w = f_width - 10; + } + return this.search_field.css({ + 'width': w + 'px' + }); + } + }; - get_side_border_padding = function(elmt) { - var side_border_padding; - return side_border_padding = elmt.outerWidth() - elmt.width(); - }; + return Chosen; - root.get_side_border_padding = get_side_border_padding; + })(AbstractChosen); }).call(this); diff --git a/assets/extras/chosen/chosen.jquery.min.js b/assets/extras/chosen/chosen.jquery.min.js index 9e45fd4..0b9a193 100644 --- a/assets/extras/chosen/chosen.jquery.min.js +++ b/assets/extras/chosen/chosen.jquery.min.js @@ -1,10 +1,2 @@ -// Chosen, a Select Box Enhancer for jQuery and Protoype -// by Patrick Filler for Harvest, http://getharvest.com -// -// Version 0.9.11 -// Full source at https://github.com/harvesthq/chosen -// Copyright (c) 2011 Harvest http://getharvest.com - -// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md -// This file is generated by `cake build`, do not edit it by hand. -(function(){var e;e=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return e.nodeName.toUpperCase()==="OPTGROUP"?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,r,i,s,o;t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,children:0,disabled:e.disabled}),s=e.childNodes,o=[];for(r=0,i=s.length;r"+e.html+"")},e.prototype.results_update_field=function(){return this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build()},e.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},e.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},e.prototype.keyup_checker=function(e){var t,n;t=(n=e.which)!=null?n:e.keyCode,this.search_field_scale();switch(t){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:e.preventDefault();if(this.results_showing)return this.result_select(e);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},e.prototype.generate_field_id=function(){var e;return e=this.generate_random_id(),this.form_field.id=e,e},e.prototype.generate_random_char=function(){var e,t,n;return e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",n=Math.floor(Math.random()*e.length),t=e.substring(n,n+1)},e}(),t.AbstractChosen=e}.call(this),function(){var e,t,n,r,i={}.hasOwnProperty,s=function(e,t){function r(){this.constructor=e}for(var n in t)i.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};r=this,e=jQuery,e.fn.extend({chosen:function(n){var r,i,s;return s=navigator.userAgent.toLowerCase(),i=/(msie) ([\w.]+)/.exec(s)||[],r={name:i[1]||"",version:i[2]||"0"},r.name==="msie"&&(r.version==="6.0"||r.version==="7.0"&&document.documentMode===7)?this:this.each(function(r){var i;i=e(this);if(!i.hasClass("chzn-done"))return i.data("chosen",new t(this,n))})}}),t=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return s(i,t),i.prototype.setup=function(){return this.form_field_jq=e(this.form_field),this.current_value=this.form_field_jq.val(),this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},i.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},i.prototype.set_up_html=function(){var t,r,i,s,o,u;return this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",t=["chzn-container"],t.push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chzn-rtl"),this.f_width=this.form_field_jq.outerWidth(),i={id:this.container_id,"class":t.join(" "),style:"width: "+this.f_width+"px;",title:this.form_field.title},r=e("
        ",i),this.is_multiple?r.html('
          '):r.html('
          '+this.default_text+'
            '),this.form_field_jq.hide().after(r),this.container=e("#"+this.container_id),this.dropdown=this.container.find("div.chzn-drop").first(),s=this.container.height(),o=this.f_width-n(this.dropdown),this.dropdown.css({width:o+"px",top:s+"px"}),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first(),u=o-n(this.search_container)-n(this.search_field),this.search_field.css({width:u+"px"})),this.results_build(),this.set_tab_index(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},i.prototype.register_observers=function(){var e=this;return this.container.mousedown(function(t){return e.container_mousedown(t)}),this.container.mouseup(function(t){return e.container_mouseup(t)}),this.container.mouseenter(function(t){return e.mouse_enter(t)}),this.container.mouseleave(function(t){return e.mouse_leave(t)}),this.search_results.mouseup(function(t){return e.search_results_mouseup(t)}),this.search_results.mouseover(function(t){return e.search_results_mouseover(t)}),this.search_results.mouseout(function(t){return e.search_results_mouseout(t)}),this.form_field_jq.bind("liszt:updated",function(t){return e.results_update_field(t)}),this.form_field_jq.bind("liszt:activate",function(t){return e.activate_field(t)}),this.form_field_jq.bind("liszt:open",function(t){return e.container_mousedown(t)}),this.search_field.blur(function(t){return e.input_blur(t)}),this.search_field.keyup(function(t){return e.keyup_checker(t)}),this.search_field.keydown(function(t){return e.keydown_checker(t)}),this.search_field.focus(function(t){return e.input_focus(t)}),this.is_multiple?this.search_choices.click(function(t){return e.choices_click(t)}):this.container.click(function(e){return e.preventDefault()})},i.prototype.search_field_disabled=function(){this.is_disabled=this.form_field_jq[0].disabled;if(this.is_disabled)return this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field();this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1;if(!this.is_multiple)return this.selected_item.bind("focus",this.activate_action)},i.prototype.container_mousedown=function(t){var n;if(!this.is_disabled)return n=t!=null?e(t.target).hasClass("search-choice-close"):!1,t&&t.type==="mousedown"&&!this.results_showing&&t.preventDefault(),!this.pending_destroy_click&&!n?(this.active_field?!this.is_multiple&&t&&(e(t.target)[0]===this.selected_item[0]||e(t.target).parents("a.chzn-single").length)&&(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),e(document).click(this.click_test_action),this.results_show()),this.activate_field()):this.pending_destroy_click=!1},i.prototype.container_mouseup=function(e){if(e.target.nodeName==="ABBR"&&!this.is_disabled)return this.results_reset(e)},i.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},i.prototype.close_field=function(){return e(document).unbind("click",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.winnow_results_clear(),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},i.prototype.activate_field=function(){return this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},i.prototype.test_active_click=function(t){return e(t.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},i.prototype.results_build=function(){var e,t,n,i,s;this.parsing=!0,this.results_data=r.SelectParser.select_to_array(this.form_field),this.is_multiple&&this.choices>0?(this.search_choices.find("li.search-choice").remove(),this.choices=0):this.is_multiple||(this.selected_item.addClass("chzn-default").find("span").text(this.default_text),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?this.container.addClass("chzn-container-single-nosearch"):this.container.removeClass("chzn-container-single-nosearch")),e="",s=this.results_data;for(n=0,i=s.length;n'+e("
            ").text(t.label).html()+"")},i.prototype.result_do_highlight=function(e){var t,n,r,i,s;if(e.length){this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),r=parseInt(this.search_results.css("maxHeight"),10),s=this.search_results.scrollTop(),i=r+s,n=this.result_highlight.position().top+this.search_results.scrollTop(),t=n+this.result_highlight.outerHeight();if(t>=i)return this.search_results.scrollTop(t-r>0?t-r:0);if(n'+t.html+"":r='
          • '+t.html+'
          • ',this.search_container.before(r),i=e("#"+n).find("a").first(),i.click(function(e){return s.choice_destroy_link_click(e)}))},i.prototype.choice_destroy_link_click=function(t){return t.preventDefault(),this.is_disabled?t.stopPropagation:(this.pending_destroy_click=!0,this.choice_destroy(e(t.target)))},i.prototype.choice_destroy=function(e){if(this.result_deselect(e.attr("rel")))return this.choices-=1,this.show_search_field_default(),this.is_multiple&&this.choices>0&&this.search_field.val().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},i.prototype.results_reset=function(){this.form_field.options[0].selected=!0,this.selected_item.find("span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change");if(this.active_field)return this.results_hide()},i.prototype.results_reset_cleanup=function(){return this.current_value=this.form_field_jq.val(),this.selected_item.find("abbr").remove()},i.prototype.result_select=function(e){var t,n,r,i;if(this.result_highlight)return t=this.result_highlight,n=t.attr("id"),this.result_clear_highlight(),this.is_multiple?this.result_deactivate(t):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=t,this.selected_item.removeClass("chzn-default")),t.addClass("result-selected"),i=n.substr(n.lastIndexOf("_")+1),r=this.results_data[i],r.selected=!0,this.form_field.options[r.options_index].selected=!0,this.is_multiple?this.choice_build(r):(this.selected_item.find("span").first().text(r.text),this.allow_single_deselect&&this.single_deselect_control_build()),(!e.metaKey&&!e.ctrlKey||!this.is_multiple)&&this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field_jq.val()!==this.current_value)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[r.options_index].value}),this.current_value=this.form_field_jq.val(),this.search_field_scale()},i.prototype.result_activate=function(e){return e.addClass("active-result")},i.prototype.result_deactivate=function(e){return e.removeClass("active-result")},i.prototype.result_deselect=function(t){var n,r;return r=this.results_data[t],this.form_field.options[r.options_index].disabled?!1:(r.selected=!1,this.form_field.options[r.options_index].selected=!1,n=e("#"+this.container_id+"_o_"+t),n.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[r.options_index].value}),this.search_field_scale(),!0)},i.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect&&this.selected_item.find("abbr").length<1)return this.selected_item.find("span").first().after('')},i.prototype.winnow_results=function(){var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y;this.no_results_clear(),f=0,l=this.search_field.val()===this.default_text?"":e("
            ").text(e.trim(this.search_field.val())).html(),o=this.search_contains?"":"^",s=new RegExp(o+l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),p=new RegExp(l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),y=this.results_data;for(d=0,m=y.length;d=0||n.html.indexOf("[")===0)){i=n.html.replace(/\[|\]/g,"").split(" ");if(i.length)for(v=0,g=i.length;v"+n.html.substr(c+l.length),h=h.substr(0,c)+""+h.substr(c)):h=n.html,u.html(h),this.result_activate(u),n.group_array_index!=null&&e("#"+this.results_data[n.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&a===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(u))}}return f<1&&l.length?this.no_results(l):this.winnow_results_set_highlight()},i.prototype.winnow_results_clear=function(){var t,n,r,i,s;this.search_field.val(""),n=this.search_results.find("li"),s=[];for(r=0,i=n.length;r'+this.results_none_found+' ""'),n.find("span").first().html(t),this.search_results.append(n)},i.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},i.prototype.keydown_arrow=function(){var t,n;this.result_highlight?this.results_showing&&(n=this.result_highlight.nextAll("li.active-result").first(),n&&this.result_do_highlight(n)):(t=this.search_results.find("li.active-result").first(),t&&this.result_do_highlight(e(t)));if(!this.results_showing)return this.results_show()},i.prototype.keyup_arrow=function(){var e;if(!this.results_showing&&!this.is_multiple)return this.results_show();if(this.result_highlight)return e=this.result_highlight.prevAll("li.active-result"),e.length?this.result_do_highlight(e.first()):(this.choices>0&&this.results_hide(),this.result_clear_highlight())},i.prototype.keydown_backstroke=function(){var e;if(this.pending_backstroke)return this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke();e=this.search_container.siblings("li.search-choice").last();if(e.length&&!e.hasClass("search-choice-disabled"))return this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")},i.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},i.prototype.keydown_checker=function(e){var t,n;t=(n=e.which)!=null?n:e.keyCode,this.search_field_scale(),t!==8&&this.pending_backstroke&&this.clear_backstroke();switch(t){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:this.keydown_arrow()}},i.prototype.search_field_scale=function(){var t,n,r,i,s,o,u,a,f;if(this.is_multiple){r=0,u=0,s="position:absolute; left: -1000px; top: -1000px; display:none;",o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"];for(a=0,f=o.length;a",{style:s}),n.text(this.search_field.val()),e("body").append(n),u=n.width()+25,n.remove(),u>this.f_width-10&&(u=this.f_width-10),this.search_field.css({width:u+"px"}),t=this.container.height(),this.dropdown.css({top:t+"px"})}},i.prototype.generate_random_id=function(){var t;t="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();while(e("#"+t).length>0)t+=this.generate_random_char();return t},i}(AbstractChosen),r.Chosen=t,n=function(e){var t;return t=e.outerWidth()-e.width()},r.get_side_border_padding=n}.call(this); \ No newline at end of file +/* Chosen v1.4.0 | (c) 2011-2015 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ +(function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),title:a.title?a.title:void 0,children:0,disabled:a.disabled,classes:a.className}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,title:a.title?a.title:void 0,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,group_label:null!=b?this.parsed[b].label:null,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"<",">":">",'"':""","'":"'","`":"`"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.choice_label=function(a){return this.include_group_label_in_selected&&null!=a.group_label?""+a.group_label+""+a.html:a.html},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.html));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,a.title&&(c.title=a.title),this.outerHTML(c)):"":""},AbstractChosen.prototype.result_add_group=function(a){var b,c;return a.search_match||a.group_match?a.active_options>0?(b=[],b.push("group-result"),a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.innerHTML=a.search_text,a.title&&(c.title=a.title),this.outerHTML(c)):"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l;for(this.no_results_clear(),d=0,f=this.get_search_text(),a=f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),i=new RegExp(a,"i"),c=this.get_search_regex(a),l=this.results_data,j=0,k=l.length;k>j;j++)b=l[j],b.search_match=!1,e=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(e=this.results_data[b.group_array_index],0===e.active_options&&e.search_match&&(d+=1),e.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(d+=1),b.search_match?(f.length&&(g=b.search_text.search(i),h=b.search_text.substr(0,g+f.length)+""+b.search_text.substr(g+f.length),b.search_text=h.substr(0,g)+""+h.substr(g)),null!=e&&(e.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>d&&f.length?(this.update_results_content(""),this.no_results(f)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.get_search_regex=function(a){var b;return b=this.search_contains?"":"^",new RegExp(b+a,"i")},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d instanceof Chosen?d.destroy():d instanceof Chosen||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("
            ",c),this.is_multiple?this.container.html('
              '):this.container.html(''+this.default_text+'
                '),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},Chosen.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("touchstart.chosen",function(b){a.container_mousedown(b)}),this.container.bind("touchend.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=a.originalEvent.deltaY||-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("
              • ",{"class":"search-choice"}).html(""+this.choice_label(b)+""),b.disabled?c.addClass("search-choice-disabled"):(d=a("",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(this.choice_label(c)),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,a.preventDefault(),this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("
                ").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('
              • '+this.results_none_found+' ""
              • '),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:this.results_showing&&a.preventDefault();break;case 32:this.disable_search&&a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("
                ",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}).call(this); \ No newline at end of file diff --git a/assets/extras/flot/jquery.flot.orderBars.js b/assets/extras/flot/jquery.flot.orderBars.js new file mode 100644 index 0000000..b966987 --- /dev/null +++ b/assets/extras/flot/jquery.flot.orderBars.js @@ -0,0 +1,201 @@ +/* + * Flot plugin to order bars side by side. + * + * Released under the MIT license by Benjamin BUFFET, 20-Sep-2010. + * Modifications made by Steven Hall , 01-May-2013. + * + * This plugin is an alpha version. + * + * To activate the plugin you must specify the parameter "order" for the specific serie : + * + * $.plot($("#placeholder"), [{ data: [ ... ], bars :{ order = null or integer }]) + * + * If 2 series have the same order param, they are ordered by the position in the array; + * + * The plugin adjust the point by adding a value depanding of the barwidth + * Exemple for 3 series (barwidth : 0.1) : + * + * first bar décalage : -0.15 + * second bar décalage : -0.05 + * third bar décalage : 0.05 + * + */ + +// INFO: decalage/decallage is French for gap. It's used to denote the spacing applied to each +// bar. +(function($){ + function init(plot){ + var orderedBarSeries; + var nbOfBarsToOrder; + var borderWidth; + var borderWidthInXabsWidth; + var pixelInXWidthEquivalent = 1; + var isHorizontal = false; + + // A mapping of order integers to decallage. + var decallageByOrder = {}; + + /* + * This method add shift to x values + */ + function reOrderBars(plot, serie, datapoints){ + var shiftedPoints = null; + + if(serieNeedToBeReordered(serie)){ + checkIfGraphIsHorizontal(serie); + calculPixel2XWidthConvert(plot); + retrieveBarSeries(plot); + calculBorderAndBarWidth(serie); + + if(nbOfBarsToOrder >= 2){ + var position = findPosition(serie); + var decallage = 0; + + var centerBarShift = calculCenterBarShift(); + + // If we haven't already calculated the decallage for this order value, do it. + if(typeof decallageByOrder[serie.bars.order] === 'undefined') { + if (isBarAtLeftOfCenter(position)){ + decallageByOrder[serie.bars.order] = -1*(sumWidth(orderedBarSeries,position-1,Math.floor(nbOfBarsToOrder / 2)-1)) - centerBarShift; + }else{ + decallageByOrder[serie.bars.order] = sumWidth(orderedBarSeries,Math.ceil(nbOfBarsToOrder / 2),position-2) + centerBarShift + borderWidthInXabsWidth*2; + } + } + + // Lookup the decallage based on the series' order value. + decallage = decallageByOrder[serie.bars.order]; + + shiftedPoints = shiftPoints(datapoints,serie,decallage); + datapoints.points = shiftedPoints; + } + } + return shiftedPoints; + } + + function serieNeedToBeReordered(serie){ + return serie.bars != null + && serie.bars.show + && serie.bars.order != null; + } + + function calculPixel2XWidthConvert(plot){ + var gridDimSize = isHorizontal ? plot.getPlaceholder().innerHeight() : plot.getPlaceholder().innerWidth(); + var minMaxValues = isHorizontal ? getAxeMinMaxValues(plot.getData(),1) : getAxeMinMaxValues(plot.getData(),0); + var AxeSize = minMaxValues[1] - minMaxValues[0]; + pixelInXWidthEquivalent = AxeSize / gridDimSize; + } + + function getAxeMinMaxValues(series,AxeIdx){ + var minMaxValues = new Array(); + for(var i = 0; i < series.length; i++){ + minMaxValues[0] = series[i].data[0][AxeIdx]; + minMaxValues[1] = series[i].data[series[i].data.length - 1][AxeIdx]; + } + return minMaxValues; + } + + function retrieveBarSeries(plot){ + orderedBarSeries = findOthersBarsToReOrders(plot.getData()); + nbOfBarsToOrder = orderedBarSeries.length; + } + + function findOthersBarsToReOrders(series){ + var retSeries = new Array(); + var orderValuesSeen = []; + + for(var i = 0; i < series.length; i++){ + if(series[i].bars.order != null && series[i].bars.show && + orderValuesSeen.indexOf(series[i].bars.order) < 0){ + + orderValuesSeen.push(series[i].bars.order); + retSeries.push(series[i]); + } + } + return retSeries.sort(sortByOrder); + } + + function sortByOrder(serie1,serie2){ + var x = serie1.bars.order; + var y = serie2.bars.order; + return ((x < y) ? -1 : ((x > y) ? 1 : 0)); + } + + function calculBorderAndBarWidth(serie){ + borderWidth = typeof serie.bars.lineWidth !== 'undefined' ? serie.bars.lineWidth : 2; + borderWidthInXabsWidth = borderWidth * pixelInXWidthEquivalent; + } + + function checkIfGraphIsHorizontal(serie){ + if(serie.bars.horizontal){ + isHorizontal = true; + } + } + + function findPosition(serie){ + var pos = 0 + for (var i = 0; i < orderedBarSeries.length; ++i) { + if (serie == orderedBarSeries[i]){ + pos = i; + break; + } + } + + return pos+1; + } + + function calculCenterBarShift(){ + var width = 0; + + if(nbOfBarsToOrder%2 != 0) + width = (orderedBarSeries[Math.ceil(nbOfBarsToOrder / 2)].bars.barWidth)/2; + + return width; + } + + function isBarAtLeftOfCenter(position){ + return position <= Math.ceil(nbOfBarsToOrder / 2); + } + + function sumWidth(series,start,end){ + var totalWidth = 0; + + for(var i = start; i <= end; i++){ + totalWidth += series[i].bars.barWidth+borderWidthInXabsWidth*2; + } + + return totalWidth; + } + + function shiftPoints(datapoints,serie,dx){ + var ps = datapoints.pointsize; + var points = datapoints.points; + var j = 0; + for(var i = isHorizontal ? 1 : 0;i < points.length; i += ps){ + points[i] += dx; + //Adding the new x value in the serie to be abble to display the right tooltip value, + //using the index 3 to not overide the third index. + serie.data[j][3] = points[i]; + j++; + } + + return points; + } + + plot.hooks.processDatapoints.push(reOrderBars); + + } + + var options = { + series : { + bars: {order: null} // or number/string + } + }; + + $.plot.plugins.push({ + init: init, + options: options, + name: "orderBars", + version: "0.2" + }); + +})(jQuery); \ No newline at end of file diff --git a/assets/scripts/js/admin.js b/assets/scripts/js/admin.js index 2b198bf..b0bcbe0 100644 --- a/assets/scripts/js/admin.js +++ b/assets/scripts/js/admin.js @@ -55,6 +55,7 @@ var LightLoadingIndicator = function(options) { return o; }; + // // Initialize tips // diff --git a/assets/scripts/js/jquery.admin.forms.js b/assets/scripts/js/jquery.admin.forms.js index 838b424..32d1c99 100644 --- a/assets/scripts/js/jquery.admin.forms.js +++ b/assets/scripts/js/jquery.admin.forms.js @@ -6,7 +6,7 @@ function admin_style_forms() { var $ = jQuery; $('select').each(function(){ if (!$(this).hasClass('no-styling')) { - var options = {}, + var options = {disable_search_threshold: 10}, self = this, select = $(this); @@ -20,8 +20,9 @@ function admin_style_forms() { // select.off('.chosen-handler'); // select.on('change.chosen-handler', function(){ - // $(this).trigger('change'); + // $(this).trigger('change'); // }); + //console.log(options); select.chosen(options); } @@ -73,12 +74,6 @@ jQuery.fn.extend({ select_update: function() { jQuery(this).trigger("list:updated"); - }, - - select_focus: function() { - var el = jQuery(this).parent().find('a.chzn-single'); - if (el.length > 0) - el[0].focus(); } }); diff --git a/assets/scripts/js/jquery.admin.tabmanager.js b/assets/scripts/js/jquery.admin.tabmanager.js index e02e654..523da69 100644 --- a/assets/scripts/js/jquery.admin.tabmanager.js +++ b/assets/scripts/js/jquery.admin.tabmanager.js @@ -1,106 +1,106 @@ -// -// Tab managers -// - -window.TabManagers = []; - -;(function ($, window, document, undefined) { - - $.widget("admin.tabmanager", { - version: '1.0.0', - options: { - pages: null, - trackTab: true - }, - - tabs: [], - pages: [], - current_page: null, - - _init: function () { var self = this; - - this.pages = $(this.options.pages).children(); - this.tabs = this.element.children(); - this.tabs.on('click', function(event) { - self.onTabClick.apply(self, [event, this]); - }); - - window.TabManagers.push(this.element); - $(window).trigger('onTabManagerAdded', this); - - var tabClicked = false; - if (document.location.hash && this.options.trackTab) { - var hashValue = document.location.hash; - - this.pages.each(function(){ - if ($(this).attr('href') == hashValue) { - $(this).trigger('click'); - tabClicked = true; - } + // + // Tab managers + // - }, this); - } - - if (this.tabs.length && !tabClicked) - this.tabs.first().trigger('click'); - - }, - - tabClick: function(tabIndex) { - - this.tabs.removeClass('active'); - this.tabs.eq(tabIndex).addClass('active'); - - this.pages.addClass('hidden').removeClass('active'); - this.pages.eq(tabIndex).removeClass('hidden').addClass('active'); - }, - - onTabClick: function(event, tab) { - - if (event && !this.options.trackTab) - event.preventDefault(); - - var tabIndex = $.inArray(tab, this.tabs); - if (tabIndex == -1) - return; - - - this.tabClick(tabIndex); - this.element.trigger('onTabClick', [this.tabs.eq(tabIndex), this.pages.eq(tabIndex)]); - - this.pages.eq(tabIndex).trigger('onTabClick'); - this.tabs.eq(tabIndex).trigger('onTabClick'); - this.current_page = this.pages[tabIndex]; - - return false; - }, - - findElement: function(elementId) { - for (var i = 0; i < this.pages.length; i++) { - var el = this.pages.eq(i).find('#'+elementId); - if (el.length > 0) { - this.onTabClick(null, this.tabs.eq(i)); - return true; + window.TabManagers = []; + + ;(function ($, window, document, undefined) { + + $.widget("admin.tabmanager", { + version: '1.0.0', + options: { + pages: null, + trackTab: true + }, + + tabs: [], + pages: [], + current_page: null, + + _init: function () { var self = this; + + this.pages = $(this.options.pages).children(); + this.tabs = this.element.children(); + this.tabs.on('click', function(event) { + self.onTabClick.apply(self, [event, this]); + }); + + window.TabManagers.push(this.element); + $(window).trigger('onTabManagerAdded', this); + + var tabClicked = false; + if (document.location.hash && this.options.trackTab) { + + var hashValue = document.location.hash; + + this.tabs.each(function(){ + tabLink = $(this).find('a:first'); + if (tabLink.attr('href') == hashValue) { + tabLink.trigger('click'); + tabClicked = true; + } + + }, this); } - } - return false; - }, - destroy: function() { - $.Widget.prototype.destroy.call(this); - } + if (this.tabs.length && !tabClicked) + this.tabs.first().trigger('click'); - }); + }, + + tabClick: function(tabIndex) { -})( jQuery, window, document ); + this.tabs.removeClass('active'); + this.tabs.eq(tabIndex).addClass('active'); + this.pages.addClass('hidden').removeClass('active'); + this.pages.eq(tabIndex).removeClass('hidden').addClass('active'); + }, -jQuery.fn.extend({ - getTab: function(){ - var tab = jQuery(this).parents('.tab-pane:first'); - if (tab.length > 0) - return tab; - else - return false; - } -}); + onTabClick: function(event, tab) { + + if (event && !this.options.trackTab) + event.preventDefault(); + + var tabIndex = $.inArray(tab, this.tabs); + if (tabIndex == -1) + return; + + this.tabClick(tabIndex); + this.element.trigger('onTabClick', [this.tabs.eq(tabIndex), this.pages.eq(tabIndex)]); + + this.pages.eq(tabIndex).trigger('onTabClick'); + this.tabs.eq(tabIndex).trigger('onTabClick'); + this.current_page = this.pages[tabIndex]; + return false; + }, + + findElement: function(elementId) { + for (var i = 0; i < this.pages.length; i++) { + var el = this.pages.eq(i).find('#'+elementId); + if (el.length > 0) { + this.onTabClick(null, this.tabs.eq(i)); + return true; + } + } + return false; + }, + + destroy: function() { + $.Widget.prototype.destroy.call(this); + } + + }); + + })( jQuery, window, document ); + + + jQuery.fn.extend({ + getTab: function(){ + var tab = jQuery(this).parents('.tab-pane:first'); + if (tab.length > 0) + return tab; + else + return false; + } + }); diff --git a/classes/admin_controller.php b/classes/admin_controller.php index cd7ea41..0d4a202 100644 --- a/classes/admin_controller.php +++ b/classes/admin_controller.php @@ -104,7 +104,7 @@ public function __construct() } } - if (!$permission_found) + if (!$permission_found && !(is_array($this->access_exceptions) && in_array(Phpr::$router->action, $this->access_exceptions))) Phpr::$response->redirect(url('/')); } } diff --git a/classes/admin_hidedisabledaccountsswitcher.php b/classes/admin_hidedisabledaccountsswitcher.php new file mode 100644 index 0000000..88e8b72 --- /dev/null +++ b/classes/admin_hidedisabledaccountsswitcher.php @@ -0,0 +1,15 @@ +where('status != -1', '-1'); + } + return $model; + } + } + +?> \ No newline at end of file diff --git a/classes/admin_menu_item.php b/classes/admin_menu_item.php index 48c8e08..bc257d4 100644 --- a/classes/admin_menu_item.php +++ b/classes/admin_menu_item.php @@ -88,8 +88,13 @@ public function check_permission() $user = Phpr::$security->get_user(); foreach ($this->permission as $permission) { - - if ($user->get_permission($this->module_id, $permission)) + $module_id = $this->module_id; + if(strpos($permission,':')){ + $permission_parts = explode(':',$permission); + $module_id = $permission_parts[0]; + $permission = $permission_parts[1]; + } + if ($user->get_permission($module_id, $permission)) return true; } diff --git a/classes/admin_module.php b/classes/admin_module.php index 0a2d926..32a3e77 100644 --- a/classes/admin_module.php +++ b/classes/admin_module.php @@ -3,61 +3,84 @@ class Admin_Module extends Core_Module_Base { - protected function set_module_info() - { - return new Core_Module_Detail( - "Admin", - "Administration interface", - "PHPRoad", - "http://phproad.com/" - ); - } - - public function build_admin_menu($menu) - { - $dash = $menu->add('dash', 'Dashboard', '/', 100)->icon('dashboard')->permission('access_dashboard'); - - $system = $menu->add('system', 'System', '/admin/settings', 1000)->icon('cog')->permission(array('manage_users', 'manage_updates', 'manage_settings')); - $system->add_child('settings', 'Settings', '/admin/settings')->permission('manage_settings'); - - - if (!Phpr::$config->get('DISABLE_UPDATES', false)) - $system->add_child('updates', 'Updates', '/admin/updates')->permission('manage_updates'); - - $system->add_child('admins', 'Staff', '/admin/users')->permission('manage_users'); - } - - public function build_admin_tray($tray) - { - $tray->add('search', 'Search', 100)->partial('tray_search.htm')->icon('search'); - $tray->add('fullscreen', 'Fullscreen', 300)->partial('tray_fullscreen.htm')->icon('fullscreen'); - $tray->add('logout', 'Logout', 600)->link(url('admin/auth/logout'))->icon('off'); - } - - public function build_admin_settings($settings) - { - $settings->add('/admin/setup', 'Admin Settings', 'Customise the admin area', '/modules/admin/assets/images/admin_config.png', 20); - $settings->add('/admin/access_tools', 'Access Tools', 'Edit robots, humans and .htaccess files', '/modules/admin/assets/images/access_config.png', 30); - $settings->add('/admin/error_log', 'Error Log', 'View error log messages', '/modules/admin/assets/images/error_log.png', 30); - } - - public function build_admin_permissions($host) - { - $host->add_permission_field($this, 'access_dashboard', 'Dashboard', 'left')->display_as(frm_checkbox)->comment('View the dashboard'); - $host->add_permission_field($this, 'manage_users', 'Manage staff', 'right')->display_as(frm_checkbox)->comment('Manage administration staff members'); - $host->add_permission_field($this, 'manage_updates', 'Manage updates', 'left')->display_as(frm_checkbox)->comment('Manage software updates'); - $host->add_permission_field($this, 'manage_settings', 'Manage settings', 'right')->display_as(frm_checkbox)->comment('Manage website settings'); - } - - public function build_quicksearch_feed($feed, $query) - { - $feed->add('users', Admin_User::create(), array( - 'item_name' => 'Staff', - 'icon' => 'shield', - 'label_field' => 'short_name', - 'search_fields' => array('login', 'email', 'first_name', 'last_name'), - 'link' => url('admin/users/edit/%s') - )); - } + protected function set_module_info() + { + return new Core_Module_Detail( + "Admin", + "Administration interface", + "PHPRoad", + "http://phproad.com/" + ); + } + + public function subscribe_events(){ + + Phpr::$events->add_event('phpr:on_execute_cron_exception', $this, 'cron_exception_alert_super_admins'); + } + + + public function build_admin_menu($menu) + { + $dash = $menu->add('dash', 'Dashboard', '/', 100)->icon('dashboard')->permission('access_dashboard'); + + $system = $menu->add('system', 'System', '/admin/system/', 1000)->icon('cog')->permission(array('manage_users', 'manage_updates', 'manage_settings')); + $system->add_child('settings', 'Settings', '/admin/settings')->permission('manage_settings'); + + + if (!Phpr::$config->get('DISABLE_UPDATES', false)) + $system->add_child('updates', 'Updates', '/admin/updates')->permission('manage_updates'); + + $system->add_child('admins', 'Administrators', '/admin/users')->permission('manage_users'); + } + + public function build_admin_tray($tray) + { + $tray->add('search', 'Search', 100)->partial('tray_search.htm')->icon('search'); + $tray->add('fullscreen', 'Fullscreen', 300)->partial('tray_fullscreen.htm')->icon('fullscreen'); + $tray->add('logout', 'Logout', 600)->link(url('admin/auth/logout'))->icon('off'); + } + + public function build_admin_settings($settings) + { + $settings->add('/admin/setup', 'Admin Settings', 'Customise the admin area', '/modules/admin/assets/images/admin_config.png', 20); + $settings->add('/admin/access_tools', 'Access Tools', 'Edit robots, humans and .htaccess files', '/modules/admin/assets/images/access_config.png', 30); + $settings->add('/admin/error_log', 'Error Log', 'View error log messages', '/modules/admin/assets/images/error_log.png', 30); + } + + public function build_admin_permissions($host) + { + $host->add_permission_field($this, 'access_dashboard', 'Dashboard', 'left')->display_as(frm_checkbox)->comment('View the dashboard'); + $host->add_permission_field($this, 'manage_users', 'Manage administrators', 'right')->display_as(frm_checkbox)->comment('Manage administration members'); + $host->add_permission_field($this, 'manage_updates', 'Manage updates', 'left')->display_as(frm_checkbox)->comment('Manage software updates'); + $host->add_permission_field($this, 'manage_settings', 'Manage settings', 'right')->display_as(frm_checkbox)->comment('Manage website settings'); + } + + public function build_quicksearch_feed($feed, $query) + { + $feed->add('users', Admin_User::create(), array( + 'item_name' => 'Administrator', + 'icon' => 'shield', + 'label_field' => 'short_name', + 'search_fields' => array('login', 'email', 'first_name', 'last_name'), + 'link' => url('admin/users/edit/%s') + )); + } + + public function cron_exception_alert_super_admins($exception){ + + $alert_admins = Phpr::$config->get('CRON_FAIL_ALERT_ADMIN', false); + + if($alert_admins) { + $admins = Admin_User::get_super_administrators(); + foreach($admins as $admin){ + try { + Notify::trigger( 'admin:error_alert', array( 'user' => $admin, 'error' => $exception ) ); + } catch (Exception $e){ + //ignore + } + } + } + + } } diff --git a/controllers/admin_access_tools.php b/controllers/admin_access_tools.php index d0461f1..a51dc8f 100644 --- a/controllers/admin_access_tools.php +++ b/controllers/admin_access_tools.php @@ -73,7 +73,7 @@ public function edit($filename) if (!file_exists($full_path) || !is_file($full_path)) { $this->view_data['file_contents'] = ''; } - else if (!$this->view_data['file_contents'] = file_get_contents($full_path)) { + else if (!($this->view_data['file_contents'] = file_get_contents($full_path))) { throw new Phpr_ApplicationException('Could not open the file!'); } diff --git a/controllers/admin_error_log.php b/controllers/admin_error_log.php index ba0b902..0e7fb99 100644 --- a/controllers/admin_error_log.php +++ b/controllers/admin_error_log.php @@ -6,7 +6,7 @@ class Admin_Error_Log extends Admin_Settings_Controller public $list_model_class = 'Phpr_Trace_Log_Record'; public $list_record_url = null; - public $form_preview_title = 'Preview'; + public $form_preview_title = false; public $form_model_class = 'Phpr_Trace_Log_Record'; public $form_not_found_message = 'Record not found'; public $form_redirect = null; diff --git a/controllers/admin_error_log/_error_details.htm b/controllers/admin_error_log/_error_details.htm new file mode 100644 index 0000000..e274bea --- /dev/null +++ b/controllers/admin_error_log/_error_details.htm @@ -0,0 +1,106 @@ +
                +

                Unhandled Error!

                + +
                +
                message ? $error->message : 'NULL' ?>
                + + hint): ?> +
                +

                Hint

                +

                hint ?>

                +
                + + + + + + + + + + + + + + + + + + + + + +
                Documentdocument ?>
                Document type + document_type ?> +
                Lineline ?>
                Exception classclass_name ?>
                + + code_highlight->lines)): ?> +
                +

                Code Highlight

                +
                +
                +							code_highlight->lines as $line): ?>
                +                                
                +                                
                +							
                +
                +
                + + +
                +

                Call Stack

                + + is_document): ?> + + + + + + + + + call_stack) - 1; + ?> + + call_stack as $index => $stack_item): ?> + + + + + + + + + + + + + + + + + + call_stack) - 1; + ?> + call_stack as $index => $stack_item): ?> + args)) + $args = '' . Phpr_Html::encode($stack_item->args) . ''; + else + $args = '()'; + ?> + + + + + + + + + +
                #DocumentType
                id ?>document ?>type ?>
                #CodeDocumentLine
                id ?>function_name . '(' . $args . ')' ?>document ?>line ?>
                +
                +
                +
                \ No newline at end of file diff --git a/controllers/admin_error_log/preview.htm b/controllers/admin_error_log/preview.htm index 2471fc0..f7b1636 100644 --- a/controllers/admin_error_log/preview.htm +++ b/controllers/admin_error_log/preview.htm @@ -1,22 +1,65 @@ add('Error Log', 'admin/error_log')->add($this->app_page_title);?> - + + + + + + +get('PHPR_URL', 'phpr'); +?> + + + + + + + + + + + + -
                - - form_render_preview() ?> - -
                -
                - -
                -
                - - -
                +
                +
                  +
                • +

                  Error log ID

                  +

                  id ?>

                  +
                • +
                • +

                  Date and time

                  +

                  record_datetime, '%x %X') ?>

                  +
                • +
                +
                + + +
                +
                + +
                +
                + + + - -

                Return to the error list

                - + +

                Return to the error list

                + - \ No newline at end of file + details): ?> +
                + view_data['error'] = Phpr_Error_Log::decode_error_details($form_model->details); + $this->display_partial('error_details'); + ?> +
                + +
                diff --git a/controllers/admin_files.php b/controllers/admin_files.php new file mode 100644 index 0000000..0325252 --- /dev/null +++ b/controllers/admin_files.php @@ -0,0 +1,17 @@ +suppress_view(); + try + { + $file = Db_File::create()->find($id); + if ($file) + $file->output(); + } catch (exception $ex) + { + echo $ex->getMessage(); + } + } +} diff --git a/controllers/admin_settings.php b/controllers/admin_settings.php index bb148f4..17d9b3a 100644 --- a/controllers/admin_settings.php +++ b/controllers/admin_settings.php @@ -2,21 +2,21 @@ class Admin_Settings extends Admin_Controller { - protected $required_permissions = array('admin:manage_settings'); - - public function __construct() - { - parent::__construct(); - $this->app_menu = 'system'; - $this->app_module_name = 'System'; - } + protected $required_permissions = array('admin:manage_settings','admin:manage_users'); - public function index() - { - $this->app_page_title = 'Settings'; - $this->app_page = 'settings'; + public function __construct() + { + parent::__construct(); + $this->app_menu = 'system'; + $this->app_module_name = 'System'; + } - $this->view_data['items'] = Core_Settings::create()->get(); - } + public function index() + { + $this->app_page_title = 'Settings'; + $this->app_page = 'settings'; + + $this->view_data['items'] = Core_Settings::create()->get(); + } } diff --git a/controllers/admin_system.php b/controllers/admin_system.php new file mode 100644 index 0000000..ac2ac47 --- /dev/null +++ b/controllers/admin_system.php @@ -0,0 +1,40 @@ +app_menu = 'system'; + $this->app_module_name = 'System'; + } + + public function index() + { + $this->app_page_title = 'System'; + $this->app_page = 'system'; + + //settings + if($this->active_user->get_permission('admin', 'manage_settings')){ + Phpr::$response->redirect(url('admin/settings/')); + } + + //users + if($this->active_user->get_permission('admin', 'manage_users')){ + Phpr::$response->redirect(url('admin/users/')); + } + + //updates + if($this->active_user->get_permission('admin', 'manage_updates')){ + Phpr::$response->redirect(url('admin/updates/')); + } + + //default to no content with navigation menu. + + } +} + diff --git a/controllers/admin_system/index.htm b/controllers/admin_system/index.htm new file mode 100644 index 0000000..be6c269 --- /dev/null +++ b/controllers/admin_system/index.htm @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/controllers/admin_users.php b/controllers/admin_users.php index 61525c2..df7ed25 100644 --- a/controllers/admin_users.php +++ b/controllers/admin_users.php @@ -2,72 +2,89 @@ class Admin_Users extends Admin_Controller { - public $implement = 'Db_List_Behavior, Db_Form_Behavior'; - public $list_model_class = 'Admin_User'; - public $list_record_url = null; - - public $form_preview_title = 'Staff member'; - public $form_create_title = 'New Staff member'; - public $form_edit_title = 'Edit Staff member'; - public $form_model_class = 'Admin_User'; - public $form_not_found_message = 'User not found'; - public $form_redirect = null; - - public $form_edit_save_flash = 'Staff member has been successfully saved'; - public $form_create_save_flash = 'Staff member has been successfully added'; - public $form_edit_delete_flash = 'Staff member has been successfully deleted'; - - public $list_search_enabled = true; - public $list_search_fields = array('@first_name', '@last_name', '@email', '@login'); - public $list_search_prompt = 'find users by name, login or email'; - - protected $required_permissions = array('admin:manage_users'); - - protected $access_exceptions = array('mysettings'); - - public function __construct() - { - parent::__construct(); - $this->app_menu = 'system'; - $this->app_page = 'admins'; - $this->app_module_name = 'System'; - - $this->list_record_url = url('admin/users/edit'); - $this->form_redirect = url('admin/users'); + public $implement = 'Db_List_Behavior, Db_Form_Behavior, Db_Filter_Behavior'; + public $list_model_class = 'Admin_User'; + public $list_record_url = null; + + public $form_preview_title = 'Administrator'; + public $form_create_title = 'New Administrator'; + public $form_edit_title = 'Edit Administrator'; + public $form_model_class = 'Admin_User'; + public $form_not_found_message = 'User not found'; + public $form_redirect = null; + + public $form_edit_save_flash = 'Administrator has been successfully saved'; + public $form_create_save_flash = 'Administrator has been successfully added'; + public $form_edit_delete_flash = 'Administrator has been successfully deleted'; + + public $list_search_enabled = true; + public $list_search_fields = array('@first_name', '@last_name', '@email', '@login'); + public $list_search_prompt = 'find users by name, login or email'; + public $list_render_filters = true; + + public $filter_list_title = 'Filter items'; + public $filter_on_apply = 'listReload();'; + public $filter_on_remove = 'listReload();'; + public $filter_filters = array(); + + public $filter_switchers = array( + 'hide_disabled'=>array('name'=>'Hide disabled accounts', 'class_name'=>'Admin_HideDisabledAccountsSwitcher') + ); + + protected $required_permissions = array('admin:manage_users'); + + protected $access_exceptions = array('mysettings'); + + public function __construct() + { + parent::__construct(); + $this->app_menu = 'system'; + $this->app_page = 'admins'; + $this->app_module_name = 'System'; + + $this->list_record_url = url('admin/users/edit'); + $this->form_redirect = url('admin/users'); + } + + public function index() + { + $this->app_page_title = 'Administrators'; + } + + + public function list_prepare_data(){ + $obj = new Admin_User(); + $this->filter_apply_to_model($obj); + return $obj; } - public function index() - { - $this->app_page_title = 'Staff members'; - } - - // - // My settings - // + // + // My settings + // - public function mysettings() - { - $this->edit($this->active_user->id, 'mysettings'); - $this->app_page_title = 'My Settings'; - } + public function mysettings() + { + $this->edit($this->active_user->id, 'mysettings'); + $this->app_page_title = 'My Settings'; + } - protected function mysettings_on_save() - { - $this->form_redirect = null; - $this->form_edit_save_flash = null; + protected function mysettings_on_save() + { + $this->form_redirect = null; + $this->form_edit_save_flash = null; - $this->edit_on_save($this->active_user->id); - echo Admin_Html::flash_message('Your settings have been saved.'); - } + $this->edit_on_save($this->active_user->id); + echo Admin_Html::flash_message('Your settings have been saved.'); + } - protected function mysettings_on_reset_preferences() - { - $this->form_redirect = null; - $this->form_edit_save_flash = null; + protected function mysettings_on_reset_preferences() + { + $this->form_redirect = null; + $this->form_edit_save_flash = null; - Phpr_User_Parameters::reset($this->active_user->id); + Phpr_User_Parameters::reset($this->active_user->id); - echo Admin_Html::flash_message('Your preferences have been reset.'); - } + echo Admin_Html::flash_message('Your preferences have been reset.'); + } } diff --git a/controllers/admin_users/_control_panel.htm b/controllers/admin_users/_control_panel.htm index 2ba4701..2908b6c 100644 --- a/controllers/admin_users/_control_panel.htm +++ b/controllers/admin_users/_control_panel.htm @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/drivers/notify_templates/admin_error_alert_template.php b/drivers/notify_templates/admin_error_alert_template.php new file mode 100644 index 0000000..4d1da32 --- /dev/null +++ b/drivers/notify_templates/admin_error_alert_template.php @@ -0,0 +1,42 @@ + 'Admin Error Alert', + 'description' => 'Sent to administrators when the system encounters a significant issue.', + 'code' => 'admin:error_alert' + ); + } + + public function get_internal_subject() + { + return "Error Alert"; + } + + public function get_internal_content() + { + return file_get_contents($this->get_partial_path('internal_content.htm')); + } + + public function prepare_template($template, $params=array()) + { + extract($params); + if(is_object($error)){ + $error_message = $error->getMessage(); + } else { + $error_message = $error; + } + $user->set_notify_vars($template, 'user_'); + $template->set_vars(array( + 'error_msg' => $error_message, + 'link' => Phpr::$request->get_root_url() . url('/admin/error_log/'), + ), false); + + $template->add_recipient($user); + } +} diff --git a/drivers/notify_templates/admin_error_alert_template/internal_content.htm b/drivers/notify_templates/admin_error_alert_template/internal_content.htm new file mode 100644 index 0000000..a5e455c --- /dev/null +++ b/drivers/notify_templates/admin_error_alert_template/internal_content.htm @@ -0,0 +1,12 @@ +

                Hi, {user_first_name}!

                + +

                I'm sorry I have to report the following error to you:

                + +
                +{error_msg} + +
                +There may be a more detailed error report in the logs: {link} + + +

                This is an automatic message. Do not reply to it.

                \ No newline at end of file diff --git a/helpers/admin_gravatar.php b/helpers/admin_gravatar.php new file mode 100644 index 0000000..07c5399 --- /dev/null +++ b/helpers/admin_gravatar.php @@ -0,0 +1,15 @@ +get_user(); + } + + if(!is_a($user,'Admin_User')){ + return Admin_Config::get_theme_id().'/assets/images/avatar-blank.png'; + } + return 'https://www.gravatar.com/avatar/'.md5( strtolower( trim( $user->email ) ) ); + } +} diff --git a/helpers/admin_html.php b/helpers/admin_html.php index 6f03413..d25cc94 100644 --- a/helpers/admin_html.php +++ b/helpers/admin_html.php @@ -20,6 +20,7 @@ public static function controller_url() public static function button($caption, $attributes = array(), $ajax_handler = null, $ajax_params = null, $form_element = null) { + $icon = null; $a_attrs = array('class' => 'btn'); if (is_array($attributes)) @@ -28,6 +29,11 @@ public static function button($caption, $attributes = array(), $ajax_handler = n { if ($key === 'class') $value = 'btn '.$value; + + if ($key === 'icon'){ + $icon = ' '; + continue; + } $a_attrs[$key] = $value; } @@ -62,7 +68,7 @@ public static function button($caption, $attributes = array(), $ajax_handler = n $attr_list = Phpr_Html::format_attributes($a_attrs, array('href' => $attributes)); } - return ''.$caption.''; + return ''.$icon.$caption.''; } /** diff --git a/models/admin_group.php b/models/admin_group.php index bd1ce74..2e34401 100644 --- a/models/admin_group.php +++ b/models/admin_group.php @@ -2,7 +2,7 @@ class Admin_Group extends Db_ActiveRecord { - const admin = 'administrator'; + const super_admin = 'administrator'; public $table_name = 'admin_groups'; diff --git a/models/admin_user.php b/models/admin_user.php index 760a6f3..fdeba11 100644 --- a/models/admin_user.php +++ b/models/admin_user.php @@ -2,358 +2,487 @@ class Admin_User extends Phpr_User { - const disabled = -1; - - public $table_name = "admin_users"; - protected $added_fields = array(); - - public $calculated_columns = array( - 'short_name'=>"trim(concat(ifnull(first_name, ''), ' ', ifnull(concat(substring(last_name, 1, 1), '. '), ''), ifnull(concat(substring(middle_name, 1, 1), '. '), '')))", - 'name'=>"trim(concat(ifnull(first_name, ''), ' ', ifnull(last_name, ' '), ' ', ifnull(middle_name, '')))", - 'state'=>'if(status is null or status = 0, "Active", if (status=-1, "Disabled", "Active"))' - ); - - public $has_and_belongs_to_many = array( - 'rights'=>array('class_name'=>'Admin_Group', 'join_table'=>'admin_groups_users') - ); - - public $custom_columns = array('password_confirm'=>db_text, 'send_invitation'=>db_bool); - protected $plain_password = null; - protected $is_administrator_cache = null; - protected $is_asministrator_on_load = null; - - public $password_reset_mode = false; - - public static function create($values = null) - { - return new self($values); - } - - public function define_columns($context = null) - { - $this->define_column('name', 'Full Name')->order('asc'); - $this->define_column('first_name', 'First Name')->default_invisible()->validation()->fn('trim')->required(); - $this->define_column('last_name', 'Last Name')->default_invisible()->validation()->fn('trim')->required(); - $this->define_column('middle_name', 'Middle Name')->default_invisible()->validation()->fn('trim'); - $this->define_column('email', 'Email')->validation()->fn('trim')->required()->email(); - $this->define_column('phone', 'Phone Number')->default_invisible()->list_title('Phone')->validation()->fn('trim'); - $this->define_column('mobile', 'Mobile Number')->default_invisible()->list_title('Mobile')->validation()->fn('trim'); - $this->define_column('login', 'Login')->validation()->fn('trim')->required()->unique('Login name "%s" already in use. Please choose another login name.'); - $this->define_column('password', 'Password')->invisible()->validation(); - $this->define_column('password_confirm', 'Password Confirmation')->invisible()->validation(); + const disabled = -1; + + public $table_name = "admin_users"; + protected $added_fields = array(); + + public $calculated_columns = array( + 'short_name'=>"trim(concat(ifnull(first_name, ''), ' ', ifnull(concat(substring(last_name, 1, 1), '. '), ''), ifnull(concat(substring(middle_name, 1, 1), '. '), '')))", + 'name'=>"trim(concat(ifnull(first_name, ''), ' ', ifnull(last_name, ' '), ' ', ifnull(middle_name, '')))", + 'state'=>'if(status is null or status = 0, "Active", if (status=-1, "Disabled", "Active"))' + ); + + public $has_and_belongs_to_many = array( + 'rights'=>array('class_name'=>'Admin_Group', 'join_table'=>'admin_groups_users') + ); + + public $custom_columns = array('password_confirm'=>db_text, 'send_invitation'=>db_bool); + protected $plain_password = null; + protected $is_super_administrator_cache = null; + protected $is_super_administrator_on_load = null; + + public $password_reset_mode = false; + + public static function create($values = null) + { + return new self($values); + } + + public function define_columns($context = null) + { + $this->define_column('name', 'Full Name')->order('asc'); + $this->define_column('first_name', 'First Name')->default_invisible()->validation()->fn('trim')->required(); + $this->define_column('last_name', 'Last Name')->default_invisible()->validation()->fn('trim')->required(); + $this->define_column('middle_name', 'Middle Name')->default_invisible()->validation()->fn('trim'); + $this->define_column('email', 'Email')->validation()->fn('trim')->required()->email(); + $this->define_column('phone', 'Phone Number')->default_invisible()->list_title('Phone')->validation()->fn('trim'); + $this->define_column('mobile', 'Mobile Number')->default_invisible()->list_title('Mobile')->validation()->fn('trim'); + $this->define_column('login', 'Login')->validation()->fn('trim')->required()->unique('Login name "%s" already in use. Please choose another login name.'); + $this->define_column('password', 'Password')->invisible()->validation(); + $this->define_column('password_confirm', 'Password Confirmation')->invisible()->validation(); + $this->define_column('status', 'Status')->invisible(); $this->define_column('state', 'Status'); - $this->define_column('status', 'Status')->invisible(); - $this->define_column('last_login', 'Last Login')->date_format('%x %H:%M'); - - $this->define_column('send_invitation', 'Send invitation by email')->invisible(); - - $this->define_multi_relation_column('rights', 'rights', 'Rights', '@name')->default_invisible()->validation(); - - } - - public function define_form_fields($context = null) - { - if (!$this->is_new_record()) - $this->is_asministrator_on_load = $this->is_administrator(); - - if ($context != 'mysettings') - { - $this->add_form_field('first_name', 'left')->tab('Contacts'); - $this->add_form_field('last_name', 'right')->tab('Contacts'); - $this->add_form_field('middle_name')->tab('Contacts'); - $this->add_form_field('email')->tab('Contacts'); - - $this->add_form_field('phone', 'left')->tab('Contacts'); - $this->add_form_field('mobile', 'right')->tab('Contacts'); - - $this->add_form_field('status')->tab('Account')->display_as(frm_dropdown); - $this->add_form_field('login')->tab('Account'); - $this->add_form_field('password', 'left')->tab('Account')->display_as(frm_password)->no_preview(); - $this->add_form_field('password_confirm', 'right')->tab('Account')->display_as(frm_password)->no_preview(); - $this->add_form_field('rights')->tab('Account')->display_as(frm_checkboxlist)->reference_description_field('concat(@description)')->preview_no_options_message('Rights are not set.')->preview_no_relation(); - - if ($this->is_new_record()) - { - $field = $this->add_form_field('send_invitation')->tab('Contacts'); - - if (!Phpr_Module_Manager::module_exists('user')) - $field->comment('The message cannot be send because email system is not installed.')->disabled(); - else - $field->comment('Use this checkbox to send an invitation to the user by email.'); - } - - $this->load_permissions_ui(); - - if (!$this->is_new_record()) - $this->load_user_permissions(); - } - else - { - $this->add_form_field('first_name', 'left')->tab('My Settings'); - $this->add_form_field('last_name', 'right')->tab('My Settings'); - $this->add_form_field('middle_name')->tab('My Settings'); - - $this->add_form_field('email')->tab('My Settings'); - - $this->add_form_field('phone', 'left')->tab('My Settings'); - $this->add_form_field('mobile', 'right')->tab('My Settings'); - - $this->add_form_field('password', 'left')->display_as(frm_password)->no_preview()->tab('My Settings'); - $this->add_form_field('password_confirm', 'right')->display_as(frm_password)->no_preview()->tab('My Settings'); - } - - $tab = $context == 'mysettings' ? 'My Settings' : 'Contacts'; - - } - - - // - // Events - // - - public function before_save($session_key = null) - { - $this->plain_password = $this->password; - - if (strlen($this->password) || strlen($this->password_confirm)) - { - if ($this->password != $this->password_confirm) - $this->validation->set_error('Password and confirmation password do not match', 'password', true); - } - - if (!strlen($this->password)) - { - if ($this->is_new_record() || $this->password_reset_mode) - $this->validation->set_error('Please provide a password', 'password', true); - else - $this->password = $this->fetched['password']; - } else - { - $this->password = Phpr_SecurityFramework::create()->salted_hash($this->password); - } - - if (!$this->is_new_record()) - { - $current_user = Phpr::$security->get_user(); - if ($current_user && $current_user->id == $this->id && $this->is_asministrator_on_load && !$this->rights) - $this->validation->set_error('You cannot cancel administrator rights for your own user account.', 'rights', true); - } - } - - public function after_save() - { - if ($this->rights) - return; - - if ($this->added_fields) - { - foreach ($this->added_fields as $code=>$info) - { - $module = $info[0]; - Admin_Rights::save_permissions($this->id, $module->get_id(), $info[1], $this->$code); - } - } - } - - public function after_create() - { - if (!$this->send_invitation) - return; - - Notify::trigger('admin:user_invite', array('user'=>$this)); - } - - public function before_delete($id = null) - { - $current_user = Phpr::$security->get_user(); - if ($current_user && $current_user->id == $this->id) - throw new Phpr_ApplicationException("You cannot delete your own user account."); - - if ($this->last_login) - throw new Phpr_ApplicationException("Users cannot be deleted after first login. You may disable the user account instead of deleting."); - } - - // - // Options - // - - public function get_status_options($key_value = -1) - { - $result = array(); - $result[0] = 'Active'; - $result[-1] = 'Disabled'; - - return $result; - } - - // - // Service methods - // - - public function create_password_reset_hash() - { - $this->password_reset_hash = Phpr_SecurityFramework::create()->salted_hash(rand(1,400)); - $this->password = null; - $this->save(); - - return $this->password_reset_hash; - } - - public function clear_password_reset_hash() - { - $this->password_reset_hash = null; - $this->password = null; - $this->save(); - } - - public function belongs_to_groups($groups) - { - $groups = Phpr_Util::splat($groups); - - $rights = $this->rights; - foreach ($rights as $right) - { - if (in_array($right->code, $groups)) - return true; - } - - return false; - } - - public function update_last_login() - { - Db_Helper::query( - "update admin_users set last_login=:last_login where id=:id", - array('id'=>$this->id, 'last_login'=>Phpr_DateTime::now()) - ); - } - - public function set_notify_vars(&$template, $prefix='') - { - $template->set_vars(array( - $prefix.'name' => $this->name, - $prefix.'first_name' => $this->first_name, - $prefix.'middle_name' => $this->middle_name, - $prefix.'last_name' => $this->last_name, - $prefix.'email' => $this->email, - $prefix.'login' => $this->login, - $prefix.'password' => $this->plain_password, - $prefix.'phone' => $this->phone, - $prefix.'mobile' => $this->mobile, - )); - } - - - // - // Custom fields - // - - public function add_permission_field($module, $code, $title, $side = 'full', $type = db_text) - { - $module_id = $module->get_id(); - - $original_code = $code; - $code = $module_id.'_'.$code; - - $this->define_custom_column($code, $title, $type)->validation(); - $form_field = $this->add_form_field($code, $side)->options_method('get_added_permission_field_options')->tab($module->get_module_info()->name)->css_class_name('permission_field'); - - $this->added_fields[$code] = array($module, $original_code); - - return $form_field; - } - - public function get_added_permission_field_options($db_name, $current_key_value = -1) - { - if (!isset($db_name, $this->added_fields)) - return array(); - - $module = $this->added_fields[$db_name][0]; - $code = $this->added_fields[$db_name][1]; - $class_name = get_class($module); - - $method_name = "get_".$code."_options"; - if (!method_exists($module, $method_name)) - throw new Phpr_SystemException("Method ".$method_name." is not defined in ".$class_name." class."); - - return $module->$method_name($current_key_value); - } - - // - // Permissions - // - - public function is_administrator() - { - if ($this->is_administrator_cache !== null) - return $this->is_administrator_cache; - - return $this->is_administrator_cache = $this->belongs_to_groups(Admin_Group::admin); - } - - protected function load_user_permissions() - { - $permissions = Admin_Rights::get_permissions($this->id); - foreach ($permissions as $permission) - { - $field_code = $permission->module_id.'_'.$permission->name; - if (array_key_exists($field_code, $this->added_fields)) - { - $this->$field_code = $permission->value; - } - } - } - - public function get_permission($module_id, $name) - { - if ($this->is_administrator()) - return true; - - if (!is_array($name)) - return Admin_Rights::get_permission($this->id, $module_id, $name); - else - { - foreach ($name as $permission) - { - if (Admin_Rights::get_permission($this->id, $module_id, $permission)) - return true; - } - - return false; - } - } - - public static function list_users_having_permission($module_id, $name) - { - $users = self::create()->find_all(); - $result = array(); - - foreach ($users as $user) - { - if ($user->status == self::disabled) - continue; - - if ($user->get_permission($module_id, $name)) - $result[] = $user; - } - - return $result; - } - - private function load_permissions_ui() - { - $modules = Core_Module_Manager::get_modules(); - - foreach ($modules as $id=>$module) - { - $module->build_admin_permissions($this); - } - } - - // Required by PHPR - public function find_user($login, $password) - { - return $this->where('login = lower(?)', $login)->where('password = ?', Phpr_SecurityFramework::create()->salted_hash($password))->find(); - } + $this->define_column('last_login', 'Last Login')->date_format('%x %H:%M'); + + $this->define_column('time_zone', 'Time Zone')->default_invisible()->validation()->fn('trim'); + + $this->define_column('send_invitation', 'Send invitation by email')->invisible(); + + $this->define_multi_relation_column('rights', 'rights', 'Super Admin Rights', '@name')->default_invisible()->validation(); + + // Extensibility + $this->defined_column_list = array(); + Phpr::$events->fire_event('admin:on_extend_user_model', $this, $context); + $this->api_added_columns = array_keys($this->defined_column_list); + + } + + public function define_form_fields($context = null) + { + if (!$this->is_new_record()) + $this->is_super_administrator_on_load = $this->is_super_administrator(); + + if ($context != 'mysettings') + { + $this->add_form_field('first_name', 'left')->tab('Contacts'); + $this->add_form_field('last_name', 'right')->tab('Contacts'); + $this->add_form_field('middle_name')->tab('Contacts'); + $this->add_form_field('email')->tab('Contacts'); + + $this->add_form_field('phone', 'left')->tab('Contacts'); + $this->add_form_field('mobile', 'right')->tab('Contacts'); + + $this->add_form_field('status')->tab('Account')->display_as(frm_dropdown); + $this->add_form_field('login')->tab('Account'); + $this->add_form_field('password', 'left')->tab('Account')->display_as(frm_password)->no_preview(); + $this->add_form_field('password_confirm', 'right')->tab('Account')->display_as(frm_password)->no_preview(); + $this->add_form_field('rights')->tab('Account')->display_as(frm_checkboxlist)->reference_description_field('concat(@description)')->preview_no_options_message('Rights are not set.')->preview_no_relation(); + + if ($this->is_new_record()) + { + $field = $this->add_form_field('send_invitation')->tab('Contacts'); + + if (!Phpr_Module_Manager::module_exists('user')) + $field->comment('The message cannot be send because email system is not installed.')->disabled(); + else + $field->comment('Use this checkbox to send an invitation to the user by email.'); + } + + $this->load_permissions_ui(); + + if (!$this->is_new_record()) + $this->load_user_permissions(); + } + else + { + $this->add_form_field('first_name', 'left')->tab('My Settings'); + $this->add_form_field('last_name', 'right')->tab('My Settings'); + $this->add_form_field('middle_name')->tab('My Settings'); + + $this->add_form_field('email')->tab('My Settings'); + + $this->add_form_field('phone', 'left')->tab('My Settings'); + $this->add_form_field('mobile', 'right')->tab('My Settings'); + + $this->add_form_field('password', 'left')->display_as(frm_password)->no_preview()->tab('My Settings'); + $this->add_form_field('password_confirm', 'right')->display_as(frm_password)->no_preview()->tab('My Settings'); + + $this->add_form_field('time_zone', 'left')->display_as(frm_dropdown)->tab('Time Zone'); + } + + $tab = $context == 'mysettings' ? 'My Settings' : 'Contacts'; + + // Extensibility + Phpr::$events->fire_event('admin:on_extend_user_form', $this, $context); + foreach ($this->api_added_columns as $column_name){ + $form_field = $this->find_form_field($column_name); + if ($form_field) + $form_field->options_method('get_added_field_options'); + } + + } + + // + // Extensibility + // + + public function get_added_field_options($db_name, $current_key_value = -1) { + $result = Phpr::$events->fire_event('admin:on_get_added_field_options', $db_name, $current_key_value); + foreach ($result as $options) { + if (is_array($options) || (strlen($options && $current_key_value != -1))) + return $options; + } + + return false; + } + + + + // + // Events + // + + public function before_save($session_key = null) + { + + $current_user = Phpr::$security->get_user(); + + //only super users can edit super user accounts + if($this->is_super_administrator_on_load && !$current_user->is_super_administrator()){ + $this->validation->set_error('You cannot edit a super admin account, if you are not a super admin', 'rights', true); + } + + //check user is allowed to grant super user status. + if ($this->is_saving_a_super_admin() && !$current_user->is_super_administrator()){ + $this->validation->set_error('You cannot grant super admin rights unless you are super admin', 'rights', true); + } + + //check current user is not removing their own super admin status + if (!$this->is_new_record()){ + if ($current_user && $current_user->id == $this->id && $this->is_super_administrator_on_load && !$this->rights) + $this->validation->set_error('You cannot cancel super admin rights for your own user account.', 'rights', true); + } + + + //passwords + $this->plain_password = $this->password; + + if (strlen($this->password) || strlen($this->password_confirm)) + { + if ($this->password != $this->password_confirm) + $this->validation->set_error('Password and confirmation password do not match', 'password', true); + } + + if (!strlen($this->password)) + { + if ($this->is_new_record() || $this->password_reset_mode) + $this->validation->set_error('Please provide a password', 'password', true); + else + $this->password = $this->fetched['password']; + } else + { + $this->password = Phpr_SecurityFramework::create()->salted_hash($this->password); + } + + + if(empty($this->time_zone)){ + $this->time_zone = Phpr::$config->get('TIMEZONE'); + } + + + } + + public function after_save() + { + if ($this->rights) + return; + + if ($this->added_fields) + { + $current_user = Phpr::$security->get_user(); + + foreach ($this->added_fields as $code=>$info) + { + $module = $info[0]; + if(self::restrict_permission_edits($module->get_id(), $current_user )){ + continue; + } + Admin_Rights::save_permissions($this->id, $module->get_id(), $info[1], $this->$code); + } + } + } + + public function after_create() + { + if (!$this->send_invitation) + return; + + Notify::trigger('admin:user_invite', array('user'=>$this)); + } + + public function before_delete($id = null) + { + $current_user = Phpr::$security->get_user(); + + //no delete super user account + if($this->is_super_administrator_on_load){ + throw new Phpr_ApplicationException("You cannot delete a super user account."); + } + + //no delete own account + if ($current_user && $current_user->id == $this->id) + throw new Phpr_ApplicationException("You cannot delete your own user account."); + + //no delete if logged in before + if ($this->last_login) + throw new Phpr_ApplicationException("Users cannot be deleted after first login. You may disable the user account instead of deleting."); + + } + + // + // Options + // + + public function get_status_options($key_value = -1) + { + $result = array(); + $result[0] = 'Active'; + $result[-1] = 'Disabled'; + + return $result; + } + + public function get_time_zone_options($key_value = -1) + { + $time_zones = Phpr\TimeZone::get_timezone_list(); + + if ($key_value != -1) { + if (!strlen($key_value)) + return null; + + return $time_zones[$key_value]; + } + + $time_zones[null] = 'Undefined'; + return $time_zones; + } + + // + // Service methods + // + + public function create_password_reset_hash() + { + $this->password_reset_hash = Phpr_SecurityFramework::create()->salted_hash(rand(1,400)); + $this->password = null; + $this->save(); + + return $this->password_reset_hash; + } + + public function clear_password_reset_hash() + { + $this->password_reset_hash = null; + $this->password = null; + $this->save(); + } + + public function belongs_to_groups($groups) + { + $groups = Phpr_Util::splat($groups); + + $rights = $this->rights; + foreach ($rights as $right) + { + if (in_array($right->code, $groups)) + return true; + } + + return false; + } + + public function update_last_login() + { + Db_Helper::query( + "update admin_users set last_login=:last_login where id=:id", + array('id'=>$this->id, 'last_login'=>Phpr_DateTime::now()) + ); + } + + public function set_notify_vars(&$template, $prefix='') + { + $template->set_vars(array( + $prefix.'name' => $this->name, + $prefix.'first_name' => $this->first_name, + $prefix.'middle_name' => $this->middle_name, + $prefix.'last_name' => $this->last_name, + $prefix.'email' => $this->email, + $prefix.'login' => $this->login, + $prefix.'password' => $this->plain_password, + $prefix.'phone' => $this->phone, + $prefix.'mobile' => $this->mobile, + )); + } + + + // + // Custom fields + // + + public function add_permission_field($module, $code, $title, $side = 'full', $type = db_text) + { + $module_id = $module->get_id(); + + $original_code = $code; + $code = $module_id.'_'.$code; + + $this->define_custom_column($code, $title, $type)->validation(); + $form_field = $this->add_form_field($code, $side)->options_method('get_added_permission_field_options')->tab($module->get_module_info()->name)->css_class_name('permission_field'); + + $this->added_fields[$code] = array($module, $original_code); + + return $form_field; + } + + public function get_added_permission_field_options($db_name, $current_key_value = -1) + { + if (!isset($db_name, $this->added_fields)) + return array(); + + $module = $this->added_fields[$db_name][0]; + $code = $this->added_fields[$db_name][1]; + $class_name = get_class($module); + + $method_name = "get_".$code."_options"; + if (!method_exists($module, $method_name)) + throw new Phpr_SystemException("Method ".$method_name." is not defined in ".$class_name." class."); + + return $module->$method_name($current_key_value); + } + + // + // Permissions + // + + public function is_super_administrator() + { + if ($this->is_super_administrator_cache !== null) + return $this->is_super_administrator_cache; + + return $this->is_super_administrator_cache = $this->belongs_to_groups(Admin_Group::super_admin); + } + + protected function is_saving_a_super_admin(){ + //when saving rights, they are presented as an array. + $super_admin_group = Admin_Group::create()->find_by_code(Admin_Group::super_admin); + if(is_array($this->rights)){ + foreach($this->rights as $right_id){ + if($right_id == $super_admin_group->id){ + return true; + } + } + } + return false; + } + + protected function load_user_permissions() + { + $permissions = Admin_Rights::get_permissions($this->id); + foreach ($permissions as $permission) + { + $field_code = $permission->module_id.'_'.$permission->name; + if (array_key_exists($field_code, $this->added_fields)) + { + $this->$field_code = $permission->value; + } + } + } + + public function get_permission($module_id, $name) + { + if ($this->is_super_administrator()) + return true; + + if (!is_array($name)) + return Admin_Rights::get_permission($this->id, $module_id, $name); + else + { + foreach ($name as $permission) + { + if (Admin_Rights::get_permission($this->id, $module_id, $permission)) + return true; + } + + return false; + } + } + + public static function list_users_having_permission($module_id, $name) + { + $users = self::create()->find_all(); + $result = array(); + + foreach ($users as $user) + { + if ($user->status == self::disabled) + continue; + + if ($user->get_permission($module_id, $name)) + $result[] = $user; + } + + return $result; + } + + public static function get_super_administrators() + { + $users = self::create()->find_all(); + $result = array(); + + foreach ($users as $user) { + if ($user->status == self::disabled) + continue; + + if ($user->is_super_administrator()) + $result[] = $user; + } + + return $result; + } + + private function load_permissions_ui() + { + $modules = Core_Module_Manager::get_modules(); + $current_user = Phpr::$security->get_user(); + + foreach ($modules as $id=>$module) + { + if(self::restrict_permission_edits($module->get_id(), $current_user )){ + continue; + } + + $module->build_admin_permissions($this); + } + } + + public static function restrict_permission_edits($module_id, Admin_User $user){ + + $block_permission_edit = (Phpr::$config != null) + ? Phpr::$config->get("RESTRICT_MODULE_PERMISSION_EDIT", array()) + : array(); + + if(in_array($module_id,$block_permission_edit) && !$user->is_super_administrator()){ + return true; + } + + return false; + } + + // Required by PHPR + public function find_user($login, $password) + { + return $this->where('login = lower(?)', $login)->where('password = ?', Phpr_SecurityFramework::create()->salted_hash($password))->find(); + } } diff --git a/skins/default/assets/scripts/js/behaviors/autosize_behavior.js b/skins/default/assets/scripts/js/behaviors/autosize_behavior.js index 7bb2b2d..3a2ba67 100644 --- a/skins/default/assets/scripts/js/behaviors/autosize_behavior.js +++ b/skins/default/assets/scripts/js/behaviors/autosize_behavior.js @@ -29,9 +29,9 @@ var Admin_Page = (function(page, $){ }, _poll_object = null; - + var _breakpoint_menu_visible = false; - + // Public page.breakpointSize = 979; @@ -45,7 +45,7 @@ var Admin_Page = (function(page, $){ _sidenav = $('#site-sidenav'); _footer = $('#site-footer'); _fixed_toolbar = $('#fixed-toolbar'); - + page.asSetCanvas(); page.asSetScrollbars(); page.asUpdateBreakpoint(); @@ -54,7 +54,7 @@ var Admin_Page = (function(page, $){ page.asSetCanvas(); page.asUpdateScrollbars(); page.asUpdateBreakpoint(); - }); + }); page.asInitScrollbars(); @@ -67,15 +67,15 @@ var Admin_Page = (function(page, $){ }); // Canvas - // + // page.asCalculateSize = function() { _top_offset = 0; if (_header.is(':visible')) - _top_offset += _header.outerHeight(); + _top_offset += _header.outerHeight(); if (_footer.is(':visible')) - _top_offset += _footer.outerHeight(); + _top_offset += _footer.outerHeight(); _top_offset_with_content = _top_offset; @@ -90,7 +90,7 @@ var Admin_Page = (function(page, $){ if (_subnav.is(':visible') || page.checkBreakpoint()) _left_offset += _subnav.outerWidth(); - + if (_sidenav.is(':visible')) _right_offset += _sidenav.outerWidth(); @@ -110,7 +110,7 @@ var Admin_Page = (function(page, $){ }); // Fixed toolbar - _fixed_toolbar.css({ + _fixed_toolbar.css({ width: (_window_width - _left_offset - _right_offset) + "px", left: _left_offset + "px" }); @@ -125,7 +125,7 @@ var Admin_Page = (function(page, $){ } // Scrollbars - // + // page.asInitScrollbars = function() { // Nav scrollbars @@ -138,7 +138,7 @@ var Admin_Page = (function(page, $){ var titleHeight = $("#site-subnav > .title").outerHeight(); $("#site-subnav-scroll-area").css("height", (_window_height - _top_offset - titleHeight) + "px"); } - + page.asUpdateScrollbars = function() { page.asSetScrollbars(); // Nav scrollbars @@ -155,8 +155,8 @@ var Admin_Page = (function(page, $){ } // Breakpoint - // - + // + page.asUpdateBreakpoint = function() { if (!page.checkBreakpoint()) { page.asToggleMenu(true); @@ -176,7 +176,7 @@ var Admin_Page = (function(page, $){ page.asToggleMenu = function(force) { if (_mainnav.css('visibility') == 'visible' && !force) { _mainnav.css({ 'visibility': 'hidden' }); - _subnav.css({ 'visibility': 'hidden' }); + _subnav.css({ 'visibility': 'hidden' }); _breakpoint_menu_visible = false; } else { _mainnav.css({ 'visibility': 'visible' }); @@ -189,9 +189,9 @@ var Admin_Page = (function(page, $){ page.checkBreakpoint = function() { return _window.width() < page.breakpointSize; } - + // Internals - // + // var _is_dom_resized = function() { height = jQuery('body').height(); @@ -205,18 +205,18 @@ var Admin_Page = (function(page, $){ // so this throws off some calculations and produces scrollbars // if we pump up our content, then release it, Chrome catches up var _webkit_fix = function() { - _content.css({ - overflow: 'hidden', + _content.css({ + overflow: 'hidden', height: _window_height + 'px' }); setTimeout(function(){ - _content.css({ + _content.css({ height: 'auto', - overflow: 'visible' + overflow: 'visible' }); }, 100); - } + } var _set_loaded_state = function() { if (_is_loaded) diff --git a/skins/default/assets/scripts/js/behaviors/fullscreen_behavior.js b/skins/default/assets/scripts/js/behaviors/fullscreen_behavior.js index 216716a..7a932e3 100644 --- a/skins/default/assets/scripts/js/behaviors/fullscreen_behavior.js +++ b/skins/default/assets/scripts/js/behaviors/fullscreen_behavior.js @@ -1,12 +1,5 @@ var Admin_Page = (function(page, $){ - page.constructor = $(document).ready(function() { - - $('#admin-tray-fullscreen').on('onTrayAfterOpen', function(){ - Admin_Page.fsToggle(); - }); - - }); var _is_fullscreen = false, _original_offset_top = 0; @@ -15,6 +8,9 @@ var Admin_Page = (function(page, $){ page.fsToggle = function() { _is_fullscreen = (_is_fullscreen) ? false : true; + if(typeof sessionStorage !== 'undefined'){ + sessionStorage.setItem("_is_fullscreen", _is_fullscreen ? 1 : 0); + } if (_is_fullscreen) { _original_offset_top = $("#fixed-toolbar").css('top'); @@ -31,7 +27,26 @@ var Admin_Page = (function(page, $){ if (!_is_fullscreen) Admin_Page.trayHide(); - } + }; + + + page.constructor = $(document).ready(function() { + + var $adminTrayFullscreen = $("#admin-tray-fullscreen"); + $adminTrayFullscreen.on('onTrayAfterOpen', function(){ + Admin_Page.fsToggle(); + }); + + $('#site-header .tray-icons > ul').on('onTrayInit', function() { + if ($adminTrayFullscreen.length && (typeof sessionStorage !== 'undefined')) { + if(sessionStorage.getItem("_is_fullscreen") == 1 ){ + $('.tray-link').trigger('click'); + $adminTrayFullscreen.show(); + } + } + }); + + }); return page; -}(Admin_Page || {}, jQuery)); \ No newline at end of file +}(Admin_Page || {}, jQuery)); diff --git a/skins/default/assets/scripts/js/behaviors/search_behavior.js b/skins/default/assets/scripts/js/behaviors/search_behavior.js index 898cf09..ae1d9b9 100644 --- a/skins/default/assets/scripts/js/behaviors/search_behavior.js +++ b/skins/default/assets/scripts/js/behaviors/search_behavior.js @@ -1,6 +1,6 @@ var Admin_Page = (function(page, $){ - page.constructor = $(document).ready(function() { + page.constructor = $(document).ready(function() { _container_element = $('#admin-tray-search'); _search_element = _container_element.find('input:first'); @@ -17,31 +17,33 @@ var Admin_Page = (function(page, $){ page.initAutoComplete = function() { - _search_element.autocomplete({ - minLength: 0, - appendTo: _container_element.find('>.dropdown'), - source: function (request, response) { - $.post(admin_url('admin/index/quicksearch'), request, response); - }, - select: function(event, ui) { - LightLoadingIndicator().show(); - _container_element.hide(); - setTimeout(function() { window.location = ui.item.link; }, 100); - } - }) - .data('ui-autocomplete')._renderItem = function(ul, item) { - var listElement = $('
              • ') - anchor = $(''), - icon = $('').addClass('icon-'+item.icon).addClass('icon'), - desc = $('').addClass('description'); - - var content = item.label + '' + item.item_name + ''; - - desc.html(content) - anchor.append(icon).append(desc); - listElement.append(anchor); - return listElement.appendTo(ul); - }; + if(_search_element.length){ + _search_element.autocomplete({ + minLength: 0, + appendTo: _container_element.find('>.dropdown'), + source: function (request, response) { + $.post(admin_url('admin/index/quicksearch'), request, response); + }, + select: function(event, ui) { + LightLoadingIndicator().show(); + _container_element.hide(); + setTimeout(function() { window.location = ui.item.link; }, 100); + } + }) + .data('ui-autocomplete')._renderItem = function(ul, item) { + var listElement = $('
              • ') + anchor = $(''), + icon = $('').addClass('icon-'+item.icon).addClass('icon'), + desc = $('').addClass('description'); + + var content = item.label + '' + item.item_name + ''; + + desc.html(content) + anchor.append(icon).append(desc); + listElement.append(anchor); + return listElement.appendTo(ul); + }; + } } diff --git a/skins/default/assets/scripts/js/behaviors/tray_behavior.js b/skins/default/assets/scripts/js/behaviors/tray_behavior.js index 4f53fed..b810d99 100644 --- a/skins/default/assets/scripts/js/behaviors/tray_behavior.js +++ b/skins/default/assets/scripts/js/behaviors/tray_behavior.js @@ -56,6 +56,7 @@ var Admin_Page = (function(page, $){ $(this).stop().animate({ width: container_width }, _tray_delay * 2); page.trayIconsHide(); }); + container.trigger('onTrayInit'); } page.trayIconsShow = function() { diff --git a/skins/default/assets/stylesheets/css/chosen.css b/skins/default/assets/stylesheets/css/chosen.css new file mode 100644 index 0000000..77b1070 --- /dev/null +++ b/skins/default/assets/stylesheets/css/chosen.css @@ -0,0 +1,386 @@ +/* @group Base */ +.chosen-container { + width: 100% !important; + font-size: 14px; + position: relative; + display: inline-block; + zoom: 1; + *display: inline; +} +.chosen-container .chosen-drop { + width: 100% !important; + background: #fff; + border: 1px solid #b3b3b3; + border-top: 0; + position: absolute; + top: 29px; + left: 0; + z-index: 1010; +} +/* @end */ +/* @group Single Chosen */ +.chosen-container-single .chosen-single { + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; + border: 1px solid #cccccc; + display: block; + overflow: hidden; + white-space: nowrap; + position: relative; + height: 29px; + line-height: 29px; + padding: 0 7px; + color: #8c8c8c; + text-decoration: none; +} +.chosen-container-single .chosen-single span { + margin-right: 26px; + display: block; + overflow: hidden; + white-space: nowrap; + -o-text-overflow: ellipsis; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.chosen-container-single .chosen-single abbr { + display: block; + position: absolute; + right: 26px; + top: 8px; + width: 12px; + height: 12px; + font-size: 1px; + background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; +} +.chosen-container-single .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-single div { + position: absolute; + right: 3px; + top: 3px; + display: block; + height: 100%; + width: 18px; +} +.chosen-container-single .chosen-single div b { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat 0px 2px; + display: block; + width: 100%; + height: 100%; +} +.chosen-container-single .chosen-default { + color: #999; +} +.chosen-container-single.chosen-disabled .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-search { + padding: 3px 0 3px 6px; + position: relative; + margin: 0; + white-space: nowrap; + z-index: 1010; +} +.chosen-container-single .chosen-search input { + width: 99% !important; + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; + margin: 1px 0; + padding: 3px !important; + outline: 0; + border: 1px solid #cccccc; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container-single .chosen-search input:focus { + border-color: #b3b3b3; + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; +} +.chosen-container-single .chosen-drop { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; +} +/* @end */ +.chosen-container-single-nosearch .chosen-search input { + position: absolute; + left: -9000px; +} +/* @group Multi Chosen */ +.chosen-container-multi .chosen-choices { + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; + border: 1px solid #cccccc; + margin: 0; + padding: 0; + cursor: text; + overflow: hidden; + height: auto !important; + height: 1%; + position: relative; +} +.chosen-container-multi .chosen-choices li { + float: left; + list-style: none; +} +.chosen-container-multi .chosen-choices .search-field { + white-space: nowrap; + margin: 0; + padding: 0; +} +.chosen-container-multi .chosen-choices .search-field input { + width: 100% !important; + color: #8c8c8c; + background: transparent !important; + border: 0 !important; + font-family: sans-serif; + font-size: 100%; + height: 15px; + padding: 5px; + margin: 1px 0; + outline: 0; +} +.chosen-container-multi .chosen-choices .search-field .default { + color: #999; +} +.chosen-container-multi .chosen-choices .search-choice { + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + background: #FFF; + border: 1px solid #cccccc; + color: #8c8c8c; + line-height: 13px; + padding: 4px 20px 4px 5px; + margin: 3px 0 3px 5px; + position: relative; + cursor: default; +} +.chosen-container-multi .chosen-choices .search-choice.search-choice-disabled { + background-color: #e4e4e4; + color: #666; + border: 1px solid #cccccc; + padding-right: 5px; +} +.chosen-container-multi .chosen-choices .search-choice .search-choice-close { + display: block; + position: absolute; + right: 3px; + top: 4px; + width: 12px; + height: 12px; + font-size: 1px; + background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; +} +.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover { + background-position: -42px -10px; +} +.chosen-container-multi .chosen-choices .search-choice-focus { + background: #d4d4d4; +} +.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close { + background-position: -42px -10px; +} +/* @end */ +/* @group Results */ +.chosen-container .chosen-results { + margin: 0 0 4px 0; + max-height: 240px; + padding: 0; + position: relative; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} +.chosen-container .chosen-results li { + display: none; + line-height: 15px; + padding: 5px 12px; + margin: 0; + list-style: none; + color: #333333; +} +.chosen-container .chosen-results .active-result { + cursor: pointer; + display: list-item; +} +.chosen-container .chosen-results .highlighted { + background-color: #74abc9; + background-image: -moz-linear-gradient(top, #7bafcc, #69a4c5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#7bafcc), to(#69a4c5)); + background-image: -webkit-linear-gradient(top, #7bafcc, #69a4c5); + background-image: -o-linear-gradient(top, #7bafcc, #69a4c5); + background-image: linear-gradient(to bottom, #7bafcc, #69a4c5); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bafcc', endColorstr='#ff69a4c5', GradientType=0); + color: #ffffff; +} +.chosen-container .chosen-results li em { + background: #feffde; + font-style: normal; +} +.chosen-container .chosen-results .highlighted em { + background: transparent; +} +.chosen-container .chosen-results .no-results { + background: #f4f4f4; + display: list-item; +} +.chosen-container .chosen-results .group-result { + cursor: default; + color: #999; + font-weight: bold; +} +.chosen-container .chosen-results .group-option { + padding-left: 15px; +} +.chosen-container .chosen-results-scroll { + background: white; + margin: 0 4px; + position: absolute; + text-align: center; + width: 321px; + /* This should by dynamic with js */ + + z-index: 1; +} +.chosen-container .chosen-results-scroll span { + display: inline-block; + height: 17px; + text-indent: -5000px; + width: 9px; +} +.chosen-container .chosen-results-scroll-down { + bottom: 0; +} +.chosen-container .chosen-results-scroll-down span { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -4px -3px; +} +.chosen-container .chosen-results-scroll-up span { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -22px -3px; +} +.chosen-container-multi .chosen-results { + margin: -1px 0 0; + padding: 0; +} +.chosen-container-multi .chosen-drop .result-selected { + display: none; +} +/* @end */ +/* @group Active */ +.chosen-container-active .chosen-single { + border: 1px solid #b3b3b3; +} +.chosen-container-active .chosen-single-with-drop { + border: 1px solid #b3b3b3; + background-color: #ffffff; + -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); +} +.chosen-container-active .chosen-single-with-drop div { + background: transparent; + border-left: none; +} +.chosen-container-active .chosen-single-with-drop div b { + background-position: -18px 2px; +} +.chosen-container-active .chosen-choices { + border: 1px solid #b3b3b3; + background-color: #ffffff; + -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); +} +/* @end */ +/* @group Disabled Support */ +.chosen-disabled { + cursor: default; + opacity: 0.5 !important; +} +.chosen-disabled .chosen-single { + cursor: default; +} +.chosen-disabled .chosen-choices .search-choice .search-choice-close { + cursor: default; +} +/* @group Right to Left */ +.chosen-rtl { + text-align: right; +} +.chosen-rtl .chosen-single { + padding: 0 8px 0 0; + overflow: visible; +} +.chosen-rtl .chosen-single span { + margin-left: 26px; + margin-right: 0; + direction: rtl; +} +.chosen-rtl .chosen-single div { + left: 3px; + right: auto; +} +.chosen-rtl .chosen-single abbr { + left: 26px; + right: auto; +} +.chosen-rtl .chosen-choices .search-field input { + direction: rtl; +} +.chosen-rtl .chosen-choices li { + float: right; +} +.chosen-rtl .chosen-choices .search-choice { + padding: 3px 5px 3px 19px; + margin: 3px 5px 3px 0; +} +.chosen-rtl .chosen-choices .search-choice .search-choice-close { + left: 4px; + right: auto; +} +.chosen-rtl.chosen-container-single .chosen-results { + margin: 0 0 4px 4px; + padding: 0 4px 0 0; +} +.chosen-rtl .chosen-results .group-option { + padding-left: 0; + padding-right: 15px; +} +.chosen-rtl.chosen-container-active .chosen-single-with-drop div { + border-right: none; +} +.chosen-rtl .chosen-search input { + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat -30px -20px; + padding: 4px 5px 4px 20px; + direction: rtl; +} +.chosen-container-single.chosen-rtl .chosen-single div b { + background-position: 6px 2px; +} +.chosen-container-single.chosen-rtl .chosen-single-with-drop div b { + background-position: -12px 2px; +} +/* @end */ \ No newline at end of file diff --git a/skins/default/assets/stylesheets/css/extras.css b/skins/default/assets/stylesheets/css/extras.css index 118965b..58d4fff 100644 --- a/skins/default/assets/stylesheets/css/extras.css +++ b/skins/default/assets/stylesheets/css/extras.css @@ -1,502 +1,530 @@ .clearfix { - *zoom: 1; + *zoom: 1; } .clearfix:before, .clearfix:after { - display: table; - content: ""; - line-height: 0; + display: table; + content: ""; + line-height: 0; } .clearfix:after { - clear: both; + clear: both; } .hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; } .input-block-level { - display: block; - width: 100%; - min-height: 25px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + display: block; + width: 100%; + min-height: 25px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } /* @group Base */ -.chzn-container { - width: 100% !important; - font-size: 14px; - position: relative; - display: inline-block; - zoom: 1; - *display: inline; -} -.chzn-container .chzn-drop { - width: 100% !important; - background: #fff; - border: 1px solid #b3b3b3; - border-top: 0; - position: absolute; - top: 29px; - left: 0; - z-index: 1010; +.chosen-container { + width: 100% !important; + font-size: 14px; + position: relative; + display: inline-block; + zoom: 1; + *display: inline; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.chosen-container * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container .chosen-drop { + position: absolute; + top: 100%; + left: -9999px; + z-index: 1010; + width: 100% !important; + background: #fff; + border: 1px solid #b3b3b3; + border-top: 0; +} +.chosen-container.chosen-with-drop .chosen-drop { + left: 0; +} +.chosen-container a { + cursor: pointer; +} +.chosen-container .search-choice .group-name, +.chosen-container .chosen-single .group-name { + margin-right: 4px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-weight: normal; + color: #999999; +} +.chosen-container .search-choice .group-name:after, +.chosen-container .chosen-single .group-name:after { + content: ":"; + padding-left: 2px; + vertical-align: top; } /* @end */ /* @group Single Chosen */ -.chzn-container-single .chzn-single { - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; - border: 1px solid #cccccc; - display: block; - overflow: hidden; - white-space: nowrap; - position: relative; - height: 29px; - line-height: 29px; - padding: 0 7px; - color: #8c8c8c; - text-decoration: none; -} -.chzn-container-single .chzn-single span { - margin-right: 26px; - display: block; - overflow: hidden; - white-space: nowrap; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; - text-overflow: ellipsis; -} -.chzn-container-single .chzn-single abbr { - display: block; - position: absolute; - right: 26px; - top: 8px; - width: 12px; - height: 12px; - font-size: 1px; - background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; -} -.chzn-container-single .chzn-single abbr:hover { - background-position: -42px -10px; -} -.chzn-container-single .chzn-single div { - position: absolute; - right: 3px; - top: 3px; - display: block; - height: 100%; - width: 18px; -} -.chzn-container-single .chzn-single div b { - background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat 0px 2px; - display: block; - width: 100%; - height: 100%; -} -.chzn-container-single .chzn-default { - color: #999; -} -.chzn-container-single.chzn-disabled .chzn-single abbr:hover { - background-position: -42px -10px; -} -.chzn-container-single .chzn-search { - padding: 3px 0 3px 6px; - position: relative; - margin: 0; - white-space: nowrap; - z-index: 1010; -} -.chzn-container-single .chzn-search input { - width: 99% !important; - background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; - margin: 1px 0; - padding: 3px !important; - outline: 0; - border: 1px solid #cccccc; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.chzn-container-single .chzn-search input:focus { - border-color: #b3b3b3; - background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; -} -.chzn-container-single .chzn-drop { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; +.chosen-container-single .chosen-single { + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; + border: 1px solid #cccccc; + display: block; + overflow: hidden; + white-space: nowrap; + position: relative; + height: 29px; + line-height: 29px; + padding: 0 7px; + color: #8c8c8c; + text-decoration: none; +} +.chosen-container-single .chosen-single span { + margin-right: 26px; + display: block; + overflow: hidden; + white-space: nowrap; + -o-text-overflow: ellipsis; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.chosen-container-single .chosen-single abbr { + display: block; + position: absolute; + right: 26px; + top: 8px; + width: 12px; + height: 12px; + font-size: 1px; + background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; +} +.chosen-container-single .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-single div { + position: absolute; + right: 3px; + top: 3px; + display: block; + height: 100%; + width: 18px; +} +.chosen-container-single .chosen-single div b { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat 0px 2px; + display: block; + width: 100%; + height: 100%; +} +.chosen-container-single .chosen-default { + color: #999; +} +.chosen-container-single.chosen-disabled .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-search { + padding: 3px 0 3px 6px; + position: relative; + margin: 0; + white-space: nowrap; + z-index: 1010; +} +.chosen-container-single .chosen-search input { + width: 99% !important; + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; + margin: 1px 0; + padding: 3px !important; + outline: 0; + border: 1px solid #cccccc; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container-single .chosen-search input:focus { + border-color: #b3b3b3; + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; +} +.chosen-container-single .chosen-drop { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; } /* @end */ -.chzn-container-single-nosearch .chzn-search input { - position: absolute; - left: -9000px; +.chosen-container-single-nosearch .chosen-search input { + position: absolute; + left: -9000px; } /* @group Multi Chosen */ -.chzn-container-multi .chzn-choices { - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; - border: 1px solid #cccccc; - margin: 0; - padding: 0; - cursor: text; - overflow: hidden; - height: auto !important; - height: 1%; - position: relative; -} -.chzn-container-multi .chzn-choices li { - float: left; - list-style: none; -} -.chzn-container-multi .chzn-choices .search-field { - white-space: nowrap; - margin: 0; - padding: 0; -} -.chzn-container-multi .chzn-choices .search-field input { - width: 100% !important; - color: #8c8c8c; - background: transparent !important; - border: 0 !important; - font-family: sans-serif; - font-size: 100%; - height: 15px; - padding: 5px; - margin: 1px 0; - outline: 0; -} -.chzn-container-multi .chzn-choices .search-field .default { - color: #999; -} -.chzn-container-multi .chzn-choices .search-choice { - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - background: #FFF; - border: 1px solid #cccccc; - color: #8c8c8c; - line-height: 13px; - padding: 4px 20px 4px 5px; - margin: 3px 0 3px 5px; - position: relative; - cursor: default; -} -.chzn-container-multi .chzn-choices .search-choice.search-choice-disabled { - background-color: #e4e4e4; - color: #666; - border: 1px solid #cccccc; - padding-right: 5px; -} -.chzn-container-multi .chzn-choices .search-choice .search-choice-close { - display: block; - position: absolute; - right: 3px; - top: 4px; - width: 12px; - height: 12px; - font-size: 1px; - background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; -} -.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover { - background-position: -42px -10px; -} -.chzn-container-multi .chzn-choices .search-choice-focus { - background: #d4d4d4; -} -.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close { - background-position: -42px -10px; +.chosen-container-multi .chosen-choices { + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; + border: 1px solid #cccccc; + margin: 0; + padding: 0; + cursor: text; + overflow: hidden; + height: auto !important; + height: 1%; + position: relative; +} +.chosen-container-multi .chosen-choices li { + float: left; + list-style: none; +} +.chosen-container-multi .chosen-choices .search-field { + white-space: nowrap; + margin: 0; + padding: 0; +} +.chosen-container-multi .chosen-choices .search-field input { + width: 100% !important; + color: #8c8c8c; + background: transparent !important; + border: 0 !important; + font-family: sans-serif; + font-size: 100%; + height: 15px; + padding: 5px; + margin: 1px 0; + outline: 0; +} +.chosen-container-multi .chosen-choices .search-field .default { + color: #999; +} +.chosen-container-multi .chosen-choices .search-choice { + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + background: #FFF; + border: 1px solid #cccccc; + color: #8c8c8c; + line-height: 13px; + padding: 4px 20px 4px 5px; + margin: 3px 0 3px 5px; + position: relative; + cursor: default; +} +.chosen-container-multi .chosen-choices .search-choice.search-choice-disabled { + background-color: #e4e4e4; + color: #666; + border: 1px solid #cccccc; + padding-right: 5px; +} +.chosen-container-multi .chosen-choices .search-choice .search-choice-close { + display: block; + position: absolute; + right: 3px; + top: 4px; + width: 12px; + height: 12px; + font-size: 1px; + background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; +} +.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover { + background-position: -42px -10px; +} +.chosen-container-multi .chosen-choices .search-choice-focus { + background: #d4d4d4; +} +.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close { + background-position: -42px -10px; } /* @end */ /* @group Results */ -.chzn-container .chzn-results { - margin: 0 0 4px 0; - max-height: 240px; - padding: 0; - position: relative; - overflow-x: hidden; - overflow-y: auto; - -webkit-overflow-scrolling: touch; -} -.chzn-container .chzn-results li { - display: none; - line-height: 15px; - padding: 5px 12px; - margin: 0; - list-style: none; - color: #333333; -} -.chzn-container .chzn-results .active-result { - cursor: pointer; - display: list-item; -} -.chzn-container .chzn-results .highlighted { - background-color: #74abc9; - background-image: -moz-linear-gradient(top, #7bafcc, #69a4c5); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#7bafcc), to(#69a4c5)); - background-image: -webkit-linear-gradient(top, #7bafcc, #69a4c5); - background-image: -o-linear-gradient(top, #7bafcc, #69a4c5); - background-image: linear-gradient(to bottom, #7bafcc, #69a4c5); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bafcc', endColorstr='#ff69a4c5', GradientType=0); - color: #ffffff; -} -.chzn-container .chzn-results li em { - background: #feffde; - font-style: normal; -} -.chzn-container .chzn-results .highlighted em { - background: transparent; -} -.chzn-container .chzn-results .no-results { - background: #f4f4f4; - display: list-item; -} -.chzn-container .chzn-results .group-result { - cursor: default; - color: #999; - font-weight: bold; -} -.chzn-container .chzn-results .group-option { - padding-left: 15px; -} -.chzn-container .chzn-results-scroll { - background: white; - margin: 0 4px; - position: absolute; - text-align: center; - width: 321px; - /* This should by dynamic with js */ - - z-index: 1; -} -.chzn-container .chzn-results-scroll span { - display: inline-block; - height: 17px; - text-indent: -5000px; - width: 9px; -} -.chzn-container .chzn-results-scroll-down { - bottom: 0; -} -.chzn-container .chzn-results-scroll-down span { - background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -4px -3px; -} -.chzn-container .chzn-results-scroll-up span { - background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -22px -3px; -} -.chzn-container-multi .chzn-results { - margin: -1px 0 0; - padding: 0; -} -.chzn-container-multi .chzn-drop .result-selected { - display: none; +.chosen-container .chosen-results { + margin: 0 0 4px 0; + max-height: 240px; + padding: 0; + position: relative; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} +.chosen-container .chosen-results li { + display: none; + line-height: 15px; + padding: 5px 12px; + margin: 0; + list-style: none; + color: #333333; +} +.chosen-container .chosen-results .active-result { + cursor: pointer; + display: list-item; +} +.chosen-container .chosen-results .highlighted { + background-color: #74abc9; + background-image: -moz-linear-gradient(top, #7bafcc, #69a4c5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#7bafcc), to(#69a4c5)); + background-image: -webkit-linear-gradient(top, #7bafcc, #69a4c5); + background-image: -o-linear-gradient(top, #7bafcc, #69a4c5); + background-image: linear-gradient(to bottom, #7bafcc, #69a4c5); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bafcc', endColorstr='#ff69a4c5', GradientType=0); + color: #ffffff; +} +.chosen-container .chosen-results li em { + background: #feffde; + font-style: normal; +} +.chosen-container .chosen-results .highlighted em { + background: transparent; +} +.chosen-container .chosen-results .no-results { + background: #f4f4f4; + display: list-item; +} +.chosen-container .chosen-results .group-result { + cursor: default; + color: #999; + font-weight: bold; + display: block; +} +.chosen-container .chosen-results .group-option { + padding-left: 15px; +} +.chosen-container .chosen-results-scroll { + background: white; + margin: 0 4px; + position: absolute; + text-align: center; + width: 321px; + /* This should by dynamic with js */ + z-index: 1; +} +.chosen-container .chosen-results-scroll span { + display: inline-block; + height: 17px; + text-indent: -5000px; + width: 9px; +} +.chosen-container .chosen-results-scroll-down { + bottom: 0; +} +.chosen-container .chosen-results-scroll-down span { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -4px -3px; +} +.chosen-container .chosen-results-scroll-up span { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -22px -3px; +} +.chosen-container-multi .chosen-results { + margin: -1px 0 0; + padding: 0; +} +.chosen-container-multi .chosen-drop .result-selected { + display: none; } /* @end */ /* @group Active */ -.chzn-container-active .chzn-single { - border: 1px solid #b3b3b3; -} -.chzn-container-active .chzn-single-with-drop { - border: 1px solid #b3b3b3; - background-color: #ffffff; - -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); - box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); -} -.chzn-container-active .chzn-single-with-drop div { - background: transparent; - border-left: none; -} -.chzn-container-active .chzn-single-with-drop div b { - background-position: -18px 2px; -} -.chzn-container-active .chzn-choices { - border: 1px solid #b3b3b3; - background-color: #ffffff; - -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); - box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); +.chosen-container-active .chosen-single { + border: 1px solid #b3b3b3; +} +.chosen-container-active .chosen-single-with-drop { + border: 1px solid #b3b3b3; + background-color: #ffffff; + -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); +} +.chosen-container-active .chosen-single-with-drop div { + background: transparent; + border-left: none; +} +.chosen-container-active .chosen-single-with-drop div b { + background-position: -18px 2px; +} +.chosen-container-active .chosen-choices { + border: 1px solid #b3b3b3; + background-color: #ffffff; + -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); } /* @end */ /* @group Disabled Support */ -.chzn-disabled { - cursor: default; - opacity: 0.5 !important; +.chosen-disabled { + cursor: default; + opacity: 0.5 !important; } -.chzn-disabled .chzn-single { - cursor: default; +.chosen-disabled .chosen-single { + cursor: default; } -.chzn-disabled .chzn-choices .search-choice .search-choice-close { - cursor: default; +.chosen-disabled .chosen-choices .search-choice .search-choice-close { + cursor: default; } /* @group Right to Left */ -.chzn-rtl { - text-align: right; +.chosen-rtl { + text-align: right; } -.chzn-rtl .chzn-single { - padding: 0 8px 0 0; - overflow: visible; +.chosen-rtl .chosen-single { + padding: 0 8px 0 0; + overflow: visible; } -.chzn-rtl .chzn-single span { - margin-left: 26px; - margin-right: 0; - direction: rtl; +.chosen-rtl .chosen-single span { + margin-left: 26px; + margin-right: 0; + direction: rtl; } -.chzn-rtl .chzn-single div { - left: 3px; - right: auto; +.chosen-rtl .chosen-single div { + left: 3px; + right: auto; } -.chzn-rtl .chzn-single abbr { - left: 26px; - right: auto; +.chosen-rtl .chosen-single abbr { + left: 26px; + right: auto; } -.chzn-rtl .chzn-choices .search-field input { - direction: rtl; +.chosen-rtl .chosen-choices .search-field input { + direction: rtl; } -.chzn-rtl .chzn-choices li { - float: right; +.chosen-rtl .chosen-choices li { + float: right; } -.chzn-rtl .chzn-choices .search-choice { - padding: 3px 5px 3px 19px; - margin: 3px 5px 3px 0; +.chosen-rtl .chosen-choices .search-choice { + padding: 3px 5px 3px 19px; + margin: 3px 5px 3px 0; } -.chzn-rtl .chzn-choices .search-choice .search-choice-close { - left: 4px; - right: auto; +.chosen-rtl .chosen-choices .search-choice .search-choice-close { + left: 4px; + right: auto; } -.chzn-rtl.chzn-container-single .chzn-results { - margin: 0 0 4px 4px; - padding: 0 4px 0 0; +.chosen-rtl.chosen-container-single .chosen-results { + margin: 0 0 4px 4px; + padding: 0 4px 0 0; } -.chzn-rtl .chzn-results .group-option { - padding-left: 0; - padding-right: 15px; +.chosen-rtl .chosen-results .group-option { + padding-left: 0; + padding-right: 15px; } -.chzn-rtl.chzn-container-active .chzn-single-with-drop div { - border-right: none; +.chosen-rtl.chosen-container-active .chosen-single-with-drop div { + border-right: none; } -.chzn-rtl .chzn-search input { - background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat -30px -20px; - padding: 4px 5px 4px 20px; - direction: rtl; +.chosen-rtl .chosen-search input { + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat -30px -20px; + padding: 4px 5px 4px 20px; + direction: rtl; } -.chzn-container-single.chzn-rtl .chzn-single div b { - background-position: 6px 2px; +.chosen-container-single.chosen-rtl .chosen-single div b { + background-position: 6px 2px; } -.chzn-container-single.chzn-rtl .chzn-single-with-drop div b { - background-position: -12px 2px; +.chosen-container-single.chosen-rtl .chosen-single-with-drop div b { + background-position: -12px 2px; } /* @end */ /* @group Retina compatibility */ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) { - .chzn-rtl .chzn-search input, - .chzn-container-single .chzn-single abbr, - .chzn-container-single .chzn-single div b, - .chzn-container-single .chzn-search input, - .chzn-container-multi .chzn-choices .search-choice .search-choice-close, - .chzn-container .chzn-results-scroll-down span, - .chzn-container .chzn-results-scroll-up span { - background-image: url('../../images/extras/chosen/chosen-sprite@2x.png') !important; - background-repeat: no-repeat !important; - background-size: 52px 37px !important; - } + .chosen-rtl .chosen-search input, + .chosen-container-single .chosen-single abbr, + .chosen-container-single .chosen-single div b, + .chosen-container-single .chosen-search input, + .chosen-container-multi .chosen-choices .search-choice .search-choice-close, + .chosen-container .chosen-results-scroll-down span, + .chosen-container .chosen-results-scroll-up span { + background-image: url('../../images/extras/chosen/chosen-sprite@2x.png') !important; + background-repeat: no-repeat !important; + background-size: 52px 37px !important; + } } -/* @end */ ul.tagit { - margin: 0; - padding: 1px 6px; - overflow: auto; - margin-left: inherit; - margin-right: inherit; - border-color: 1px solid #cccccc; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; + margin: 0; + padding: 1px 6px; + overflow: auto; + margin-left: inherit; + margin-right: inherit; + border-color: 1px solid #cccccc; + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; } ul.tagit li { - display: block; - float: left; - margin: 2px 6px 2px 0; + display: block; + float: left; + margin: 2px 6px 2px 0; } ul.tagit li.tagit-choice { - background: #FFF; - border: 1px solid #cccccc; - font-weight: normal; - color: #8c8c8c; - line-height: 13px; - padding: 4px 20px 4px 5px; - position: relative; + background: #FFF; + border: 1px solid #cccccc; + font-weight: normal; + color: #8c8c8c; + line-height: 13px; + padding: 4px 20px 4px 5px; + position: relative; } ul.tagit li.tagit-new { - padding: .25em 4px .25em 0; + padding: .25em 4px .25em 0; } ul.tagit li.tagit-choice a.tagit-label { - cursor: pointer; - text-decoration: none; + cursor: pointer; + text-decoration: none; } ul.tagit li.tagit-choice .tagit-close { - cursor: pointer; - position: absolute; - right: .1em; - top: 50%; - margin-top: -8px; + cursor: pointer; + position: absolute; + right: .1em; + top: 50%; + margin-top: -8px; } ul.tagit li.tagit-choice .tagit-close .text-icon { - display: none; + display: none; } ul.tagit li.tagit-choice input { - display: block; - float: left; - margin: 0; + display: block; + float: left; + margin: 0; } ul.tagit input[type="text"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - font-size: 14px; - line-height: 15px; - color: #8c8c8c; - border: none; - margin: 0; - padding: 0 !important; - width: inherit; - background-color: inherit; - outline: none; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + font-size: 14px; + line-height: 15px; + color: #8c8c8c; + border: none; + margin: 0; + padding: 0 !important; + width: inherit; + background-color: inherit; + outline: none; } /* * jQuery UI CSS Framework @@ -510,73 +538,73 @@ ul.tagit input[type="text"] { /* Layout helpers ----------------------------------*/ .ui-helper-hidden { - display: none; + display: none; } .ui-helper-hidden-accessible { - position: absolute !important; - clip: rect(1px 1px 1px 1px); - clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; + clip: rect(1px 1px 1px 1px); + clip: rect(1px, 1px, 1px, 1px); } .ui-helper-reset { - margin: 0; - padding: 0; - border: 0; - outline: 0; - line-height: 1.3; - text-decoration: none; - font-size: 100%; - list-style: none; + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; } .ui-helper-clearfix:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; } .ui-helper-clearfix { - display: inline-block; + display: inline-block; } /* required comment for clearfix to work in Opera \*/ * html .ui-helper-clearfix { - height: 1%; + height: 1%; } .ui-helper-clearfix { - display: block; + display: block; } /* end clearfix */ .ui-helper-zfix { - width: 100%; - height: 100%; - top: 0; - left: 0; - position: absolute; - opacity: 0; - filter: alpha(opacity=0); + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter: alpha(opacity=0); } /* Interaction Cues ----------------------------------*/ .ui-state-disabled { - cursor: default !important; + cursor: default !important; } /* Icons ----------------------------------*/ /* states and images */ .ui-icon { - display: block; - text-indent: -99999px; - overflow: hidden; - background-repeat: no-repeat; + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; } /* Misc visuals ----------------------------------*/ /* Overlays */ .ui-widget-overlay { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; } /* * jQuery UI CSS Framework 1.8.16 @@ -592,609 +620,609 @@ ul.tagit input[type="text"] { /* Component containers ----------------------------------*/ .ui-widget { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; } .ui-widget .ui-widget { - font-size: 1em; + font-size: 1em; } .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; } .ui-widget-content { - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; + border: 1px solid #dddddd; + background: #ffffff; + color: #444444; } .ui-widget-content a { - color: #444444; + color: #444444; } .ui-widget-header { - border: 1px solid #dddddd; - background: #dddddd; - color: #444444; - font-weight: bold; + border: 1px solid #dddddd; + background: #dddddd; + color: #444444; + font-weight: bold; } .ui-widget-header a { - color: #444444; + color: #444444; } /* Interaction Cues ----------------------------------*/ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { - border: 1px solid #cccccc; - background: #ffffff; - color: #444444; + border: 1px solid #cccccc; + background: #ffffff; + color: #444444; } .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a { - color: #444444; + color: #444444; } .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { - border: 1px solid #ff0084; - background: #ffffff; - color: #222222; + border: 1px solid #ff0084; + background: #ffffff; + color: #222222; } .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { - color: #222222; + color: #222222; } .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { - color: #222222; + color: #222222; } .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { - font-weight: normal; + font-weight: normal; } .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { - opacity: .7; - filter: alpha(opacity=70); - font-weight: normal; + opacity: .7; + filter: alpha(opacity=70); + font-weight: normal; } .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { - opacity: .35; - filter: alpha(opacity=35); - background-image: none; + opacity: .35; + filter: alpha(opacity=35); + background-image: none; } /* positioning */ .ui-icon-carat-1-n { - background-position: 0 0; + background-position: 0 0; } .ui-icon-carat-1-ne { - background-position: -16px 0; + background-position: -16px 0; } .ui-icon-carat-1-e { - background-position: -32px 0; + background-position: -32px 0; } .ui-icon-carat-1-se { - background-position: -48px 0; + background-position: -48px 0; } .ui-icon-carat-1-s { - background-position: -64px 0; + background-position: -64px 0; } .ui-icon-carat-1-sw { - background-position: -80px 0; + background-position: -80px 0; } .ui-icon-carat-1-w { - background-position: -96px 0; + background-position: -96px 0; } .ui-icon-carat-1-nw { - background-position: -112px 0; + background-position: -112px 0; } .ui-icon-carat-2-n-s { - background-position: -128px 0; + background-position: -128px 0; } .ui-icon-carat-2-e-w { - background-position: -144px 0; + background-position: -144px 0; } .ui-icon-triangle-1-n { - background-position: 0 -16px; + background-position: 0 -16px; } .ui-icon-triangle-1-ne { - background-position: -16px -16px; + background-position: -16px -16px; } .ui-icon-triangle-1-e { - background-position: -32px -16px; + background-position: -32px -16px; } .ui-icon-triangle-1-se { - background-position: -48px -16px; + background-position: -48px -16px; } .ui-icon-triangle-1-s { - background-position: -64px -16px; + background-position: -64px -16px; } .ui-icon-triangle-1-sw { - background-position: -80px -16px; + background-position: -80px -16px; } .ui-icon-triangle-1-w { - background-position: -96px -16px; + background-position: -96px -16px; } .ui-icon-triangle-1-nw { - background-position: -112px -16px; + background-position: -112px -16px; } .ui-icon-triangle-2-n-s { - background-position: -128px -16px; + background-position: -128px -16px; } .ui-icon-triangle-2-e-w { - background-position: -144px -16px; + background-position: -144px -16px; } .ui-icon-arrow-1-n { - background-position: 0 -32px; + background-position: 0 -32px; } .ui-icon-arrow-1-ne { - background-position: -16px -32px; + background-position: -16px -32px; } .ui-icon-arrow-1-e { - background-position: -32px -32px; + background-position: -32px -32px; } .ui-icon-arrow-1-se { - background-position: -48px -32px; + background-position: -48px -32px; } .ui-icon-arrow-1-s { - background-position: -64px -32px; + background-position: -64px -32px; } .ui-icon-arrow-1-sw { - background-position: -80px -32px; + background-position: -80px -32px; } .ui-icon-arrow-1-w { - background-position: -96px -32px; + background-position: -96px -32px; } .ui-icon-arrow-1-nw { - background-position: -112px -32px; + background-position: -112px -32px; } .ui-icon-arrow-2-n-s { - background-position: -128px -32px; + background-position: -128px -32px; } .ui-icon-arrow-2-ne-sw { - background-position: -144px -32px; + background-position: -144px -32px; } .ui-icon-arrow-2-e-w { - background-position: -160px -32px; + background-position: -160px -32px; } .ui-icon-arrow-2-se-nw { - background-position: -176px -32px; + background-position: -176px -32px; } .ui-icon-arrowstop-1-n { - background-position: -192px -32px; + background-position: -192px -32px; } .ui-icon-arrowstop-1-e { - background-position: -208px -32px; + background-position: -208px -32px; } .ui-icon-arrowstop-1-s { - background-position: -224px -32px; + background-position: -224px -32px; } .ui-icon-arrowstop-1-w { - background-position: -240px -32px; + background-position: -240px -32px; } .ui-icon-arrowthick-1-n { - background-position: 0 -48px; + background-position: 0 -48px; } .ui-icon-arrowthick-1-ne { - background-position: -16px -48px; + background-position: -16px -48px; } .ui-icon-arrowthick-1-e { - background-position: -32px -48px; + background-position: -32px -48px; } .ui-icon-arrowthick-1-se { - background-position: -48px -48px; + background-position: -48px -48px; } .ui-icon-arrowthick-1-s { - background-position: -64px -48px; + background-position: -64px -48px; } .ui-icon-arrowthick-1-sw { - background-position: -80px -48px; + background-position: -80px -48px; } .ui-icon-arrowthick-1-w { - background-position: -96px -48px; + background-position: -96px -48px; } .ui-icon-arrowthick-1-nw { - background-position: -112px -48px; + background-position: -112px -48px; } .ui-icon-arrowthick-2-n-s { - background-position: -128px -48px; + background-position: -128px -48px; } .ui-icon-arrowthick-2-ne-sw { - background-position: -144px -48px; + background-position: -144px -48px; } .ui-icon-arrowthick-2-e-w { - background-position: -160px -48px; + background-position: -160px -48px; } .ui-icon-arrowthick-2-se-nw { - background-position: -176px -48px; + background-position: -176px -48px; } .ui-icon-arrowthickstop-1-n { - background-position: -192px -48px; + background-position: -192px -48px; } .ui-icon-arrowthickstop-1-e { - background-position: -208px -48px; + background-position: -208px -48px; } .ui-icon-arrowthickstop-1-s { - background-position: -224px -48px; + background-position: -224px -48px; } .ui-icon-arrowthickstop-1-w { - background-position: -240px -48px; + background-position: -240px -48px; } .ui-icon-arrowreturnthick-1-w { - background-position: 0 -64px; + background-position: 0 -64px; } .ui-icon-arrowreturnthick-1-n { - background-position: -16px -64px; + background-position: -16px -64px; } .ui-icon-arrowreturnthick-1-e { - background-position: -32px -64px; + background-position: -32px -64px; } .ui-icon-arrowreturnthick-1-s { - background-position: -48px -64px; + background-position: -48px -64px; } .ui-icon-arrowreturn-1-w { - background-position: -64px -64px; + background-position: -64px -64px; } .ui-icon-arrowreturn-1-n { - background-position: -80px -64px; + background-position: -80px -64px; } .ui-icon-arrowreturn-1-e { - background-position: -96px -64px; + background-position: -96px -64px; } .ui-icon-arrowreturn-1-s { - background-position: -112px -64px; + background-position: -112px -64px; } .ui-icon-arrowrefresh-1-w { - background-position: -128px -64px; + background-position: -128px -64px; } .ui-icon-arrowrefresh-1-n { - background-position: -144px -64px; + background-position: -144px -64px; } .ui-icon-arrowrefresh-1-e { - background-position: -160px -64px; + background-position: -160px -64px; } .ui-icon-arrowrefresh-1-s { - background-position: -176px -64px; + background-position: -176px -64px; } .ui-icon-arrow-4 { - background-position: 0 -80px; + background-position: 0 -80px; } .ui-icon-arrow-4-diag { - background-position: -16px -80px; + background-position: -16px -80px; } .ui-icon-extlink { - background-position: -32px -80px; + background-position: -32px -80px; } .ui-icon-newwin { - background-position: -48px -80px; + background-position: -48px -80px; } .ui-icon-refresh { - background-position: -64px -80px; + background-position: -64px -80px; } .ui-icon-shuffle { - background-position: -80px -80px; + background-position: -80px -80px; } .ui-icon-transfer-e-w { - background-position: -96px -80px; + background-position: -96px -80px; } .ui-icon-transferthick-e-w { - background-position: -112px -80px; + background-position: -112px -80px; } .ui-icon-folder-collapsed { - background-position: 0 -96px; + background-position: 0 -96px; } .ui-icon-folder-open { - background-position: -16px -96px; + background-position: -16px -96px; } .ui-icon-document { - background-position: -32px -96px; + background-position: -32px -96px; } .ui-icon-document-b { - background-position: -48px -96px; + background-position: -48px -96px; } .ui-icon-note { - background-position: -64px -96px; + background-position: -64px -96px; } .ui-icon-mail-closed { - background-position: -80px -96px; + background-position: -80px -96px; } .ui-icon-mail-open { - background-position: -96px -96px; + background-position: -96px -96px; } .ui-icon-suitcase { - background-position: -112px -96px; + background-position: -112px -96px; } .ui-icon-comment { - background-position: -128px -96px; + background-position: -128px -96px; } .ui-icon-person { - background-position: -144px -96px; + background-position: -144px -96px; } .ui-icon-print { - background-position: -160px -96px; + background-position: -160px -96px; } .ui-icon-trash { - background-position: -176px -96px; + background-position: -176px -96px; } .ui-icon-locked { - background-position: -192px -96px; + background-position: -192px -96px; } .ui-icon-unlocked { - background-position: -208px -96px; + background-position: -208px -96px; } .ui-icon-bookmark { - background-position: -224px -96px; + background-position: -224px -96px; } .ui-icon-tag { - background-position: -240px -96px; + background-position: -240px -96px; } .ui-icon-home { - background-position: 0 -112px; + background-position: 0 -112px; } .ui-icon-flag { - background-position: -16px -112px; + background-position: -16px -112px; } .ui-icon-calendar { - background-position: -32px -112px; + background-position: -32px -112px; } .ui-icon-cart { - background-position: -48px -112px; + background-position: -48px -112px; } .ui-icon-pencil { - background-position: -64px -112px; + background-position: -64px -112px; } .ui-icon-clock { - background-position: -80px -112px; + background-position: -80px -112px; } .ui-icon-disk { - background-position: -96px -112px; + background-position: -96px -112px; } .ui-icon-calculator { - background-position: -112px -112px; + background-position: -112px -112px; } .ui-icon-zoomin { - background-position: -128px -112px; + background-position: -128px -112px; } .ui-icon-zoomout { - background-position: -144px -112px; + background-position: -144px -112px; } .ui-icon-search { - background-position: -160px -112px; + background-position: -160px -112px; } .ui-icon-wrench { - background-position: -176px -112px; + background-position: -176px -112px; } .ui-icon-gear { - background-position: -192px -112px; + background-position: -192px -112px; } .ui-icon-heart { - background-position: -208px -112px; + background-position: -208px -112px; } .ui-icon-star { - background-position: -224px -112px; + background-position: -224px -112px; } .ui-icon-link { - background-position: -240px -112px; + background-position: -240px -112px; } .ui-icon-cancel { - background-position: 0 -128px; + background-position: 0 -128px; } .ui-icon-plus { - background-position: -16px -128px; + background-position: -16px -128px; } .ui-icon-plusthick { - background-position: -32px -128px; + background-position: -32px -128px; } .ui-icon-minus { - background-position: -48px -128px; + background-position: -48px -128px; } .ui-icon-minusthick { - background-position: -64px -128px; + background-position: -64px -128px; } .ui-icon-close { - background-position: -80px -128px; + background-position: -80px -128px; } .ui-icon-closethick { - background-position: -96px -128px; + background-position: -96px -128px; } .ui-icon-key { - background-position: -112px -128px; + background-position: -112px -128px; } .ui-icon-lightbulb { - background-position: -128px -128px; + background-position: -128px -128px; } .ui-icon-scissors { - background-position: -144px -128px; + background-position: -144px -128px; } .ui-icon-clipboard { - background-position: -160px -128px; + background-position: -160px -128px; } .ui-icon-copy { - background-position: -176px -128px; + background-position: -176px -128px; } .ui-icon-contact { - background-position: -192px -128px; + background-position: -192px -128px; } .ui-icon-image { - background-position: -208px -128px; + background-position: -208px -128px; } .ui-icon-video { - background-position: -224px -128px; + background-position: -224px -128px; } .ui-icon-script { - background-position: -240px -128px; + background-position: -240px -128px; } .ui-icon-alert { - background-position: 0 -144px; + background-position: 0 -144px; } .ui-icon-info { - background-position: -16px -144px; + background-position: -16px -144px; } .ui-icon-notice { - background-position: -32px -144px; + background-position: -32px -144px; } .ui-icon-help { - background-position: -48px -144px; + background-position: -48px -144px; } .ui-icon-check { - background-position: -64px -144px; + background-position: -64px -144px; } .ui-icon-bullet { - background-position: -80px -144px; + background-position: -80px -144px; } .ui-icon-radio-off { - background-position: -96px -144px; + background-position: -96px -144px; } .ui-icon-radio-on { - background-position: -112px -144px; + background-position: -112px -144px; } .ui-icon-pin-w { - background-position: -128px -144px; + background-position: -128px -144px; } .ui-icon-pin-s { - background-position: -144px -144px; + background-position: -144px -144px; } .ui-icon-play { - background-position: 0 -160px; + background-position: 0 -160px; } .ui-icon-pause { - background-position: -16px -160px; + background-position: -16px -160px; } .ui-icon-seek-next { - background-position: -32px -160px; + background-position: -32px -160px; } .ui-icon-seek-prev { - background-position: -48px -160px; + background-position: -48px -160px; } .ui-icon-seek-end { - background-position: -64px -160px; + background-position: -64px -160px; } .ui-icon-seek-start { - background-position: -80px -160px; + background-position: -80px -160px; } /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ .ui-icon-seek-first { - background-position: -80px -160px; + background-position: -80px -160px; } .ui-icon-stop { - background-position: -96px -160px; + background-position: -96px -160px; } .ui-icon-eject { - background-position: -112px -160px; + background-position: -112px -160px; } .ui-icon-volume-off { - background-position: -128px -160px; + background-position: -128px -160px; } .ui-icon-volume-on { - background-position: -144px -160px; + background-position: -144px -160px; } .ui-icon-power { - background-position: 0 -176px; + background-position: 0 -176px; } .ui-icon-signal-diag { - background-position: -16px -176px; + background-position: -16px -176px; } .ui-icon-signal { - background-position: -32px -176px; + background-position: -32px -176px; } .ui-icon-battery-0 { - background-position: -48px -176px; + background-position: -48px -176px; } .ui-icon-battery-1 { - background-position: -64px -176px; + background-position: -64px -176px; } .ui-icon-battery-2 { - background-position: -80px -176px; + background-position: -80px -176px; } .ui-icon-battery-3 { - background-position: -96px -176px; + background-position: -96px -176px; } .ui-icon-circle-plus { - background-position: 0 -192px; + background-position: 0 -192px; } .ui-icon-circle-minus { - background-position: -16px -192px; + background-position: -16px -192px; } .ui-icon-circle-close { - background-position: -32px -192px; + background-position: -32px -192px; } .ui-icon-circle-triangle-e { - background-position: -48px -192px; + background-position: -48px -192px; } .ui-icon-circle-triangle-s { - background-position: -64px -192px; + background-position: -64px -192px; } .ui-icon-circle-triangle-w { - background-position: -80px -192px; + background-position: -80px -192px; } .ui-icon-circle-triangle-n { - background-position: -96px -192px; + background-position: -96px -192px; } .ui-icon-circle-arrow-e { - background-position: -112px -192px; + background-position: -112px -192px; } .ui-icon-circle-arrow-s { - background-position: -128px -192px; + background-position: -128px -192px; } .ui-icon-circle-arrow-w { - background-position: -144px -192px; + background-position: -144px -192px; } .ui-icon-circle-arrow-n { - background-position: -160px -192px; + background-position: -160px -192px; } .ui-icon-circle-zoomin { - background-position: -176px -192px; + background-position: -176px -192px; } .ui-icon-circle-zoomout { - background-position: -192px -192px; + background-position: -192px -192px; } .ui-icon-circle-check { - background-position: -208px -192px; + background-position: -208px -192px; } .ui-icon-circlesmall-plus { - background-position: 0 -208px; + background-position: 0 -208px; } .ui-icon-circlesmall-minus { - background-position: -16px -208px; + background-position: -16px -208px; } .ui-icon-circlesmall-close { - background-position: -32px -208px; + background-position: -32px -208px; } .ui-icon-squaresmall-plus { - background-position: -48px -208px; + background-position: -48px -208px; } .ui-icon-squaresmall-minus { - background-position: -64px -208px; + background-position: -64px -208px; } .ui-icon-squaresmall-close { - background-position: -80px -208px; + background-position: -80px -208px; } .ui-icon-grip-dotted-vertical { - background-position: 0 -224px; + background-position: 0 -224px; } .ui-icon-grip-dotted-horizontal { - background-position: -16px -224px; + background-position: -16px -224px; } .ui-icon-grip-solid-vertical { - background-position: -32px -224px; + background-position: -32px -224px; } .ui-icon-grip-solid-horizontal { - background-position: -48px -224px; + background-position: -48px -224px; } .ui-icon-gripsmall-diagonal-se { - background-position: -64px -224px; + background-position: -64px -224px; } .ui-icon-grip-diagonal-se { - background-position: -80px -224px; + background-position: -80px -224px; } /* Misc visuals ----------------------------------*/ @@ -1203,54 +1231,54 @@ ul.tagit input[type="text"] { .ui-corner-top, .ui-corner-left, .ui-corner-tl { - -moz-border-radius-topleft: 0; - -webkit-border-top-left-radius: 0; - -khtml-border-top-left-radius: 0; - border-top-left-radius: 0; + -moz-border-radius-topleft: 0; + -webkit-border-top-left-radius: 0; + -khtml-border-top-left-radius: 0; + border-top-left-radius: 0; } .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { - -moz-border-radius-topright: 0; - -webkit-border-top-right-radius: 0; - -khtml-border-top-right-radius: 0; - border-top-right-radius: 0; + -moz-border-radius-topright: 0; + -webkit-border-top-right-radius: 0; + -khtml-border-top-right-radius: 0; + border-top-right-radius: 0; } .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { - -moz-border-radius-bottomleft: 0; - -webkit-border-bottom-left-radius: 0; - -khtml-border-bottom-left-radius: 0; - border-bottom-left-radius: 0; + -moz-border-radius-bottomleft: 0; + -webkit-border-bottom-left-radius: 0; + -khtml-border-bottom-left-radius: 0; + border-bottom-left-radius: 0; } .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { - -moz-border-radius-bottomright: 0; - -webkit-border-bottom-right-radius: 0; - -khtml-border-bottom-right-radius: 0; - border-bottom-right-radius: 0; + -moz-border-radius-bottomright: 0; + -webkit-border-bottom-right-radius: 0; + -khtml-border-bottom-right-radius: 0; + border-bottom-right-radius: 0; } /* Overlays */ .ui-widget-overlay { - background: #eeeeee; - opacity: .80; - filter: alpha(opacity=80); + background: #eeeeee; + opacity: .80; + filter: alpha(opacity=80); } .ui-widget-shadow { - margin: -4px 0 0 -4px; - padding: 4px; - background: #aaaaaa; - opacity: .60; - filter: alpha(opacity=60); - -moz-border-radius: 0px; - -khtml-border-radius: 0px; - -webkit-border-radius: 0px; - border-radius: 0px; + margin: -4px 0 0 -4px; + padding: 4px; + background: #aaaaaa; + opacity: .60; + filter: alpha(opacity=60); + -moz-border-radius: 0px; + -khtml-border-radius: 0px; + -webkit-border-radius: 0px; + border-radius: 0px; } /* * jQuery UI Resizable 1.8.16 @@ -1262,73 +1290,73 @@ ul.tagit input[type="text"] { * http://docs.jquery.com/UI/Resizable#theming */ .ui-resizable { - position: relative; + position: relative; } .ui-resizable-handle { - position: absolute; - font-size: 0.1px; - z-index: 99999; - display: block; + position: absolute; + font-size: 0.1px; + z-index: 99999; + display: block; } .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { - display: none; + display: none; } .ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; } .ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; } .ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; } .ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; } .ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; } .ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; } .ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; } .ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; } /* * jQuery UI Selectable 1.8.16 @@ -1340,9 +1368,9 @@ ul.tagit input[type="text"] { * http://docs.jquery.com/UI/Selectable#theming */ .ui-selectable-helper { - position: absolute; - z-index: 100; - border: 1px dotted black; + position: absolute; + z-index: 100; + border: 1px dotted black; } /* * jQuery UI Accordion 1.8.16 @@ -1355,47 +1383,47 @@ ul.tagit input[type="text"] { */ /* IE/Win - Fix animation bug - #4615 */ .ui-accordion { - width: 100%; + width: 100%; } .ui-accordion .ui-accordion-header { - cursor: pointer; - position: relative; - margin-top: 1px; - zoom: 1; + cursor: pointer; + position: relative; + margin-top: 1px; + zoom: 1; } .ui-accordion .ui-accordion-li-fix { - display: inline; + display: inline; } .ui-accordion .ui-accordion-header-active { - border-bottom: 0 !important; + border-bottom: 0 !important; } .ui-accordion .ui-accordion-header a { - display: block; - font-size: 1em; - padding: .5em .5em .5em .7em; + display: block; + font-size: 1em; + padding: .5em .5em .5em .7em; } .ui-accordion-icons .ui-accordion-header a { - padding-left: 2.2em; + padding-left: 2.2em; } .ui-accordion .ui-accordion-header .ui-icon { - position: absolute; - left: 2px; - top: 50%; - margin-top: -8px; + position: absolute; + left: 2px; + top: 50%; + margin-top: -8px; } .ui-accordion .ui-accordion-content { - padding: 1em 2.2em; - border-top: 0; - margin-top: -2px; - position: relative; - top: 1px; - margin-bottom: 2px; - overflow: auto; - display: none; - zoom: 1; + padding: 1em 2.2em; + border-top: 0; + margin-top: -2px; + position: relative; + top: 1px; + margin-bottom: 2px; + overflow: auto; + display: none; + zoom: 1; } .ui-accordion .ui-accordion-content-active { - display: block; + display: block; } /* * jQuery UI Autocomplete 1.8.16 @@ -1407,12 +1435,12 @@ ul.tagit input[type="text"] { * http://docs.jquery.com/UI/Autocomplete#theming */ .ui-autocomplete { - position: absolute; - cursor: default; + position: absolute; + cursor: default; } /* workarounds */ * html .ui-autocomplete { - width: 1px; + width: 1px; } /* without this, the menu expands to 100% in IE6 */ /* @@ -1425,34 +1453,34 @@ ul.tagit input[type="text"] { * http://docs.jquery.com/UI/Menu#theming */ .ui-menu { - list-style: none; - padding: 2px; - margin: 0; - display: block; - float: left; + list-style: none; + padding: 2px; + margin: 0; + display: block; + float: left; } .ui-menu .ui-menu { - margin-top: -3px; + margin-top: -3px; } .ui-menu .ui-menu-item { - margin: 0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; + margin: 0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; } .ui-menu .ui-menu-item a { - text-decoration: none; - display: block; - padding: .2em .4em; - line-height: 1.5; - zoom: 1; + text-decoration: none; + display: block; + padding: .2em .4em; + line-height: 1.5; + zoom: 1; } .ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; + font-weight: normal; + margin: -1px; } /* * jQuery UI Button 1.8.16 @@ -1464,59 +1492,59 @@ ul.tagit input[type="text"] { * http://docs.jquery.com/UI/Button#theming */ .ui-button { - display: inline-block; - position: relative; - padding: 0; - margin-right: .1em; - text-decoration: none !important; - cursor: pointer; - text-align: center; - zoom: 1; - overflow: visible; + display: inline-block; + position: relative; + padding: 0; + margin-right: .1em; + text-decoration: none !important; + cursor: pointer; + text-align: center; + zoom: 1; + overflow: visible; } /* the overflow property removes extra width in IE */ .ui-button-icon-only { - width: 2.2em; + width: 2.2em; } /* to make room for the icon, a width needs to be set here */ button.ui-button-icon-only { - width: 2.4em; + width: 2.4em; } /* button elements seem to need a little more width */ .ui-button-icons-only { - width: 3.4em; + width: 3.4em; } button.ui-button-icons-only { - width: 3.7em; + width: 3.7em; } /*button text element */ .ui-button .ui-button-text { - display: block; - line-height: 1.4; + display: block; + line-height: 1.4; } .ui-button-text-only .ui-button-text { - padding: .4em 1em; + padding: .4em 1em; } .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { - padding: .4em; - text-indent: -9999999px; + padding: .4em; + text-indent: -9999999px; } .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { - padding: .4em 1em .4em 2.1em; + padding: .4em 1em .4em 2.1em; } .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { - padding: .4em 2.1em .4em 1em; + padding: .4em 2.1em .4em 1em; } .ui-button-text-icons .ui-button-text { - padding-left: 2.1em; - padding-right: 2.1em; + padding-left: 2.1em; + padding-right: 2.1em; } /* no icon support for input elements, provide padding by default */ input.ui-button { - padding: .4em 1em; + padding: .4em 1em; } /*button icon element(s) */ /*.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } @@ -1531,40 +1559,40 @@ input.ui-button { .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { - position: absolute; - top: 50%; - margin-top: -12px; + position: absolute; + top: 50%; + margin-top: -12px; } .ui-button-icon-only .ui-icon { - left: 50%; - margin-left: -12px; + left: 50%; + margin-left: -12px; } .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { - left: .35em; + left: .35em; } .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { - right: .35em; + right: .35em; } .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { - right: .35em; + right: .35em; } /*button sets*/ .ui-buttonset { - margin-right: 7px; + margin-right: 7px; } .ui-buttonset .ui-button { - margin-left: 0; - margin-right: -0.3em; + margin-left: 0; + margin-right: -0.3em; } /* workarounds */ button.ui-button::-moz-focus-inner { - border: 0; - padding: 0; + border: 0; + padding: 0; } /* reset extra padding in Firefox */ /* @@ -1577,66 +1605,66 @@ button.ui-button::-moz-focus-inner { * http://docs.jquery.com/UI/Dialog#theming */ .ui-dialog { - position: absolute; - padding: .2em; - width: 300px; - overflow: hidden; + position: absolute; + padding: .2em; + width: 300px; + overflow: hidden; } .ui-dialog .ui-dialog-titlebar { - padding: .4em 1em; - position: relative; + padding: .4em 1em; + position: relative; } .ui-dialog .ui-dialog-title { - float: left; - margin: .1em 16px .1em 0; + float: left; + margin: .1em 16px .1em 0; } .ui-dialog .ui-dialog-titlebar-close { - position: absolute; - right: .3em; - top: 50%; - width: 19px; - margin: -10px 0 0 0; - padding: 1px; - height: 18px; + position: absolute; + right: .3em; + top: 50%; + width: 19px; + margin: -10px 0 0 0; + padding: 1px; + height: 18px; } .ui-dialog .ui-dialog-titlebar-close span { - display: block; - margin: 1px; + display: block; + margin: 1px; } .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { - padding: 0; + padding: 0; } .ui-dialog .ui-dialog-content { - position: relative; - border: 0; - padding: .5em 1em; - background: none; - overflow: auto; - zoom: 1; + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; + zoom: 1; } .ui-dialog .ui-dialog-buttonpane { - text-align: left; - border-width: 1px 0 0 0; - background-image: none; - margin: .5em 0 0 0; - padding: .3em 1em .5em .4em; + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin: .5em 0 0 0; + padding: .3em 1em .5em .4em; } .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { - float: right; + float: right; } .ui-dialog .ui-dialog-buttonpane button { - margin: .5em .4em .5em 0; - cursor: pointer; + margin: .5em .4em .5em 0; + cursor: pointer; } .ui-dialog .ui-resizable-se { - width: 14px; - height: 14px; - right: 2px; - bottom: 2px; + width: 14px; + height: 14px; + right: 2px; + bottom: 2px; } .ui-draggable .ui-dialog-titlebar { - cursor: move; + cursor: move; } /* * jQuery UI Slider 1.8.16 @@ -1648,59 +1676,59 @@ button.ui-button::-moz-focus-inner { * http://docs.jquery.com/UI/Slider#theming */ .ui-slider { - position: relative; - text-align: left; + position: relative; + text-align: left; } .ui-slider .ui-slider-handle { - position: absolute; - z-index: 2; - width: 1.2em; - height: 1.2em; - cursor: default; + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; } .ui-slider .ui-slider-range { - position: absolute; - z-index: 1; - font-size: .7em; - display: block; - border: 0; - background-position: 0 0; + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; } .ui-slider-horizontal { - height: .8em; + height: .8em; } .ui-slider-horizontal .ui-slider-handle { - top: -0.3em; - margin-left: -0.6em; + top: -0.3em; + margin-left: -0.6em; } .ui-slider-horizontal .ui-slider-range { - top: 0; - height: 100%; + top: 0; + height: 100%; } .ui-slider-horizontal .ui-slider-range-min { - left: 0; + left: 0; } .ui-slider-horizontal .ui-slider-range-max { - right: 0; + right: 0; } .ui-slider-vertical { - width: .8em; - height: 100px; + width: .8em; + height: 100px; } .ui-slider-vertical .ui-slider-handle { - left: -0.3em; - margin-left: 0; - margin-bottom: -0.6em; + left: -0.3em; + margin-left: 0; + margin-bottom: -0.6em; } .ui-slider-vertical .ui-slider-range { - left: 0; - width: 100%; + left: 0; + width: 100%; } .ui-slider-vertical .ui-slider-range-min { - bottom: 0; + bottom: 0; } .ui-slider-vertical .ui-slider-range-max { - top: 0; + top: 0; } /* * jQuery UI Tabs 1.8.16 @@ -1712,52 +1740,52 @@ button.ui-button::-moz-focus-inner { * http://docs.jquery.com/UI/Tabs#theming */ .ui-tabs { - position: relative; - padding: .2em; - zoom: 1; + position: relative; + padding: .2em; + zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ .ui-tabs .ui-tabs-nav { - margin: 0; - padding: .2em .2em 0; + margin: 0; + padding: .2em .2em 0; } .ui-tabs .ui-tabs-nav li { - list-style: none; - float: left; - position: relative; - top: 1px; - margin: 0 .2em 1px 0; - border-bottom: 0 !important; - padding: 0; - white-space: nowrap; + list-style: none; + float: left; + position: relative; + top: 1px; + margin: 0 .2em 1px 0; + border-bottom: 0 !important; + padding: 0; + white-space: nowrap; } .ui-tabs .ui-tabs-nav li a { - float: left; - padding: .5em 1em; - text-decoration: none; + float: left; + padding: .5em 1em; + text-decoration: none; } .ui-tabs .ui-tabs-nav li.ui-tabs-selected { - margin-bottom: 0; - padding-bottom: 1px; + margin-bottom: 0; + padding-bottom: 1px; } .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { - cursor: text; + cursor: text; } .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { - cursor: pointer; + cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ .ui-tabs .ui-tabs-panel { - display: block; - border-width: 0; - padding: 1em 1.4em; - background: none; + display: block; + border-width: 0; + padding: 1em 1.4em; + background: none; } .ui-tabs .ui-tabs-hide { - display: none !important; + display: none !important; } /* * jQuery UI Datepicker 1.8.16 @@ -1769,189 +1797,194 @@ button.ui-button::-moz-focus-inner { * http://docs.jquery.com/UI/Datepicker#theming */ .ui-datepicker { - width: 17em; - padding: .2em .2em 0; - display: none; + width: 17em; + padding: .2em .2em 0; + display: none; } .ui-datepicker .ui-datepicker-header { - position: relative; - padding: .2em 0; + position: relative; + padding: .2em 0; } .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { - position: absolute; - top: 2px; - width: 1.8em; - height: 1.8em; + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; } .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { - top: 1px; + top: 1px; } .ui-datepicker .ui-datepicker-prev { - left: 2px; + left: 2px; } .ui-datepicker .ui-datepicker-next { - right: 2px; + right: 2px; } .ui-datepicker .ui-datepicker-prev-hover { - left: 1px; + left: 1px; } .ui-datepicker .ui-datepicker-next-hover { - right: 1px; + right: 1px; } .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { - display: block; - position: absolute; - left: 50%; - margin-left: -8px; - top: 50%; - margin-top: -8px; + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; } .ui-datepicker .ui-datepicker-title { - margin: 0 2.3em; - line-height: 1.8em; - text-align: center; + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; } .ui-datepicker .ui-datepicker-title select { - font-size: 1em; - margin: 1px 0; + font-size: 1em; + margin: 1px 0; } .ui-datepicker select.ui-datepicker-month-year { - width: 100%; + width: 100%; } .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { - width: 49%; + width: 49%; } .ui-datepicker table { - width: 100%; - font-size: .9em; - border-collapse: collapse; - margin: 0 0 .4em; + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; } .ui-datepicker th { - padding: .7em .3em; - text-align: center; - font-weight: normal; - border: 0; + padding: .7em .3em; + text-align: center; + font-weight: normal; + border: 0; } .ui-datepicker td { - border: 0; - padding: 1px; + border: 0; + padding: 1px; } .ui-datepicker td span, .ui-datepicker td a { - display: block; - padding: .2em; - text-align: right; - text-decoration: none; + display: block; + padding: .2em; + text-align: right; + text-decoration: none; } .ui-datepicker .ui-datepicker-buttonpane { - background-image: none; - margin: .7em 0 0 0; - padding: 0 .2em; - border-left: 0; - border-right: 0; - border-bottom: 0; + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; } .ui-datepicker .ui-datepicker-buttonpane button { - float: right; - margin: .5em .2em .4em; - cursor: pointer; - padding: .2em .6em .3em .6em; - width: auto; - overflow: visible; + float: right; + margin: .5em .2em .4em; + cursor: pointer; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; } .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { - float: left; + float: left; } /* with multiple calendars */ .ui-datepicker.ui-datepicker-multi { - width: auto; + width: auto; } .ui-datepicker-multi .ui-datepicker-group { - float: left; + float: left; } .ui-datepicker-multi .ui-datepicker-group table { - width: 95%; - margin: 0 auto .4em; + width: 95%; + margin: 0 auto .4em; } .ui-datepicker-multi-2 .ui-datepicker-group { - width: 50%; + width: 50%; } .ui-datepicker-multi-3 .ui-datepicker-group { - width: 33.3%; + width: 33.3%; } .ui-datepicker-multi-4 .ui-datepicker-group { - width: 25%; + width: 25%; } .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { - border-left-width: 0; + border-left-width: 0; } .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { - border-left-width: 0; + border-left-width: 0; } .ui-datepicker-multi .ui-datepicker-buttonpane { - clear: left; + clear: left; } .ui-datepicker-row-break { - clear: both; - width: 100%; - font-size: 0em; + clear: both; + width: 100%; + font-size: 0em; } /* RTL support */ .ui-datepicker-rtl { - direction: rtl; + direction: rtl; } .ui-datepicker-rtl .ui-datepicker-prev { - right: 2px; - left: auto; + right: 2px; + left: auto; } .ui-datepicker-rtl .ui-datepicker-next { - left: 2px; - right: auto; + left: 2px; + right: auto; } .ui-datepicker-rtl .ui-datepicker-prev:hover { - right: 1px; - left: auto; + right: 1px; + left: auto; } .ui-datepicker-rtl .ui-datepicker-next:hover { - left: 1px; - right: auto; + left: 1px; + right: auto; } .ui-datepicker-rtl .ui-datepicker-buttonpane { - clear: right; + clear: right; } .ui-datepicker-rtl .ui-datepicker-buttonpane button { - float: left; + float: left; } .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { - float: right; + float: right; } .ui-datepicker-rtl .ui-datepicker-group { - float: right; + float: right; } .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { - border-right-width: 0; - border-left-width: 1px; + border-right-width: 0; + border-left-width: 1px; } .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { - border-right-width: 0; - border-left-width: 1px; + border-right-width: 0; + border-left-width: 1px; } /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ .ui-datepicker-cover { - position: absolute; - z-index: -1; - filter: mask(); - top: -4px; - left: -4px; - width: 200px; - height: 200px; - /*must have*/ - + position: absolute; + /*must have*/ + z-index: -1; + /*must have*/ + filter: mask(); + /*must have*/ + top: -4px; + /*must have*/ + left: -4px; + /*must have*/ + width: 200px; + /*must have*/ + height: 200px; + /*must have*/ } /* * jQuery UI Progressbar 1.8.16 @@ -1963,31 +1996,31 @@ button.ui-button::-moz-focus-inner { * http://docs.jquery.com/UI/Progressbar#theming */ .ui-progressbar { - height: 2em; - text-align: left; + height: 2em; + text-align: left; } .ui-progressbar .ui-progressbar-value { - margin: -1px; - height: 100%; + margin: -1px; + height: 100%; } /* General */ .ui-widget { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } /* Interaction states ----------------------------------*/ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { - border: 2px solid #dddddd; - background: inherit; - font-weight: bold; - text-decoration: none; + border: 2px solid #dddddd; + background: inherit; + font-weight: bold; + text-decoration: none; } .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { - text-decoration: none; + text-decoration: none; } .ui-state-hover, .ui-widget-content .ui-state-hover, @@ -1995,539 +2028,539 @@ button.ui-button::-moz-focus-inner { .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { - font-weight: bold; - color: #ffffff; - border-width: 2px; + font-weight: bold; + color: #ffffff; + border-width: 2px; } .ui-state-hover a, .ui-state-hover a:hover { - color: #ffffff; - text-decoration: none; + color: #ffffff; + text-decoration: none; } .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { - border: 1px solid #dddddd; - font-weight: bold; - color: #ff0084; + border: 1px solid #dddddd; + font-weight: bold; + color: #ff0084; } .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: #ff0084; - text-decoration: none; + color: #ff0084; + text-decoration: none; } .ui-widget :active { - outline: none; + outline: none; } /* Accordion */ .ui-accordion-header { - border: 2px solid; + border: 2px solid; } .ui-accordion .ui-accordion-header { - margin-top: 2px; + margin-top: 2px; } .ui-accordion-content { - border: 2px solid; - border-top: none; - margin-bottom: 3px !important; + border: 2px solid; + border-top: none; + margin-bottom: 3px !important; } .ui-accordion .ui-accordion-header a { - font-size: 1.0em; - padding: .6em .3em .5em 2.9em; - font-weight: bold; + font-size: 1.0em; + padding: .6em .3em .5em 2.9em; + font-weight: bold; } .ui-accordion > .ui-state-active a, .ui-accordion > div > h3.ui-state-active a { - padding-bottom: .8em; + padding-bottom: .8em; } /*.ui-accordion .ui-accordion-header .ui-icon{margin-top:-12px;}*/ .ui-accordion > .ui-state-active, .ui-accordion > div > h3.ui-state-active { - border-bottom: none !important; + border-bottom: none !important; } .ui-accordion-header > .ui-icon { - margin: 4px; + margin: 4px; } /* Tabs */ .ui-tabs { - padding: 0; - border: none; - position: relative; - top: -3px; + padding: 0; + border: none; + position: relative; + top: -3px; } .ui-tabs-nav { - padding: 0px 0px 0px 0px !important; - border: none; - border-bottom: 2px solid; - background-color: #ffffff; + padding: 0px 0px 0px 0px !important; + border: none; + border-bottom: 2px solid; + background-color: #ffffff; } .ui-tabs-nav .ui-state-default { - border: none; - padding: 0px !important; - margin-right: 2px !important; - background: none !important; + border: none; + padding: 0px !important; + margin-right: 2px !important; + background: none !important; } .ui-tabs-nav .ui-state-default a { - border: 2px solid; - position: relative; - top: 2px; - font-weight: bold; - margin-bottom: 4px; - height: 16px; + border: 2px solid; + position: relative; + top: 2px; + font-weight: bold; + margin-bottom: 4px; + height: 16px; } /*.ui-tabs-nav .ui-tabs-selected a{border:2px solid;height:1.8em;border-bottom:none !important;}*/ .ui-tabs-nav .ui-state-active a { - border: 2px solid; - border-bottom: none !important; - margin-bottom: 0; - height: 22px; + border: 2px solid; + border-bottom: none !important; + margin-bottom: 0; + height: 22px; } .ui-tabs .ui-widget-content { - border: 2px solid !important; - border-top: none !important; + border: 2px solid !important; + border-top: none !important; } .ui-tabs .ui-widget-content .ui-tabs { - border: none !important; + border: none !important; } .ui-tabs-nav .ui-state-hover { - border: none; + border: none; } /* Dialog */ .ui-dialog { - border-width: 2px; - padding: 0; + border-width: 2px; + padding: 0; } .ui-dialog-titlebar { - border: none; - border-bottom-width: 2px; - padding: .6em 1em .6em 1em !important; - font-weight: bold; - font-size: 1.1em; + border: none; + border-bottom-width: 2px; + padding: .6em 1em .6em 1em !important; + font-weight: bold; + font-size: 1.1em; } .ui-dialog-buttonpane { - border-top-width: 2px !important; - margin-top: 0 !important; + border-top-width: 2px !important; + margin-top: 0 !important; } .ui-dialog .ui-dialog-titlebar-close { - width: 24px; - height: 24px; - margin: -13px 0px 0px 0px; - padding: 0; + width: 24px; + height: 24px; + margin: -13px 0px 0px 0px; + padding: 0; } .ui-dialog-titlebar-close > .ui-icon { - margin: 4px !important; + margin: 4px !important; } /* Datepicker*/ .ui-datepicker { - border: 2px solid; - padding: 0 !important; + border: 2px solid; + padding: 0 !important; } .ui-datepicker .ui-datepicker-header { - border: none; - padding: .4em 1em .4em 1em; + border: none; + padding: .4em 1em .4em 1em; } .ui-datepicker .ui-datepicker-header .ui-state-default, .ui-datepicker .ui-datepicker-header .ui-state-hover { - background: none; - border: none; - padding: 0; + background: none; + border: none; + padding: 0; } .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { - width: 24px; - height: 24px; - margin: 0; + width: 24px; + height: 24px; + margin: 0; } .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { - position: relative; - top: 0; - left: 0; - margin: 0; + position: relative; + top: 0; + left: 0; + margin: 0; } .ui-datepicker .ui-datepicker-prev-hover { - left: 2px; - top: 2px; + left: 2px; + top: 2px; } .ui-datepicker .ui-datepicker-next-hover { - right: 2px; - top: 2px; + right: 2px; + top: 2px; } .ui-datepicker table { - margin: 0px; - border: 1px solid; + margin: 0px; + border: 1px solid; } .ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-state-hover, .ui-datepicker-calendar .ui-state-highlight, .ui-datepicker-calendar .ui-state-active { - border-width: 2px; + border-width: 2px; } .ui-datepicker .ui-icon { - margin: 4px !important; + margin: 4px !important; } /* Button */ .ui-button { - border-width: 2px !important; - border-bottom-style: solid; - font-weight: bold !important; + border-width: 2px !important; + border-bottom-style: solid; + font-weight: bold !important; } .ui-buttonset .ui-button { - margin-left: 0; - margin-right: -1px; + margin-left: 0; + margin-right: -1px; } /* Additional states */ .ui-state-highlight { - border: 2px solid; + border: 2px solid; } .ui-state-error { - border: 2px solid; + border: 2px solid; } /*.ui-state-highlight .ui-icon, .ui-state-error .ui-icon{position:relative;top:-4px;}*/ /* Slider */ .ui-slider { - border: none; + border: none; } .ui-slider .ui-slider-handle { - width: .8em; - height: .8em; - border: none; - margin: -0.4em; + width: .8em; + height: .8em; + border: none; + margin: -0.4em; } .ui-slider-horizontal .ui-slider-handle { - margin-top: 0; - top: 0; + margin-top: 0; + top: 0; } .ui-slider-vertical .ui-slider-handle { - margin-left: 0; - left: 0; + margin-left: 0; + left: 0; } /* Progressbar */ .ui-progressbar { - border: none; - height: 0.8em; + border: none; + height: 0.8em; } .ui-progressbar .ui-progressbar-value { - border: none; + border: none; } /* Autocomplete */ .ui-autocomplete { - border: solid 2px #bbbbbb; - padding: 0; + border: solid 2px #bbbbbb; + padding: 0; } .ui-autocomplete .ui-menu-item a { - padding: 5px; - border: none; - margin: 0 !important; + padding: 5px; + border: none; + margin: 0 !important; } /* Icon states */ .ui-icon { - width: 16px; - height: 16px; + width: 16px; + height: 16px; } /* General */ .ui-icon, .ui-widget-content .ui-icon, .ui-widget-header .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_d4d4d4_0.png); + background-image: url(../../extras/ui/images/ui-icons_d4d4d4_0.png); } .ui-state-default .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_737373_0.png); + background-image: url(../../extras/ui/images/ui-icons_737373_0.png); } .ui-state-active .ui-icon, .ui-state-hover .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_333333_0.png); + background-image: url(../../extras/ui/images/ui-icons_333333_0.png); } .ui-widget-overlay { - background: #ffffff; + background: #ffffff; } .ui-widget-content { - color: #737373; + color: #737373; } /* Button states */ .ui-state-default, .ui-widget-content .ui-state-default { - background-color: #eeeeee; - border-color: #eeeeee; - color: #737373; + background-color: #eeeeee; + border-color: #eeeeee; + color: #737373; } .ui-state-focus, .ui-widget-content .ui-state-focus { - background-color: #dddddd; - border-color: #dddddd; - color: #333333; + background-color: #dddddd; + border-color: #dddddd; + color: #333333; } .ui-state-hover, .ui-widget-content .ui-state-hover { - background-color: #dddddd; - border-color: #dddddd; - color: #333333; + background-color: #dddddd; + border-color: #dddddd; + color: #333333; } .ui-state-active, .ui-widget-content .ui-state-active { - background-color: #7bafcc; - border-color: #7bafcc; - color: #ffffff; + background-color: #7bafcc; + border-color: #7bafcc; + color: #ffffff; } /* Accordion */ .ui-accordion-content { - border-color: #e5e5e5; - background: #ffffff; + border-color: #e5e5e5; + background: #ffffff; } .ui-accordion-header.ui-state-active, .ui-accordion-header.ui-state-active.ui-state-hover { - background-color: #ffffff !important; - color: #737373; - border-color: #e5e5e5 !important; - background-image: url(../../extras/ui/images/ui-icons_cccccc_0.png) !important; - background-position: -230px -213px !important; + background-color: #ffffff !important; + color: #737373; + border-color: #e5e5e5 !important; + background-image: url(../../extras/ui/images/ui-icons_cccccc_0.png) !important; + background-position: -230px -213px !important; } .ui-accordion-header.ui-state-active a { - color: #737373 !important; + color: #737373 !important; } .ui-accordion-header.ui-state-default { - border-color: #7bafcc; - background: #7bafcc; + border-color: #7bafcc; + background: #7bafcc; } .ui-accordion-header.ui-state-default a { - color: #ffffff; + color: #ffffff; } .ui-accordion-header.ui-state-hover { - background: #69a4c5; - border-color: #69a4c5; + background: #69a4c5; + border-color: #69a4c5; } .ui-accordion-header.ui-state-hover a { - color: #ffffff; + color: #ffffff; } .ui-accordion-header.ui-state-active .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_cccccc_0.png) !important; + background-image: url(../../extras/ui/images/ui-icons_cccccc_0.png) !important; } .ui-accordion-header.ui-state-default .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); } .ui-accordion-header.ui-state-hover .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_69a4c5_0.png); + background-image: url(../../extras/ui/images/ui-icons_69a4c5_0.png); } .ui-accordion-header { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; - background-position: -230px -214px !important; - background-repeat: no-repeat !important; + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -230px -214px !important; + background-repeat: no-repeat !important; } .ui-accordion-header.ui-state-hover { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; - background-position: -230px -166px !important; + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -230px -166px !important; } /* Tabs states */ .ui-tabs-nav > .ui-state-default a { - border-color: #7bafcc; - background: #7bafcc; - color: #ffffff; + border-color: #7bafcc; + background: #7bafcc; + color: #ffffff; } .ui-tabs-nav > .ui-state-active a { - border-color: #e5e5e5 !important; - background: #ffffff !important; - color: #737373 !important; + border-color: #e5e5e5 !important; + background: #ffffff !important; + color: #737373 !important; } .ui-tabs-nav > .ui-state-hover a { - background: #69a4c5; - border-color: #69a4c5; - color: #ffffff; + background: #69a4c5; + border-color: #69a4c5; + color: #ffffff; } .ui-tabs-nav > .ui-state-focus a { - background: #69a4c5; - border-color: #e5e5e5; - color: #ffffff; + background: #69a4c5; + border-color: #e5e5e5; + color: #ffffff; } .ui-tabs .ui-widget-content { - border-color: #e5e5e5 !important; - background-color: #ffffff; + border-color: #e5e5e5 !important; + background-color: #ffffff; } .ui-tabs-nav { - border-color: #e5e5e5; + border-color: #e5e5e5; } /* Dialog states */ .ui-dialog { - border-color: #7bafcc; - background-color: #ffffff !important; + border-color: #7bafcc; + background-color: #ffffff !important; } .ui-dialog-titlebar { - border-color: #7bafcc; - color: #ffffff; - background-color: #7bafcc; + border-color: #7bafcc; + color: #ffffff; + background-color: #7bafcc; } .ui-dialog-buttonpane { - border-color: #7bafcc !important; - background-color: #ffffff; + border-color: #7bafcc !important; + background-color: #ffffff; } .ui-dialog-content { - background-color: #ffffff !important; + background-color: #ffffff !important; } .ui-dialog-titlebar .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); } .ui-dialog-titlebar .ui-state-hover .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_7bafcc_0.png) !important; + background-image: url(../../extras/ui/images/ui-icons_7bafcc_0.png) !important; } .ui-dialog-titlebar-close { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; - background-position: -232px -216px !important; + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -232px -216px !important; } .ui-dialog-titlebar-close.ui-state-hover { - background: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; - background-position: -232px -168px !important; + background: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -232px -168px !important; } /* Slider */ .ui-slider { - background: #eeeeee; + background: #eeeeee; } .ui-slider .ui-slider-range { - background: #7bafcc; + background: #7bafcc; } .ui-slider .ui-state-default { - background-color: #000000; + background-color: #000000; } .ui-slider .ui-state-active { - background-color: #525252 !important; + background-color: #525252 !important; } .ui-slider .ui-state-focus { - background-color: #000000; + background-color: #000000; } .ui-slider .ui-state-hover { - background-color: #525252; + background-color: #525252; } /* Progressbar */ .ui-progressbar { - background: #eeeeee; + background: #eeeeee; } .ui-progressbar .ui-progressbar-value { - background-color: #7bafcc; + background-color: #7bafcc; } /* Autocomplete */ .ui-autocomplete { - border-color: #737373; + border-color: #737373; } .ui-autocomplete a { - background-color: #ffffff; - color: #737373; + background-color: #ffffff; + color: #737373; } .ui-autocomplete .ui-state-hover { - background: #7bafcc; - color: #ffffff; + background: #7bafcc; + color: #ffffff; } /* Datepicker */ .ui-datepicker { - border-color: #7bafcc; + border-color: #7bafcc; } .ui-datepicker .ui-datepicker-header { - background-color: #7bafcc; - color: #ffffff; + background-color: #7bafcc; + color: #ffffff; } .ui-datepicker table { - border-color: #ffffff; + border-color: #ffffff; } .ui-datepicker-calendar { - background: #ffffff; + background: #ffffff; } .ui-datepicker-calendar .ui-state-default { - background-color: #eeeeee; - border-color: #eeeeee; - color: #737373; + background-color: #eeeeee; + border-color: #eeeeee; + color: #737373; } .ui-datepicker-calendar .ui-state-hover { - background-color: #69a4c5 !important; - border-color: #69a4c5 !important; - color: #ffffff !important; + background-color: #69a4c5 !important; + border-color: #69a4c5 !important; + color: #ffffff !important; } .ui-datepicker-calendar .ui-state-highlight { - background-color: #737373; - border-color: #737373; - color: #ffffff; + background-color: #737373; + border-color: #737373; + color: #ffffff; } .ui-datepicker-calendar .ui-state-active { - background-color: #7bafcc; - border-color: #7bafcc; - color: #ffffff; + background-color: #7bafcc; + border-color: #7bafcc; + color: #ffffff; } .ui-datepicker .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); } .ui-datepicker .ui-state-hover .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_7bafcc_0.png); + background-image: url(../../extras/ui/images/ui-icons_7bafcc_0.png); } .ui-datepicker-next, .ui-datepicker-prev { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); - background-position: -232px -216px; + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-position: -232px -216px; } .ui-datepicker-next-hover, .ui-datepicker-prev-hover { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; - background-position: -232px -168px !important; - opacity: 1; + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -232px -168px !important; + opacity: 1; } .ui-datepicker-next.ui-state-disabled, .ui-datepicker-prev.ui-state-disabled { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); - background-position: -232px -216px; + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-position: -232px -216px; } /* Highlight */ .ui-state-highlight { - border-color: #efdca9; - color: #525252; - background: #efdca9; + border-color: #efdca9; + color: #525252; + background: #efdca9; } .ui-state-highlight .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_525252_0.png); + background-image: url(../../extras/ui/images/ui-icons_525252_0.png); } /* Error */ .ui-state-error { - border-color: #c31d1d; - color: #ffffff; - background: #c31d1d; + border-color: #c31d1d; + color: #ffffff; + background: #c31d1d; } .ui-state-error .ui-icon { - background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); } .redactor_box { - position: relative; - border: 1px solid #ddd; - overflow: visible; + position: relative; + border: 1px solid #ddd; + overflow: visible; } .redactor_box, .redactor_box textarea { - background-color: #fff; + background-color: #fff; } body .redactor_air { - position: absolute; - border: 1px solid #ddd; - border-bottom: none; - z-index: 2; + position: absolute; + border: 1px solid #ddd; + border-bottom: none; + z-index: 2; } /* Fullscreen */ body .redactor_box_fullscreen { - left: 0; - position: fixed; - overflow: hidden; - top: 0; - width: 100%; - z-index: 2000; + left: 0; + position: fixed; + overflow: hidden; + top: 0; + width: 100%; + z-index: 2000; } .redactor_box textarea { - font-family: Menlo, Monaco, monospace, sans-serif; - font-size: 13px; - overflow: auto; - resize: none; - margin: 0; - padding: 0; - display: block; - position: relative; - z-index: 1004; - outline: none; - border: none; - width: 100%; + font-family: Menlo, Monaco, monospace, sans-serif; + font-size: 13px; + overflow: auto; + resize: none; + margin: 0; + padding: 0; + display: block; + position: relative; + z-index: 1004; + outline: none; + border: none; + width: 100%; } .redactor_editor, .redactor_editor:focus, @@ -2544,11 +2577,11 @@ body .redactor_box_fullscreen { .redactor_editor h3, .redactor_editor h4, .redactor_editor h5 { - font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important; + font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important; } .redactor_editor code, .redactor_editor pre { - font-family: Menlo, Monaco, monospace, sans-serif !important; + font-family: Menlo, Monaco, monospace, sans-serif !important; } .redactor_editor, .redactor_editor:focus, @@ -2560,35 +2593,35 @@ body .redactor_box_fullscreen { .redactor_editor dl, .redactor_editor blockquote, .redactor_editor pre { - font-size: 15px !important; - line-height: 1.45em !important; + font-size: 15px !important; + line-height: 1.45em !important; } .redactor_editor, .redactor_editor:focus { - position: relative; - outline: none; - box-shadow: none !important; - padding: 15px !important; - margin: 0 !important; - background: none; - background: #fff !important; - overflow: auto; - white-space: normal; + position: relative; + outline: none; + box-shadow: none !important; + padding: 15px !important; + margin: 0 !important; + background: none; + background: #fff !important; + overflow: auto; + white-space: normal; } .redactor_editor a { - color: #15c !important; - text-decoration: underline !important; + color: #15c !important; + text-decoration: underline !important; } .redactor_editor object, .redactor_editor embed, .redactor_editor video, .redactor_editor img { - width: auto; - max-width: 100%; + width: auto; + max-width: 100%; } .redactor_editor video, .redactor_editor img { - height: auto; + height: auto; } .redactor_editor div, .redactor_editor p, @@ -2598,110 +2631,110 @@ body .redactor_box_fullscreen { .redactor_editor dl, .redactor_editor blockquote, .redactor_editor pre { - box-shadow: none !important; - background: none !important; - margin: 0 !important; - margin-bottom: 15px !important; - border: none; + box-shadow: none !important; + background: none !important; + margin: 0 !important; + margin-bottom: 15px !important; + border: none; } .redactor_editor iframe, .redactor_editor object, .redactor_editor hr { - margin-bottom: 15px !important; + margin-bottom: 15px !important; } .redactor_editor blockquote { - margin-left: 3em !important; - font-style: italic !important; - color: #777; + margin-left: 3em !important; + font-style: italic !important; + color: #777; } .redactor_editor ul, .redactor_editor ol { - padding-left: 2em !important; + padding-left: 2em !important; } .redactor_editor ul ul, .redactor_editor ol ol, .redactor_editor ul ol, .redactor_editor ol ul { - border: none; - margin: 2px !important; - padding: 0 !important; - padding-left: 2em !important; + border: none; + margin: 2px !important; + padding: 0 !important; + padding-left: 2em !important; } .redactor_editor dl dt { - font-weight: bold; + font-weight: bold; } .redactor_editor dd { - margin-left: 1em; + margin-left: 1em; } .redactor_editor table { - border-collapse: collapse; - font-size: 1em !important; + border-collapse: collapse; + font-size: 1em !important; } .redactor_editor table td { - border: 1px solid #ddd; - padding: 5px !important; - vertical-align: top; + border: 1px solid #ddd; + padding: 5px !important; + vertical-align: top; } .redactor_editor table thead td { - border-bottom: 2px solid #000 !important; - font-weight: bold !important; + border-bottom: 2px solid #000 !important; + font-weight: bold !important; } .redactor_editor code { - background-color: #d8d7d7 !important; + background-color: #d8d7d7 !important; } .redactor_editor pre { - font-size: 90% !important; - background: #f8f8f8 !important; - border: 1px solid #ddd !important; - border-radius: 3px !important; - padding: 1em !important; - white-space: pre; - overflow: auto; + font-size: 90% !important; + background: #f8f8f8 !important; + border: 1px solid #ddd !important; + border-radius: 3px !important; + padding: 1em !important; + white-space: pre; + overflow: auto; } .redactor_editor hr { - display: block; - height: 1px; - border: 0; - border-top: 1px solid #ccc; + display: block; + height: 1px; + border: 0; + border-top: 1px solid #ccc; } .redactor_editor h1, .redactor_editor h2, .redactor_editor h3, .redactor_editor h4, .redactor_editor h5 { - color: #000; - background: none; - margin: 0 !important; - padding: 0 !important; - font-weight: bold; + color: #000; + background: none; + margin: 0 !important; + padding: 0 !important; + font-weight: bold; } .redactor_editor h1 { - font-size: 36px !important; - line-height: 40px !important; - margin-bottom: 10px !important; + font-size: 36px !important; + line-height: 40px !important; + margin-bottom: 10px !important; } .redactor_editor h2 { - font-size: 30px !important; - line-height: 38px !important; - margin-bottom: 15px !important; + font-size: 30px !important; + line-height: 38px !important; + margin-bottom: 15px !important; } .redactor_editor h3 { - font-size: 24px !important; - line-height: 30px !important; - margin-bottom: 10px !important; + font-size: 24px !important; + line-height: 30px !important; + margin-bottom: 10px !important; } .redactor_editor h4 { - font-size: 18px !important; - line-height: 24px !important; - margin-bottom: 10px !important; + font-size: 18px !important; + line-height: 24px !important; + margin-bottom: 10px !important; } .redactor_editor h5 { - font-size: 1em !important; - margin-bottom: 10px !important; + font-size: 1em !important; + margin-bottom: 10px !important; } .redactor_editor.redactor_editor_wym { - background: #f6f6f6 !important; - padding: 5px 15px !important; + background: #f6f6f6 !important; + padding: 5px 15px !important; } .redactor_editor_wym div, .redactor_editor_wym p, @@ -2716,566 +2749,566 @@ body .redactor_box_fullscreen { .redactor_editor_wym h4, .redactor_editor_wym h5, .redactor_editor_wym blockquote { - background-color: #fff !important; - border: 1px solid #e4e4e4 !important; - padding: 10px !important; - margin: 10px 0 !important; + background-color: #fff !important; + border: 1px solid #e4e4e4 !important; + padding: 10px !important; + margin: 10px 0 !important; } .redactor_editor_wym ul, .redactor_editor_wym ol { - padding-left: 2em !important; + padding-left: 2em !important; } /* TOOLBAR */ .redactor_toolbar { - font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important; - position: relative; - left: 0; - top: 0; - margin: 0 !important; - padding: 0 !important; - padding-left: 2px !important; - line-height: 0 !important; - list-style: none !important; - font-size: 0; - background: #f1f1f1; - overflow: hidden !important; - height: 32px !important; - border-bottom: 1px solid #bbb; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important; + position: relative; + left: 0; + top: 0; + margin: 0 !important; + padding: 0 !important; + padding-left: 2px !important; + line-height: 0 !important; + list-style: none !important; + font-size: 0; + background: #f1f1f1; + overflow: hidden !important; + height: 32px !important; + border-bottom: 1px solid #bbb; } .redactor_toolbar li { - float: left !important; - margin: 0 !important; - padding: 3px 1px; - padding-right: 0; - list-style: none !important; - outline: none; + float: left !important; + margin: 0 !important; + padding: 3px 1px; + padding-right: 0; + list-style: none !important; + outline: none; } .redactor_toolbar li.redactor_separator { - float: left; - height: 34px; - border-left: 1px solid #d3d3d3; - border-right: 1px solid #f1f1f1; - padding: 0; - margin: 0 2px 0 3px !important; + float: left; + height: 34px; + border-left: 1px solid #d3d3d3; + border-right: 1px solid #f1f1f1; + padding: 0; + margin: 0 2px 0 3px !important; } .redactor_toolbar li a { - width: 25px; - height: 25px; - border: 1px solid transparent; - *border: 1px solid #eee; - display: block; - line-height: 0; - font-size: 0; - cursor: pointer; - zoom: 1; - outline: none; - text-decoration: none; + width: 25px; + height: 25px; + border: 1px solid transparent; + *border: 1px solid #eee; + display: block; + line-height: 0; + font-size: 0; + cursor: pointer; + zoom: 1; + outline: none; + text-decoration: none; } .redactor_toolbar li.redactor_btn_right { - float: none; - float: right !important; + float: none; + float: right !important; } .redactor_toolbar li a { - display: block; - text-indent: -9999px; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAAZCAYAAAC2GQ9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAF4BJREFUeNrsXQlYFFe2LpoGgQZtVEARjYrigijuW9xIHNQxLsm4PWNERxhw17glE2OIz2U0xnFl1JeYoFGzqdHEMUHFLcaFuCBk3CKIyoAoNFtAoOn5T3sbO/0a6Oqqbsnk/t93v1q66p6qW/ec859zb1U76HQ6gYODg4ODg4ODg8MUDpwocnBwcHBwcHBwcKLIwcHBwcHBwcHBiSIHBwcHBwcHBwcnihwcHBwcHBwcHJwocnBwcHBwcHD8ZuEaERGxWaPRhIk5Sa1Wf7h169bpWC2y9wUr+TPj4OCoLJCMjo72ycnJaVNWVubl5OSU1qZNm0QYuV9403BwcPxOodiyZUubo0ePJn322Wee2NaIPL+hWJJIwDmTsViGcvv3ThSV06ZNG+js7OxIGyUlJdpNmzbFYbWM902OGgCXqKiolY8ePZplbQX16tVb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); - background-repeat: no-repeat; - background-position: 0; + display: block; + text-indent: -9999px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAAZCAYAAAC2GQ9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAF4BJREFUeNrsXQlYFFe2LpoGgQZtVEARjYrigijuW9xIHNQxLsm4PWNERxhw17glE2OIz2U0xnFl1JeYoFGzqdHEMUHFLcaFuCBk3CKIyoAoNFtAoOn5T3sbO/0a6Oqqbsnk/t93v1q66p6qW/ec859zb1U76HQ6gYODg4ODg4ODg8MUDpwocnBwcHBwcHBwcKLIwcHBwcHBwcHBiSIHBwcHBwcHBwcnihwcHBwcHBwcHJwocnBwcHBwcHD8ZuEaERGxWaPRhIk5Sa1Wf7h169bpWC2y9wUr+TPj4OCoLJCMjo72ycnJaVNWVubl5OSU1qZNm0QYuV9403BwcPxOodiyZUubo0ePJn322Wee2NaIPL+hWJJIwDmTsViGcvv3ThSV06ZNG+js7OxIGyUlJdpNmzbFYbWM902OGgCXqKiolY8ePZplbQX16tVbFxMTswirxVUdl5ycrIyNje1QWFg4oKio6HkQNX/ogx+Rt/Lycnd2WLlCoSDSVlqrVq2fQeRuu7i4JKhUqrjhw4f/1LNnT62Ee3VctWpVjxs3bnwJeWqlUlkE+W4FBQVHGjduHDZ48OCHOEZXE9rqGcJ55syZczIyMlairbvMmTPnEj0TaytDe1s1vLNgwQIHrpocv3OoR48enWO600oiV6WMsLCwPiCJp2gHbVshw8fo+i5bcC7JDTY69zdDFJURERGhW7du/VYmEucaHh6+CU5otFarVZmyb5QMifV7TJgw4YfHjx8HmvvRy8vrbyCkS7D6WMa2rTN27Ng0ONnahh2enp7/QCQyV3gGqWMOWdBACvEhsPP/jpJalX4dOHBgUEpKygEQwXKQwGIET1q1Wl2KbRqCSAdxVKA4/vLLL846nU4B3QksLi4Oys/PH/3gwQPFsWPHhoG8HLZSP5XLli0bnJSUtMfPzy9zypQpR7y9vfM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LqnqVE0V4wJUSCIH2+hD6CYgpRX/j1RPxypiQPWJFKgIlQN2DF1YhY07yuHEG+D4xyPBtQ36Qh836CdUNT1I9PsMAhtYrjlIzUtBOeDHH6MGPrzrJjDsLTaRJa4em0jRxmjGl4OImRoOqmgbgKT/8iqhHTD0PfpTrOMeNeWkPbyp6wNMv0W8gqcfx+Yc4fUmB1lwVPkjOKIEK6agiPtdO8zBEgucm5gSx2Fp7Mrb7I7Gi2TDJ6xMTExMbHx7cUc1JISMiNyMjIidUEzjZBTSOKHBw1GS5GgYCLFecbfwamuglmCiaDjDplzNxYIKI0Mu46ZtTLWJDzCzP4Bax+Sw2+EyOilHVTMdmFjGjmWOk47NlW9g5k5c6Ac3Bw1CyQjtMIRS6zgeUy1t3MKIi29E8Rco0C5xR7N8Zviih+/vnnFRc7atQoB96XOTj++2AvPef2hIOD4xklHGgKnI+IIJqC5UwWvNsscK7MJv7mMop0I9yoc3D895NFe+g5tyccHBwcVdtEPvTMwcHBwcHBwcFhFpwocnBwcHBwcHBwmMV/BBgAHTxEUMWGlxEAAAAASUVORK5CYII=); + background-repeat: no-repeat; + background-position: 0; } body .redactor_air .redactor_toolbar { - padding-right: 2px !important; + padding-right: 2px !important; } @media all and (-webkit-min-device-pixel-ratio: 1.5) { - .redactor_toolbar li a { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABRQAAAAyCAYAAAAtK1dkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAKodJREFUeNrsnQtcVNX2xzfDG+QtiG9QTE0rS4pMSVHDSjHN0Ewty/shzWumluY/zbTuVSz1qper9dcempl6y3c+/4Wamc98hyGCPARF3jA8Bpj/Wsw+eBgHGGBmzjnD+n4+mzmcOTOz93nsvfZvr72XjVarZQRBEARBEARBEARBEARBEMagolNAEARBEARBEARBEARBEISxkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBE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PqRwEQRAEQRCEEu1ECspCEARBEARBEARBEARBEITRkIciQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBG8/8CDACn2Bhs7uzfIwAAAABJRU5ErkJggg==); - background-size: auto 25px; - } + .redactor_toolbar li a { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABRQAAAAyCAYAAAAtK1dkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAKodJREFUeNrsnQtcVNX2xzfDG+QtiG9QTE0rS4pMSVHDSjHN0Ewty/shzWumluY/zbTuVSz1qper9dcempl6y3c+/4Wamc98hyGCPARF3jA8Bpj/Wsw+eBgHGGBmzjnD+n4+mzmcOTOz93nsvfZvr72XjVarZQRBEARBEARBEARBEARBEMagolNAEARBEARBEARBEARBEISxkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITR2NEpIAiCIIjmwejRoy36e1u3bqWTThAEQRAEQRBWCAmKBEEQBEEQBEEQBEEQRJ00dXB669atnvAdOXzbC15y6awqFxIUCYIgCIJoKC0g/R1Sb0gOkM5D+jekTDo1BEEQBEEQhqlLkBOLbfWhRDFOv3y4bYFyuEyaNOn7goKCCHP9gJub247169ePg011c7ufSVAkCIIgCKIh9IG0CVIgpOuQiiENhzQFEhpTh8z8+45vv/32rIyMjH9IeRL8/f3fX7Vq1QrYLKNbgiAIgiAIExDQwGPPy60A+h6IsJ2rv1+MBUTFtuYUExH4/hHw0obbxc0KEhQJgiAIc2Btoo/tBx98MDA1NfXj0tLSHpWVlS3MmW+VSlXo6Oh4pU2bNh8tXrz4MOwql8l17QdpH9N5Ij4F6QTf3xXSN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DeoRRjG1Gut0TpqBEEQDQeFxJs8KQq+znCTgbbIxsJZN7b9O8/zJ8fTnwRpJ+TNUwhsWct07SR2b+pzkkxvpbLHH388+fTp0x3M9QMhISFJrJk6OdnoRY4nCIIgCFOASxUMhyQH0WcX04lzTQEH4NA7CpeJwKk2uM6dOQVFHInHQBrC+kAm8U6sZ5pGEC8bGrgVpvg9MxnJuMyFP09SRfVGkTqdXx/ykjcMPi8BzHRehcL6PyQqEgRBNAMULCga2/7JvV3D/A+A9AL/Hx2sYhXYDneGNApSKKQWZvh+nHJ/jOlm/SQ0t+eUBEWCIAjCHJDoI0/j3KK/J9NRd4IgCIIgCKJ+BHEUSWLKHNTDWUWtmc4pwMEM3499DIxHcYs1w6VwSFAkCIIgCIIgCIIgCIIgCMJoVHQKCIIgCIIgCIIgCIIgCIIwFgrKYiG2bdtm0BU0MjLShs4OQRAEQVB7TuUgCIIgCIIglGInkoeihTBkoJPRThAEQRDUnlM5CIIgCIIgCKXZiSQoSnRRyGgnCIIgCGrPqRwEQRAEQRCEEu1ECspCEARBEARBEARBEARBEITRkIciQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBG8/8CDACn2Bhs7uzfIwAAAABJRU5ErkJggg==); + background-size: auto 25px; + } } .redactor_toolbar li a:hover { - border-color: #98a6ba; - background-color: #dde4ef; - outline: none; + border-color: #98a6ba; + background-color: #dde4ef; + outline: none; } .redactor_toolbar li a:active, .redactor_toolbar li a.redactor_act { - border-color: #b5b5b5; - background-color: #ddd; - outline: none; + border-color: #b5b5b5; + background-color: #ddd; + outline: none; } /* BUTTONS step 25px */ body .redactor_toolbar li a.redactor_btn_html { - background-position: 0px; + background-position: 0px; } body .redactor_toolbar li a.redactor_btn_formatting { - background-position: -25px; + background-position: -25px; } body .redactor_toolbar li a.redactor_btn_bold { - background-position: -50px; + background-position: -50px; } body .redactor_toolbar li a.redactor_btn_italic { - background-position: -75px; + background-position: -75px; } body .redactor_toolbar li a.redactor_btn_deleted { - background-position: -500px; + background-position: -500px; } body .redactor_toolbar li a.redactor_btn_unorderedlist { - background-position: -100px; + background-position: -100px; } body .redactor_toolbar li a.redactor_btn_orderedlist { - background-position: -125px; + background-position: -125px; } body .redactor_toolbar li a.redactor_btn_outdent { - background-position: -150px; + background-position: -150px; } body .redactor_toolbar li a.redactor_btn_indent { - background-position: -175px; + background-position: -175px; } body .redactor_toolbar li a.redactor_btn_image { - background-position: -200px; + background-position: -200px; } body .redactor_toolbar li a.redactor_btn_video { - background-position: -225px; + background-position: -225px; } body .redactor_toolbar li a.redactor_btn_file { - background-position: -250px; + background-position: -250px; } body .redactor_toolbar li a.redactor_btn_table { - background-position: -275px; + background-position: -275px; } body .redactor_toolbar li a.redactor_btn_link { - background-position: -300px; + background-position: -300px; } body .redactor_toolbar li a.redactor_btn_fontcolor { - background-position: -325px; + background-position: -325px; } body .redactor_toolbar li a.redactor_btn_backcolor { - background-position: -350px; + background-position: -350px; } body .redactor_toolbar li a.redactor_btn_alignleft { - background-position: -375px; + background-position: -375px; } body .redactor_toolbar li a.redactor_btn_aligncenter { - background-position: -400px; + background-position: -400px; } body .redactor_toolbar li a.redactor_btn_alignright { - background-position: -425px; + background-position: -425px; } body .redactor_toolbar li a.redactor_btn_justify { - background-position: -450px; + background-position: -450px; } body .redactor_toolbar li a.redactor_btn_horizontalrule { - background-position: -475px; + background-position: -475px; } body .redactor_toolbar li a.redactor_btn_underline { - background-position: -525px; + background-position: -525px; } body .redactor_toolbar li a.redactor_btn_fullscreen { - background-position: -550px; + background-position: -550px; } body .redactor_toolbar li a.redactor_btn_normalscreen { - background-position: -575px; + background-position: -575px; } body .redactor_toolbar li a.redactor_btn_clips { - background-position: -600px; + background-position: -600px; } body .redactor_toolbar li a.redactor_btn_alignment { - background-position: -625px; + background-position: -625px; } /* Toolbar classes */ .redactor_format_blockquote { - font-style: italic; - color: #666 !important; - padding-left: 10px; + font-style: italic; + color: #666 !important; + padding-left: 10px; } .redactor_format_pre { - font-family: monospace, sans-serif; + font-family: monospace, sans-serif; } .redactor_format_h1, .redactor_format_h2, .redactor_format_h3, .redactor_format_h4 { - font-weight: bold; + font-weight: bold; } .redactor_format_h1 { - font-size: 30px; - line-height: 36px; + font-size: 30px; + line-height: 36px; } .redactor_format_h2 { - font-size: 24px; - line-height: 36px; + font-size: 24px; + line-height: 36px; } .redactor_format_h3 { - font-size: 20px; - line-height: 30px; + font-size: 20px; + line-height: 30px; } .redactor_format_h4 { - font-size: 16px; - line-height: 26px; + font-size: 16px; + line-height: 26px; } /* DROPDOWN */ .redactor_dropdown { - font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; - top: 28px; - left: 0; - z-index: 2004; - position: absolute; - width: 200px; - background-color: #fff; - border: 1px solid #ccc; - font-size: 13px; - -webkit-box-shadow: 0 2px 4px #ccc; - -moz-box-shadow: 0 2px 4px #ccc; - box-shadow: 0 2px 4px #ccc; - line-height: 21px; - padding: 10px; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + top: 28px; + left: 0; + z-index: 2004; + position: absolute; + width: 200px; + background-color: #fff; + border: 1px solid #ccc; + font-size: 13px; + -webkit-box-shadow: 0 2px 4px #ccc; + -moz-box-shadow: 0 2px 4px #ccc; + box-shadow: 0 2px 4px #ccc; + line-height: 21px; + padding: 10px; } .redactor_separator_drop { - border-top: 1px solid #ddd; - padding: 0 !important; - line-height: 0; - font-size: 0; + border-top: 1px solid #ddd; + padding: 0 !important; + line-height: 0; + font-size: 0; } .redactor_dropdown a { - display: block; - color: #000; - padding: 3px 5px; - text-decoration: none; + display: block; + color: #000; + padding: 3px 5px; + text-decoration: none; } .redactor_dropdown a:hover { - color: #444 !important; - text-decoration: none; - background-color: #dde4ef; + color: #444 !important; + text-decoration: none; + background-color: #dde4ef; } /* ColorPicker */ .redactor_color_link { - padding: 0 !important; - width: 15px !important; - height: 15px !important; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset !important; - border-radius: 4px !important; - float: left !important; - border: 2px solid #fff !important; - font-size: 0; + padding: 0 !important; + width: 15px !important; + height: 15px !important; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset !important; + border-radius: 4px !important; + float: left !important; + border: 2px solid #fff !important; + font-size: 0; } .redactor_color_none { - font-size: 11px; + font-size: 11px; } /* MODAL */ #redactor_modal_overlay { - position: fixed; - margin: auto; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 50000; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - filter: alpha(opacity=50); - opacity: 0.50; - background-color: #333 !important; + position: fixed; + margin: auto; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 50000; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); + opacity: 0.50; + background-color: #333 !important; } #redactor_modal { - background: #f7f7f7; - background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #e2e2e2)); - background: -webkit-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); - background: -o-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); - background: -ms-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); - background: linear-gradient(to bottom, #f7f7f7 0%, #e2e2e2 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e2e2e2', GradientType=0); - text-shadow: 0 1px 0 #fff; - padding: 0; - position: fixed; - top: 50%; - left: 50%; - box-shadow: 0px 5px 60px #000; - border-radius: 3px; - z-index: 50001; - font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; - font-size: 12px !important; - color: #000; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #e2e2e2)); + background: -webkit-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -o-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: linear-gradient(to bottom, #f7f7f7 0%, #e2e2e2 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e2e2e2', GradientType=0); + text-shadow: 0 1px 0 #fff; + padding: 0; + position: fixed; + top: 50%; + left: 50%; + box-shadow: 0px 5px 60px #000; + border-radius: 3px; + z-index: 50001; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + font-size: 12px !important; + color: #000; } #redactor_modal_header { - padding: 11px 30px 0 15px; - font-size: 12px; - border-radius: 3px 3px 0 0; - font-weight: bold; + padding: 11px 30px 0 15px; + font-size: 12px; + border-radius: 3px 3px 0 0; + font-weight: bold; } #redactor_modal_content { - padding: 20px 30px; + padding: 20px 30px; } #redactor_modal_close { - position: absolute; - right: 5px; - top: 5px; - font-size: 20px; - width: 20px; - height: 20px; - color: #777; - cursor: pointer; + position: absolute; + right: 5px; + top: 5px; + font-size: 20px; + width: 20px; + height: 20px; + color: #777; + cursor: pointer; } #redactor_modal_close:hover { - color: #000; + color: #000; } #redactor_modal label { - margin: 10px 0 3px 0 !important; - padding: 0 !important; - float: none !important; - display: block !important; + margin: 10px 0 3px 0 !important; + padding: 0 !important; + float: none !important; + display: block !important; } #redactor_modal textarea { - margin-top: 4px; - display: block; + margin-top: 4px; + display: block; } .redactor_input { - width: 99%; - font-size: 14px; + width: 99%; + font-size: 14px; } .redactor_modal_box { - height: 350px; - overflow: auto; - margin-bottom: 10px; + height: 350px; + overflow: auto; + margin-bottom: 10px; } #redactor_image_box { - height: 270px; - overflow: auto; - margin-bottom: 10px; + height: 270px; + overflow: auto; + margin-bottom: 10px; } #redactor_image_box_select { - display: block; - width: 200px; - margin-bottom: 15px; + display: block; + width: 200px; + margin-bottom: 15px; } #redactor_image_box img { - margin-right: 10px; - margin-bottom: 10px; - cursor: pointer; - max-width: 100px; + margin-right: 10px; + margin-bottom: 10px; + cursor: pointer; + max-width: 100px; } #redactor_tabs { - margin-bottom: 18px; + margin-bottom: 18px; } #redactor_tabs a { - display: inline-block; - border: 1px solid #d2d2d2; - padding: 4px 14px; - font-size: 12px; - background-color: #fff; - text-decoration: none; - color: #000; - line-height: 1; - border-radius: 10px; - margin-right: 5px; + display: inline-block; + border: 1px solid #d2d2d2; + padding: 4px 14px; + font-size: 12px; + background-color: #fff; + text-decoration: none; + color: #000; + line-height: 1; + border-radius: 10px; + margin-right: 5px; } #redactor_tabs a:hover, #redactor_tabs a.redactor_tabs_act { - background-color: #ddd; - padding: 5px 15px; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; - border: none; - text-shadow: 0 1px 0 #eee; - color: #777 !important; - text-decoration: none !important; + background-color: #ddd; + padding: 5px 15px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; + border: none; + text-shadow: 0 1px 0 #eee; + color: #777 !important; + text-decoration: none !important; } #redactor_modal_footer { - padding: 9px 30px 20px 30px; - border-radius: 0 0 3px 3px; - text-align: right; + padding: 9px 30px 20px 30px; + border-radius: 0 0 3px 3px; + text-align: right; } #redactor_modal input[type="radio"], #redactor_modal input[type="checkbox"] { - position: relative; - top: -1px; + position: relative; + top: -1px; } #redactor_modal input[type="text"], #redactor_modal input[type="password"], #redactor_modal input[type="email"], #redactor_modal textarea { - position: relative; - z-index: 2; - font-family: Helvetica, Arial, Tahoma, sans-serif; - height: 23px; - border: 1px solid #ccc; - margin: 0; - padding: 1px 2px; - background-color: white; - color: #333; - font-size: 13px; - line-height: 1; - border-radius: 1px; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; - -webkit-transition: border 0.3s ease-in; - -moz-transition: border 0.3s ease-in; - -ms-transition: border 0.3s ease-in; - -o-transition: border 0.3s ease-in; - transition: border 0.3s ease-in; + position: relative; + z-index: 2; + font-family: Helvetica, Arial, Tahoma, sans-serif; + height: 23px; + border: 1px solid #ccc; + margin: 0; + padding: 1px 2px; + background-color: white; + color: #333; + font-size: 13px; + line-height: 1; + border-radius: 1px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; + -webkit-transition: border 0.3s ease-in; + -moz-transition: border 0.3s ease-in; + -ms-transition: border 0.3s ease-in; + -o-transition: border 0.3s ease-in; + transition: border 0.3s ease-in; } #redactor_modal textarea { - line-height: 1.4em; + line-height: 1.4em; } #redactor_modal input:focus, #redactor_modal textarea:focus { - outline: none; - border-color: #5ca9e4; - box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset; + outline: none; + border-color: #5ca9e4; + box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset; } .redactor_modal_btn { - margin-left: 8px; - position: relative; - cursor: pointer; - outline: none; - display: inline-block; - text-align: center; - text-decoration: none; - font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; - line-height: 1; - font-size: 12px; - font-weight: normal; - padding: 6px 16px 5px 16px; - border-radius: 4px; - background-color: #f3f3f3; - background-image: -moz-linear-gradient(top, #ffffff, #e1e1e1); - background-image: -ms-linear-gradient(top, #ffffff, #e1e1e1); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e1e1e1)); - background-image: -webkit-linear-gradient(top, #ffffff, #e1e1e1); - background-image: -o-linear-gradient(top, #ffffff, #e1e1e1); - background-image: linear-gradient(top, #ffffff, #e1e1e1); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1', GradientType=0); - border: 1px solid #ccc; - border-bottom-color: #aaa; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); - text-shadow: 0 1px 0px #ffffff; - color: #000; + margin-left: 8px; + position: relative; + cursor: pointer; + outline: none; + display: inline-block; + text-align: center; + text-decoration: none; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + line-height: 1; + font-size: 12px; + font-weight: normal; + padding: 6px 16px 5px 16px; + border-radius: 4px; + background-color: #f3f3f3; + background-image: -moz-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -ms-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e1e1e1)); + background-image: -webkit-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -o-linear-gradient(top, #ffffff, #e1e1e1); + background-image: linear-gradient(top, #ffffff, #e1e1e1); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1', GradientType=0); + border: 1px solid #ccc; + border-bottom-color: #aaa; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + text-shadow: 0 1px 0px #ffffff; + color: #000; } .redactor_modal_btn:hover { - color: #555; + color: #555; } .redactor_modal_btn:hover { - filter: none; - background: none; - background: #f3f3f3; - text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8); - text-decoration: none; + filter: none; + background: none; + background: #f3f3f3; + text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8); + text-decoration: none; } /* Drag and Drop Area */ .redactor_droparea { - position: relative; - width: 100%; - margin: auto; - margin-bottom: 5px; + position: relative; + width: 100%; + margin: auto; + margin-bottom: 5px; } .redactor_droparea .redactor_dropareabox { - z-index: 1; - position: relative; - text-align: center; - width: 99%; - background-color: #fff; - padding: 60px 0; - border: 2px dashed #bbb; + z-index: 1; + position: relative; + text-align: center; + width: 99%; + background-color: #fff; + padding: 60px 0; + border: 2px dashed #bbb; } .redactor_droparea .redactor_dropareabox, .redactor_dropalternative { - color: #555; - font-size: 12px; + color: #555; + font-size: 12px; } .redactor_dropalternative { - margin: 4px 0 2px 0; + margin: 4px 0 2px 0; } .redactor_dropareabox.hover { - background: #efe3b8; - border-color: #aaa; + background: #efe3b8; + border-color: #aaa; } .redactor_dropareabox.error { - background: #f7e5e5; - border-color: #dcc3c3; + background: #f7e5e5; + border-color: #dcc3c3; } .redactor_dropareabox.drop { - background: #f4f4ee; - border-color: #e0e5d6; + background: #f4f4ee; + border-color: #e0e5d6; } .scroll-bar-noselect { - user-select: none; - -o-user-select: none; - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; + user-select: none; + -o-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: none; } .scroll-bar > .viewport { - overflow: hidden; - position: relative; + overflow: hidden; + position: relative; } .scroll-bar > .viewport > .overview { - list-style: none; - position: absolute; - left: 0; - top: 0; - padding: 0; - margin: 0; + list-style: none; + position: absolute; + left: 0; + top: 0; + padding: 0; + margin: 0; } .scroll-bar > .scrollbar { - position: absolute; - z-index: 100; + position: absolute; + z-index: 100; } .scroll-bar > .scrollbar .track { - background-color: transparent; - -webkit-border-radius: 2.5px; - -moz-border-radius: 2.5px; - border-radius: 2.5px; - position: relative; + background-color: transparent; + -webkit-border-radius: 2.5px; + -moz-border-radius: 2.5px; + border-radius: 2.5px; + position: relative; } .scroll-bar > .scrollbar .track .thumb { - background-color: #999999; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - cursor: pointer; - overflow: hidden; - position: absolute; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; + background-color: #999999; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + cursor: pointer; + overflow: hidden; + position: absolute; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; } .scroll-bar .disable { - display: none; + display: none; } .scroll-bar.vertical > .scrollbar { - right: 0; - width: 15px; + right: 0; + width: 15px; } .scroll-bar.vertical > .scrollbar .track { - height: 100%; - width: 15px; + height: 100%; + width: 15px; } .scroll-bar.vertical > .scrollbar .track .thumb { - margin: 0 2px; - height: 20px; - width: 11px; - top: 0; - left: 0; + margin: 0 2px; + height: 20px; + width: 11px; + top: 0; + left: 0; } .scroll-bar.horizontal > .scrollbar { - margin: 0 0 5px; - clear: both; - height: 15px; + margin: 0 0 5px; + clear: both; + height: 15px; } .scroll-bar.horizontal > .scrollbar .track { - width: 100%; - height: 15px; + width: 100%; + height: 15px; } .scroll-bar.horizontal > .scrollbar .track .thumb { - height: 11px; - margin: 2px 0; - left: 0; - top: 0; + height: 11px; + margin: 2px 0; + left: 0; + top: 0; } diff --git a/skins/default/assets/stylesheets/css/theme.css b/skins/default/assets/stylesheets/css/theme.css index 263a318..5635eb0 100644 --- a/skins/default/assets/stylesheets/css/theme.css +++ b/skins/default/assets/stylesheets/css/theme.css @@ -2869,3 +2869,17 @@ body.page-admin-docs .vertical-toolbar.affix { #site-content.is-loaded { visibility: visible; } + +/* styles for form_render_report_preview */ +table.form-report-layout td.form-report-column{ + border-right: 1px solid #CCCCCC; + vertical-align: top; +} + +table.form-report-layout h3{ +padding-left: 10px; +} + +table.form-report-layout td.form-report-column.last{ +border:0; +} diff --git a/skins/default/assets/stylesheets/css/vendor.css b/skins/default/assets/stylesheets/css/vendor.css new file mode 100644 index 0000000..e69de29 diff --git a/skins/default/assets/stylesheets/less/extras.css b/skins/default/assets/stylesheets/less/extras.css new file mode 100644 index 0000000..f1484c7 --- /dev/null +++ b/skins/default/assets/stylesheets/less/extras.css @@ -0,0 +1,3313 @@ +.clearfix { + *zoom: 1; +} +.clearfix:before, +.clearfix:after { + display: table; + content: ""; + line-height: 0; +} +.clearfix:after { + clear: both; +} +.hide-text { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.input-block-level { + display: block; + width: 100%; + min-height: 25px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +/* @group Base */ +.chosen-container { + width: 100% !important; + font-size: 14px; + position: relative; + display: inline-block; + zoom: 1; + *display: inline; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.chosen-container * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container .chosen-drop { + position: absolute; + top: 100%; + left: -9999px; + z-index: 1010; + width: 100% !important; + background: #fff; + border: 1px solid #b3b3b3; + border-top: 0; +} +.chosen-container.chosen-with-drop .chosen-drop { + left: 0; +} +.chosen-container a { + cursor: pointer; +} +.chosen-container .search-choice .group-name, +.chosen-container .chosen-single .group-name { + margin-right: 4px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-weight: normal; + color: #999999; +} +.chosen-container .search-choice .group-name:after, +.chosen-container .chosen-single .group-name:after { + content: ":"; + padding-left: 2px; + vertical-align: top; +} +/* @end */ +/* @group Single Chosen */ +.chosen-container-single .chosen-single { + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; + border: 1px solid #cccccc; + display: block; + overflow: hidden; + white-space: nowrap; + position: relative; + height: 29px; + line-height: 29px; + padding: 0 7px; + color: #8c8c8c; + text-decoration: none; +} +.chosen-container-single .chosen-single span { + margin-right: 26px; + display: block; + overflow: hidden; + white-space: nowrap; + -o-text-overflow: ellipsis; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.chosen-container-single .chosen-single abbr { + display: block; + position: absolute; + right: 26px; + top: 8px; + width: 12px; + height: 12px; + font-size: 1px; + background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; +} +.chosen-container-single .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-single div { + position: absolute; + right: 3px; + top: 3px; + display: block; + height: 100%; + width: 18px; +} +.chosen-container-single .chosen-single div b { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat 0px 2px; + display: block; + width: 100%; + height: 100%; +} +.chosen-container-single .chosen-default { + color: #999; +} +.chosen-container-single.chosen-disabled .chosen-single abbr:hover { + background-position: -42px -10px; +} +.chosen-container-single .chosen-search { + padding: 3px 0 3px 6px; + position: relative; + margin: 0; + white-space: nowrap; + z-index: 1010; +} +.chosen-container-single .chosen-search input { + width: 99% !important; + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; + margin: 1px 0; + padding: 3px !important; + outline: 0; + border: 1px solid #cccccc; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container-single .chosen-search input:focus { + border-color: #b3b3b3; + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; +} +.chosen-container-single .chosen-drop { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; +} +/* @end */ +.chosen-container-single-nosearch .chosen-search input { + position: absolute; + left: -9000px; +} +/* @group Multi Chosen */ +.chosen-container-multi .chosen-choices { + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; + border: 1px solid #cccccc; + margin: 0; + padding: 0; + cursor: text; + overflow: hidden; + height: auto !important; + height: 1%; + position: relative; +} +.chosen-container-multi .chosen-choices li { + float: left; + list-style: none; +} +.chosen-container-multi .chosen-choices .search-field { + white-space: nowrap; + margin: 0; + padding: 0; +} +.chosen-container-multi .chosen-choices .search-field input { + width: 100% !important; + color: #8c8c8c; + background: transparent !important; + border: 0 !important; + font-family: sans-serif; + font-size: 100%; + height: 15px; + padding: 5px; + margin: 1px 0; + outline: 0; +} +.chosen-container-multi .chosen-choices .search-field .default { + color: #999; +} +.chosen-container-multi .chosen-choices .search-choice { + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + background: #FFF; + border: 1px solid #cccccc; + color: #8c8c8c; + line-height: 13px; + padding: 4px 20px 4px 5px; + margin: 3px 0 3px 5px; + position: relative; + cursor: default; +} +.chosen-container-multi .chosen-choices .search-choice.search-choice-disabled { + background-color: #e4e4e4; + color: #666; + border: 1px solid #cccccc; + padding-right: 5px; +} +.chosen-container-multi .chosen-choices .search-choice .search-choice-close { + display: block; + position: absolute; + right: 3px; + top: 4px; + width: 12px; + height: 12px; + font-size: 1px; + background: url('../../images/extras/chosen/chosen-sprite.png') -42px 1px no-repeat; +} +.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover { + background-position: -42px -10px; +} +.chosen-container-multi .chosen-choices .search-choice-focus { + background: #d4d4d4; +} +.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close { + background-position: -42px -10px; +} +/* @end */ +/* @group Results */ +.chosen-container .chosen-results { + margin: 0 0 4px 0; + max-height: 240px; + padding: 0; + position: relative; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} +.chosen-container .chosen-results li { + display: none; + line-height: 15px; + padding: 5px 12px; + margin: 0; + list-style: none; + color: #333333; +} +.chosen-container .chosen-results .active-result { + cursor: pointer; + display: list-item; +} +.chosen-container .chosen-results .highlighted { + background-color: #74abc9; + background-image: -moz-linear-gradient(top, #7bafcc, #69a4c5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#7bafcc), to(#69a4c5)); + background-image: -webkit-linear-gradient(top, #7bafcc, #69a4c5); + background-image: -o-linear-gradient(top, #7bafcc, #69a4c5); + background-image: linear-gradient(to bottom, #7bafcc, #69a4c5); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bafcc', endColorstr='#ff69a4c5', GradientType=0); + color: #ffffff; +} +.chosen-container .chosen-results li em { + background: #feffde; + font-style: normal; +} +.chosen-container .chosen-results .highlighted em { + background: transparent; +} +.chosen-container .chosen-results .no-results { + background: #f4f4f4; + display: list-item; +} +.chosen-container .chosen-results .group-result { + cursor: default; + color: #999; + font-weight: bold; +} +.chosen-container .chosen-results .group-option { + padding-left: 15px; +} +.chosen-container .chosen-results-scroll { + background: white; + margin: 0 4px; + position: absolute; + text-align: center; + width: 321px; + /* This should by dynamic with js */ + z-index: 1; +} +.chosen-container .chosen-results-scroll span { + display: inline-block; + height: 17px; + text-indent: -5000px; + width: 9px; +} +.chosen-container .chosen-results-scroll-down { + bottom: 0; +} +.chosen-container .chosen-results-scroll-down span { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -4px -3px; +} +.chosen-container .chosen-results-scroll-up span { + background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -22px -3px; +} +.chosen-container-multi .chosen-results { + margin: -1px 0 0; + padding: 0; +} +.chosen-container-multi .chosen-drop .result-selected { + display: none; +} +/* @end */ +/* @group Active */ +.chosen-container-active .chosen-single { + border: 1px solid #b3b3b3; +} +.chosen-container-active .chosen-single-with-drop { + border: 1px solid #b3b3b3; + background-color: #ffffff; + -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); +} +.chosen-container-active .chosen-single-with-drop div { + background: transparent; + border-left: none; +} +.chosen-container-active .chosen-single-with-drop div b { + background-position: -18px 2px; +} +.chosen-container-active .chosen-choices { + border: 1px solid #b3b3b3; + background-color: #ffffff; + -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); + box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); +} +/* @end */ +/* @group Disabled Support */ +.chosen-disabled { + cursor: default; + opacity: 0.5 !important; +} +.chosen-disabled .chosen-single { + cursor: default; +} +.chosen-disabled .chosen-choices .search-choice .search-choice-close { + cursor: default; +} +/* @group Right to Left */ +.chosen-rtl { + text-align: right; +} +.chosen-rtl .chosen-single { + padding: 0 8px 0 0; + overflow: visible; +} +.chosen-rtl .chosen-single span { + margin-left: 26px; + margin-right: 0; + direction: rtl; +} +.chosen-rtl .chosen-single div { + left: 3px; + right: auto; +} +.chosen-rtl .chosen-single abbr { + left: 26px; + right: auto; +} +.chosen-rtl .chosen-choices .search-field input { + direction: rtl; +} +.chosen-rtl .chosen-choices li { + float: right; +} +.chosen-rtl .chosen-choices .search-choice { + padding: 3px 5px 3px 19px; + margin: 3px 5px 3px 0; +} +.chosen-rtl .chosen-choices .search-choice .search-choice-close { + left: 4px; + right: auto; +} +.chosen-rtl.chosen-container-single .chosen-results { + margin: 0 0 4px 4px; + padding: 0 4px 0 0; +} +.chosen-rtl .chosen-results .group-option { + padding-left: 0; + padding-right: 15px; +} +.chosen-rtl.chosen-container-active .chosen-single-with-drop div { + border-right: none; +} +.chosen-rtl .chosen-search input { + background: #ffffff url('../../images/extras/chosen/chosen-sprite.png') no-repeat -30px -20px; + padding: 4px 5px 4px 20px; + direction: rtl; +} +.chosen-container-single.chosen-rtl .chosen-single div b { + background-position: 6px 2px; +} +.chosen-container-single.chosen-rtl .chosen-single-with-drop div b { + background-position: -12px 2px; +} +/* @end */ +/* @group Retina compatibility */ +@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) { + .chosen-rtl .chosen-search input, + .chosen-container-single .chosen-single abbr, + .chosen-container-single .chosen-single div b, + .chosen-container-single .chosen-search input, + .chosen-container-multi .chosen-choices .search-choice .search-choice-close, + .chosen-container .chosen-results-scroll-down span, + .chosen-container .chosen-results-scroll-up span { + background-image: url('../../images/extras/chosen/chosen-sprite@2x.png') !important; + background-repeat: no-repeat !important; + background-size: 52px 37px !important; + } +} +ul.tagit { + margin: 0; + padding: 1px 6px; + overflow: auto; + margin-left: inherit; + margin-right: inherit; + border-color: 1px solid #cccccc; + background-color: #ffffff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: border linear .2s, box-shadow linear .2s; + -moz-transition: border linear .2s, box-shadow linear .2s; + -o-transition: border linear .2s, box-shadow linear .2s; + transition: border linear .2s, box-shadow linear .2s; +} +ul.tagit li { + display: block; + float: left; + margin: 2px 6px 2px 0; +} +ul.tagit li.tagit-choice { + background: #FFF; + border: 1px solid #cccccc; + font-weight: normal; + color: #8c8c8c; + line-height: 13px; + padding: 4px 20px 4px 5px; + position: relative; +} +ul.tagit li.tagit-new { + padding: .25em 4px .25em 0; +} +ul.tagit li.tagit-choice a.tagit-label { + cursor: pointer; + text-decoration: none; +} +ul.tagit li.tagit-choice .tagit-close { + cursor: pointer; + position: absolute; + right: .1em; + top: 50%; + margin-top: -8px; +} +ul.tagit li.tagit-choice .tagit-close .text-icon { + display: none; +} +ul.tagit li.tagit-choice input { + display: block; + float: left; + margin: 0; +} +ul.tagit input[type="text"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + font-size: 14px; + line-height: 15px; + color: #8c8c8c; + border: none; + margin: 0; + padding: 0 !important; + width: inherit; + background-color: inherit; + outline: none; +} +/* + * jQuery UI CSS Framework + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + position: absolute !important; + clip: rect(1px 1px 1px 1px); + clip: rect(1px, 1px, 1px, 1px); +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +.ui-helper-clearfix { + display: inline-block; +} +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { + height: 1%; +} +.ui-helper-clearfix { + display: block; +} +/* end clearfix */ +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter: alpha(opacity=0); +} +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} +/* Icons +----------------------------------*/ +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} +/* Misc visuals +----------------------------------*/ +/* Overlays */ +.ui-widget-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +/* + * jQuery UI CSS Framework 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jquit.com/builder/#gcc=ffffff&gcb=e5e5e5&gct=737373&gci=d4d4d4&pcc=eeeeee&acb=737373&o=ffffff&ghc=7bafcc&ght=ffffff&ghi=ffffff&gdc=eeeeee&gdb=eeeeee&gdt=737373&tdc=7bafcc&tdb=7bafcc&tdt=ffffff&tdi=ffffff&ddc=eeeeee&ddb=eeeeee&ddt=737373&pxd=000000&asc=7bafcc&ast=ffffff&goc=dddddd&gob=dddddd&got=333333&toc=69a4c5&tob=69a4c5&tot=ffffff&toi=ffffff&doc=69a4c5&dob=69a4c5&dot=ffffff&pxa=525252&gac=7bafcc&gab=7bafcc&gat=ffffff&tac=ffffff&tab=e5e5e5&tat=737373&tai=cccccc&dac=7bafcc&dab=7bafcc&dat=ffffff&dic=737373&dib=737373&dit=ffffff&gic=efdca9&gib=efdca9&git=525252&gii=525252&ec=c31d1d&eb=c31d1d&et=ffffff&ei=ffffff + */ +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; +} +.ui-widget-content { + border: 1px solid #dddddd; + background: #ffffff; + color: #444444; +} +.ui-widget-content a { + color: #444444; +} +.ui-widget-header { + border: 1px solid #dddddd; + background: #dddddd; + color: #444444; + font-weight: bold; +} +.ui-widget-header a { + color: #444444; +} +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #cccccc; + background: #ffffff; + color: #444444; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #444444; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #ff0084; + background: #ffffff; + color: #222222; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #222222; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #222222; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: normal; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .7; + filter: alpha(opacity=70); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter: alpha(opacity=35); + background-image: none; +} +/* positioning */ +.ui-icon-carat-1-n { + background-position: 0 0; +} +.ui-icon-carat-1-ne { + background-position: -16px 0; +} +.ui-icon-carat-1-e { + background-position: -32px 0; +} +.ui-icon-carat-1-se { + background-position: -48px 0; +} +.ui-icon-carat-1-s { + background-position: -64px 0; +} +.ui-icon-carat-1-sw { + background-position: -80px 0; +} +.ui-icon-carat-1-w { + background-position: -96px 0; +} +.ui-icon-carat-1-nw { + background-position: -112px 0; +} +.ui-icon-carat-2-n-s { + background-position: -128px 0; +} +.ui-icon-carat-2-e-w { + background-position: -144px 0; +} +.ui-icon-triangle-1-n { + background-position: 0 -16px; +} +.ui-icon-triangle-1-ne { + background-position: -16px -16px; +} +.ui-icon-triangle-1-e { + background-position: -32px -16px; +} +.ui-icon-triangle-1-se { + background-position: -48px -16px; +} +.ui-icon-triangle-1-s { + background-position: -64px -16px; +} +.ui-icon-triangle-1-sw { + background-position: -80px -16px; +} +.ui-icon-triangle-1-w { + background-position: -96px -16px; +} +.ui-icon-triangle-1-nw { + background-position: -112px -16px; +} +.ui-icon-triangle-2-n-s { + background-position: -128px -16px; +} +.ui-icon-triangle-2-e-w { + background-position: -144px -16px; +} +.ui-icon-arrow-1-n { + background-position: 0 -32px; +} +.ui-icon-arrow-1-ne { + background-position: -16px -32px; +} +.ui-icon-arrow-1-e { + background-position: -32px -32px; +} +.ui-icon-arrow-1-se { + background-position: -48px -32px; +} +.ui-icon-arrow-1-s { + background-position: -64px -32px; +} +.ui-icon-arrow-1-sw { + background-position: -80px -32px; +} +.ui-icon-arrow-1-w { + background-position: -96px -32px; +} +.ui-icon-arrow-1-nw { + background-position: -112px -32px; +} +.ui-icon-arrow-2-n-s { + background-position: -128px -32px; +} +.ui-icon-arrow-2-ne-sw { + background-position: -144px -32px; +} +.ui-icon-arrow-2-e-w { + background-position: -160px -32px; +} +.ui-icon-arrow-2-se-nw { + background-position: -176px -32px; +} +.ui-icon-arrowstop-1-n { + background-position: -192px -32px; +} +.ui-icon-arrowstop-1-e { + background-position: -208px -32px; +} +.ui-icon-arrowstop-1-s { + background-position: -224px -32px; +} +.ui-icon-arrowstop-1-w { + background-position: -240px -32px; +} +.ui-icon-arrowthick-1-n { + background-position: 0 -48px; +} +.ui-icon-arrowthick-1-ne { + background-position: -16px -48px; +} +.ui-icon-arrowthick-1-e { + background-position: -32px -48px; +} +.ui-icon-arrowthick-1-se { + background-position: -48px -48px; +} +.ui-icon-arrowthick-1-s { + background-position: -64px -48px; +} +.ui-icon-arrowthick-1-sw { + background-position: -80px -48px; +} +.ui-icon-arrowthick-1-w { + background-position: -96px -48px; +} +.ui-icon-arrowthick-1-nw { + background-position: -112px -48px; +} +.ui-icon-arrowthick-2-n-s { + background-position: -128px -48px; +} +.ui-icon-arrowthick-2-ne-sw { + background-position: -144px -48px; +} +.ui-icon-arrowthick-2-e-w { + background-position: -160px -48px; +} +.ui-icon-arrowthick-2-se-nw { + background-position: -176px -48px; +} +.ui-icon-arrowthickstop-1-n { + background-position: -192px -48px; +} +.ui-icon-arrowthickstop-1-e { + background-position: -208px -48px; +} +.ui-icon-arrowthickstop-1-s { + background-position: -224px -48px; +} +.ui-icon-arrowthickstop-1-w { + background-position: -240px -48px; +} +.ui-icon-arrowreturnthick-1-w { + background-position: 0 -64px; +} +.ui-icon-arrowreturnthick-1-n { + background-position: -16px -64px; +} +.ui-icon-arrowreturnthick-1-e { + background-position: -32px -64px; +} +.ui-icon-arrowreturnthick-1-s { + background-position: -48px -64px; +} +.ui-icon-arrowreturn-1-w { + background-position: -64px -64px; +} +.ui-icon-arrowreturn-1-n { + background-position: -80px -64px; +} +.ui-icon-arrowreturn-1-e { + background-position: -96px -64px; +} +.ui-icon-arrowreturn-1-s { + background-position: -112px -64px; +} +.ui-icon-arrowrefresh-1-w { + background-position: -128px -64px; +} +.ui-icon-arrowrefresh-1-n { + background-position: -144px -64px; +} +.ui-icon-arrowrefresh-1-e { + background-position: -160px -64px; +} +.ui-icon-arrowrefresh-1-s { + background-position: -176px -64px; +} +.ui-icon-arrow-4 { + background-position: 0 -80px; +} +.ui-icon-arrow-4-diag { + background-position: -16px -80px; +} +.ui-icon-extlink { + background-position: -32px -80px; +} +.ui-icon-newwin { + background-position: -48px -80px; +} +.ui-icon-refresh { + background-position: -64px -80px; +} +.ui-icon-shuffle { + background-position: -80px -80px; +} +.ui-icon-transfer-e-w { + background-position: -96px -80px; +} +.ui-icon-transferthick-e-w { + background-position: -112px -80px; +} +.ui-icon-folder-collapsed { + background-position: 0 -96px; +} +.ui-icon-folder-open { + background-position: -16px -96px; +} +.ui-icon-document { + background-position: -32px -96px; +} +.ui-icon-document-b { + background-position: -48px -96px; +} +.ui-icon-note { + background-position: -64px -96px; +} +.ui-icon-mail-closed { + background-position: -80px -96px; +} +.ui-icon-mail-open { + background-position: -96px -96px; +} +.ui-icon-suitcase { + background-position: -112px -96px; +} +.ui-icon-comment { + background-position: -128px -96px; +} +.ui-icon-person { + background-position: -144px -96px; +} +.ui-icon-print { + background-position: -160px -96px; +} +.ui-icon-trash { + background-position: -176px -96px; +} +.ui-icon-locked { + background-position: -192px -96px; +} +.ui-icon-unlocked { + background-position: -208px -96px; +} +.ui-icon-bookmark { + background-position: -224px -96px; +} +.ui-icon-tag { + background-position: -240px -96px; +} +.ui-icon-home { + background-position: 0 -112px; +} +.ui-icon-flag { + background-position: -16px -112px; +} +.ui-icon-calendar { + background-position: -32px -112px; +} +.ui-icon-cart { + background-position: -48px -112px; +} +.ui-icon-pencil { + background-position: -64px -112px; +} +.ui-icon-clock { + background-position: -80px -112px; +} +.ui-icon-disk { + background-position: -96px -112px; +} +.ui-icon-calculator { + background-position: -112px -112px; +} +.ui-icon-zoomin { + background-position: -128px -112px; +} +.ui-icon-zoomout { + background-position: -144px -112px; +} +.ui-icon-search { + background-position: -160px -112px; +} +.ui-icon-wrench { + background-position: -176px -112px; +} +.ui-icon-gear { + background-position: -192px -112px; +} +.ui-icon-heart { + background-position: -208px -112px; +} +.ui-icon-star { + background-position: -224px -112px; +} +.ui-icon-link { + background-position: -240px -112px; +} +.ui-icon-cancel { + background-position: 0 -128px; +} +.ui-icon-plus { + background-position: -16px -128px; +} +.ui-icon-plusthick { + background-position: -32px -128px; +} +.ui-icon-minus { + background-position: -48px -128px; +} +.ui-icon-minusthick { + background-position: -64px -128px; +} +.ui-icon-close { + background-position: -80px -128px; +} +.ui-icon-closethick { + background-position: -96px -128px; +} +.ui-icon-key { + background-position: -112px -128px; +} +.ui-icon-lightbulb { + background-position: -128px -128px; +} +.ui-icon-scissors { + background-position: -144px -128px; +} +.ui-icon-clipboard { + background-position: -160px -128px; +} +.ui-icon-copy { + background-position: -176px -128px; +} +.ui-icon-contact { + background-position: -192px -128px; +} +.ui-icon-image { + background-position: -208px -128px; +} +.ui-icon-video { + background-position: -224px -128px; +} +.ui-icon-script { + background-position: -240px -128px; +} +.ui-icon-alert { + background-position: 0 -144px; +} +.ui-icon-info { + background-position: -16px -144px; +} +.ui-icon-notice { + background-position: -32px -144px; +} +.ui-icon-help { + background-position: -48px -144px; +} +.ui-icon-check { + background-position: -64px -144px; +} +.ui-icon-bullet { + background-position: -80px -144px; +} +.ui-icon-radio-off { + background-position: -96px -144px; +} +.ui-icon-radio-on { + background-position: -112px -144px; +} +.ui-icon-pin-w { + background-position: -128px -144px; +} +.ui-icon-pin-s { + background-position: -144px -144px; +} +.ui-icon-play { + background-position: 0 -160px; +} +.ui-icon-pause { + background-position: -16px -160px; +} +.ui-icon-seek-next { + background-position: -32px -160px; +} +.ui-icon-seek-prev { + background-position: -48px -160px; +} +.ui-icon-seek-end { + background-position: -64px -160px; +} +.ui-icon-seek-start { + background-position: -80px -160px; +} +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { + background-position: -80px -160px; +} +.ui-icon-stop { + background-position: -96px -160px; +} +.ui-icon-eject { + background-position: -112px -160px; +} +.ui-icon-volume-off { + background-position: -128px -160px; +} +.ui-icon-volume-on { + background-position: -144px -160px; +} +.ui-icon-power { + background-position: 0 -176px; +} +.ui-icon-signal-diag { + background-position: -16px -176px; +} +.ui-icon-signal { + background-position: -32px -176px; +} +.ui-icon-battery-0 { + background-position: -48px -176px; +} +.ui-icon-battery-1 { + background-position: -64px -176px; +} +.ui-icon-battery-2 { + background-position: -80px -176px; +} +.ui-icon-battery-3 { + background-position: -96px -176px; +} +.ui-icon-circle-plus { + background-position: 0 -192px; +} +.ui-icon-circle-minus { + background-position: -16px -192px; +} +.ui-icon-circle-close { + background-position: -32px -192px; +} +.ui-icon-circle-triangle-e { + background-position: -48px -192px; +} +.ui-icon-circle-triangle-s { + background-position: -64px -192px; +} +.ui-icon-circle-triangle-w { + background-position: -80px -192px; +} +.ui-icon-circle-triangle-n { + background-position: -96px -192px; +} +.ui-icon-circle-arrow-e { + background-position: -112px -192px; +} +.ui-icon-circle-arrow-s { + background-position: -128px -192px; +} +.ui-icon-circle-arrow-w { + background-position: -144px -192px; +} +.ui-icon-circle-arrow-n { + background-position: -160px -192px; +} +.ui-icon-circle-zoomin { + background-position: -176px -192px; +} +.ui-icon-circle-zoomout { + background-position: -192px -192px; +} +.ui-icon-circle-check { + background-position: -208px -192px; +} +.ui-icon-circlesmall-plus { + background-position: 0 -208px; +} +.ui-icon-circlesmall-minus { + background-position: -16px -208px; +} +.ui-icon-circlesmall-close { + background-position: -32px -208px; +} +.ui-icon-squaresmall-plus { + background-position: -48px -208px; +} +.ui-icon-squaresmall-minus { + background-position: -64px -208px; +} +.ui-icon-squaresmall-close { + background-position: -80px -208px; +} +.ui-icon-grip-dotted-vertical { + background-position: 0 -224px; +} +.ui-icon-grip-dotted-horizontal { + background-position: -16px -224px; +} +.ui-icon-grip-solid-vertical { + background-position: -32px -224px; +} +.ui-icon-grip-solid-horizontal { + background-position: -48px -224px; +} +.ui-icon-gripsmall-diagonal-se { + background-position: -64px -224px; +} +.ui-icon-grip-diagonal-se { + background-position: -80px -224px; +} +/* Misc visuals +----------------------------------*/ +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + -moz-border-radius-topleft: 0; + -webkit-border-top-left-radius: 0; + -khtml-border-top-left-radius: 0; + border-top-left-radius: 0; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + -moz-border-radius-topright: 0; + -webkit-border-top-right-radius: 0; + -khtml-border-top-right-radius: 0; + border-top-right-radius: 0; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + -moz-border-radius-bottomleft: 0; + -webkit-border-bottom-left-radius: 0; + -khtml-border-bottom-left-radius: 0; + border-bottom-left-radius: 0; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + -moz-border-radius-bottomright: 0; + -webkit-border-bottom-right-radius: 0; + -khtml-border-bottom-right-radius: 0; + border-bottom-right-radius: 0; +} +/* Overlays */ +.ui-widget-overlay { + background: #eeeeee; + opacity: .80; + filter: alpha(opacity=80); +} +.ui-widget-shadow { + margin: -4px 0 0 -4px; + padding: 4px; + background: #aaaaaa; + opacity: .60; + filter: alpha(opacity=60); + -moz-border-radius: 0px; + -khtml-border-radius: 0px; + -webkit-border-radius: 0px; + border-radius: 0px; +} +/* + * jQuery UI Resizable 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizable#theming + */ +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + z-index: 99999; + display: block; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +/* + * jQuery UI Selectable 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectable#theming + */ +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} +/* + * jQuery UI Accordion 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Accordion#theming + */ +/* IE/Win - Fix animation bug - #4615 */ +.ui-accordion { + width: 100%; +} +.ui-accordion .ui-accordion-header { + cursor: pointer; + position: relative; + margin-top: 1px; + zoom: 1; +} +.ui-accordion .ui-accordion-li-fix { + display: inline; +} +.ui-accordion .ui-accordion-header-active { + border-bottom: 0 !important; +} +.ui-accordion .ui-accordion-header a { + display: block; + font-size: 1em; + padding: .5em .5em .5em .7em; +} +.ui-accordion-icons .ui-accordion-header a { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-header .ui-icon { + position: absolute; + left: 2px; + top: 50%; + margin-top: -8px; +} +.ui-accordion .ui-accordion-content { + padding: 1em 2.2em; + border-top: 0; + margin-top: -2px; + position: relative; + top: 1px; + margin-bottom: 2px; + overflow: auto; + display: none; + zoom: 1; +} +.ui-accordion .ui-accordion-content-active { + display: block; +} +/* + * jQuery UI Autocomplete 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Autocomplete#theming + */ +.ui-autocomplete { + position: absolute; + cursor: default; +} +/* workarounds */ +* html .ui-autocomplete { + width: 1px; +} +/* without this, the menu expands to 100% in IE6 */ +/* + * jQuery UI Menu 1.8.16 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Menu#theming + */ +.ui-menu { + list-style: none; + padding: 2px; + margin: 0; + display: block; + float: left; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin: 0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration: none; + display: block; + padding: .2em .4em; + line-height: 1.5; + zoom: 1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +/* + * jQuery UI Button 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Button#theming + */ +.ui-button { + display: inline-block; + position: relative; + padding: 0; + margin-right: .1em; + text-decoration: none !important; + cursor: pointer; + text-align: center; + zoom: 1; + overflow: visible; +} +/* the overflow property removes extra width in IE */ +.ui-button-icon-only { + width: 2.2em; +} +/* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { + width: 2.4em; +} +/* button elements seem to need a little more width */ +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; +} +/*button text element */ +.ui-button .ui-button-text { + display: block; + line-height: 1.4; +} +.ui-button-text-only .ui-button-text { + padding: .4em 1em; +} +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; +} +.ui-button-text-icon-primary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 1em .4em 2.1em; +} +.ui-button-text-icon-secondary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 2.1em .4em 1em; +} +.ui-button-text-icons .ui-button-text { + padding-left: 2.1em; + padding-right: 2.1em; +} +/* no icon support for input elements, provide padding by default */ +input.ui-button { + padding: .4em 1em; +} +/*button icon element(s) */ +/*.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } +*/ +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -12px; +} +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -12px; +} +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .35em; +} +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .35em; +} +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .35em; +} +/*button sets*/ +.ui-buttonset { + margin-right: 7px; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -0.3em; +} +/* workarounds */ +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; +} +/* reset extra padding in Firefox */ +/* + * jQuery UI Dialog 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Dialog#theming + */ +.ui-dialog { + position: absolute; + padding: .2em; + width: 300px; + overflow: hidden; +} +.ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; + position: relative; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 16px .1em 0; +} +.ui-dialog .ui-dialog-titlebar-close { + position: absolute; + right: .3em; + top: 50%; + width: 19px; + margin: -10px 0 0 0; + padding: 1px; + height: 18px; +} +.ui-dialog .ui-dialog-titlebar-close span { + display: block; + margin: 1px; +} +.ui-dialog .ui-dialog-titlebar-close:hover, +.ui-dialog .ui-dialog-titlebar-close:focus { + padding: 0; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; + zoom: 1; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin: .5em 0 0 0; + padding: .3em 1em .5em .4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: right; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; +} +.ui-dialog .ui-resizable-se { + width: 14px; + height: 14px; + right: 2px; + bottom: 2px; +} +.ui-draggable .ui-dialog-titlebar { + cursor: move; +} +/* + * jQuery UI Slider 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Slider#theming + */ +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -0.3em; + margin-left: -0.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -0.3em; + margin-left: 0; + margin-bottom: -0.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} +/* + * jQuery UI Tabs 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { + position: relative; + padding: .2em; + zoom: 1; +} +/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { + margin: 0; + padding: .2em .2em 0; +} +.ui-tabs .ui-tabs-nav li { + list-style: none; + float: left; + position: relative; + top: 1px; + margin: 0 .2em 1px 0; + border-bottom: 0 !important; + padding: 0; + white-space: nowrap; +} +.ui-tabs .ui-tabs-nav li a { + float: left; + padding: .5em 1em; + text-decoration: none; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { + margin-bottom: 0; + padding-bottom: 1px; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, +.ui-tabs .ui-tabs-nav li.ui-state-disabled a, +.ui-tabs .ui-tabs-nav li.ui-state-processing a { + cursor: text; +} +.ui-tabs .ui-tabs-nav li a, +.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { + cursor: pointer; +} +/* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; + padding: 1em 1.4em; + background: none; +} +.ui-tabs .ui-tabs-hide { + display: none !important; +} +/* + * jQuery UI Datepicker 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker#theming + */ +.ui-datepicker { + width: 17em; + padding: .2em .2em 0; + display: none; +} +.ui-datepicker .ui-datepicker-header { + position: relative; + padding: .2em 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; +} +.ui-datepicker .ui-datepicker-title { + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 1em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month-year { + width: 100%; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + width: 49%; +} +.ui-datepicker table { + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; +} +.ui-datepicker th { + padding: .7em .3em; + text-align: center; + font-weight: normal; + border: 0; +} +.ui-datepicker td { + border: 0; + padding: 1px; +} +.ui-datepicker td span, +.ui-datepicker td a { + display: block; + padding: .2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; +} +.ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; + cursor: pointer; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + width: 95%; + margin: 0 auto .4em; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; + font-size: 0em; +} +/* RTL support */ +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + right: 2px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + right: 1px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + position: absolute; + /*must have*/ + z-index: -1; + /*must have*/ + filter: mask(); + /*must have*/ + top: -4px; + /*must have*/ + left: -4px; + /*must have*/ + width: 200px; + /*must have*/ + height: 200px; + /*must have*/ +} +/* + * jQuery UI Progressbar 1.8.16 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Progressbar#theming + */ +.ui-progressbar { + height: 2em; + text-align: left; +} +.ui-progressbar .ui-progressbar-value { + margin: -1px; + height: 100%; +} +/* General */ +.ui-widget { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 2px solid #dddddd; + background: inherit; + font-weight: bold; + text-decoration: none; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + font-weight: bold; + color: #ffffff; + border-width: 2px; +} +.ui-state-hover a, +.ui-state-hover a:hover { + color: #ffffff; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #dddddd; + font-weight: bold; + color: #ff0084; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #ff0084; + text-decoration: none; +} +.ui-widget :active { + outline: none; +} +/* Accordion */ +.ui-accordion-header { + border: 2px solid; +} +.ui-accordion .ui-accordion-header { + margin-top: 2px; +} +.ui-accordion-content { + border: 2px solid; + border-top: none; + margin-bottom: 3px !important; +} +.ui-accordion .ui-accordion-header a { + font-size: 1.0em; + padding: .6em .3em .5em 2.9em; + font-weight: bold; +} +.ui-accordion > .ui-state-active a, +.ui-accordion > div > h3.ui-state-active a { + padding-bottom: .8em; +} +/*.ui-accordion .ui-accordion-header .ui-icon{margin-top:-12px;}*/ +.ui-accordion > .ui-state-active, +.ui-accordion > div > h3.ui-state-active { + border-bottom: none !important; +} +.ui-accordion-header > .ui-icon { + margin: 4px; +} +/* Tabs */ +.ui-tabs { + padding: 0; + border: none; + position: relative; + top: -3px; +} +.ui-tabs-nav { + padding: 0px 0px 0px 0px !important; + border: none; + border-bottom: 2px solid; + background-color: #ffffff; +} +.ui-tabs-nav .ui-state-default { + border: none; + padding: 0px !important; + margin-right: 2px !important; + background: none !important; +} +.ui-tabs-nav .ui-state-default a { + border: 2px solid; + position: relative; + top: 2px; + font-weight: bold; + margin-bottom: 4px; + height: 16px; +} +/*.ui-tabs-nav .ui-tabs-selected a{border:2px solid;height:1.8em;border-bottom:none !important;}*/ +.ui-tabs-nav .ui-state-active a { + border: 2px solid; + border-bottom: none !important; + margin-bottom: 0; + height: 22px; +} +.ui-tabs .ui-widget-content { + border: 2px solid !important; + border-top: none !important; +} +.ui-tabs .ui-widget-content .ui-tabs { + border: none !important; +} +.ui-tabs-nav .ui-state-hover { + border: none; +} +/* Dialog */ +.ui-dialog { + border-width: 2px; + padding: 0; +} +.ui-dialog-titlebar { + border: none; + border-bottom-width: 2px; + padding: .6em 1em .6em 1em !important; + font-weight: bold; + font-size: 1.1em; +} +.ui-dialog-buttonpane { + border-top-width: 2px !important; + margin-top: 0 !important; +} +.ui-dialog .ui-dialog-titlebar-close { + width: 24px; + height: 24px; + margin: -13px 0px 0px 0px; + padding: 0; +} +.ui-dialog-titlebar-close > .ui-icon { + margin: 4px !important; +} +/* Datepicker*/ +.ui-datepicker { + border: 2px solid; + padding: 0 !important; +} +.ui-datepicker .ui-datepicker-header { + border: none; + padding: .4em 1em .4em 1em; +} +.ui-datepicker .ui-datepicker-header .ui-state-default, +.ui-datepicker .ui-datepicker-header .ui-state-hover { + background: none; + border: none; + padding: 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + width: 24px; + height: 24px; + margin: 0; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + position: relative; + top: 0; + left: 0; + margin: 0; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 2px; + top: 2px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 2px; + top: 2px; +} +.ui-datepicker table { + margin: 0px; + border: 1px solid; +} +.ui-datepicker-calendar .ui-state-default, +.ui-datepicker-calendar .ui-state-hover, +.ui-datepicker-calendar .ui-state-highlight, +.ui-datepicker-calendar .ui-state-active { + border-width: 2px; +} +.ui-datepicker .ui-icon { + margin: 4px !important; +} +/* Button */ +.ui-button { + border-width: 2px !important; + border-bottom-style: solid; + font-weight: bold !important; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -1px; +} +/* Additional states */ +.ui-state-highlight { + border: 2px solid; +} +.ui-state-error { + border: 2px solid; +} +/*.ui-state-highlight .ui-icon, .ui-state-error .ui-icon{position:relative;top:-4px;}*/ +/* Slider */ +.ui-slider { + border: none; +} +.ui-slider .ui-slider-handle { + width: .8em; + height: .8em; + border: none; + margin: -0.4em; +} +.ui-slider-horizontal .ui-slider-handle { + margin-top: 0; + top: 0; +} +.ui-slider-vertical .ui-slider-handle { + margin-left: 0; + left: 0; +} +/* Progressbar */ +.ui-progressbar { + border: none; + height: 0.8em; +} +.ui-progressbar .ui-progressbar-value { + border: none; +} +/* Autocomplete */ +.ui-autocomplete { + border: solid 2px #bbbbbb; + padding: 0; +} +.ui-autocomplete .ui-menu-item a { + padding: 5px; + border: none; + margin: 0 !important; +} +/* Icon states */ +.ui-icon { + width: 16px; + height: 16px; +} +/* General */ +.ui-icon, +.ui-widget-content .ui-icon, +.ui-widget-header .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_d4d4d4_0.png); +} +.ui-state-default .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_737373_0.png); +} +.ui-state-active .ui-icon, +.ui-state-hover .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_333333_0.png); +} +.ui-widget-overlay { + background: #ffffff; +} +.ui-widget-content { + color: #737373; +} +/* Button states */ +.ui-state-default, +.ui-widget-content .ui-state-default { + background-color: #eeeeee; + border-color: #eeeeee; + color: #737373; +} +.ui-state-focus, +.ui-widget-content .ui-state-focus { + background-color: #dddddd; + border-color: #dddddd; + color: #333333; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover { + background-color: #dddddd; + border-color: #dddddd; + color: #333333; +} +.ui-state-active, +.ui-widget-content .ui-state-active { + background-color: #7bafcc; + border-color: #7bafcc; + color: #ffffff; +} +/* Accordion */ +.ui-accordion-content { + border-color: #e5e5e5; + background: #ffffff; +} +.ui-accordion-header.ui-state-active, +.ui-accordion-header.ui-state-active.ui-state-hover { + background-color: #ffffff !important; + color: #737373; + border-color: #e5e5e5 !important; + background-image: url(../../extras/ui/images/ui-icons_cccccc_0.png) !important; + background-position: -230px -213px !important; +} +.ui-accordion-header.ui-state-active a { + color: #737373 !important; +} +.ui-accordion-header.ui-state-default { + border-color: #7bafcc; + background: #7bafcc; +} +.ui-accordion-header.ui-state-default a { + color: #ffffff; +} +.ui-accordion-header.ui-state-hover { + background: #69a4c5; + border-color: #69a4c5; +} +.ui-accordion-header.ui-state-hover a { + color: #ffffff; +} +.ui-accordion-header.ui-state-active .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_cccccc_0.png) !important; +} +.ui-accordion-header.ui-state-default .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); +} +.ui-accordion-header.ui-state-hover .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_69a4c5_0.png); +} +.ui-accordion-header { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -230px -214px !important; + background-repeat: no-repeat !important; +} +.ui-accordion-header.ui-state-hover { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -230px -166px !important; +} +/* Tabs states */ +.ui-tabs-nav > .ui-state-default a { + border-color: #7bafcc; + background: #7bafcc; + color: #ffffff; +} +.ui-tabs-nav > .ui-state-active a { + border-color: #e5e5e5 !important; + background: #ffffff !important; + color: #737373 !important; +} +.ui-tabs-nav > .ui-state-hover a { + background: #69a4c5; + border-color: #69a4c5; + color: #ffffff; +} +.ui-tabs-nav > .ui-state-focus a { + background: #69a4c5; + border-color: #e5e5e5; + color: #ffffff; +} +.ui-tabs .ui-widget-content { + border-color: #e5e5e5 !important; + background-color: #ffffff; +} +.ui-tabs-nav { + border-color: #e5e5e5; +} +/* Dialog states */ +.ui-dialog { + border-color: #7bafcc; + background-color: #ffffff !important; +} +.ui-dialog-titlebar { + border-color: #7bafcc; + color: #ffffff; + background-color: #7bafcc; +} +.ui-dialog-buttonpane { + border-color: #7bafcc !important; + background-color: #ffffff; +} +.ui-dialog-content { + background-color: #ffffff !important; +} +.ui-dialog-titlebar .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); +} +.ui-dialog-titlebar .ui-state-hover .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_7bafcc_0.png) !important; +} +.ui-dialog-titlebar-close { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -232px -216px !important; +} +.ui-dialog-titlebar-close.ui-state-hover { + background: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -232px -168px !important; +} +/* Slider */ +.ui-slider { + background: #eeeeee; +} +.ui-slider .ui-slider-range { + background: #7bafcc; +} +.ui-slider .ui-state-default { + background-color: #000000; +} +.ui-slider .ui-state-active { + background-color: #525252 !important; +} +.ui-slider .ui-state-focus { + background-color: #000000; +} +.ui-slider .ui-state-hover { + background-color: #525252; +} +/* Progressbar */ +.ui-progressbar { + background: #eeeeee; +} +.ui-progressbar .ui-progressbar-value { + background-color: #7bafcc; +} +/* Autocomplete */ +.ui-autocomplete { + border-color: #737373; +} +.ui-autocomplete a { + background-color: #ffffff; + color: #737373; +} +.ui-autocomplete .ui-state-hover { + background: #7bafcc; + color: #ffffff; +} +/* Datepicker */ +.ui-datepicker { + border-color: #7bafcc; +} +.ui-datepicker .ui-datepicker-header { + background-color: #7bafcc; + color: #ffffff; +} +.ui-datepicker table { + border-color: #ffffff; +} +.ui-datepicker-calendar { + background: #ffffff; +} +.ui-datepicker-calendar .ui-state-default { + background-color: #eeeeee; + border-color: #eeeeee; + color: #737373; +} +.ui-datepicker-calendar .ui-state-hover { + background-color: #69a4c5 !important; + border-color: #69a4c5 !important; + color: #ffffff !important; +} +.ui-datepicker-calendar .ui-state-highlight { + background-color: #737373; + border-color: #737373; + color: #ffffff; +} +.ui-datepicker-calendar .ui-state-active { + background-color: #7bafcc; + border-color: #7bafcc; + color: #ffffff; +} +.ui-datepicker .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); +} +.ui-datepicker .ui-state-hover .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_7bafcc_0.png); +} +.ui-datepicker-next, +.ui-datepicker-prev { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-position: -232px -216px; +} +.ui-datepicker-next-hover, +.ui-datepicker-prev-hover { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png) !important; + background-position: -232px -168px !important; + opacity: 1; +} +.ui-datepicker-next.ui-state-disabled, +.ui-datepicker-prev.ui-state-disabled { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); + background-position: -232px -216px; +} +/* Highlight */ +.ui-state-highlight { + border-color: #efdca9; + color: #525252; + background: #efdca9; +} +.ui-state-highlight .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_525252_0.png); +} +/* Error */ +.ui-state-error { + border-color: #c31d1d; + color: #ffffff; + background: #c31d1d; +} +.ui-state-error .ui-icon { + background-image: url(../../extras/ui/images/ui-icons_ffffff_0.png); +} +.redactor_box { + position: relative; + border: 1px solid #ddd; + overflow: visible; +} +.redactor_box, +.redactor_box textarea { + background-color: #fff; +} +body .redactor_air { + position: absolute; + border: 1px solid #ddd; + border-bottom: none; + z-index: 2; +} +/* + Fullscreen +*/ +body .redactor_box_fullscreen { + left: 0; + position: fixed; + overflow: hidden; + top: 0; + width: 100%; + z-index: 2000; +} +.redactor_box textarea { + font-family: Menlo, Monaco, monospace, sans-serif; + font-size: 13px; + overflow: auto; + resize: none; + margin: 0; + padding: 0; + display: block; + position: relative; + z-index: 1004; + outline: none; + border: none; + width: 100%; +} +.redactor_editor, +.redactor_editor:focus, +.redactor_editor div, +.redactor_editor p, +.redactor_editor ul, +.redactor_editor ol, +.redactor_editor table, +.redactor_editor dl, +.redactor_editor blockquote, +.redactor_editor pre, +.redactor_editor h1, +.redactor_editor h2, +.redactor_editor h3, +.redactor_editor h4, +.redactor_editor h5 { + font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important; +} +.redactor_editor code, +.redactor_editor pre { + font-family: Menlo, Monaco, monospace, sans-serif !important; +} +.redactor_editor, +.redactor_editor:focus, +.redactor_editor div, +.redactor_editor p, +.redactor_editor ul, +.redactor_editor ol, +.redactor_editor table, +.redactor_editor dl, +.redactor_editor blockquote, +.redactor_editor pre { + font-size: 15px !important; + line-height: 1.45em !important; +} +.redactor_editor, +.redactor_editor:focus { + position: relative; + outline: none; + box-shadow: none !important; + padding: 15px !important; + margin: 0 !important; + background: none; + background: #fff !important; + overflow: auto; + white-space: normal; +} +.redactor_editor a { + color: #15c !important; + text-decoration: underline !important; +} +.redactor_editor object, +.redactor_editor embed, +.redactor_editor video, +.redactor_editor img { + width: auto; + max-width: 100%; +} +.redactor_editor video, +.redactor_editor img { + height: auto; +} +.redactor_editor div, +.redactor_editor p, +.redactor_editor ul, +.redactor_editor ol, +.redactor_editor table, +.redactor_editor dl, +.redactor_editor blockquote, +.redactor_editor pre { + box-shadow: none !important; + background: none !important; + margin: 0 !important; + margin-bottom: 15px !important; + border: none; +} +.redactor_editor iframe, +.redactor_editor object, +.redactor_editor hr { + margin-bottom: 15px !important; +} +.redactor_editor blockquote { + margin-left: 3em !important; + font-style: italic !important; + color: #777; +} +.redactor_editor ul, +.redactor_editor ol { + padding-left: 2em !important; +} +.redactor_editor ul ul, +.redactor_editor ol ol, +.redactor_editor ul ol, +.redactor_editor ol ul { + border: none; + margin: 2px !important; + padding: 0 !important; + padding-left: 2em !important; +} +.redactor_editor dl dt { + font-weight: bold; +} +.redactor_editor dd { + margin-left: 1em; +} +.redactor_editor table { + border-collapse: collapse; + font-size: 1em !important; +} +.redactor_editor table td { + border: 1px solid #ddd; + padding: 5px !important; + vertical-align: top; +} +.redactor_editor table thead td { + border-bottom: 2px solid #000 !important; + font-weight: bold !important; +} +.redactor_editor code { + background-color: #d8d7d7 !important; +} +.redactor_editor pre { + font-size: 90% !important; + background: #f8f8f8 !important; + border: 1px solid #ddd !important; + border-radius: 3px !important; + padding: 1em !important; + white-space: pre; + overflow: auto; +} +.redactor_editor hr { + display: block; + height: 1px; + border: 0; + border-top: 1px solid #ccc; +} +.redactor_editor h1, +.redactor_editor h2, +.redactor_editor h3, +.redactor_editor h4, +.redactor_editor h5 { + color: #000; + background: none; + margin: 0 !important; + padding: 0 !important; + font-weight: bold; +} +.redactor_editor h1 { + font-size: 36px !important; + line-height: 40px !important; + margin-bottom: 10px !important; +} +.redactor_editor h2 { + font-size: 30px !important; + line-height: 38px !important; + margin-bottom: 15px !important; +} +.redactor_editor h3 { + font-size: 24px !important; + line-height: 30px !important; + margin-bottom: 10px !important; +} +.redactor_editor h4 { + font-size: 18px !important; + line-height: 24px !important; + margin-bottom: 10px !important; +} +.redactor_editor h5 { + font-size: 1em !important; + margin-bottom: 10px !important; +} +.redactor_editor.redactor_editor_wym { + background: #f6f6f6 !important; + padding: 5px 15px !important; +} +.redactor_editor_wym div, +.redactor_editor_wym p, +.redactor_editor_wym ul, +.redactor_editor_wym ol, +.redactor_editor_wym table, +.redactor_editor_wym dl, +.redactor_editor_wym pre, +.redactor_editor_wym h1, +.redactor_editor_wym h2, +.redactor_editor_wym h3, +.redactor_editor_wym h4, +.redactor_editor_wym h5, +.redactor_editor_wym blockquote { + background-color: #fff !important; + border: 1px solid #e4e4e4 !important; + padding: 10px !important; + margin: 10px 0 !important; +} +.redactor_editor_wym ul, +.redactor_editor_wym ol { + padding-left: 2em !important; +} +/* + TOOLBAR +*/ +.redactor_toolbar { + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important; + position: relative; + left: 0; + top: 0; + margin: 0 !important; + padding: 0 !important; + padding-left: 2px !important; + line-height: 0 !important; + list-style: none !important; + font-size: 0; + background: #f1f1f1; + overflow: hidden !important; + height: 32px !important; + border-bottom: 1px solid #bbb; +} +.redactor_toolbar li { + float: left !important; + margin: 0 !important; + padding: 3px 1px; + padding-right: 0; + list-style: none !important; + outline: none; +} +.redactor_toolbar li.redactor_separator { + float: left; + height: 34px; + border-left: 1px solid #d3d3d3; + border-right: 1px solid #f1f1f1; + padding: 0; + margin: 0 2px 0 3px !important; +} +.redactor_toolbar li a { + width: 25px; + height: 25px; + border: 1px solid transparent; + *border: 1px solid #eee; + display: block; + line-height: 0; + font-size: 0; + cursor: pointer; + zoom: 1; + outline: none; + text-decoration: none; +} +.redactor_toolbar li.redactor_btn_right { + float: none; + float: right !important; +} +.redactor_toolbar li a { + display: block; + text-indent: -9999px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAAZCAYAAAC2GQ9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAF4BJREFUeNrsXQlYFFe2LpoGgQZtVEARjYrigijuW9xIHNQxLsm4PWNERxhw17glE2OIz2U0xnFl1JeYoFGzqdHEMUHFLcaFuCBk3CKIyoAoNFtAoOn5T3sbO/0a6Oqqbsnk/t93v1q66p6qW/ec859zb1U76HQ6gYODg4ODg4ODg8MUDpwocnBwcHBwcHBwcKLIwcHBwcHBwcHBiSIHBwcHBwcHBwcnihwcHBwcHBwcHJwocnBwcHBwcHD8ZuEaERGxWaPRhIk5Sa1Wf7h169bpWC2y9wUr+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oB96XOTj++2AvPef2hIOD4xklHGgKnI+IIJqC5UwWvNsscK7MJv7mMop0I9yoc3D895NFe+g5tyccHBwcVdtEPvTMwcHBwcHBwcFhFpwocnBwcHBwcHBwmMV/BBgAHTxEUMWGlxEAAAAASUVORK5CYII=); + background-repeat: no-repeat; + background-position: 0; +} +body .redactor_air .redactor_toolbar { + padding-right: 2px !important; +} +@media all and (-webkit-min-device-pixel-ratio: 1.5) { + .redactor_toolbar li a { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABRQAAAAyCAYAAAAtK1dkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAKodJREFUeNrsnQtcVNX2xzfDG+QtiG9QTE0rS4pMSVHDSjHN0Ewty/shzWumluY/zbTuVSz1qper9dcempl6y3c+/4Wamc98hyGCPARF3jA8Bpj/Wsw+eBgHGGBmzjnD+n4+mzmcOTOz93nsvfZvr72XjVarZQRBEARBEARBEARBEARBEMagolNAEARBEARBEARBEARBEISxkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITR2NEpIAiCIIjmwejRoy36e1u3bqWTThAEQRAEQRBWCAmKBEEQBEEQBEEQBEEQRJ00dXB669atnvAdOXzbC15y6awqFxIUCYIgCIJoKC0g/R1Sb0gOkM5D+jekTDo1BEEQBEEQhqlLkBOLbfWhRDFOv3y4bYFyuEyaNOn7goKCCHP9gJub247169ePg011c7ufSVAkCIIgCKIh9IG0CVIgpOuQiiENhzQFEhpTh8z8+45vv/32rIyMjH9IeRL8/f3fX7Vq1QrYLKNbgiAIgiAIExDQwGPPy60A+h6IsJ2rv1+MBUTFtuYUExH4/hHw0obbxc0KEhQJgiAIc2Btoo/tBx98MDA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Dpjg9G0U+Y7zPJh6+s4pSN0g4fxM9ESMEr2Hy1+8zI+RGxmvvvrqF5DCYNtLojzg4NvPTDeoRRjG1Gut0TpqBEEQDQeFxJs8KQq+znCTgbbIxsJZN7b9O8/zJ8fTnwRpJ+TNUwhsWct07SR2b+pzkkxvpbLHH388+fTp0x3M9QMhISFJrJk6OdnoRY4nCIIgCFOASxUMhyQH0WcX04lzTQEH4NA7CpeJwKk2uM6dOQVFHInHQBrC+kAm8U6sZ5pGEC8bGrgVpvg9MxnJuMyFP09SRfVGkTqdXx/ykjcMPi8BzHRehcL6PyQqEgRBNAMULCga2/7JvV3D/A+A9AL/Hx2sYhXYDneGNApSKKQWZvh+nHJ/jOlm/SQ0t+eUBEWCIAjCHJDoI0/j3KK/J9NRd4IgCIIgCKJ+BHEUSWLKHNTDWUWtmc4pwMEM3499DIxHcYs1w6VwSFAkCIIgCIIgCIIgCIIgCMJoVHQKCIIgCIIgCIIgCIIgCIIwFgrKYiG2bdtm0BU0MjLShs4OQRAEQVB7TuUgCIIgCIIglGInkoeihTBkoJPRThAEQRDUnlM5CIIgCIIgCKXZiSQoSnRRyGgnCIIgCGrPqRwEQRAEQRCEEu1ECspCEARBEARBEARBEARBEITRkIciQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBG8/8CDACn2Bhs7uzfIwAAAABJRU5ErkJggg==); + background-size: auto 25px; + } +} +.redactor_toolbar li a:hover { + border-color: #98a6ba; + background-color: #dde4ef; + outline: none; +} +.redactor_toolbar li a:active, +.redactor_toolbar li a.redactor_act { + border-color: #b5b5b5; + background-color: #ddd; + outline: none; +} +/* + BUTTONS + step 25px +*/ +body .redactor_toolbar li a.redactor_btn_html { + background-position: 0px; +} +body .redactor_toolbar li a.redactor_btn_formatting { + background-position: -25px; +} +body .redactor_toolbar li a.redactor_btn_bold { + background-position: -50px; +} +body .redactor_toolbar li a.redactor_btn_italic { + background-position: -75px; +} +body .redactor_toolbar li a.redactor_btn_deleted { + background-position: -500px; +} +body .redactor_toolbar li a.redactor_btn_unorderedlist { + background-position: -100px; +} +body .redactor_toolbar li a.redactor_btn_orderedlist { + background-position: -125px; +} +body .redactor_toolbar li a.redactor_btn_outdent { + background-position: -150px; +} +body .redactor_toolbar li a.redactor_btn_indent { + background-position: -175px; +} +body .redactor_toolbar li a.redactor_btn_image { + background-position: -200px; +} +body .redactor_toolbar li a.redactor_btn_video { + background-position: -225px; +} +body .redactor_toolbar li a.redactor_btn_file { + background-position: -250px; +} +body .redactor_toolbar li a.redactor_btn_table { + background-position: -275px; +} +body .redactor_toolbar li a.redactor_btn_link { + background-position: -300px; +} +body .redactor_toolbar li a.redactor_btn_fontcolor { + background-position: -325px; +} +body .redactor_toolbar li a.redactor_btn_backcolor { + background-position: -350px; +} +body .redactor_toolbar li a.redactor_btn_alignleft { + background-position: -375px; +} +body .redactor_toolbar li a.redactor_btn_aligncenter { + background-position: -400px; +} +body .redactor_toolbar li a.redactor_btn_alignright { + background-position: -425px; +} +body .redactor_toolbar li a.redactor_btn_justify { + background-position: -450px; +} +body .redactor_toolbar li a.redactor_btn_horizontalrule { + background-position: -475px; +} +body .redactor_toolbar li a.redactor_btn_underline { + background-position: -525px; +} +body .redactor_toolbar li a.redactor_btn_fullscreen { + background-position: -550px; +} +body .redactor_toolbar li a.redactor_btn_normalscreen { + background-position: -575px; +} +body .redactor_toolbar li a.redactor_btn_clips { + background-position: -600px; +} +body .redactor_toolbar li a.redactor_btn_alignment { + background-position: -625px; +} +/* + Toolbar classes +*/ +.redactor_format_blockquote { + font-style: italic; + color: #666 !important; + padding-left: 10px; +} +.redactor_format_pre { + font-family: monospace, sans-serif; +} +.redactor_format_h1, +.redactor_format_h2, +.redactor_format_h3, +.redactor_format_h4 { + font-weight: bold; +} +.redactor_format_h1 { + font-size: 30px; + line-height: 36px; +} +.redactor_format_h2 { + font-size: 24px; + line-height: 36px; +} +.redactor_format_h3 { + font-size: 20px; + line-height: 30px; +} +.redactor_format_h4 { + font-size: 16px; + line-height: 26px; +} +/* + DROPDOWN +*/ +.redactor_dropdown { + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + top: 28px; + left: 0; + z-index: 2004; + position: absolute; + width: 200px; + background-color: #fff; + border: 1px solid #ccc; + font-size: 13px; + -webkit-box-shadow: 0 2px 4px #ccc; + -moz-box-shadow: 0 2px 4px #ccc; + box-shadow: 0 2px 4px #ccc; + line-height: 21px; + padding: 10px; +} +.redactor_separator_drop { + border-top: 1px solid #ddd; + padding: 0 !important; + line-height: 0; + font-size: 0; +} +.redactor_dropdown a { + display: block; + color: #000; + padding: 3px 5px; + text-decoration: none; +} +.redactor_dropdown a:hover { + color: #444 !important; + text-decoration: none; + background-color: #dde4ef; +} +/* ColorPicker */ +.redactor_color_link { + padding: 0 !important; + width: 15px !important; + height: 15px !important; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset !important; + border-radius: 4px !important; + float: left !important; + border: 2px solid #fff !important; + font-size: 0; +} +.redactor_color_none { + font-size: 11px; +} +/* MODAL */ +#redactor_modal_overlay { + position: fixed; + margin: auto; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 50000; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); + opacity: 0.50; + background-color: #333 !important; +} +#redactor_modal { + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #e2e2e2)); + background: -webkit-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -o-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: linear-gradient(to bottom, #f7f7f7 0%, #e2e2e2 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e2e2e2', GradientType=0); + text-shadow: 0 1px 0 #fff; + padding: 0; + position: fixed; + top: 50%; + left: 50%; + box-shadow: 0px 5px 60px #000; + border-radius: 3px; + z-index: 50001; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + font-size: 12px !important; + color: #000; +} +#redactor_modal_header { + padding: 11px 30px 0 15px; + font-size: 12px; + border-radius: 3px 3px 0 0; + font-weight: bold; +} +#redactor_modal_content { + padding: 20px 30px; +} +#redactor_modal_close { + position: absolute; + right: 5px; + top: 5px; + font-size: 20px; + width: 20px; + height: 20px; + color: #777; + cursor: pointer; +} +#redactor_modal_close:hover { + color: #000; +} +#redactor_modal label { + margin: 10px 0 3px 0 !important; + padding: 0 !important; + float: none !important; + display: block !important; +} +#redactor_modal textarea { + margin-top: 4px; + display: block; +} +.redactor_input { + width: 99%; + font-size: 14px; +} +.redactor_modal_box { + height: 350px; + overflow: auto; + margin-bottom: 10px; +} +#redactor_image_box { + height: 270px; + overflow: auto; + margin-bottom: 10px; +} +#redactor_image_box_select { + display: block; + width: 200px; + margin-bottom: 15px; +} +#redactor_image_box img { + margin-right: 10px; + margin-bottom: 10px; + cursor: pointer; + max-width: 100px; +} +#redactor_tabs { + margin-bottom: 18px; +} +#redactor_tabs a { + display: inline-block; + border: 1px solid #d2d2d2; + padding: 4px 14px; + font-size: 12px; + background-color: #fff; + text-decoration: none; + color: #000; + line-height: 1; + border-radius: 10px; + margin-right: 5px; +} +#redactor_tabs a:hover, +#redactor_tabs a.redactor_tabs_act { + background-color: #ddd; + padding: 5px 15px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; + border: none; + text-shadow: 0 1px 0 #eee; + color: #777 !important; + text-decoration: none !important; +} +#redactor_modal_footer { + padding: 9px 30px 20px 30px; + border-radius: 0 0 3px 3px; + text-align: right; +} +#redactor_modal input[type="radio"], +#redactor_modal input[type="checkbox"] { + position: relative; + top: -1px; +} +#redactor_modal input[type="text"], +#redactor_modal input[type="password"], +#redactor_modal input[type="email"], +#redactor_modal textarea { + position: relative; + z-index: 2; + font-family: Helvetica, Arial, Tahoma, sans-serif; + height: 23px; + border: 1px solid #ccc; + margin: 0; + padding: 1px 2px; + background-color: white; + color: #333; + font-size: 13px; + line-height: 1; + border-radius: 1px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; + -webkit-transition: border 0.3s ease-in; + -moz-transition: border 0.3s ease-in; + -ms-transition: border 0.3s ease-in; + -o-transition: border 0.3s ease-in; + transition: border 0.3s ease-in; +} +#redactor_modal textarea { + line-height: 1.4em; +} +#redactor_modal input:focus, +#redactor_modal textarea:focus { + outline: none; + border-color: #5ca9e4; + box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset; +} +.redactor_modal_btn { + margin-left: 8px; + position: relative; + cursor: pointer; + outline: none; + display: inline-block; + text-align: center; + text-decoration: none; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + line-height: 1; + font-size: 12px; + font-weight: normal; + padding: 6px 16px 5px 16px; + border-radius: 4px; + background-color: #f3f3f3; + background-image: -moz-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -ms-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e1e1e1)); + background-image: -webkit-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -o-linear-gradient(top, #ffffff, #e1e1e1); + background-image: linear-gradient(top, #ffffff, #e1e1e1); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1', GradientType=0); + border: 1px solid #ccc; + border-bottom-color: #aaa; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + text-shadow: 0 1px 0px #ffffff; + color: #000; +} +.redactor_modal_btn:hover { + color: #555; +} +.redactor_modal_btn:hover { + filter: none; + background: none; + background: #f3f3f3; + text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8); + text-decoration: none; +} +/* Drag and Drop Area */ +.redactor_droparea { + position: relative; + width: 100%; + margin: auto; + margin-bottom: 5px; +} +.redactor_droparea .redactor_dropareabox { + z-index: 1; + position: relative; + text-align: center; + width: 99%; + background-color: #fff; + padding: 60px 0; + border: 2px dashed #bbb; +} +.redactor_droparea .redactor_dropareabox, +.redactor_dropalternative { + color: #555; + font-size: 12px; +} +.redactor_dropalternative { + margin: 4px 0 2px 0; +} +.redactor_dropareabox.hover { + background: #efe3b8; + border-color: #aaa; +} +.redactor_dropareabox.error { + background: #f7e5e5; + border-color: #dcc3c3; +} +.redactor_dropareabox.drop { + background: #f4f4ee; + border-color: #e0e5d6; +} +.scroll-bar-noselect { + user-select: none; + -o-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: none; +} +.scroll-bar > .viewport { + overflow: hidden; + position: relative; +} +.scroll-bar > .viewport > .overview { + list-style: none; + position: absolute; + left: 0; + top: 0; + padding: 0; + margin: 0; +} +.scroll-bar > .scrollbar { + position: absolute; + z-index: 100; +} +.scroll-bar > .scrollbar .track { + background-color: transparent; + -webkit-border-radius: 2.5px; + -moz-border-radius: 2.5px; + border-radius: 2.5px; + position: relative; +} +.scroll-bar > .scrollbar .track .thumb { + background-color: #999999; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + cursor: pointer; + overflow: hidden; + position: absolute; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} +.scroll-bar .disable { + display: none; +} +.scroll-bar.vertical > .scrollbar { + right: 0; + width: 15px; +} +.scroll-bar.vertical > .scrollbar .track { + height: 100%; + width: 15px; +} +.scroll-bar.vertical > .scrollbar .track .thumb { + margin: 0 2px; + height: 20px; + width: 11px; + top: 0; + left: 0; +} +.scroll-bar.horizontal > .scrollbar { + margin: 0 0 5px; + clear: both; + height: 15px; +} +.scroll-bar.horizontal > .scrollbar .track { + width: 100%; + height: 15px; +} +.scroll-bar.horizontal > .scrollbar .track .thumb { + height: 11px; + margin: 2px 0; + left: 0; + top: 0; +} diff --git a/skins/default/assets/stylesheets/less/extras/chosen.less b/skins/default/assets/stylesheets/less/extras/chosen.less index 98b7cfe..7723f64 100644 --- a/skins/default/assets/stylesheets/less/extras/chosen.less +++ b/skins/default/assets/stylesheets/less/extras/chosen.less @@ -1,29 +1,56 @@ /* @group Base */ -.chzn-container { +.chosen-container { width: 100% !important; // Auto Width font-size: @baseFontSize; position: relative; display: inline-block; zoom: 1; *display: inline; - - .chzn-drop { - width: 100% !important; // Auto Width + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.chosen-container * { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.chosen-container .chosen-drop { + position: absolute; + top: 100%; + left: -9999px; + z-index: 1010; + width: 100% !important; // Auto Width background: #fff; border: 1px solid @inputBorderActive; border-top: 0; - position: absolute; - top: 29px; - left: 0; - z-index: 1010; } +.chosen-container.chosen-with-drop .chosen-drop { + left: 0; +} +.chosen-container a { + cursor: pointer; } +.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name { + margin-right: 4px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-weight: normal; + color: #999999; +} +.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after { + content: ":"; + padding-left: 2px; + vertical-align: top; +} + /* @end */ /* @group Single Chosen */ -.chzn-container-single { +.chosen-container-single { - .chzn-single { + .chosen-single { background-color: @inputBackground; .background-clip(padding-box); .box-shadow(inset 0 1px 1px rgba(0,0,0,.1)); @@ -76,15 +103,15 @@ } } } - .chzn-default { + .chosen-default { color: #999; } - - &.chzn-disabled .chzn-single abbr:hover { + + &.chosen-disabled .chosen-single abbr:hover { background-position: -42px -10px; } - .chzn-search { + .chosen-search { padding: 3px 0 3px 6px; position: relative; margin: 0; @@ -98,27 +125,27 @@ outline: 0; border: 1px solid @inputBorder; .box-sizing(border-box); - &:focus { - border-color: darken(@inputBorder,10%); + &:focus { + border-color: darken(@inputBorder,10%); background: #fff url('../../images/extras/chosen/chosen-sprite.png') no-repeat 100% -20px; } } } - .chzn-drop { + .chosen-drop { .box-sizing(border-box); .background-clip(padding-box); } } /* @end */ -.chzn-container-single-nosearch .chzn-search input { +.chosen-container-single-nosearch .chosen-search input { position: absolute; left: -9000px; } /* @group Multi Chosen */ -.chzn-container-multi { - .chzn-choices { +.chosen-container-multi { + .chosen-choices { background-color: @inputBackground; .background-clip(padding-box); .box-shadow(inset 0 1px 1px rgba(0,0,0,.1)); @@ -130,7 +157,7 @@ overflow: hidden; height: auto !important; height: 1%; - position: relative; + position: relative; li { float: left; list-style: none; @@ -196,8 +223,8 @@ /* @end */ /* @group Results */ -.chzn-container { - .chzn-results { +.chosen-container { + .chosen-results { margin: 0 0 4px 0; max-height: 240px; padding: 0; @@ -241,7 +268,7 @@ padding-left: 15px; } } - .chzn-results-scroll { + .chosen-results-scroll { background: white; margin: 0 4px; position: absolute; @@ -255,33 +282,33 @@ width: 9px; } } - .chzn-results-scroll-down { + .chosen-results-scroll-down { bottom: 0; } - .chzn-results-scroll-down span { + .chosen-results-scroll-down span { background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -4px -3px; } - .chzn-results-scroll-up span { + .chosen-results-scroll-up span { background: url('../../images/extras/chosen/chosen-sprite.png') no-repeat -22px -3px; } } -.chzn-container-multi { - .chzn-results { +.chosen-container-multi { + .chosen-results { margin: -1px 0 0; padding: 0; } - .chzn-drop .result-selected { + .chosen-drop .result-selected { display: none; } } /* @end */ /* @group Active */ -.chzn-container-active { - .chzn-single { +.chosen-container-active { + .chosen-single { border: 1px solid @inputBorderActive; } - .chzn-single-with-drop { + .chosen-single-with-drop { border: 1px solid @inputBorderActive; background-color: lighten(@inputBackground, 1.5%); .box-shadow(inset 0 -3px 0 rgba(0,0,0,.05)); @@ -291,7 +318,7 @@ b { background-position: -18px 2px; } } } - .chzn-choices { + .chosen-choices { border: 1px solid @inputBorderActive; background-color: lighten(@inputBackground, 1.5%); .box-shadow(inset 0 -3px 0 rgba(0,0,0,.05)); @@ -302,51 +329,51 @@ /* @end */ /* @group Disabled Support */ -.chzn-disabled { +.chosen-disabled { cursor: default; opacity:0.5 !important; - .chzn-single { + .chosen-single { cursor: default; } - .chzn-choices .search-choice .search-choice-close { + .chosen-choices .search-choice .search-choice-close { cursor: default; } } /* @group Right to Left */ -.chzn-rtl { text-align: right; - .chzn-single { padding: 0 8px 0 0; overflow: visible; } - .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; } +.chosen-rtl { text-align: right; + .chosen-single { padding: 0 8px 0 0; overflow: visible; } + .chosen-single span { margin-left: 26px; margin-right: 0; direction: rtl; } - .chzn-single div { left: 3px; right: auto; } - .chzn-single abbr { + .chosen-single div { left: 3px; right: auto; } + .chosen-single abbr { left: 26px; right: auto; } - .chzn-choices .search-field input { direction: rtl; } - .chzn-choices li { float: right; } - .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; } - .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; } - &.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; } - .chzn-results .group-option { padding-left: 0; padding-right: 15px; } - &.chzn-container-active .chzn-single-with-drop div { border-right: none; } - .chzn-search input { + .chosen-choices .search-field input { direction: rtl; } + .chosen-choices li { float: right; } + .chosen-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; } + .chosen-choices .search-choice .search-choice-close { left: 4px; right: auto; } + &.chosen-container-single .chosen-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; } + .chosen-results .group-option { padding-left: 0; padding-right: 15px; } + &.chosen-container-active .chosen-single-with-drop div { border-right: none; } + .chosen-search input { background: #fff url('../../images/extras/chosen/chosen-sprite.png') no-repeat -30px -20px; padding: 4px 5px 4px 20px; direction: rtl; } } -.chzn-container-single.chzn-rtl .chzn-single div b { +.chosen-container-single.chosen-rtl .chosen-single div b { background-position: 6px 2px; } -.chzn-container-single.chzn-rtl .chzn-single-with-drop div b { +.chosen-container-single.chosen-rtl .chosen-single-with-drop div b { background-position: -12px 2px; } /* @end */ /* @group Retina compatibility */ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) { - .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span { + .chosen-rtl .chosen-search input, .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-container-single .chosen-search input, .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span { background-image: url('../../images/extras/chosen/chosen-sprite@2x.png') !important; background-repeat: no-repeat !important; background-size: 52px 37px !important; diff --git a/skins/default/layouts/admin.htm b/skins/default/layouts/admin.htm index c842177..bc551e7 100644 --- a/skins/default/layouts/admin.htm +++ b/skins/default/layouts/admin.htm @@ -2,7 +2,7 @@ - + <?=strlen($this->app_page_title) ? h($this->app_page_title).' | ' : null ?> <?=c('site_name')?> display_layout('head') ?> @@ -32,12 +32,16 @@
                display_layout('tray') ?>
                - -
                - active_user->short_name?> -
                +
                + +
                + active_user->short_name?> +
                +
              • @@ -63,8 +67,8 @@
                app_page_title): ?>