android.moparisthebest.org/stylesheets/partials/_navigation.sass

38 lines
993 B
Sass
Raw Normal View History

2009-11-14 14:08:19 -05:00
#nav
+clearfix
position: relative
z-index: 1
2010-03-10 14:59:18 -05:00
background-color: #{!nav_bg}
+linear-gradient(color_stops(#fcfcfc, #f4f4f4 .3, #ddd))
2009-11-14 14:08:19 -05:00
border:
2010-03-10 14:59:18 -05:00
top: 1px solid #{!nav_border_top}
bottom: 1px solid #{!nav_border_bottom}
2009-11-14 14:08:19 -05:00
ul
position: relative
+horizontal-list
margin: 0 auto
2010-03-10 14:59:18 -05:00
padding: 6px 0
2009-11-14 14:08:19 -05:00
li
padding: 0 15px
2010-03-10 14:59:18 -05:00
border-left: 1px solid #{!nav_border_left}
border-right: 1px solid #{!nav_border_right}
2009-11-14 14:08:19 -05:00
&.alpha
border-left: none
padding-left: 0
&.omega
border-right: 0
&.subscribe
position: absolute
2010-03-10 14:59:18 -05:00
left: #{!page_width - !sidebar_width - !sidebar_margin/2}
2009-11-14 14:08:19 -05:00
border: none
a
display: inline-block
padding-left: 28px
background: url("/images/rss.png") left top no-repeat
a
display: inline-block
2010-03-10 14:59:18 -05:00
color: #{!nav_color}
2009-11-14 14:08:19 -05:00
line-height: 150%
text-decoration: none
&:hover
2010-03-10 14:59:18 -05:00
color: #{!nav_color_hover}