changeset e420db7632ed in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=e420db7632ed
description:
Remove carousel-controls
diffstat:
sass/_variables.scss | 3 ---
sass/header/_header.scss | 35 -----------------------------------
sass/noscript.scss | 4 ----
templates/index.html | 12 ------------
4 files changed, 0 insertions(+), 54 deletions(-)
diffs (90 lines):
diff -r f50bccdf3a7a -r e420db7632ed sass/_variables.scss
--- a/sass/_variables.scss Wed Oct 16 16:04:28 2019 +0200
+++ b/sass/_variables.scss Thu Oct 17 13:14:36 2019 +0200
@@ -13,9 +13,6 @@
$tryton-color-gray-dark: #282f33;
$tryton-color-gray-light: #dcddde;
-// HEADER
-$carousel-controls-bottom: 200px;
-
// SECTIONS
$tryton-section-padding: 4.5rem;
$tryton-subsection-padding: 3rem;
diff -r f50bccdf3a7a -r e420db7632ed sass/header/_header.scss
--- a/sass/header/_header.scss Wed Oct 16 16:04:28 2019 +0200
+++ b/sass/header/_header.scss Thu Oct 17 13:14:36 2019 +0200
@@ -67,40 +67,5 @@
}
}
}
-
- .carousel-controls {
- @include media-breakpoint-down(lg) {
- display: none;
- }
-
- bottom: $carousel-controls-bottom;
- left: 0;
- position: absolute;
- right: 0;
- z-index: 15;
-
- a {
- background-color: $primary;
- border-radius: 0 $border-radius $border-radius 0;
- color: $dark;
- font-size: 20px;
- padding: 1rem .5rem;
-
- &:first-child {
- border-radius: $border-radius 0 0 $border-radius;
- margin-right: 1px;
- }
-
- &:hover {
- background-color: $dark;
- color: $secondary;
- text-decoration: none;
- }
-
- .sr-only {
- color: $secondary;
- }
- }
- }
}
}
diff -r f50bccdf3a7a -r e420db7632ed sass/noscript.scss
--- a/sass/noscript.scss Wed Oct 16 16:04:28 2019 +0200
+++ b/sass/noscript.scss Thu Oct 17 13:14:36 2019 +0200
@@ -48,7 +48,3 @@
}
}
}
-
-.carousel-controls {
- display: none;
-}
diff -r f50bccdf3a7a -r e420db7632ed templates/index.html
--- a/templates/index.html Wed Oct 16 16:04:28 2019 +0200
+++ b/templates/index.html Thu Oct 17 13:14:36 2019 +0200
@@ -97,18 +97,6 @@
</div>
</div>
</div>
- <div class="carousel-controls">
- <div class="container d-flex">
- <a href="#carousel-header" role="button" data-slide="prev">
- <span aria-hidden="true"><</span>
- <span class="sr-only">Previous</span>
- </a>
- <a href="#carousel-header" role="button" data-slide="next">
- <span aria-hidden="true">></span>
- <span class="sr-only">Next</span>
- </a>
- </div>
- </div>
</div>
{% endblock header %}