Merge lp:~kuzeko/ubuntu-website/light-base-theme into lp:~ubuntu-website-community/ubuntu-website/light-base-theme
- light-base-theme
- Merge into light-base-theme
Proposed by
KuZeKo - Matteo Lissandrini
Status: | Merged |
---|---|
Merged at revision: | 13 |
Proposed branch: | lp:~kuzeko/ubuntu-website/light-base-theme |
Merge into: | lp:~ubuntu-website-community/ubuntu-website/light-base-theme |
Diff against target: |
148 lines (+15/-9) 5 files modified
css/default.css (+2/-0) css/ie.css (+2/-0) css/ie6.css (+2/-0) forum.html (+8/-8) wordpress.html (+1/-1) |
To merge this branch: | bzr merge lp:~kuzeko/ubuntu-website/light-base-theme |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Johnston | Pending | ||
Review via email: mp+27803@code.launchpad.net |
Commit message
Description of the change
Added current css class for main and sub nav
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'css/default.css' |
2 | --- css/default.css 2010-06-14 11:36:50 +0000 |
3 | +++ css/default.css 2010-06-17 08:08:25 +0000 |
4 | @@ -144,6 +144,7 @@ |
5 | |
6 | #main-nav { border-left: 1px solid #EF7149; z-index:10;} |
7 | .main-nav-item, |
8 | +.main-nav-itam.current, |
9 | .main-nav-item:visited { border-right: 1px solid #EF7149; border-bottom: 0; border-top: 0; color: #fff; display: block; float: left; height: 70px; line-height: 70px; margin:0px; padding: 0 15px; text-shadow: 1px 1px 1px #333; } |
10 | .main-nav-item:hover, |
11 | .main-nav-item:active, |
12 | @@ -155,6 +156,7 @@ |
13 | |
14 | .sub-nav-item, |
15 | .sub-nav-item:visited { color:#333; display: block; float: left; line-height:40px; margin:0px; padding: 0 15px; } |
16 | +.sub-nav-item.current, |
17 | .sub-nav-item:hover, |
18 | .sub-nav-item:active, |
19 | .sub-nav-item:focus { background-color:#efefef; color:#DD4814; } |
20 | |
21 | === modified file 'css/ie.css' |
22 | --- css/ie.css 2010-06-14 11:36:50 +0000 |
23 | +++ css/ie.css 2010-06-17 08:08:25 +0000 |
24 | @@ -151,6 +151,7 @@ |
25 | #main-nav { border-left: 1px solid #EF7149; z-index:10;} |
26 | .main-nav-item, |
27 | .main-nav-item:visited { border-right: 1px solid #EF7149; border-bottom: 0; border-top: 0; color: #fff; display: block; float: left; height: 70px; line-height: 70px; margin:0px; padding: 0 15px; text-shadow: 1px 1px 1px #333; } |
28 | +.main-nav-item.current, |
29 | .main-nav-item:hover, |
30 | .main-nav-item:active, |
31 | .main-nav-item:focus { background: url(../images/mainnav.png) 0 0 repeat; } |
32 | @@ -160,6 +161,7 @@ |
33 | #sub-nav-container { background-color:#F7F7F7; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;} |
34 | .sub-nav-item, |
35 | .sub-nav-item:visited { color:#333; display: block; float: left; line-height:40px; margin:0px; padding: 0 15px; } |
36 | +.sub-nav-item.current, |
37 | .sub-nav-item:hover, |
38 | .sub-nav-item:active, |
39 | .sub-nav-item:focus { background-color:#efefef; color:#DD4814; } |
40 | |
41 | === modified file 'css/ie6.css' |
42 | --- css/ie6.css 2010-06-14 11:36:50 +0000 |
43 | +++ css/ie6.css 2010-06-17 08:08:25 +0000 |
44 | @@ -146,6 +146,7 @@ |
45 | #main-nav { border-left: 1px solid #EF7149; z-index:10;} |
46 | .main-nav-item, |
47 | .main-nav-item:visited { display:inline; border-right: 1px solid #EF7149; border-bottom: 0; border-top: 0; color: #fff; float: left; height: 70px; line-height: 70px; margin:0px; padding: 0 15px; text-shadow: 1px 1px 1px #333; } |
48 | +.main-nav-item.current, |
49 | .main-nav-item:hover, |
50 | .main-nav-item:active, |
51 | .main-nav-item:focus { background: url(../images/mainnav.png) 0 0 repeat; } |
52 | @@ -155,6 +156,7 @@ |
53 | #sub-nav { margin-bottom:0px; padding-bottom:0px;} |
54 | .sub-nav-item, |
55 | .sub-nav-item:visited { display:inline; color:#333; float: left; line-height:40px; margin:0px; padding: 0 15px 0px; } |
56 | +.sub-nav-item.current, |
57 | .sub-nav-item:hover, |
58 | .sub-nav-item:active, |
59 | .sub-nav-item:focus { background-color:#efefef; color:#DD4814; } |
60 | |
61 | === modified file 'forum.html' |
62 | --- forum.html 2010-06-14 15:26:09 +0000 |
63 | +++ forum.html 2010-06-17 08:08:25 +0000 |
64 | @@ -43,7 +43,7 @@ |
65 | </header> |
66 | |
67 | <aside id="page-related"> |
68 | - <div class="container" id="sub-nav-container" id="sub-nav-container"> |
69 | + <div class="container" id="sub-nav-container" > |
70 | <nav id="sub-nav"> |
71 | <a class="sub-nav-item" href="javascript:void(0)" title="Indice">Indice</a> |
72 | <a class="sub-nav-item" href="javascript:void(0)" title="FAQ">FAQ</a> |
73 | @@ -64,7 +64,7 @@ |
74 | <section id="content"> |
75 | <section id="forum" class="main-content plugin"> |
76 | <h3 class="forum-title"> |
77 | - <a class="forum-title-link" href="http://forum.ubuntu-it.org/index.php#7" name="7">Supporto tecnico</a> |
78 | + <a class="forum-title-link" href="http://forum.ubuntu-it.org/index.php#7" >Supporto tecnico</a> |
79 | </h3> |
80 | <table cellspacing="0" cellpadding="0" class="forum-table" > |
81 | <tbody> |
82 | @@ -73,7 +73,7 @@ |
83 | <a href="http://forum.ubuntu-it.org/index.php?action=unread;board=30.0"><img title="Nessun nuovo messaggio" alt="Nessun nuovo messaggio" src="http://forum.ubuntu-it.org/Themes/ubuntu-it/images/off.gif"></a> |
84 | </td> |
85 | <td class="cat-title"> |
86 | - <a name="b30" href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
87 | + <a href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
88 | <details class="cat-description"> |
89 | Argomenti relativi a problemi riscontrati durante la prima installazione (e la reinstallazione), durante i passaggi di versione e aggiornamenti del sistema. |
90 | </details> |
91 | @@ -97,7 +97,7 @@ |
92 | <a href="http://forum.ubuntu-it.org/index.php?action=unread;board=30.0"><img title="Nessun nuovo messaggio" alt="Nessun nuovo messaggio" src="http://forum.ubuntu-it.org/Themes/ubuntu-it/images/off.gif"></a> |
93 | </td> |
94 | <td class="cat-title"> |
95 | - <a name="b30" href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
96 | + <a href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
97 | <details class="cat-description"> |
98 | Argomenti relativi a problemi riscontrati durante la prima installazione (e la reinstallazione), durante i passaggi di versione e aggiornamenti del sistema. |
99 | </details> |
100 | @@ -126,7 +126,7 @@ |
101 | <a href="http://forum.ubuntu-it.org/index.php?action=unread;board=30.0"><img title="Nessun nuovo messaggio" alt="Nessun nuovo messaggio" src="http://forum.ubuntu-it.org/Themes/ubuntu-it/images/off.gif"></a> |
102 | </td> |
103 | <td class="cat-title"> |
104 | - <a name="b30" href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
105 | + <a href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
106 | <details class="cat-description"> |
107 | Argomenti relativi a problemi riscontrati durante la prima installazione (e la reinstallazione), durante i passaggi di versione e aggiornamenti del sistema. |
108 | </details> |
109 | @@ -160,7 +160,7 @@ |
110 | <a href="http://forum.ubuntu-it.org/index.php?action=unread;board=30.0"><img title="Nessun nuovo messaggio" alt="Nessun nuovo messaggio" src="http://forum.ubuntu-it.org/Themes/ubuntu-it/images/off.gif"></a> |
111 | </td> |
112 | <td class="cat-title"> |
113 | - <a name="b30" href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
114 | + <a href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
115 | <details class="cat-description"> |
116 | Argomenti relativi a problemi riscontrati durante la prima installazione (e la reinstallazione), durante i passaggi di versione e aggiornamenti del sistema. |
117 | </details> |
118 | @@ -184,7 +184,7 @@ |
119 | <a href="http://forum.ubuntu-it.org/index.php?action=unread;board=30.0"><img title="Nessun nuovo messaggio" alt="Nessun nuovo messaggio" src="http://forum.ubuntu-it.org/Themes/ubuntu-it/images/off.gif"></a> |
120 | </td> |
121 | <td class="cat-title"> |
122 | - <a name="b30" href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
123 | + <a href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
124 | <details class="cat-description"> |
125 | Argomenti relativi a problemi riscontrati durante la prima installazione (e la reinstallazione), durante i passaggi di versione e aggiornamenti del sistema. |
126 | </details> |
127 | @@ -213,7 +213,7 @@ |
128 | <a href="http://forum.ubuntu-it.org/index.php?action=unread;board=30.0"><img title="Nessun nuovo messaggio" alt="Nessun nuovo messaggio" src="http://forum.ubuntu-it.org/Themes/ubuntu-it/images/off.gif"></a> |
129 | </td> |
130 | <td class="cat-title"> |
131 | - <a name="b30" href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
132 | + <a href="http://forum.ubuntu-it.org/index.php?board=30.0">Installazione, aggiornamento del sistema operativo</a> |
133 | <details class="cat-description"> |
134 | Argomenti relativi a problemi riscontrati durante la prima installazione (e la reinstallazione), durante i passaggi di versione e aggiornamenti del sistema. |
135 | </details> |
136 | |
137 | === modified file 'wordpress.html' |
138 | --- wordpress.html 2010-06-14 15:26:09 +0000 |
139 | +++ wordpress.html 2010-06-17 08:08:25 +0000 |
140 | @@ -33,7 +33,7 @@ |
141 | <nav id="main-nav"> |
142 | <a class="main-nav-item png" href="javascript:void(0)" title="Item 1">Page 1</a> |
143 | <a class="main-nav-item png" href="javascript:void(0)" title="Item 2">Page 2</a> |
144 | - <a class="main-nav-item png" href="javascript:void(0)" title="Item 3">Peage Long Name 3</a> |
145 | + <a class="main-nav-item png current" href="javascript:void(0)" title="Item 3">Peage Long Name 3</a> |
146 | <a class="main-nav-item png" href="javascript:void(0)" title="Item 4">Page Shorter 4</a> |
147 | <a class="main-nav-item png" href="javascript:void(0)" title="Item 5">Page 5</a> |
148 | </nav> |