mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Added universal {HERO} shortcode. Default template intended for Bootstrap 4.
This commit is contained in:
@@ -58,10 +58,11 @@ li .hero-list-text {
|
||||
#carousel-hero.carousel {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
top: 30px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden
|
||||
overflow: hidden;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-indicators li {
|
||||
@@ -78,9 +79,9 @@ li .hero-list-text {
|
||||
#carousel-hero.carousel .carousel-indicators {
|
||||
position: static;
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
display: block;
|
||||
margin: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-indicators li {
|
||||
@@ -94,7 +95,8 @@ li .hero-list-text {
|
||||
margin: 2px;
|
||||
margin-top: 10px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer
|
||||
cursor: pointer;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-indicators li.active {
|
||||
@@ -103,10 +105,11 @@ li .hero-list-text {
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-controls {
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
bottom: 20px;
|
||||
width: 160px
|
||||
position:relative;
|
||||
text-align: center;
|
||||
margin-top: -80px;
|
||||
width: 100%;
|
||||
z-index:1000;
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-controls a {
|
||||
@@ -125,7 +128,7 @@ li .hero-list-text {
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: all ease .5s;
|
||||
margin-right: 10px;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem
|
||||
}
|
||||
|
||||
@@ -141,8 +144,8 @@ li .hero-list-text {
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-controls a.right {
|
||||
margin-right: 20px;
|
||||
margin-right: 2rem
|
||||
margin-right: 0;
|
||||
margin-right: 1rem
|
||||
}
|
||||
|
||||
#carousel-hero.carousel .carousel-inner {
|
||||
|
Reference in New Issue
Block a user