Skip to content

Commit

Permalink
minor name fix (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmelo authored Dec 7, 2016
1 parent cc5fb2b commit 02336cb
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 2 deletions.
86 changes: 86 additions & 0 deletions src/styles/_components/_carrousel.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
@mixin carrousel() {
width: 592px;
height: 340px;
overflow: hidden;
white-space: nowrap;
z-index: 2;

&__button {
position: absolute;
display: block;
width: 40px;
height: 40px;
top: 140px;
background-color: transparent;
border: 0;
outline: 0;
font-size: em(24px);
text-align: center;
z-index: 3;

&:hover {
cursor: pointer;
color: color('primary');
}

&--prev {
left: 0;
}

&--next {
right: 0;
}
}

&__container,
&__container__wrapper {
position: relative;
height: 100%;
transform: translate3d(0px,0px,0);
transition: transform $animation-duration $swiftOut;
will-change: transform;

&__item {
position: relative;
@include inline-flex();
@include flex-column();
@include align-items-center();
@include justify-content-center();
width: 100%;
height: 100%;
padding: 26px;

&__thumbnail {
svg {
display: block;
width: auto;
height: 188px;
margin: 0 auto;
}
}

&__title,
&__content {
width: 100%;
margin: 0 auto;
text-align: center;
white-space: normal;
}

&__title {
margin-top: auto;
margin-bottom: 8px;
@include font("IntervalNextMed");
font-size: em(19px);
line-height: 22px;
}

&__content {
max-width: 454px;
@include font("IntervalNextBook");
font-size: em(16px);
line-height: 19px;
}
}
}
}
4 changes: 2 additions & 2 deletions src/styles/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"_components/_alerts",
"_components/_messages",
"_components/_forms",
"_components/_tabs",
"_components/_carroussel";
"_components/_carrousel",
"_components/_tabs";

0 comments on commit 02336cb

Please sign in to comment.