Skip to content
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

Added the loading animation #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ As we'll be either pulling in parts of [Bootstrap](http://bootstrap.io) or at th

For those new to Less, it's worth checking out [SimpLESS](http://wearekiss.com/simpless) (which runs on all platforms) which watches and compiles Less into CSS.

#########
Loading animation added
Added a gif file in the images folder.

### Node.js
Included in the `node` folder is a script for creating a template website using the metro.css theme in Node.js
With node installed on your system, run the following commands
Expand Down
Binary file added images/loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion less/bootstrap/progress-bars.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,22 @@
}
.progress-info.progress-striped .bar {
#gradient > .striped(#5bc0de);
}
}

//LOADING ANIMATIONS
//------------------

//LOADING ANIMATION 1

.spinner {
position: relative;
top: 50%;
left: 50%;
margin-left: -50px;
margin-top: -50px;
text-align:center;
z-index:1234;
overflow: auto;
width: 100px;
height: 102px;
}
2 changes: 1 addition & 1 deletion less/metroblog.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ section.title { float: left; font-size: @baseFontSize * 4; }

nav { float: right; margin-left: 140px; margin-top: 20px; margin-bottom: 20px; }

nav a:hover { color: black; }
nav a:hover { color: black; }