Skip to content

Commit

Permalink
Theming: slightly increased modal-dialog padding
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcakir committed Jul 2, 2020
1 parent 25d8f64 commit 525dd1b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ public static MvcHtmlString DeleteConfirmation<T>(this HtmlHelper<T> helper, str

helper.SmartStore().Window().Name(modalId)
.Title(EngineContext.Current.Resolve<ILocalizationService>().GetResource("Admin.Common.AreYouSure"))
.AddCssClass("modal-confirm-delete")
.BodyHtmlAttributes(new { @class = "pt-0" })
.Content(helper.Partial("Delete", deleteConfirmationModel).ToHtmlString())
.Show(false)
.Render();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ $h6-font-size: 1rem;
$small-font-size: 90%;
$headings-font-weight: 400;

$border-radius: 0.25rem;
$border-radius-sm: 0.2rem;
$border-radius-lg: 0.3rem;


// Shadows

Expand Down Expand Up @@ -144,11 +148,12 @@ $input-btn-line-height: 1.5;
$input-box-shadow: none;
$input-focus-border-color: lighten($sm-blue2, 30%);
$input-focus-box-shadow: none;
$input-border-radius: 2px;
$input-border-radius-lg: 3px;
$input-border-radius-sm: 2px;
$input-border-radius: 0.2rem;
$input-border-radius-lg: 0.25rem;
$input-border-radius-sm: 0.2rem;
$input-transition: none;
$input-group-addon-bg: $gray-100;
$input-border-color: $gray-300;

$btn-font-weight: 600;
$btn-focus-width: 0; //$input-btn-focus-width;
Expand Down Expand Up @@ -189,7 +194,10 @@ $component-active-bg: lighten($primary, 36%);
$component-active-color: inherit;


$modal-inner-padding: 1.25rem;
$modal-header-padding: 1.25rem;
$modal-content-border-width: 0;
$modal-content-border-radius: $border-radius;
$modal-backdrop-opacity: .75;
$modal-content-box-shadow-xs: 0 12px 26px rgba(#32325d, .12), 0 3px 10px rgba(#000, .08);
$modal-content-box-shadow-sm-up: 0 50px 100px rgba(#32325d, .12), 0 15px 35px rgba(#32325d, .27), 0 5px 15px rgba(#000, .25);
Expand All @@ -205,14 +213,6 @@ $embed-responsive-aspect-ratios: (
);


/*$custom-control-indicator-bg: $gray-200;
$custom-control-indicator-disabled-bg: $gray-100;
$custom-control-indicator-checked-color: #fff;
$custom-control-indicator-checked-bg: $primary;
$custom-control-indicator-active-color: #fff;
$custom-control-indicator-active-bg: $component-active-bg;
$custom-checkbox-indicator-indeterminate-bg:$primary;*/

$custom-control-indicator-bg: $gray-200;
$custom-control-indicator-disabled-bg: $gray-100;
$custom-control-indicator-checked-color: #fff;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ $dropdown-link-active-bg: darken($dropdown-link-hover-bg, 4%);

// Modal

$modal-inner-padding: 1.25rem;
$modal-header-padding: 1.25rem;
$modal-content-border-width: 0;
$modal-content-border-radius: $border-radius;
$modal-backdrop-opacity: .75;
$modal-content-box-shadow-xs: 0 12px 26px rgba(#32325d, .12), 0 3px 10px rgba(#000, .08);
$modal-content-box-shadow-sm-up: 0 50px 100px rgba(#32325d, .1), 0 15px 35px rgba(#32325d, .15), 0 5px 15px rgba(#000, .1);
Expand Down

0 comments on commit 525dd1b

Please sign in to comment.