silverstripe-framework/css/TreeDropdownField.css
Ingo Schommer e6aa5b8ee5 MINOR Moved generic .TreeDropdownField styling from cms/css/cms_right.css to sapphire/css/TreeDropdownField.css
MINOR Fixed .TreeDropdownField styling (borders and margins) in TreeDropdownField.css (was assumed to be inherited from LeftAndMain/CMS stylesheets)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@98878 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-12 04:01:40 +00:00

85 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;
}
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;
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;
}