diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-07 13:40:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-07 13:40:19 +0000 |
commit | 15d2bb5e571c3d828e6ab643ced05c6f8c135310 (patch) | |
tree | 970e412f159103518c5a86dddb0d97bfb07297e5 /public/stylesheets | |
parent | 92a71e020a9da243d15d42bf8d83f074868bb24a (diff) | |
download | redmine-15d2bb5e571c3d828e6ab643ced05c6f8c135310.tar.gz redmine-15d2bb5e571c3d828e6ab643ced05c6f8c135310.zip |
Style contextual buttons (#19097).
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@14820 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/stylesheets')
-rw-r--r-- | public/stylesheets/responsive.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index 28b5d0261..087581421 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 */ @@ -594,4 +595,56 @@ 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; + } } |