Skip to content

Commit

Permalink
UI / Legacy: 42497, adjust carousel controls for lightboxes depending…
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastocker committed Dec 6, 2024
1 parent 77b6ce5 commit 858a873
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,15 @@ $il-modal-dark-carousel-color: $il-main-bg !default;
.modal-header {
border-bottom-color: $il-modal-light-color;
}
.modal-title {
padding: 0px;
}
.carousel-inner {
padding: 0px;
}
.carousel-control {
color: $il-modal-dark-carousel-color;
width: 15%;
}
}
.close {
Expand Down Expand Up @@ -158,6 +165,7 @@ $il-modal-dark-carousel-color: $il-main-bg !default;
font-size: $il-font-size-large;
margin: 0;
line-height: $modal-title-line-height;
padding: 0px 39px;
}

// Modal body
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;

$carousel-control-color: $il-link-color !default;
$carousel-control-width: 15% !default;
$carousel-control-opacity: .5 !default;
$carousel-control-font-size: 20px !default;
$carousel-control-width: $carousel-control-font-size !default;

$carousel-indicator-active-bg: $il-link-hover-color !default;
$carousel-indicator-border-color: $il-link-color !default;

$carousel-caption-color: $il-link-color !default;

$carousel-inner-padding: 0px 24px !default;

// section based on bootstrap 3 - see /templates/default/Guidelines_SCSS-Coding.md

// Wrapper for the slide container and indicators
Expand All @@ -29,6 +31,7 @@ $carousel-caption-color: $il-link-color !default;
overflow: hidden;
width: 100%;
min-height: 400px;
padding: $carousel-inner-padding;

.item:not(.text-only) .item-content {
display: flex;
Expand Down Expand Up @@ -73,6 +76,9 @@ $carousel-caption-color: $il-link-color !default;
&.active {
@include translate3d(0, 0, 0);
left: 0;
&.text-only {
padding: 0 15px;
}
}
}
}
Expand Down
14 changes: 13 additions & 1 deletion templates/default/delos.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 858a873

Please sign in to comment.