From 6208b12f3bfe58441d3da7ddf05b3c4a15365caf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 26 Nov 2011 13:33:19 +0000 Subject: [PATCH] CSS class for modal box buttons. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7931 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/index.html.erb | 2 +- public/stylesheets/application.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@

-

+

<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %> <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>

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; }