From adaaaa995f79136df044b75eae02a25d75905542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 19 Feb 2016 17:10:08 +0100 Subject: [PATCH] scss: style the remove buttons from drafts cell --- static/includes/_cells.scss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/static/includes/_cells.scss b/static/includes/_cells.scss index 9d47412..eaf64e0 100644 --- a/static/includes/_cells.scss +++ b/static/includes/_cells.scss @@ -147,6 +147,34 @@ div.menucell ul ul a { font-size: 90%; } +div.wcscurrentdraftscell li { + position: relative; +} + +div#content div.wcscurrentdraftscell button.remove-draft { + color: $button-background; + text-indent: -10000px; + position: absolute; + right: 0; + top: 0; + width: 4ex; + margin: 0; + background: transparent; + height: 100%; + box-shadow: none; + padding: 0; +} + +div.wcscurrentdraftscell button.remove-draft::before { + font-family: FontAwesome; + content: "\f057"; + display: block; + left: 0; + right: 0; + position: absolute; + text-indent: 0; +} + div.wcs-tracking-code-input form { margin: 1em; } -- 2.7.0