92 lines
1.7 KiB
SCSS
92 lines
1.7 KiB
SCSS
/****************************************************** */
|
|
|
|
/******************** Chosen image *********************/
|
|
|
|
/****************************************************** */
|
|
|
|
/**
|
|
* Image Select Styles
|
|
*
|
|
* @author Web Semantics, Inc. Dev Team <info@websemantics.ca>
|
|
* @copyright 2011-2015 Web Semantics, Inc.
|
|
* @link http://websemantics.ca
|
|
* @license https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
|
|
/* <img> - vybrané */
|
|
.chose-image {
|
|
border: 1px solid #ddd;
|
|
width: 100%;
|
|
max-width: 97px;
|
|
max-height: 97px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Image for Single mode */
|
|
.chose-image-small {
|
|
width: 60px;
|
|
max-height: 60px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* <img> - možnosti */
|
|
.chose-image-list {
|
|
width: 100%;
|
|
max-width: 105px;
|
|
max-height: 105px;
|
|
vertical-align: middle;
|
|
border: 1px solid #ddd;
|
|
padding: 4px;
|
|
background: $white;
|
|
}
|
|
|
|
/* Grey-out image for Multi mode */
|
|
.chosen-container-multi .result-selected img {
|
|
opacity: .3;
|
|
}
|
|
|
|
.photo-select + .chosen-container {
|
|
/* obal. <ul> možností */
|
|
&.chosen-container-active .chosen-results {
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
/* <li> - možnosti */
|
|
.chosen-results li {
|
|
float: left;
|
|
font-size: 0;
|
|
padding: 3px 2px;
|
|
}
|
|
|
|
/* hover */
|
|
.highlighted {
|
|
background-color: transparent !important;
|
|
|
|
img {
|
|
border-color: $primary;
|
|
}
|
|
}
|
|
|
|
/* <li> - vybrané */
|
|
.search-choice {
|
|
background-color: $gray-background !important;
|
|
|
|
span {
|
|
font-size: 0;
|
|
}
|
|
}
|
|
|
|
/* ukously text "vybrat obrazk" */
|
|
.chosen-choices li.search-field input[type="text"] {
|
|
min-width: 115px !important;
|
|
}
|
|
}
|
|
|
|
|
|
/* debug *
|
|
.chosen-drop {
|
|
clip: inherit !important;
|
|
} */
|
|
|