-
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.
- v.4.10.20
- v.4.10.19
- v.4.10.18
- v.4.10.17
- v4.10.16
- v.4.10.15
- v.4.10.14
- v.4.10.13
- v.4.10.12
- v4.10.11
- v4.10.10
- v.4.10.9
- v.4.10.8
- v.4.10.7
- v.4.10.6
- v.4.10.5
- v.4.10.4
- v.4.10.3
- v.4.10.2
- v.4.10.1
- v.4.9.14
- v.4.9.13
- v4.9.10
- v.4.9.9
- v4.9.7
- v.4.9.6
- v4.9.5
- v4.9.4
- v.4.9.3
- v4.9.2
- v4.9.1
- v4.9.0
- v4.8.29
- v4.8.28
- v4.8.27
- v4.8.26
- v4.8.25
- v4.8.23
- v4.8.22
- v4.8.21
- v.4.8.20
- v4.8.19
- v4.8.18
- v4.8.17
- v4.8.16
- v4.8.15
- v4.8.14
- v4.8.13
- v4.8.12
- v4.8.11
- v4.8.10
- v4.8.9
- v4.8.8
- v4.8.7
- v4.8.6
- v4.8.5
- v4.8.4
- v4.8.3
- v4.8.2
- v4.8.1
- v4.8.0
- v4.7.0
- v4.6.4
- v4.5.2
- v4.1.0
- v4.0.0
- Refresh
- 4.13
- 4.8.5
- 4.6.5
- 4.6.3
- 4.6.2
- 4.6.1
- 4.6.0
- 4.5.4
- 4.5.3
- 4.5.1
- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.0.1
stacytalbot
committed
Jan 13, 2020
1 parent
19bfab6
commit 072e2b3
Showing
22 changed files
with
573 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.
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); | ||
} | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
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,73 @@ | ||
$agile-themes-margin-sides-mobile: 10%; | ||
$agile-themes-margin-sides-tablet: 14%; | ||
$agile-themes-margin-sides-desktop: 8%; | ||
|
||
&--themes { | ||
color: $white; | ||
overflow: hidden; | ||
|
||
.agile { | ||
&__dots { | ||
display: none; | ||
} | ||
|
||
&__actions { | ||
@include responsive(padding-right, $agile-themes-margin-sides-mobile, $agile-themes-margin-sides-tablet, $agile-themes-margin-sides-desktop); | ||
@include responsive(padding-left, $agile-themes-margin-sides-mobile, $agile-themes-margin-sides-tablet, $agile-themes-margin-sides-desktop); | ||
width: 100%; | ||
|
||
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, $agile-themes-margin-sides-mobile, $agile-themes-margin-sides-tablet, $agile-themes-margin-sides-desktop); | ||
@include responsive(margin-left, $agile-themes-margin-sides-mobile, $agile-themes-margin-sides-tablet, $agile-themes-margin-sides-desktop); | ||
overflow: visible; | ||
width: auto; | ||
} | ||
|
||
&__slides { | ||
align-items: stretch; | ||
} | ||
|
||
&__slide { | ||
@include responsive(padding-right, rem-calc(5), rem-calc(10), rem-calc(10)); | ||
@include responsive(padding-left, rem-calc(5), rem-calc(10), rem-calc(10)); | ||
} | ||
|
||
&__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
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 was deleted.
Oops, something went wrong.
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,24 @@ | ||
<section> | ||
<h2 class="text-center"><%= title %></h2> | ||
|
||
<agile class="agile--themes" :options="<%= get_agile_config_themes %>"> | ||
<template slot="prevButton"> | ||
<i class="icon--circle-chevron-green-prev"></i> | ||
</template> | ||
<template slot="nextButton"> | ||
<i class="icon--circle-chevron-green-next"></i> | ||
</template> | ||
|
||
<% slides.each do |slide| %> | ||
<div class="agile__slide"> | ||
<%= link_to slide[:url], title: slide[:label], class: "agile__slide-link bg-image-overlay" do %> | ||
<div class="agile__slide-content"> | ||
<h3 class="agile__slide-title h3-big-white"><%= slide[:label] %></h3> | ||
<p class="agile__slide-intro"><%= slide[:intro] %></p> | ||
<i class="agile__slide-icon icon--circle-chevron-white %>"></i> | ||
</div> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
</agile> | ||
</section> |