All draggable rows now have transparent border bottom, to prevent deck names from fidgeting during drag/drop

This commit is contained in:
Aaron Harsh 2012-02-05 13:31:34 -08:00
parent 009d0c18e4
commit b2608f5ea4

View file

@ -48,16 +48,19 @@ class DeckBrowser(object):
# HTML generation # HTML generation
########################################################################## ##########################################################################
_dragIndicatorBorderWidth = "1px"
_css = """ _css = """
tr { font-size: 12px; } tr { font-size: 12px; }
a.deck { color: #000; text-decoration: none; } a.deck { color: #000; text-decoration: none; }
a.deck:hover { text-decoration: underline; } a.deck:hover { text-decoration: underline; }
tr.deck td { border-bottom: thick solid transparent; } tr.deck td { border-bottom: %(width)s solid transparent; }
tr.top-level-drag-row td { border-bottom: %(width)s solid transparent; }
td.opts { white-space: nowrap; } td.opts { white-space: nowrap; }
tr.drag-hover td { border-bottom: 1px solid #aaa; } tr.drag-hover td { border-bottom: %(width)s solid #aaa; }
.extra { font-size: 90%; } .extra { font-size: 90%%; }
body { margin: 1em; -webkit-user-select: none; } body { margin: 1em; -webkit-user-select: none; }
""" """ % dict(width=_dragIndicatorBorderWidth)
_body = """ _body = """
<center> <center>