cronapp-framework-js
Version:
Javascript library for CronApp's projects
106 lines (99 loc) • 3.83 kB
CSS
ui-select {
display: block;
}
ui-select:not([multiple]) ui-select-match {
display: block;
height: 26px;
padding: 0 0 0 8px;
overflow: hidden;
position: relative;
border: 1px solid #aaa;
white-space: nowrap;
line-height: 26px;
color: #444;
text-decoration: none;
border-radius: 4px;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #fff;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
background-image: linear-gradient(top, #fff 0%, #eee 50%);
}
ui-select:not([multiple]) ui-select-match:after {
content: " ";
display: inline-block;
width: 18px;
height: 100%;
position: absolute;
right: 0;
top: 0;
border-left: 1px solid #aaa;
border-radius: 0 4px 4px 0;
background-clip: padding-box;
background: #ccc;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAwklEQVQ4T73Suw3CMBAG4P/cpoBNcBtfkxFgAsIGbMIIwAQwginitB4lFG5zyEigoDyUh4RL2/+n8/kICxctzGM5wMwewGZmJZaMMRURreYAIvKMgAZgpyIxDCB79yBN061S6jalirqud2VZ3r9NNMbkRHQeg4jIwTl3iXd/foGZjwBOQ0gz3ALiBjNHed+DXIuiyJtnnXPQg7TCnRV89OZ8iMjDOZd1VdU7iVrrdZIkNoZCCJn3vpoEjPmNwSf8DXgB3Rg//TfNQlEAAAAASUVORK5CYII=');
background-position: center;
background-repeat: no-repeat;
background-size: 8px 8px;
}
ui-select[multiple] {
display: block;
border: 1px solid #aaa;
cursor: text;
overflow: hidden;
background-color: #fff;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
background-image: linear-gradient(top, #eee 1%, #fff 15%);
height: auto;
}
ui-select[multiple] ui-select-match {
display: block;
padding: 3px 5px 3px 5px;
margin: 3px 5px 3px 5px;
position: relative;
line-height: 13px;
color: #333;
cursor: default;
border: 1px solid #aaaaaa;
font-size: 12px;
border-radius: 3px;
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #e4e4e4;
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', 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%, #eee));
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
}
ui-select[multiple] ui-select-match::before {
content: "x";
margin-right: 5px;
color: #999;
}
ui-select-choices {
display: block;
border: 1px solid #5897fb;
outline: none;
padding: 3px;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
ui-select-choices.invisible {
display: none;
}