diff --git a/aqt/deckbrowser.py b/aqt/deckbrowser.py index 4b6271439..5d2fcd81a 100644 --- a/aqt/deckbrowser.py +++ b/aqt/deckbrowser.py @@ -48,16 +48,19 @@ class DeckBrowser(object): # HTML generation ########################################################################## + _dragIndicatorBorderWidth = "1px" + _css = """ tr { font-size: 12px; } a.deck { color: #000; text-decoration: none; } 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; } -tr.drag-hover td { border-bottom: 1px solid #aaa; } -.extra { font-size: 90%; } +tr.drag-hover td { border-bottom: %(width)s solid #aaa; } +.extra { font-size: 90%%; } body { margin: 1em; -webkit-user-select: none; } -""" +""" % dict(width=_dragIndicatorBorderWidth) _body = """