[geeklog-cvs] geeklog: newpro: Styled blocks
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Mar 24 08:15:50 EDT 2012
changeset 8557:df6248ab4251
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/df6248ab4251
user: Rouslan Placella <rouslan at placella.com>
date: Sat Mar 24 10:18:52 2012 +0000
description:
newpro: Styled blocks
diffstat:
public_html/layout/newpro/css/block.css | 53 +++++++++++++++++----
public_html/layout/newpro/css/form.css | 1 +
public_html/layout/newpro/css/layout.css | 5 ++
public_html/layout/newpro/images/css/block_bg.png | Bin
4 files changed, 48 insertions(+), 11 deletions(-)
diffs (145 lines):
diff -r 810c7e4b9dec -r df6248ab4251 public_html/layout/newpro/css/block.css
--- a/public_html/layout/newpro/css/block.css Fri Mar 23 20:45:49 2012 +0000
+++ b/public_html/layout/newpro/css/block.css Sat Mar 24 10:18:52 2012 +0000
@@ -41,7 +41,7 @@
--------------------------------------*/
div#centerblocks div#block-message {
- margin: 2em 0;
+ margin: 1.2em 0;
padding: 0;
border: 1px solid #939490;
@@ -112,11 +112,20 @@
Center Block
--------------------------------------*/
+div#centerblocks {
+ margin-bottom: 12px;
+ border-top: 1px solid #aaa;
+ background: #fff url("./images/css/block_bg.png") repeat-x scroll 0 0;
+
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border-radius: 10px;
+}
+
/* Welcome Message */
div#centerblocks p.welcome_msg {
- margin: 0 0 2em 0;
- padding: 1em 0;
- border-bottom: 1px solid #CCC;
+ margin: 0 0 1.2em 0;
+ padding: 10px 8px;
}
/* Welcome Message Link */
@@ -178,18 +187,28 @@
--------------------------------------*/
/* Block */
+div#leftblocks {
+ margin-{right}: 8px;
+}
+
div#leftblocks div.block-left {
- margin: 0 8px 0.5em 8px;
- padding: 8px 0;
+ margin-bottom: 12px;
+ border-top: 1px solid #aaa;
+ padding: 8px;
+ background: #fff url("./images/css/block_bg.png") repeat-x scroll 0 0;
+
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border-radius: 10px;
}
/* Block Title */
div#leftblocks div.block-left h2 {
margin: 0 0 0.5em 0;
padding: 0 0 0.1em 0;
- border-bottom: 1px solid #CCCCCC;
font-size: 110%;
font-weight: bold;
+ text-decoration: underline;
}
/* Help Icon */
@@ -203,25 +222,37 @@
padding: 0;
}
-
+div#leftblocks ul {
+ margin: 0.8em 0;
+}
/*--------------------------------------
Right Block
--------------------------------------*/
/* Block */
+div#rightblocks {
+ margin-{left}: 8px;
+}
+
div#rightblocks div.block-right {
- margin: 0 8px 0.5em 8px;
- padding: 8px 0;
+ margin-bottom: 12px;
+ border-top: 1px solid #aaa;
+ padding: 8px;
+ background: #fff url("./images/css/block_bg.png") repeat-x scroll 0 0;
+
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border-radius: 10px;
}
/* Block Title */
div#rightblocks div.block-right h2 {
margin: 0 0 0.5em 0;
padding: 0 0 0.1em 0;
- border-bottom: 1px solid #CCCCCC;
font-size: 110%;
font-weight: bold;
+ text-decoration: underline;
}
/* Help Icon */
diff -r 810c7e4b9dec -r df6248ab4251 public_html/layout/newpro/css/form.css
--- a/public_html/layout/newpro/css/form.css Fri Mar 23 20:45:49 2012 +0000
+++ b/public_html/layout/newpro/css/form.css Sat Mar 24 10:18:52 2012 +0000
@@ -16,6 +16,7 @@
div#leftblocks div#block-left-search {
margin: 0;
padding: 0;
+ border: 0;
}
/* Form */
diff -r 810c7e4b9dec -r df6248ab4251 public_html/layout/newpro/css/layout.css
--- a/public_html/layout/newpro/css/layout.css Fri Mar 23 20:45:49 2012 +0000
+++ b/public_html/layout/newpro/css/layout.css Sat Mar 24 10:18:52 2012 +0000
@@ -85,6 +85,7 @@
background: #dbddd9 url('./images/css/menu_bg.png') repeat-x 0 0;
border: 1px solid #939490;
margin: auto;
+ margin-bottom: 12px;
width: 95%;
-webkit-border-radius: 8px;
@@ -157,6 +158,10 @@
width: 100%;
}
+div#container table#wrapper td {
+ padding: 0;
+}
+
div#container div#rightblocks {
width: 180px;
}
diff -r 810c7e4b9dec -r df6248ab4251 public_html/layout/newpro/images/css/block_bg.png
Binary file public_html/layout/newpro/images/css/block_bg.png has changed
More information about the geeklog-cvs
mailing list