Commit 802d2c607ca367b4e682bd3868f9cc4da0ef76d1
1 parent
0cbb1bc1
Exists in
master
and in
23 other branches
ActionItem110: Default New Template
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@754 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
5 changed files
with
130 additions
and
5 deletions
Show diff stats
489 Bytes
4.35 KB
public/designs/templates/default/stylesheets/contentblocks.css
0 → 100644
| @@ -0,0 +1,34 @@ | @@ -0,0 +1,34 @@ | ||
| 1 | +div.listblock div.block_content ul { | ||
| 2 | +margin: 0px; | ||
| 3 | +padding: 0px; | ||
| 4 | +} | ||
| 5 | + | ||
| 6 | +div.listblock div.block_content li { | ||
| 7 | +display: block; | ||
| 8 | +float: left; | ||
| 9 | +height: 95px; | ||
| 10 | +width: 80px; | ||
| 11 | +border: 1px solid #dfdfdf; | ||
| 12 | +background: #ffffff url("../images/foto.png") no-repeat; | ||
| 13 | +margin: 2px; | ||
| 14 | +overflow: hidden; | ||
| 15 | +font-size: 10px; | ||
| 16 | +color: #545454; | ||
| 17 | +font-weight: bold; | ||
| 18 | +} | ||
| 19 | + | ||
| 20 | +div.listblock div.block_content li span { | ||
| 21 | +display: none; | ||
| 22 | +} | ||
| 23 | + | ||
| 24 | +div.listblock div.block_content li:hover span { | ||
| 25 | +display: block; | ||
| 26 | +line-height: 95px; | ||
| 27 | +text-align: center; | ||
| 28 | +background: #ffffff; | ||
| 29 | +vertical-align: middle; | ||
| 30 | +} | ||
| 31 | + | ||
| 32 | +div.listblock div.block_footer { | ||
| 33 | +clear: both; | ||
| 34 | +} |
| @@ -0,0 +1,90 @@ | @@ -0,0 +1,90 @@ | ||
| 1 | +#design_editor_blocksbar { | ||
| 2 | + list-style: none; | ||
| 3 | + position: relative; | ||
| 4 | + width: 760px; | ||
| 5 | + left: 50%; | ||
| 6 | + margin-left: -380px; | ||
| 7 | + padding: 0em; | ||
| 8 | + height: 30px; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +#design_editor_blocksbar li { | ||
| 12 | +float: left; | ||
| 13 | +margin: 4px; | ||
| 14 | +} | ||
| 15 | + | ||
| 16 | +#design_editor_blocksbar a { | ||
| 17 | +background: url("../images/add.png") no-repeat; | ||
| 18 | +background-position: 0px 3px; | ||
| 19 | +display: block; | ||
| 20 | +padding: 5px; | ||
| 21 | +padding-left: 28px; | ||
| 22 | +border: 1px outset #545454; | ||
| 23 | +text-decoration: none; | ||
| 24 | +color: black; | ||
| 25 | +font-weight: bold; | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +#design_editor_blocksbar a:hover { | ||
| 29 | +border: 1px inset #545454; | ||
| 30 | +} | ||
| 31 | + | ||
| 32 | +#design_editor ul.block_list { | ||
| 33 | + list-style: none; | ||
| 34 | + margin: 0px; | ||
| 35 | + padding: 3px; | ||
| 36 | + border: 2px dotted #dfdfdf; | ||
| 37 | +} | ||
| 38 | + | ||
| 39 | +#design_editor ul:hover.block_list { | ||
| 40 | + border: 2px dotted #545454; | ||
| 41 | +} | ||
| 42 | + | ||
| 43 | +#design_editor .box { | ||
| 44 | + border: 2px solid transparent; | ||
| 45 | +} | ||
| 46 | + | ||
| 47 | +#design_editor .hover { | ||
| 48 | + border: 2px dotted red; | ||
| 49 | + background: #ff6; | ||
| 50 | +} | ||
| 51 | + | ||
| 52 | +#design_editor_toolbar { | ||
| 53 | + padding: 5px; | ||
| 54 | +} | ||
| 55 | + | ||
| 56 | +#design_editor_toolbar h3 { | ||
| 57 | + font-size: 10px; | ||
| 58 | + background: #dfdfdf; | ||
| 59 | + margin: 0px; | ||
| 60 | + padding: 1px; | ||
| 61 | + text-align: right; | ||
| 62 | + color: #545454; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +#design_editor_toolbar a { | ||
| 66 | + font-size: 10px; | ||
| 67 | + padding: 5px; | ||
| 68 | + background: #dfdfdf; | ||
| 69 | + color: black; | ||
| 70 | +} | ||
| 71 | + | ||
| 72 | +.design_editor_box_toolbar { | ||
| 73 | + text-align: center; | ||
| 74 | + margin: 5px; | ||
| 75 | + background: #dfdfdf; | ||
| 76 | +} | ||
| 77 | + | ||
| 78 | +.design_editor_box_toolbar a { | ||
| 79 | + display: inline; | ||
| 80 | + width: 30px; | ||
| 81 | + font-size: 10px; | ||
| 82 | + padding: 2px; | ||
| 83 | + background: #dfdfdf; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +#design_editor_toolbar a:hover, .design_editor_box_toolbar a:hover { | ||
| 87 | + background: #545454; | ||
| 88 | + color: #ffffff; | ||
| 89 | +} | ||
| 90 | + |
public/designs/templates/default/stylesheets/style.css
| 1 | @import url("editor.css"); | 1 | @import url("editor.css"); |
| 2 | 2 | ||
| 3 | +@import url("contentblocks.css"); | ||
| 3 | 4 | ||
| 4 | body { | 5 | body { |
| 5 | font-family: Verdana, Sans-Serif; | 6 | font-family: Verdana, Sans-Serif; |
| @@ -32,7 +33,7 @@ body { | @@ -32,7 +33,7 @@ body { | ||
| 32 | } | 33 | } |
| 33 | 34 | ||
| 34 | #header { | 35 | #header { |
| 35 | -height: 135px; | 36 | +height: 145px; |
| 36 | } | 37 | } |
| 37 | 38 | ||
| 38 | #boxes { | 39 | #boxes { |
| @@ -43,18 +44,18 @@ height: 135px; | @@ -43,18 +44,18 @@ height: 135px; | ||
| 43 | } | 44 | } |
| 44 | 45 | ||
| 45 | #box_3 { | 46 | #box_3 { |
| 46 | - width: 200px; | 47 | + width: 210px; |
| 47 | float: right; | 48 | float: right; |
| 48 | } | 49 | } |
| 49 | 50 | ||
| 50 | #box_2 { | 51 | #box_2 { |
| 51 | float: left; | 52 | float: left; |
| 52 | - width: 200px; | 53 | + width: 210px; |
| 53 | } | 54 | } |
| 54 | 55 | ||
| 55 | #box_1 { | 56 | #box_1 { |
| 56 | - margin-left: 205px; | ||
| 57 | - margin-right: 205px; | 57 | + margin-left: 215px; |
| 58 | + margin-right: 215px; | ||
| 58 | } | 59 | } |
| 59 | 60 | ||
| 60 | #spinner { | 61 | #spinner { |