Commit 8466dcaf authored by pburdette's avatar pburdette

Change blob view edit styling

parent 5d94e9d2
......@@ -387,6 +387,10 @@ span.idiff {
float: none;
}
.file-actions .ide-edit-button {
z-index: 1;
}
@include media-breakpoint-down(xs) {
display: block;
......
......@@ -47,7 +47,7 @@ module BlobHelper
def edit_blob_button(project = @project, ref = @ref, path = @path, options = {})
return unless blob = readable_blob(options, path, project, ref)
common_classes = "btn js-edit-blob #{options[:extra_class]}"
common_classes = "btn btn-primary js-edit-blob #{options[:extra_class]}"
edit_button_tag(blob,
common_classes,
......@@ -62,7 +62,7 @@ module BlobHelper
return unless blob = readable_blob(options, path, project, ref)
edit_button_tag(blob,
'btn btn-default',
'btn btn-inverted btn-primary ide-edit-button',
_('Web IDE'),
ide_edit_path(project, ref, path, options),
project,
......@@ -108,7 +108,7 @@ module BlobHelper
path,
label: _("Delete"),
action: "delete",
btn_class: "remove",
btn_class: "default",
modal_type: "remove"
)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment