From a80ac7efa7072848fc19f9f76e7f00cf399cfb5b Mon Sep 17 00:00:00 2001 From: Felix Gliesche Date: Fri, 27 Feb 2015 11:21:19 +0100 Subject: [PATCH 1/1] Style contextual buttons --- public/stylesheets/responsive.css | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index c154ff3..e56832b 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -11,6 +11,7 @@ B) HEADER & TOP MENUS C) MAIN CONTENT & SIDEBAR D) TOGGLE BUTTON & FLYOUT MENU + E) UX ELEMENTS */ @@ -608,4 +609,57 @@ background-position: 8px 50%; } + + /*----------------------------------------*\ + E) UX ELEMENTS + \*----------------------------------------*/ + + /* Contextual Buttons */ + + .contextual + { + width: 100%; + margin-bottom: .5em; + padding-left: 0; /* reset left padding in order to use whole space */ + + white-space: normal; + + color: transparent; + } + + .contextual a, + p.buttons a + { + font-weight: bold; + + display: inline-block; + + margin: 5px 0; + margin-right: 2px; + padding: 9px 9px 9px 9px; + + border: 1px solid #ddd; + -webkit-border-radius: 3px; + border-radius: 3px; + background-color: transparent; + background-position-x: 4px; + } + + .contextual a.icon, + p.buttons a.icon + { + padding-left: 25px; + } + + .flyout-menu .contextual + { + float: none; + } + + #issue_tree .contextual a, + #relations .contextual a + { + float: right; + } + } -- 1.9.3 (Apple Git-50)