forked from DGNum/gestioCOF
122 lines
2.9 KiB
CSS
122 lines
2.9 KiB
CSS
/*
|
|
* Admin specific styling are prefixed with body.change-form.
|
|
*/
|
|
|
|
.yourlabs-autocomplete
|
|
{
|
|
position: absolute;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: none;
|
|
float: left;
|
|
min-width: 160px;
|
|
padding: 5px 0;
|
|
margin: 2px 0 0;
|
|
list-style: none;
|
|
background-color: #ffffff;
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px;
|
|
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
-webkit-background-clip: padding-box;
|
|
-moz-background-clip: padding;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
.yourlabs-autocomplete .hilight
|
|
{
|
|
color: #ffffff !important;
|
|
text-decoration: none;
|
|
background-color: #0081c2;
|
|
background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
|
|
background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
|
|
background-image: -o-linear-gradient(top, #0088cc, #0077b3);
|
|
background-image: linear-gradient(to bottom, #0088cc, #0077b3);
|
|
background-repeat: repeat-x;
|
|
outline: 0;
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
|
}
|
|
|
|
.yourlabs-autocomplete .choice, .yourlabs-autocomplete [data-value], .yourlabs-autocomplete em
|
|
{
|
|
display: block;
|
|
padding: 3px 20px;
|
|
clear: both;
|
|
font-weight: normal;
|
|
line-height: 20px;
|
|
color: #333333;
|
|
white-space: nowrap;
|
|
color: black;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/*
|
|
* You should use the "block" class because the "div" class is deprecated since
|
|
* 2.0. However, the "div" class is still supported for backward compatibility.
|
|
*/
|
|
.block,
|
|
.div
|
|
{
|
|
display: block;
|
|
}
|
|
|
|
/* admin specific */
|
|
body.change-form .autocomplete-light-widget
|
|
{
|
|
float: left;
|
|
}
|
|
|
|
.autocomplete-light-widget .deck [data-value]
|
|
{
|
|
list-style-type: none;
|
|
margin-bottom: 5px;
|
|
padding-right: 8px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.autocomplete-light-widget .deck [data-value] .remove
|
|
{
|
|
background-image: url('../admin/img/inline-delete.png');
|
|
color: #fff;
|
|
cursor: pointer;
|
|
float: left;
|
|
height: 15px;
|
|
margin-right: 10px;
|
|
text-indent: -999px;
|
|
width: 15px;
|
|
}
|
|
|
|
.autocomplete-light-widget .deck [data-value] .remove:hover
|
|
{
|
|
background-position: -15px 0;
|
|
}
|
|
|
|
.yourlabs-autocomplete .choice-detail,
|
|
.yourlabs-autocomplete .choice-update
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
/* grappelli specific */
|
|
fieldset.grp-module .grp-row {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* credit: http://www.csslab.cl/2008/01/30/ventana-modal-solo-con-css/ */
|
|
#yourlabs_overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #000;
|
|
z-index:1001;
|
|
opacity:.75;
|
|
-moz-opacity: 0.75;
|
|
filter: alpha(opacity=75);
|
|
}
|