ElixirVault/www/css/jquery.chosen.overwrite.css

682 lines
17 KiB
CSS

/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.4.2
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.
-------------------------------------------------------------------
!!! NOTE !!!
USE ONLY FOR APP SIDE,
WHILE IN CMS REWRITE IN FORM>JS FOR DIFFERENT STYLE
-------------------------------------------------------------------
*/
/* @group Base */
.chosen-container {
position: relative;
display: inline-block;
vertical-align: middle;
font-size: 13px;
/*zoom: 1;*/
-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: 20;
width: 100%;
border: 1px solid rgb(229, 77, 66);
border-top: none;
background: #fff;
box-shadow: 0 2px 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 */
/* @group Single Chosen */
.chosen-container-single .chosen-single {
background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #ffffff 20%, #f6f6f6 50%, #f5f5f5 52%, #f4f4f4 100%) repeat scroll 0 0 padding-box;
border: 1px solid #d9d9d9;
border-radius: 2px;
color: #444;
display: block;
overflow: hidden;
position: relative;
text-decoration: none;
white-space: nowrap;
transition: all 0.3s ease 0s;
}
.chosen-container-single .chosen-default {
color: #999;
}
.chosen-container-single .chosen-single span {
height: 33px;
box-sizing: border-box;
color: #414141;
display: block;
font-size: 12px;
margin-right: 26px;
overflow: hidden;
padding: 10px 2px 8px 10px;
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;
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: 22px;
height: 100%;
}
.chosen-container-single .chosen-single div {
display: block;
width: 22px !important;
height: 100%;
opacity: 0.8;
background: url("/img/pub/svg/dd-arrow.svg") no-repeat center 7px / 20px auto;
}
.chosen-container-active .chosen-single div{
-webkit-transition: background 0.2s ease 0s;
-moz-transition: background 0.2s ease 0s;
-ms-transition: background 0.2s ease 0s;
-o-transition: background 0.2s ease 0s;
}
.v-error .chosen-container-single .chosen-single div{
transition: none!important;
background: url("/img/pub/svg/chk_err.svg?v=1") no-repeat scroll right center / 18px auto!important;
}
.v-error .chosen-container-single a.chosen-single {
border: 1px solid rgb(169, 68, 66);
z-index: 6;
}
.chosen-container-single .chosen-search {
position: relative;
z-index: 20;
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;
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 */
/* @group Results */
.chosen-container .chosen-results {
color: #444;
max-height: 240px;
overflow-x: hidden;
overflow-y: auto;
padding: 2px 0;
position: relative;
-webkit-overflow-scrolling: touch;
}
.chosen-container .chosen-results li {
display: none;
font-size: 12px;
list-style: outside none none;
margin: 0 !important;
padding: 8px 10px 6px !important;
word-wrap: break-word;
-webkit-touch-callout: none;
}
.chosen-container .chosen-results li.active-result {
display: list-item;
cursor: pointer;
white-space: pre-wrap;
}
.tabs30 .chosen-container .chosen-results li.active-result {
tab-size: 32px;
-moz-tab-size: 32px;
-o-tab-size: 32px;
-webkit-tab-size: 32px;
}
.tabs20 .chosen-container .chosen-results li.active-result {
tab-size: 24px;
-moz-tab-size: 24px;
-o-tab-size: 24px;
-webkit-tab-size: 24px;
}
.chosen-container .chosen-results li.disabled-result {
display: list-item;
color: #ccc;
cursor: default;
}
.chosen-container .chosen-results li.unavailable {
background-color: rgba(128, 128, 128, 0.14);
text-decoration: line-through;
color: gray;
text-shadow: 1px 1px 0 white;
}
.chosen-container .chosen-results li.highlighted {
background-color: rgba(229, 77, 66, 0.15);
text-shadow: 0 1px 1px #ffffff;
}
.chosen-container .chosen-results li.unavailable.highlighted {
background-color: rgba(156, 176, 201, 0.4);
}
.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 */
.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;
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 Active */
.chosen-container-active .chosen-single {
/*border: 1px solid rgb(229, 77, 66) !important;*/
}
.chosen-container-active.chosen-with-drop .chosen-single {
border: 1px solid RGB(40, 91, 155);
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #ffffff 20%, #f6f6f6 50%, #f5f5f5 52%, #f4f4f4 100%) repeat scroll 0 0 padding-box;
}
.chosen-container-active.chosen-with-drop .chosen-single div {
border-left: none;
background-position: center 10px;
}
.chosen-container-active.chosen-with-drop .chosen-single div b {
}
.chosen-container-active .chosen-choices {
border: 1px solid #5897fb;
}
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
color: #222 !important;
}
/* @end */
/* @group Disabled Support */
.chosen-disabled {
cursor: default;
}
.chosen-disabled .chosen-single {
cursor: default;
border: 1px solid rgb(204, 204, 204);
background-image: linear-gradient(bottom, rgb(231, 231, 231) 18%, rgba(255, 255, 255, 0.9) 100%);
background-image: -o-linear-gradient(bottom, rgb(231, 231, 231) 18%, rgba(255, 255, 255, 0.9) 100%);
background-image: -moz-linear-gradient(bottom, rgb(231, 231, 231) 18%, rgba(255, 255, 255, 0.9) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(231, 231, 231) 18%, rgba(255, 255, 255, 0.9) 100%);
background-image: -ms-linear-gradient(bottom, rgb(231, 231, 231) 18%, rgba(255, 255, 255, 0.9) 100%);
}
.chosen-disabled .chosen-single span{
color: rgb(164, 164, 164);
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}
.chosen-disabled .chosen-single div{
opacity: 0.4;
}
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
cursor: default;
}
/* @end */
/* @group Right to Left */
.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;
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 */
/* @group Retina compatibility */
@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-size: 52px 37px !important;
background-repeat: no-repeat !important;
}
}
/* @end */
.chosen-container .bottom-border{ z-index: 21; }
.chosen-container-multi .chosen-choices{
padding: 0 3px 0 3px;
border: 1px solid rgb(228, 228, 228);
cursor: pointer;
background-color: white;
background-image: none;
}
.chosen-container-multi .chosen-choices li.search-choice{
display: block;
width: 100%;
box-sizing: border-box;
margin: 3px 0 0;
padding: 10px 20px 10px 5px;
background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , rgb(255, 255, 255) 20%, rgb(246, 246, 246) 50%, rgb(245, 245, 245) 52%, rgb(244, 244, 244) 100%) repeat scroll 0 0 padding-box;
border: 1px solid rgb(217, 217, 217);
border-radius: 2px;
color: rgb(68, 68, 68);
overflow: hidden;
position: relative;
text-decoration: none;
white-space: nowrap;
}
.chosen-container-multi .chosen-choices li.search-choice a{
}
.chosen-container-multi .chosen-choices li.search-choice span {
width: 100%;
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
.chosen-container-multi .chosen-choices li.search-field{
display: block;
width: 100%;
}
.chosen-container-multi .chosen-choices li.search-field input{
width: 100% !important;
}
.chosen-container-multi.chosen-container-active .chosen-choices li.search-field{
}
.chosen-container-multi .chosen-choices li.search-field input{
border: 1px solid rgb(204, 204, 204);
color: rgb(65, 65, 65);
font-size: 12px;
height: 37px!important;
box-sizing: border-box;
padding: 0 10px!important;
outline: none;
background-color: rgb(255, 255, 255);
border-radius: 2px;
transition: color 0.3s ease 0s;
box-shadow: -1px 1px 3px rgb(234, 234, 234) inset;
}
.chosen-container-multi.chosen-container-active .chosen-choices {
border: 1px solid rgb(229, 77, 66);
}
.chosen-container .chosen-results li.active-result,
.chosen-container .chosen-results li.result-selected,
.chosen-container-multi .chosen-results li.group-option
{ width: 100%; }
.chosen-container-multi .chosen-results li.group-option {
padding-left: 40px !important;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
background: url("/img/pub/svg/close.svg") no-repeat center center / 20px auto !important;
opacity: 0.4;
transition: opacity 0.3s ease 0s;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
opacity: 0.85;
}
.chosen-dummy-container{
position: relative;
}
.chosen-dummy-container select{
position: absolute;
top: 0;
z-index: 8;
opacity: 0;
cursor: pointer;
width: 100%;
}
.add-new-ico .chosen-dummy-container select{
position: absolute;
top: 0;
z-index: 8;
opacity: 0;
cursor: pointer;
width: calc(100% - 30px) !important;
}
.chosen-dummy-container a{
position: relative;
z-index: 7;
}