[#14,refactor][s]: move (data table) menu out of html and into DataTable view.

* Also rename element class to data-table-menu for greater specificity
* Allows us to get rid of a nastiness (DataTable view was binding to events outside of itself) -- and another step to making the Explorer completely autonomous and non-dependent on HTML.
This commit is contained in:
Rufus Pollock
2012-01-06 14:25:51 +00:00
parent 151dacd033
commit 48dcdd31b0
4 changed files with 17 additions and 24 deletions

View File

@@ -43,7 +43,7 @@ a.button:hover span.icon.loading { background-image: url(images/loader-blue.gif)
.chosen {border: 1px solid green}
.info { padding: 0px 0px 10px 0px}
.large-loader { position: relative; }
.menu-overlay {
.data-table-menu-overlay {
position: fixed;
top: 0;
left: 0;
@@ -51,7 +51,7 @@ a.button:hover span.icon.loading { background-image: url(images/loader-blue.gif)
height: 100%;
}
ul.menu {
ul.data-table-menu {
display: none;
outline-style: none;
background: white;
@@ -68,18 +68,18 @@ ul.menu {
border-right: 1px solid #666;
border-bottom: 1px solid #666;
margin: 0; padding: 0; }
ul.menu * {
ul.data-table-menu * {
margin: 0;
padding: 0; }
ul.menu a {
ul.data-table-menu a {
line-height: 14px;
color: black;
display: block;
padding: 5px 7px;
text-decoration: none; }
ul.menu li {
ul.data-table-menu li {
height: 24px; }
ul.menu li:hover {
ul.data-table-menu li:hover {
background-color: #DBE8F8 }