-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
stacytalbot
committed
Jan 8, 2020
1 parent
19bfab6
commit 5258a01
Showing
21 changed files
with
553 additions
and
226 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
app/assets/stylesheets/components/vue-agile/_agile-basic.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
&--basic { | ||
overflow: hidden; | ||
|
||
.agile { | ||
&__dots { | ||
margin: rem-calc(30) auto 0 auto; | ||
} | ||
|
||
&__dot { | ||
background-color: $grey-light; | ||
border-radius: 100%; | ||
margin-right: $agile-basic-dot-size/2; | ||
width: $agile-basic-dot-size; height: $agile-basic-dot-size; | ||
|
||
&--current { background-color: $grey; } | ||
} | ||
|
||
&__list { | ||
@include responsive(margin-right, 10%, 25%, 25%, 0); | ||
@include responsive(overflow, visible, visible, visible, hidden); | ||
width: auto; | ||
} | ||
|
||
&__slides { | ||
align-items: stretch; | ||
} | ||
|
||
&__slide { | ||
display: flex; | ||
|
||
&:last-child { | ||
@include breakpoint($large) { | ||
@include tooltip-last-slide; | ||
} | ||
} | ||
} | ||
|
||
&__slide-content { | ||
@include box-shadow-grey-light; | ||
@include responsive(margin, 0 $agile-basic-slide-margin-mobile, 0 $agile-basic-slide-margin-tablet, 0 $agile-basic-slide-margin-tablet, 0 $agile-basic-slide-margin-desktop); | ||
background-color: $white; | ||
border: solid 1px $grey-light; | ||
font-size: rem-calc(18); | ||
padding: rem-calc(16); | ||
width: 100%; | ||
|
||
position: relative; | ||
} | ||
|
||
&__slide-title { | ||
@include responsive(margin, 0, rem-calc(0 5), rem-calc(0 5), rem-calc(0 10)); | ||
font-family: $header-font; | ||
} | ||
|
||
&__tooltip { | ||
position: absolute; | ||
top: rem-calc(10); | ||
right: rem-calc(10); | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
app/assets/stylesheets/components/vue-agile/_agile-themes.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
&--themes { | ||
color: $white; | ||
overflow: hidden; | ||
|
||
.agile { | ||
&__dots { | ||
display: none; | ||
} | ||
|
||
&__actions { | ||
width: 75%; | ||
|
||
position: absolute; | ||
top: 50%; | ||
|
||
transform: translateY(-50%); | ||
} | ||
|
||
&__nav-button--prev { | ||
@include button-prev; | ||
|
||
transform: translateX(-50%); | ||
} | ||
|
||
&__nav-button--next { | ||
@include button-next; | ||
|
||
transform: translateX(50%); | ||
} | ||
|
||
&__list { | ||
@include responsive(margin-right, 10%, 25%, 25%, 0); | ||
@include responsive(overflow, visible, visible, visible, hidden); | ||
width: auto; | ||
} | ||
|
||
&__slides { | ||
align-items: stretch; | ||
} | ||
|
||
&__slide { | ||
@include responsive(padding-right, rem-calc(11), rem-calc(11), rem-calc(22)); | ||
} | ||
|
||
&__slide-link { | ||
@include border-radius; | ||
@include responsive(height, rem-calc(460), rem-calc(460), rem-calc(760)); | ||
background-color: $grey-dark; | ||
padding: rem-calc(22 26); | ||
text-decoration: none; | ||
width: 100%; | ||
|
||
display: flex; | ||
|
||
&:hover::before { background-color: rgba(black, 0.6); } | ||
|
||
&::before { @include border-radius; } | ||
} | ||
|
||
&__slide-content { | ||
@include flex-vs-end; | ||
width: 100%; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.