Commit 85cbed18354b2870798238635dd82686a0ceb73e

Authored by Melissa Wen
1 parent 106e08ef

Adding left bar style for left bar template

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
css/left-bar.css
@@ -2,10 +2,12 @@ @@ -2,10 +2,12 @@
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 .template-default .box-2 {
6 width:150px; 7 width:150px;
7 } 8 }
8 9
  10 +.template-leftbar #content .box-2 .block-outer .block-title,
9 .template-default #content .box-2 .block-outer .block-title { 11 .template-default #content .box-2 .block-outer .block-title {
10 background: #eee; 12 background: #eee;
11 color: #4562b1; 13 color: #4562b1;
@@ -15,6 +17,7 @@ @@ -15,6 +17,7 @@
15 17
16 /*** Menus - Link list block ***/ 18 /*** Menus - Link list block ***/
17 19
  20 +.template-leftbar #content .box-2 .link-list-block li,
18 .template-default #content .box-2 .link-list-block li { 21 .template-default #content .box-2 .link-list-block li {
19 margin: 0; 22 margin: 0;
20 padding: 0; 23 padding: 0;
@@ -22,6 +25,7 @@ @@ -22,6 +25,7 @@
22 border-top: none; 25 border-top: none;
23 } 26 }
24 27
  28 +.template-leftbar #content .box-2 .link-list-block li a,
25 .template-default #content .box-2 .link-list-block li a { 29 .template-default #content .box-2 .link-list-block li a {
26 width: auto; 30 width: auto;
27 padding: 6px 5px 8px 18px; 31 padding: 6px 5px 8px 18px;
@@ -36,25 +40,32 @@ @@ -36,25 +40,32 @@
36 line-height: 17px; 40 line-height: 17px;
37 } 41 }
38 42
  43 +.template-leftbar #content .box-2 .link-list-block h3.empty + ul,
39 .template-default #content .box-2 .link-list-block h3.empty + ul { 44 .template-default #content .box-2 .link-list-block h3.empty + ul {
40 border-top: 1px solid #ddd; 45 border-top: 1px solid #ddd;
41 } 46 }
42 47
  48 +.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 { 49 .template-default #content .box-2 .link-list-block h3.empty + ul li a {
44 padding-left: 0px; 50 padding-left: 0px;
45 padding-right: 0px; 51 padding-right: 0px;
46 background-image: none; 52 background-image: none;
47 } 53 }
48 54
  55 +.template-leftbar #content .box-2 .link-list-block li a.link-this-page,
  56 +.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, 57 .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 { 58 .template-default #content .box-2 .link-list-block li a.link-this-page:hover {
51 border-right: none; 59 border-right: none;
52 } 60 }
53 61
  62 +.template-leftbar #content .box-2 .link-list-block li a:hover,
54 .template-default #content .box-2 .link-list-block li a:hover { 63 .template-default #content .box-2 .link-list-block li a:hover {
55 background-color: #FFFFFF; 64 background-color: #FFFFFF;
56 color: #000; 65 color: #000;
57 } 66 }
  67 +
  68 +.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 { 69 .template-default #content .box-2 .link-list-block li a.link-this-page {
59 width: auto; 70 width: auto;
60 margin-left: 0px; 71 margin-left: 0px;