summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-26 13:33:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-26 13:33:19 +0000
commit6208b12f3bfe58441d3da7ddf05b3c4a15365caf (patch)
treec6ceaa4e81f0e98317ea5431043524f369b2ecd5
parentc37f2a3a04bc1ee0bf1d2fe631f91ae78429e536 (diff)
downloadredmine-6208b12f3bfe58441d3da7ddf05b3c4a15365caf.tar.gz
redmine-6208b12f3bfe58441d3da7ddf05b3c4a15365caf.zip
CSS class for modal box buttons.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7931 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/issues/index.html.erb2
-rw-r--r--public/stylesheets/application.css1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 22791a9ae..1c6094935 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -68,7 +68,7 @@
<p>
<label><%= check_box_tag 'description', '1' %> <%= l(:field_description) %></label>
</p>
- <p style="text-align:right; margin-bottom:0">
+ <p class="buttons">
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %>
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
</p>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 4e5b9fe7c..4b5c9ee27 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -95,6 +95,7 @@ html>body #content { min-height: 600px; }
html>body #modalbg {position:fixed;}
div.modal { border-radius:5px; position:absolute; top:25%; background:#fff; border:2px solid #759FCF; z-index:50; padding:0px; padding:8px;}
div.modal h3.title {background:#759FCF; color:#fff; border:0; padding-left:8px; margin:-8px; margin-bottom: 1em; border-top-left-radius:2px;border-top-right-radius:2px;}
+div.modal p.buttons {text-align:right; margin-bottom:0;}
html>body div.modal {position:fixed;}
input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }