8000 New page: `page-loader.html` by codecalm · Pull Request #1430 · tabler/tabler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

New page: page-loader.html #1430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/pages/_data/menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ extra:
title: Job listing
url: job-listing.html
badge: New
page-loader:
title: Page loader
url: page-loader.html
badge: New

layout:
icon: layout-2
Expand Down
4 changes: 2 additions & 2 deletions src/pages/_layouts/single.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: base
body-class: border-top-wide border-primary d-flex flex-column
body-class: d-flex flex-column
---

<div class="page page-center">
<div class="container container-{{ page.container-size | default: 'tight' }} py-4">

{% unless page.hide-logo %}
<div class="text-center mb-4">
<a href="{{ site.base }}" class="navbar-brand navbar-brand-autodark"><img src="{{ site.base }}/static/logo.svg" height="36" alt=""></a>
<a href="{{ site.base }}" class="navbar-brand navbar-brand-autodark"><img src="{{ site.base }}/static/logo{% if page.logo-small %}-small{% endif %}.svg" height="36" alt=""></a>
</div>
{% endunless %}

Expand Down
13 changes: 13 additions & 0 deletions src/pages/page-loader.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: single
container-size: slim
hide-logo: true
---

<div class="text-center">
<div class="mb-3">
<a href="{{ site.base }}" class="navbar-brand navbar-brand-autodark"><img src="{{ site.base }}/static/logo-small.svg" height="36" alt=""></a>
</div>
<div class="text-muted mb-3">Preparing application</div>
{% include ui/progress.html indeterminate=true size="sm" %}
</div>
1 change: 1 addition & 0 deletions src/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ $grid-gutter-width: 1rem !default;
$container-padding-x: 1.5rem !default;

$container-variations: (
slim: 16rem,
tight: 30rem,
narrow: 45rem,
) !default;
Expand Down
2 changes: 1 addition & 1 deletion src/scss/ui/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Progress bar
}

&:before {
animation: progress-indeterminate 2.1s cubic-bezier(.65, .815, .735, .395) infinite;
animation: progress-indeterminate 1.5s cubic-bezier(.65, .815, .735, .395) infinite;
}
}

Expand Down
0