Skip to content
Snippets Groups Projects
Commit 7f7231b8 authored by Davyd Burianuvatyi's avatar Davyd Burianuvatyi
Browse files

Issue #3359910: Fix hover button and style

parent 75077ae8
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -12,17 +12,19 @@
}
h2 {
font-size: 64px;
line-height: 70px;
font-size: 35px;
line-height: 40px;
margin-bottom: 20px;
@include media-breakpoint-up(md) {
font-size: 64px;
line-height: 70px;
margin-bottom: 24px;
}
}
p {
font-size: 28px;
font-size: 18px;
line-height: 28px;
}
}
......@@ -98,12 +100,6 @@
}
.btn {
background-color: var(--wsPartnerColor);
border: none;
border-radius: 10px;
padding: 10px 20px;
font-size: 24px;
line-height: 30px;
margin: 10px 0 0;
@include media-breakpoint-up(md) {
......@@ -124,19 +120,21 @@
.carousel-control-panel {
position: absolute;
bottom: -25px;
bottom: -20px;
left: 20px;
width: calc(100% - 40px);
background-color: var(--wsSecondaryColor);
border-radius: 26px;
height: 50px;
height: 40px;
display: flex;
justify-content: space-between;
padding: 5px 8px;
align-items: center;
@include media-breakpoint-up(md) {
height: 50px;
width: 730px;
bottom: -25px;
left: calc(50% - 365px);
}
......@@ -149,11 +147,16 @@
opacity: 1;
position: static;
border: none;
width: 40px;
height: 40px;
width: 30px;
height: 30px;
background: var(--ylb-color-white) url("../image/arrow.svg") no-repeat center;
background-size: auto;
background-size: 58%;
border-radius: 50%;
@include media-breakpoint-up(md) {
width: 40px;
height: 40px;
background-size: auto;
}
&.carousel-control-next {
transform: rotate(180deg);
......
# Custom module library for general purposes.
lb_carousel:
version: 1.1
version: 1.2
css:
component:
assets/css/lb-carousel.css: { preprocess: true }
......@@ -93,7 +93,7 @@
{% endif %}
{% if item.field_carousel_cta.uri %}
<a href="{{ item.field_carousel_cta.0.url }}"
class="btn btn-primary">
class="btn btn-primary filled">
{{ item.field_carousel_cta.title }}
</a>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment