silverstripe-tagfield/css/TagField.css

102 lines
4.1 KiB
CSS
Raw Normal View History

2015-04-14 03:15:28 +02:00
.select2-container {
position: relative;
max-width: 416px !important;
}
.select2-selection {
-moz-border-radius: 3px !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
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: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
border: 1px solid #aaa;
margin: 0 !important;
padding: 0 !important;
cursor: text;
overflow: hidden;
position: relative;
}
.select2-selection {
min-height: 0 !important;
display: block !important;
}
.select2-selection__rendered {
padding: 0 !important;
display: block !important;
min-height: 26px !important;
}
.select2-dropdown {
margin-top: -2px !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
}
.select2-container--open .select2-selection--multiple {
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3) !important;
-moz-box-shadow: 0 0 5px rgba(0,0,0,.3) !important;
-o-box-shadow: 0 0 5px rgba(0,0,0,.3) !important;
box-shadow: 0 0 5px rgba(0,0,0,.3) !important;
border: 1px solid #5897fb !important;
}
.select2-selection__choice {
height: 13px;
line-height: 13px;
-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: -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%);
-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;
padding: 3px 20px 3px 5px !important;
margin: 3px 0 3px 5px !important;
position: relative;
cursor: default;
font-family: Arial, sans-serif;
font-size: 13px;
}
.select2-selection__choice .select2-selection__choice__remove {
display: block;
position: absolute;
right: 2px;
top: 4px;
width: 12px;
height: 13px;
font-size: 1px;
2015-04-23 18:33:07 +02:00
background: url('../../framework/admin/thirdparty/chosen/chosen/chosen-sprite.png') right top no-repeat;
2015-04-14 03:15:28 +02:00
}
.select2-results__option--highlighted {
background-color: #3875d7 !important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 ) !important;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc)) !important;
background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%) !important;
background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%) !important;
background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%) !important;
background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%) !important;
background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%) !important;
color: #fff !important;
}