Commit 0a7ad00a authored by George Tsiolis's avatar George Tsiolis

Remove background color from card-body style

parent f97c4425
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
.card-body { .card-body {
padding: $gl-padding; padding: $gl-padding;
background-color: $white-light;
.form-actions { .form-actions {
margin: -$gl-padding; margin: -$gl-padding;
......
...@@ -149,8 +149,8 @@ ...@@ -149,8 +149,8 @@
%br %br
= link_to 'Unblock user', unblock_admin_user_path(@user), method: :put, class: "btn btn-info", data: { confirm: 'Are you sure?' } = link_to 'Unblock user', unblock_admin_user_path(@user), method: :put, class: "btn btn-info", data: { confirm: 'Are you sure?' }
- else - else
.card.bg-warning .card.border-warning
.card-header .card-header.bg-warning.text-white
Block this user Block this user
.card-body .card-body
%p Blocking user has the following effects: %p Blocking user has the following effects:
...@@ -170,8 +170,8 @@ ...@@ -170,8 +170,8 @@
%br %br
= link_to 'Unlock user', unlock_admin_user_path(@user), method: :put, class: "btn btn-info", data: { confirm: 'Are you sure?' } = link_to 'Unlock user', unlock_admin_user_path(@user), method: :put, class: "btn btn-info", data: { confirm: 'Are you sure?' }
.card.bg-danger .card.border-danger
.card-header .card-header.bg-danger.text-white
= s_('AdminUsers|Delete user') = s_('AdminUsers|Delete user')
.card-body .card-body
- if @user.can_be_removed? && can?(current_user, :destroy_user, @user) - if @user.can_be_removed? && can?(current_user, :destroy_user, @user)
...@@ -196,8 +196,8 @@ ...@@ -196,8 +196,8 @@
%p %p
You don't have access to delete this user. You don't have access to delete this user.
.card.bg-danger .card.border-danger
.card-header .card-header.bg-danger.text-white
= s_('AdminUsers|Delete user and contributions') = s_('AdminUsers|Delete user and contributions')
.card-body .card-body
- if can?(current_user, :destroy_user, @user) - if can?(current_user, :destroy_user, @user)
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
%hr %hr
- if @project.import_failed? - if @project.import_failed?
.card.bg-danger .card.border-danger
.card-header The repository could not be imported. .card-header.bg-danger.text-white The repository could not be imported.
.card-body .card-body
%pre %pre
:preserve :preserve
......
- if @project.pages_deployed? - if @project.pages_deployed?
- if can?(current_user, :remove_pages, @project) - if can?(current_user, :remove_pages, @project)
.card.bg-danger .card.border-danger
.card-header Remove pages .card-header.bg-danger.text-white Remove pages
.errors-holder .errors-holder
.card-body .card-body
%p %p
......
---
title: Remove background color from card-body style
merge_request: 20689
author: George Tsiolis
type: fixed
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