added back to top style & demo inside widget

pull/2153/head
REJack 2019-07-08 18:47:57 +02:00
parent 57309870f6
commit 22e2587dc4
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
7 changed files with 36 additions and 3 deletions

View File

@ -3,6 +3,10 @@
* ------------
*/
html {
scroll-behavior: smooth;
}
html,
body,
.wrapper {

View File

@ -353,3 +353,14 @@
}
}
}
// Scroll To Top
.back-to-top {
bottom: 1.25rem;
position: fixed;
right: 1.25rem;
&:focus {
box-shadow: none;
}
}

14
dist/css/adminlte.css vendored
View File

@ -9654,6 +9654,10 @@ a.text-dark:hover, a.text-dark:focus {
* Core: Layout
* ------------
*/
html {
scroll-behavior: smooth;
}
html,
body,
.wrapper {
@ -16637,6 +16641,16 @@ html.maximized-card {
right: 0;
}
.back-to-top {
bottom: 1.25rem;
position: fixed;
right: 1.25rem;
}
.back-to-top:focus {
box-shadow: none;
}
/*
* Misc: Print
* -----------

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2123,6 +2123,10 @@
</div><!-- /.container-fluid -->
</section>
<!-- /.content -->
<a id="back-to-top" href="#" class="btn btn-primary back-to-top" role="button" aria-label="Scroll to top">
<i class="fas fa-chevron-up"></i>
</a>
</div>
<!-- /.content-wrapper -->