silverstripe-framework/css/TreeDropdownField.css
Ingo Schommer 5cd11b1f0c BUGFIX: Fixed layout glitch in TreeDropdownField in Firefox (from r89842) (from r96719)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102342 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 01:48:01 +00:00

87 lines
1.6 KiB
CSS

div.TreeDropdownField {
width: 35em;
padding: 0;
}
html>body div.TreeDropdownField {
position:relative;
}
div.TreeDropdownField {
width: 27.7em;
background: #fff;
font-size: 12px;
height: 21px;
}
div.TreeDropdownField span.items {
height: 14px;
border: 1px #7f9db9 solid;
cursor: pointer;
width: 25.4em;
float: left;
padding: 2px 0 2.5px 4px;
background-color: #fff;
margin:0;
font-size: 12px;
overflow:hidden;
}
div.TreeDropdownField div.tree_holder {
clear: left;
cursor: default;
border: 1px black solid;
margin: 0;
height: 200px;
overflow: auto;
background-color: #fff;
/**
* HACK IE6, see http://www.hedgerwow.com/360/bugs/css-select-free.html
*/
position:absolute;
z-index:10;
width:33em;/*must have for any value*/;
}
div.TreeDropdownField div.tree_holder ul.tree a {
font-size: 12px;
}
div.TreeDropdownField div.tree_holder ul.tree {
margin-top: 0;
}
html>body div.TreeDropdownField div.tree_holder {
top: 20px;
left: 0px;
z-index: 1000;
}
/**
* HACK IE6, see http://www.hedgerwow.com/360/bugs/css-select-free.html
*/
div.TreeDropdownField div.tree_holder iframe {
display:none;/* IE5*/
display/**/:block;/* IE5*/
position:absolute;
border-style: none;
top:0;
left:0;
z-index:-1;
filter:mask();
width:31em;/*must have for any big value*/
height:200px/*must have for any big value*/;
border: none;
}
div.TreeDropdownField a.editLink {
border:none;
text-decoration: none;
background: url(../../sapphire/images/TreeDropdownField_button.gif) no-repeat left top;
width: 19px;
height: 21px;
margin: 0;
padding: 0 0 0 1px;
z-index: 0;
overflow: hidden;
float:right;
}