BUGFIX: hover state for tree-dropdown field document list

This commit is contained in:
Ryan O'Hara 2012-08-21 15:49:09 +12:00
parent 6ffa85f564
commit 90fa7eb5c1
2 changed files with 10 additions and 1 deletions

View File

@ -16,10 +16,11 @@
.ss-add .document-add-existing input { position: absolute; z-index: 9999; width: 390px; padding: 9px 7px; border-bottom-right-radius: 0; border-top-right-radius: 0; outline: none; box-sizing: border-box; }
.ss-add .document-add-existing input[disabled] { color: #C0C0C2; text-shadow: 0 -1px 0 white; background: #EEE; background-image: none; box-shadow: inset 0 1px 8px 0 #C4C4C4; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ss-add .document-add-existing .TreeDropdownField { border: none; width: 100%; max-width: 512px; box-sizing: border-box; cursor: pointer; overflow: hidden; }
.ss-add .document-add-existing .TreeDropdownField { border: none; width: 100%; max-width: 512px; box-sizing: border-box; cursor: pointer; overflow: hidden; margin-bottom: 20px; }
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link { padding: 5px 9px 9px; border: 1px solid #B3B3B3; float: right; }
.ss-add .document-add-existing .treedropdownfield-title { width: auto; }
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link a { display: inline-block; top: 4px; position: relative; }
.ss-add .document-add-existing .treedropdownfield-panel li:hover { cursor: pointer; }
.ss-add .document-add-existing .document-list { position: absolute; z-index: 9999; width: 510px; border: 1px solid #DDD; border-top: none; background: #ffffff; display: none; box-shadow: 0 2px 4px 1px #DDD; max-height: 300px; border-radius: 6px; background-clip: padding-box; overflow: scroll; }
.ss-add .document-add-existing .document-list ul li { display: block; line-height: 18px; padding: 4px 8px; border: 1px solid #FFF; }
.ss-add .document-add-existing .document-list ul li:hover { border: 1px solid #CCC; border-radius: 4px; background: rgba(203, 203, 203, 0.4); }

View File

@ -86,6 +86,7 @@ $gf_colour_zebra: #F0F4F7;
box-sizing: border-box;
cursor:pointer;
overflow:hidden;
margin-bottom: 20px;
}
.treedropdownfield-toggle-panel-link{
padding: 5px 9px 9px;
@ -100,6 +101,13 @@ $gf_colour_zebra: #F0F4F7;
top: 4px;
position: relative;
}
.treedropdownfield-panel{
li{
&:hover{
cursor: pointer;
}
}
}
.document-list{
position: absolute;
z-index: 9999;