Commit 2d8a24ac256be8fcc9088086b2fd237beb6ec6e4

Authored by ValessioBrito
1 parent fe253123

ActionItem85: Style Blocks


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@801 3f533792-8f58-4932-b0fe-aaf55b0a4547
public/designs/templates/default/images/enterprisesblock.png 0 → 100644

3.7 KB

public/designs/templates/default/images/foto.png

4.35 KB

public/designs/templates/default/images/peopleblock.png 0 → 100644

4.35 KB

public/designs/templates/default/stylesheets/contentblocks.css
1 -div.listblock div.block_content ul { 1 +ul.enterprises_list_block {
2 margin: 0px; 2 margin: 0px;
3 padding: 0px; 3 padding: 0px;
  4 +list-style: none;
4 } 5 }
5 6
6 -div.listblock div.block_content li { 7 +ul.enterprises_list_block li a {
  8 +display: block;
  9 +height: 95px;
  10 +width: 80px;
  11 +text-decoration: none;
  12 +}
  13 +
  14 +ul.enterprises_list_block li a span {
  15 +display: none;
  16 +}
  17 +
  18 +ul.enterprises_list_block li a:hover span {
  19 +display: block;
  20 +line-height: 95px;
  21 +text-align: center;
  22 +background: #ffffff;
  23 +vertical-align: middle;
  24 +}
  25 +
  26 +ul.enterprises_list_block li {
7 display: block; 27 display: block;
8 float: left; 28 float: left;
9 height: 95px; 29 height: 95px;
10 width: 80px; 30 width: 80px;
11 border: 1px solid #dfdfdf; 31 border: 1px solid #dfdfdf;
12 -background: #ffffff url("../images/foto.png") no-repeat; 32 +background: #ffffff url("../images/enterprisesblock.png") no-repeat;
13 margin: 2px; 33 margin: 2px;
14 overflow: hidden; 34 overflow: hidden;
15 -font-size: 10px;  
16 -color: #545454;  
17 -font-weight: bold;  
18 } 35 }
19 36
20 -div.listblock div.block_content li span { 37 +
  38 +ul.people_list_block {
  39 +margin: 0px;
  40 +padding: 0px;
  41 +list-style: none;
  42 +}
  43 +
  44 +ul.people_list_block li a {
  45 +display: block;
  46 +height: 95px;
  47 +width: 80px;
  48 +text-decoration: none;
  49 +}
  50 +
  51 +ul.people_list_block li a span {
21 display: none; 52 display: none;
22 } 53 }
23 54
24 -div.listblock div.block_content li:hover span { 55 +ul.people_list_block li a:hover span {
25 display: block; 56 display: block;
26 line-height: 95px; 57 line-height: 95px;
27 text-align: center; 58 text-align: center;
@@ -29,6 +60,39 @@ background: #ffffff; @@ -29,6 +60,39 @@ background: #ffffff;
29 vertical-align: middle; 60 vertical-align: middle;
30 } 61 }
31 62
32 -div.listblock div.block_footer { 63 +ul.people_list_block li {
  64 +display: block;
  65 +float: left;
  66 +height: 95px;
  67 +width: 80px;
  68 +border: 1px solid #dfdfdf;
  69 +background: #ffffff url("../images/peopleblock.png") no-repeat;
  70 +margin: 2px;
  71 +overflow: hidden;
  72 +}
  73 +
  74 +div.block_footer {
33 clear: both; 75 clear: both;
34 } 76 }
  77 +
  78 +/* Artigos */
  79 +
  80 +div.recentdocumentsblock div.block_content li a {
  81 +text-decoration: none;
  82 +color: #545454;
  83 +border-bottom: 1px dotted bottom;
  84 +}
  85 +
  86 +div.recentdocumentsblock div.block_content li a:hover {
  87 +text-decoration: none;
  88 +color: #000000;
  89 +border: none;
  90 +}
  91 +
  92 +div.recentdocumentsblock div.block_content li {
  93 +display: block;
  94 +height: 20px;
  95 +background: #ffffff url("../images/editor.png") no-repeat;
  96 +background-position: 2px 0px;
  97 +padding-left: 20px;
  98 +}
public/designs/templates/default/stylesheets/style.css
@@ -50,11 +50,11 @@ height: 145px; @@ -50,11 +50,11 @@ height: 145px;
50 50
51 #box_2 { 51 #box_2 {
52 float: left; 52 float: left;
53 - width: 210px; 53 + width: 280px;
54 } 54 }
55 55
56 #box_1 { 56 #box_1 {
57 - margin-left: 215px; 57 + margin-left: 285px;
58 margin-right: 215px; 58 margin-right: 215px;
59 } 59 }
60 60