1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 08:54:13 +01:00

Replaced <table>-based completion with equivalent CSS. Mainly proof-of concept. Feel free to revert.

This commit is contained in:
Kris Maglione
2008-10-10 03:49:36 +00:00
parent 5d68871ca7
commit baf2480b75
2 changed files with 38 additions and 44 deletions

View File

@@ -72,12 +72,20 @@ the terms of any one of the MPL, the GPL or the LGPL.
*:-moz-loading, *:-moz-broken { display: none !important; }
.compitem > td { -moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td); }
.compitem {
display: table-row;
}
.compitem > * {
-moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td);
display: table-cell;
vertical-align: middle;
padding: 0 .5ex;
}
.compitem-td-span { height: 1.5em; display: block; }
.compitem[selected=true] { background-color: yellow; }
.compitem > .favicon { width: 16px; }
.favicon > img { max-width: 16px, max-height: 16px}
.favicon > img { max-width: 16px; max-height: 16px; }
.compitem > .completion { width: 45%; overflow: hidden; }
.compitem > .description { color: gray; }