Skip to content

Commit 896a0a7

Browse files
committed
Merge @DineshGitHub's theme as "Center Simple" (Closes CodeByZach#81)
1 parent 487416d commit 896a0a7

File tree

3 files changed

+111
-0
lines changed

3 files changed

+111
-0
lines changed

docs/welcome/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,10 @@ <h2>Themes</h2>
502502
name: 'center-radar',
503503
title: 'Center Radar',
504504
author: 'kennyglenn'
505+
}, {
506+
name: 'center-simple',
507+
title: 'Center Simple',
508+
author: 'dineshgithub'
505509
}];
506510

507511
var init = function() {
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
.pace {
2+
-webkit-pointer-events: none;
3+
pointer-events: none;
4+
-webkit-user-select: none;
5+
-moz-user-select: none;
6+
user-select: none;
7+
8+
z-index: 2000;
9+
position: fixed;
10+
margin: auto;
11+
top: 0;
12+
left: 0;
13+
right: 0;
14+
bottom: 0;
15+
height: 5px;
16+
width: 200px;
17+
background: #fff;
18+
border: 1px solid `args.color || "#29d"`;
19+
}
20+
21+
.pace .pace-progress {
22+
-webkit-box-sizing: border-box;
23+
-moz-box-sizing: border-box;
24+
-ms-box-sizing: border-box;
25+
-o-box-sizing: border-box;
26+
box-sizing: border-box;
27+
28+
-webkit-transition: width 1s ease-in-out 1s linear;
29+
-moz-transition: width 1s ease-in-out 1s linear;
30+
-ms-transition: width 1s ease-in-out 1s linear;
31+
-o-transition: width 1s ease-in-out 1s linear;
32+
transition: width 1s ease-in-out 1s linear;
33+
34+
-webkit-transform: translate3d(0, 0, 0);
35+
-moz-transform: translate3d(0, 0, 0);
36+
-ms-transform: translate3d(0, 0, 0);
37+
-o-transform: translate3d(0, 0, 0);
38+
transform: translate3d(0, 0, 0);
39+
40+
max-width: 200px;
41+
position: fixed;
42+
z-index: 2000;
43+
display: block;
44+
position: absolute;
45+
left: 0px;
46+
top: 0px;
47+
height: 100%;
48+
background: `args.color || "#29d"`;
49+
}
50+
51+
.pace.pace-inactive {
52+
display: none;
53+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/* This is a compiled file, you should be editing the file in the templates directory */
2+
.pace {
3+
-webkit-pointer-events: none;
4+
pointer-events: none;
5+
-webkit-user-select: none;
6+
-moz-user-select: none;
7+
user-select: none;
8+
9+
z-index: 2000;
10+
position: fixed;
11+
margin: auto;
12+
top: 0;
13+
left: 0;
14+
right: 0;
15+
bottom: 0;
16+
height: 5px;
17+
width: 200px;
18+
background: #fff;
19+
border: 1px solid #29d;
20+
}
21+
22+
.pace .pace-progress {
23+
-webkit-box-sizing: border-box;
24+
-moz-box-sizing: border-box;
25+
-ms-box-sizing: border-box;
26+
-o-box-sizing: border-box;
27+
box-sizing: border-box;
28+
29+
-webkit-transition: width 1s ease-in-out 1s linear;
30+
-moz-transition: width 1s ease-in-out 1s linear;
31+
-ms-transition: width 1s ease-in-out 1s linear;
32+
-o-transition: width 1s ease-in-out 1s linear;
33+
transition: width 1s ease-in-out 1s linear;
34+
35+
-webkit-transform: translate3d(0, 0, 0);
36+
-moz-transform: translate3d(0, 0, 0);
37+
-ms-transform: translate3d(0, 0, 0);
38+
-o-transform: translate3d(0, 0, 0);
39+
transform: translate3d(0, 0, 0);
40+
41+
max-width: 200px;
42+
position: fixed;
43+
z-index: 2000;
44+
display: block;
45+
position: absolute;
46+
left: 0px;
47+
top: 0px;
48+
height: 100%;
49+
background: #29d;
50+
}
51+
52+
.pace.pace-inactive {
53+
display: none;
54+
}

0 commit comments

Comments
 (0)