Commit 7097bbded79615049d818e013735c5d91e5cbd2a

Authored by Tomáz Martins
1 parent 2163ba8a

Adjusting css to work with template-default and template-lefttopright

Signed-off-by: TomazMartins <tomaz.r.martins@gmail.com>
Signed-off-by: Álvaro Fernando <AlvaroFernandoMS@gmail.com>
Showing 2 changed files with 25 additions and 25 deletions   Show diff stats
css/left-bar.css
@@ -2,11 +2,11 @@ @@ -2,11 +2,11 @@
2 2
3 /*** WARNING - WITHOUT BOX-4 ***/ 3 /*** WARNING - WITHOUT BOX-4 ***/
4 4
5 -.template-leftbar .box-2 { 5 +.template-default .box-2 {
6 width:150px; 6 width:150px;
7 } 7 }
8 8
9 -.template-leftbar #content .box-2 .block-outer .block-title { 9 +.template-default #content .box-2 .block-outer .block-title {
10 background: #eee; 10 background: #eee;
11 color: #4562b1; 11 color: #4562b1;
12 border-top: 4px solid #4562b1; 12 border-top: 4px solid #4562b1;
@@ -15,14 +15,14 @@ @@ -15,14 +15,14 @@
15 15
16 /*** Menus - Link list block ***/ 16 /*** Menus - Link list block ***/
17 17
18 -.template-leftbar #content .box-2 .link-list-block li { 18 +.template-default #content .box-2 .link-list-block li {
19 margin: 0; 19 margin: 0;
20 padding: 0; 20 padding: 0;
21 border-bottom: 1px solid #ddd; 21 border-bottom: 1px solid #ddd;
22 border-top: none; 22 border-top: none;
23 } 23 }
24 24
25 -.template-leftbar #content .box-2 .link-list-block li a { 25 +.template-default #content .box-2 .link-list-block li a {
26 width: auto; 26 width: auto;
27 padding: 6px 5px 8px 18px; 27 padding: 6px 5px 8px 18px;
28 background-color: #fff; 28 background-color: #fff;
@@ -36,26 +36,26 @@ @@ -36,26 +36,26 @@
36 line-height: 17px; 36 line-height: 17px;
37 } 37 }
38 38
39 -.template-leftbar #content .box-2 .link-list-block h3.empty + ul { 39 +.template-default #content .box-2 .link-list-block h3.empty + ul {
40 border-top: 1px solid #ddd; 40 border-top: 1px solid #ddd;
41 } 41 }
42 42
43 -.template-leftbar #content .box-2 .link-list-block h3.empty + ul li a { 43 +.template-default #content .box-2 .link-list-block h3.empty + ul li a {
44 padding-left: 0px; 44 padding-left: 0px;
45 padding-right: 0px; 45 padding-right: 0px;
46 background-image: none; 46 background-image: none;
47 } 47 }
48 48
49 -.template-leftbar #content .box-2 .link-list-block li a.link-this-page,  
50 -.template-leftbar #content .box-2 .link-list-block li a.link-this-page:hover { 49 +.template-default #content .box-2 .link-list-block li a.link-this-page,
  50 +.template-default #content .box-2 .link-list-block li a.link-this-page:hover {
51 border-right: none; 51 border-right: none;
52 } 52 }
53 53
54 -.template-leftbar #content .box-2 .link-list-block li a:hover { 54 +.template-default #content .box-2 .link-list-block li a:hover {
55 background-color: #FFFFFF; 55 background-color: #FFFFFF;
56 color: #000; 56 color: #000;
57 } 57 }
58 -.template-leftbar #content .box-2 .link-list-block li a.link-this-page { 58 +.template-default #content .box-2 .link-list-block li a.link-this-page {
59 width: auto; 59 width: auto;
60 margin-left: 0px; 60 margin-left: 0px;
61 background-color: #ffffff; 61 background-color: #ffffff;
@@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
69 /************ DUPLICATE ************ 69 /************ DUPLICATE ************
70 70
71 This part of the code is duplicated because, if there is 71 This part of the code is duplicated because, if there is
72 - a change of layout from template-leftbar to lefttopright 72 + a change of layout from template-default to lefttopright
73 the CSS fit without many complication. 73 the CSS fit without many complication.
74 74
75 */ 75 */
css/software-pages.css
@@ -224,21 +224,21 @@ @@ -224,21 +224,21 @@
224 /*** WARNING - WHITOUT BOX-4 ***/ 224 /*** WARNING - WHITOUT BOX-4 ***/
225 225
226 /* Link-list block */ 226 /* Link-list block */
227 -.template-leftbar #content .box-3 .block-title { 227 +.template-default #content .box-3 .block-title {
228 border-top: 4px solid #4562b1; 228 border-top: 4px solid #4562b1;
229 line-height: 15px; 229 line-height: 15px;
230 background: #eee; 230 background: #eee;
231 color: #4562b1; 231 color: #4562b1;
232 } 232 }
233 233
234 -.template-leftbar #content .box-3 .link-list-block li { 234 +.template-default #content .box-3 .link-list-block li {
235 margin: 0px; 235 margin: 0px;
236 padding: 0px; 236 padding: 0px;
237 border-bottom: 1px solid #ddd; 237 border-bottom: 1px solid #ddd;
238 border-top: none; 238 border-top: none;
239 } 239 }
240 240
241 -.template-leftbar #content .box-3 .link-list-block li a { 241 +.template-default #content .box-3 .link-list-block li a {
242 border-right: none; 242 border-right: none;
243 border-top: 0px solid #64946E; 243 border-top: 0px solid #64946E;
244 border-radius: 0px 0px 0px 0px; 244 border-radius: 0px 0px 0px 0px;
@@ -252,21 +252,21 @@ @@ -252,21 +252,21 @@
252 font-size: 14px; 252 font-size: 14px;
253 } 253 }
254 254
255 -.template-leftbar #content .box-3 .link-list-block h3.empty + ul { 255 +.template-default #content .box-3 .link-list-block h3.empty + ul {
256 border-top: 1px solid #ddd; 256 border-top: 1px solid #ddd;
257 } 257 }
258 258
259 -.template-leftbar #content .box-3 .link-list-block li a.link-this-page,  
260 -.template-leftbar #content .box-3 .link-list-block li a.link-this-page:hover { 259 +.template-default #content .box-3 .link-list-block li a.link-this-page,
  260 +.template-default #content .box-3 .link-list-block li a.link-this-page:hover {
261 border-right: none; 261 border-right: none;
262 } 262 }
263 263
264 -.template-leftbar #content .box-3 .link-list-block li a:hover { 264 +.template-default #content .box-3 .link-list-block li a:hover {
265 background-color: #FFFFFF; 265 background-color: #FFFFFF;
266 color: #000; 266 color: #000;
267 } 267 }
268 268
269 -.template-leftbar #content .box-3 .link-list-block li a.link-this-page { 269 +.template-default #content .box-3 .link-list-block li a.link-this-page {
270 margin-left: 0px; 270 margin-left: 0px;
271 width: auto; 271 width: auto;
272 background-color: #ffffff; 272 background-color: #ffffff;
@@ -274,9 +274,9 @@ @@ -274,9 +274,9 @@
274 } 274 }
275 275
276 /* Repository block */ 276 /* Repository block */
277 -.template-leftbar .box-3 #bt_repositorio,  
278 -.template-leftbar .box-3 #bt_repositorio:active,  
279 -.template-leftbar .box-3 #bt_repositorio:visited { 277 +.template-default .box-3 #bt_repositorio,
  278 +.template-default .box-3 #bt_repositorio:active,
  279 +.template-default .box-3 #bt_repositorio:visited {
280 border-radius: 4px; 280 border-radius: 4px;
281 padding: 12px 10px; 281 padding: 12px 10px;
282 background: #EAEBEE; 282 background: #EAEBEE;
@@ -286,7 +286,7 @@ @@ -286,7 +286,7 @@
286 position: relative; 286 position: relative;
287 } 287 }
288 288
289 -.template-leftbar .box-3 #bt_repositorio::after { 289 +.template-default .box-3 #bt_repositorio::after {
290 margin-top: -2px; 290 margin-top: -2px;
291 padding: 4px 0px 4px 2px; 291 padding: 4px 0px 4px 2px;
292 border-radius: 4px; 292 border-radius: 4px;
@@ -301,7 +301,7 @@ @@ -301,7 +301,7 @@
301 content: url('../images/right-arrow.png'); 301 content: url('../images/right-arrow.png');
302 } 302 }
303 303
304 -.template-leftbar .box-3 #content #bt_repositorio:hover { 304 +.template-default .box-3 #content #bt_repositorio:hover {
305 color: #FFF; 305 color: #FFF;
306 background: #2C66CE; 306 background: #2C66CE;
307 text-decoration: none; 307 text-decoration: none;
@@ -314,7 +314,7 @@ @@ -314,7 +314,7 @@
314 314
315 /* 315 /*
316 This part of the code is duplicated because, if there is 316 This part of the code is duplicated because, if there is
317 - a change of layout from template-leftbar to lefttopright 317 + a change of layout from template-default to lefttopright
318 the CSS fit without many complication. 318 the CSS fit without many complication.
319 */ 319 */
320 320