Repository: ignite Updated Branches: refs/heads/ignite-843 db4a9e873 -> 09de108c6
ignite-843 Fixed carousel. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4f344372 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4f344372 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4f344372 Branch: refs/heads/ignite-843 Commit: 4f3443727e136c3c30595cc6e0670df6693af656 Parents: db4a9e8 Author: Andrey <[email protected]> Authored: Mon Sep 28 17:33:00 2015 +0700 Committer: Andrey <[email protected]> Committed: Mon Sep 28 17:33:00 2015 +0700 ---------------------------------------------------------------------- .../src/main/js/public/stylesheets/style.scss | 28 +++++++++++++++++++- .../src/main/js/views/index.jade | 12 ++++----- 2 files changed, 33 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/4f344372/modules/control-center-web/src/main/js/public/stylesheets/style.scss ---------------------------------------------------------------------- diff --git a/modules/control-center-web/src/main/js/public/stylesheets/style.scss b/modules/control-center-web/src/main/js/public/stylesheets/style.scss index 1a023af..f042494 100644 --- a/modules/control-center-web/src/main/js/public/stylesheets/style.scss +++ b/modules/control-center-web/src/main/js/public/stylesheets/style.scss @@ -1749,12 +1749,38 @@ treecontrol.tree-classic { .carousel-caption { color: $ignite-header-color; + position: relative; + left: auto; + right: auto; + + margin-top: 10px; h3 { margin-bottom: 10px; } } -.carousel-indicators { +.carousel-control { + font-size: 30px; + + // Toggles + .fa-chevron-left,.fa-chevron-right { + position: absolute; + top: 50%; + margin-top: -10px; + z-index: 5; + display: inline-block; + left: 50%; + margin-left: -10px; + } + + .fa-chevron-left { + left: 50%; + margin-left: -10px; + } + .fa-chevron-right { + right: 50%; + margin-right: -10px; + } } http://git-wip-us.apache.org/repos/asf/ignite/blob/4f344372/modules/control-center-web/src/main/js/views/index.jade ---------------------------------------------------------------------- diff --git a/modules/control-center-web/src/main/js/views/index.jade b/modules/control-center-web/src/main/js/views/index.jade index 77b5c78..4dbc875 100644 --- a/modules/control-center-web/src/main/js/views/index.jade +++ b/modules/control-center-web/src/main/js/views/index.jade @@ -71,7 +71,7 @@ block body button#login.btn.btn-primary(ng-click='auth(action, user_info)' ng-disabled='loginForm.$invalid') Log In hr .row - .col-sm-6 + .col-sm-6(style='padding-right: 20px;') #carousel-left.carousel.slide(data-ride='carousel') // Indicators ol.carousel-indicators @@ -103,12 +103,12 @@ block body p Download XML config, JAVA code, Docker file // Controls a.left.carousel-control(href='#carousel-left', role='button', data-slide='prev') - span.icon-prev(aria-hidden='true') + span.fa.fa-chevron-left(aria-hidden='true') span.sr-only Previous a.right.carousel-control(href='#carousel-left', role='button', data-slide='next') - span.icon-next(aria-hidden='true') + span.fa.fa-chevron-right(aria-hidden='true') span.sr-only Next - .col-sm-6 + .col-sm-6(style='padding-left: 20px') #carousel-right.carousel.slide(data-ride='carousel') // Indicators ol.carousel-indicators @@ -134,10 +134,10 @@ block body h3 View data in tabular form and as charts // Controls a.left.carousel-control(href='#carousel-right', role='button', data-slide='prev') - span.icon-prev(aria-hidden='true') + span.fa.fa-chevron-left(aria-hidden='true') span.sr-only Previous a.right.carousel-control(href='#carousel-right', role='button', data-slide='next') - span.icon-next(aria-hidden='true') + span.fa.fa-chevron-right(aria-hidden='true') span.sr-only Next include includes/footer
