-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathiOS.css.silver-navigationbar.css
More file actions
48 lines (46 loc) · 1.13 KB
/
iOS.css.silver-navigationbar.css
File metadata and controls
48 lines (46 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
* iOS.css Silver Navigation Bar (CSS) v1.0
* http://www.raffael.me/iOS.css/
* http://github.com/raffael-me/iOS.css/
*
* Copyright (c) 2012 Raffael Hannemann
* Dual licensed under the MIT.
* http://www.opensource.org/licenses/mit-license.php
*
*/
/**
* USAGE:
*
* 1. Follow the instructions of building a normal navigation bar.
* 2. Add the ".silver" class to the <nav /> tag to apply the silver style.
*
*/
nav.iOSnavigationbar.silver {
background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#c8c3bf));
box-shadow: 0 -1px 0 #8c8b89,
0 0 10px rgba(0,0,0,0.5),
0 10px 0 10px black;
border-top: none;
height: 48px;
border-radius: 0 0 3px 3px;
}
nav.iOSnavigationbar.silver
a {
color: #676664;
text-shadow: 0 1px 0 rgba(255,255,255,0.8);
top: 1px;
line-height: 75px;
}
nav.iOSnavigationbar.silver
a.current {
background-image: -webkit-linear-gradient(bottom, #989491 0%, #7c7b77 50%, #5a5a5a 100%);
box-shadow: 0 0 1px 1px rgba(0,0,0,0.1) inset,
0 1px 0 #f1edec;
height: 44px;
color: white;
text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
nav.iOSnavigationbar.silver
sup {
text-shadow: none;
}