diff --git a/app/assets/stylesheets/design/custom.scss b/app/assets/stylesheets/design/custom.scss index ccf97e3d0..ffd173826 100644 --- a/app/assets/stylesheets/design/custom.scss +++ b/app/assets/stylesheets/design/custom.scss @@ -1172,3 +1172,20 @@ table.tablesorter tr td.no_results { text-align: center; } /* end */ + +hr.bootstrap { + -moz-border-bottom-colors: none; + -moz-border-image: none; + -moz-border-left-colors: none; + -moz-border-right-colors: none; + -moz-border-top-colors: none; + border-color: #EEEEEE -moz-use-text-color #FFFFFF; + border-left: 0 none; + border-right: 0 none; + border-style: solid none; + border-width: 1px 0; +} + +.fork-modal { + top: 35%; +} \ No newline at end of file diff --git a/app/views/projects/git/base/_fork.html.haml b/app/views/projects/git/base/_fork.html.haml index ccb928bff..19ac72be8 100644 --- a/app/views/projects/git/base/_fork.html.haml +++ b/app/views/projects/git/base/_fork.html.haml @@ -1,11 +1,14 @@ - if can? :fork, @project .r#fork-and-edit= link_to t('layout.projects.fork_and_edit'), '#forkModal', :class => 'button', 'data-toggle' => 'modal' - #forkModal.modal{:style => 'display: none;'} + #forkModal.modal.fork-modal{:style => 'display: none;'} .modal-header %a.close{"data-dismiss" => "modal"} × %h3=t 'layout.projects.fork_modal_header' - .modal-footer=render 'choose_fork', :owner => current_user - - Group.can_own_project(current_user).each do |group| - .modal-footer=render 'choose_fork', :owner => group + .modal-body + =render 'choose_fork', :owner => current_user + %hr.bootstrap + - Group.can_own_project(current_user).each do |group| + =render 'choose_fork', :owner => group + %hr.bootstrap - if can? :create, @project.build_lists.new .r{:style => "display: block"}= link_to t('layout.projects.new_build_list'), new_project_build_list_path(@project), :class => 'button'