Skip to content

Commit 408c1b5

Browse files
author
zhangxinxu
committed
loading more powerful
make loading more powerful that the flower's color is same as color by using 'currentColor'
1 parent eb535c8 commit 408c1b5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/mobilebone.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ html, body, .page {
4545
.loading { /* more info: http://www.zhangxinxu.com/wordpress/?p=3357 */
4646
width: 3px; height:3px;
4747
border-radius: 100%;
48-
box-shadow: 0 -10px 0 1px #333, /* top, 1px expand */
49-
10px 0px #333, /* right */
50-
0 10px #333, /* bottom */
51-
-10px 0 #333, /* left */
48+
box-shadow: 0 -10px 0 1px currentColor, /* top, 1px expand */
49+
10px 0px currentColor, /* right */
50+
0 10px currentColor, /* bottom */
51+
-10px 0 currentColor, /* left */
5252

53-
-7px -7px 0 .5px #333, /* left-top, 0.5px expand */
54-
7px -7px 0 1.5px #333, /* right-top, 1.5px expand */
55-
7px 7px #333, /* right-bottom */
56-
-7px 7px #333; /* left-bottom */
53+
-7px -7px 0 .5px currentColor, /* left-top, 0.5px expand */
54+
7px -7px 0 1.5px currentColor, /* right-top, 1.5px expand */
55+
7px 7px currentColor, /* right-bottom */
56+
-7px 7px currentColor; /* left-bottom */
5757
-webkit-animation: loading 1s step-start infinite;
5858
animation: loading 1s step-start infinite;
5959
/*center*/

test/test.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ul { padding-left: 0; list-style-type: none; }
33
a { text-decoration: none; color: inherit; }
44
li > a { display: block; line-height: 32px; padding-left: .5em; margin-top: -1px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; box-shadow: inset 0 1px #fbfbfb; background-color: #eee; position: relative; }
55
a:not(.follow) > .mask { left: 0; top: 0; }
6+
.follow { color: #34538b; }
67
.follow > .mask { display: inline; width: 32px; height: 32px; background-color: transparent; }
78
.page > a[data-rel="back"] { display: inline-block; line-height: 32px; margin: .5em; padding: 0 1em; border: 1px solid #ccc; border-left: 0; border-radius: 0 3px 3px 0; background-color: #eee; position: relative; left: 13px; -webkit-tap-highlight-color: rgba(0,0,0,0); }
89
.page > a[data-rel="back"]::before { content:''; width: 23px; height: 23px; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; border-bottom-left-radius: 3px; background-color: #eee; position: absolute; left: -12px; top: 4px; -webkit-transform: rotate(45deg); transform: rotate(45deg); }

0 commit comments

Comments
 (0)