Permalink
Browse files

changed navigation in default theme.

  • Loading branch information...
1 parent 0ddf181 commit ed76362680f25811324eeaaff1d77980f0895c55 @pilu pilu committed Jan 25, 2009
Showing with 14 additions and 6 deletions.
  1. +4 −4 index.html
  2. +10 −2 themes/default/style.css
View
@@ -48,8 +48,8 @@
<h1><a href="index.html">Wep App Theme</a></h1>
<div id="main-navigation">
<ul>
- <li><a href="#">Main Page</a></li>
- <li class="active"><a href="#">Selected</a></li>
+ <li class="first"><a href="#block-text">Main Page</a></li>
+ <li class="active"><a href="#block-text">Active</a></li>
</ul>
<div class="clear"></div>
</div>
@@ -101,7 +101,7 @@ <h2 class="title">Tables</h2>
<div class="content">
<table class="table">
<tr>
- <th class="first"><a href="#" title="Toggle" class="toggle" onclick="this.up('table').select('input[type=\'checkbox\']').each(function(e){e.checked = !e.checked}); return false;">Toggle</a></th>
+ <th class="first"><a href="#" title="Toggle" class="toggle">Toggle</a></th>
<th>ID</th>
<th>Login</th>
<th>Name</th>
@@ -154,7 +154,7 @@ <h2 class="title">Forms</h2>
<span class="description">Write here a long text</span>
</div>
<div class="group navform">
- <input type="submit" value="Save &rarr;" /> or <a href="#">Cancel</a>
+ <input type="submit" value="Save &rarr;" /> or <a href="#header">Cancel</a>
</div>
</form>
</div>
View
@@ -15,6 +15,10 @@ hr {
background: #7A1818;
}
+#header h1 {
+ padding: 0;
+}
+
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
color: #FFF;
}
@@ -49,6 +53,10 @@ hr {
color: #FFF;
}
+#main-navigation {
+ background: #262626;
+}
+
#main-navigation ul li {
background: #262626;
}
@@ -159,14 +167,14 @@ ul.list li .item .avatar {
/* rounded borders */
-#main, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li .left.date.day {
+#main, #main-navigation, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li .left.date.day {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
}
-.secondary-navigation ul li.first, .table th.first, .table th.first {
+#main-navigation li.first, .secondary-navigation ul li.first, .table th.first, .table th.first {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
}

0 comments on commit ed76362

Please sign in to comment.