Skip to content

Commit

Permalink
changed navigation in default theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast committed Jan 25, 2009
1 parent 0ddf181 commit ed76362
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 4 additions & 4 deletions index.html
Expand Up @@ -48,8 +48,8 @@
<h1><a href="index.html">Wep App Theme</a></h1> <h1><a href="index.html">Wep App Theme</a></h1>
<div id="main-navigation"> <div id="main-navigation">
<ul> <ul>
<li><a href="#">Main Page</a></li> <li class="first"><a href="#block-text">Main Page</a></li>
<li class="active"><a href="#">Selected</a></li> <li class="active"><a href="#block-text">Active</a></li>
</ul> </ul>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
Expand Down Expand Up @@ -101,7 +101,7 @@ <h2 class="title">Tables</h2>
<div class="content"> <div class="content">
<table class="table"> <table class="table">
<tr> <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>ID</th>
<th>Login</th> <th>Login</th>
<th>Name</th> <th>Name</th>
Expand Down Expand Up @@ -154,7 +154,7 @@ <h2 class="title">Forms</h2>
<span class="description">Write here a long text</span> <span class="description">Write here a long text</span>
</div> </div>
<div class="group navform"> <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> </div>
</form> </form>
</div> </div>
Expand Down
12 changes: 10 additions & 2 deletions themes/default/style.css
Expand Up @@ -15,6 +15,10 @@ hr {
background: #7A1818; background: #7A1818;
} }


#header h1 {
padding: 0;
}

#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited { #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
color: #FFF; color: #FFF;
} }
Expand Down Expand Up @@ -49,6 +53,10 @@ hr {
color: #FFF; color: #FFF;
} }


#main-navigation {
background: #262626;
}

#main-navigation ul li { #main-navigation ul li {
background: #262626; background: #262626;
} }
Expand Down Expand Up @@ -159,14 +167,14 @@ ul.list li .item .avatar {


/* rounded borders */ /* 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; -moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px; -webkit-border-top-left-radius: 4px;
-moz-border-radius-topright: 4px; -moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 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; -moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px; -webkit-border-top-left-radius: 4px;
} }
Expand Down

0 comments on commit ed76362

Please sign in to comment.