From fb17b619f1f1e416b4d1129f59504f9bc169429e Mon Sep 17 00:00:00 2001 From: ValessioBrito Date: Wed, 19 Dec 2007 20:23:57 +0000 Subject: [PATCH] ActionItem138: default block theme icons --- public/designs/templates/default/stylesheets/editor.css | 11 ++++++----- public/designs/templates/default/stylesheets/style.css | 31 +++++++++++++------------------ public/designs/themes/default/icons.png | Bin 0 -> 1307 bytes public/designs/themes/default/style.css | 29 ++++++++++++++--------------- 4 files changed, 33 insertions(+), 38 deletions(-) create mode 100644 public/designs/themes/default/icons.png diff --git a/public/designs/templates/default/stylesheets/editor.css b/public/designs/templates/default/stylesheets/editor.css index 4e919c7..0f828d4 100644 --- a/public/designs/templates/default/stylesheets/editor.css +++ b/public/designs/templates/default/stylesheets/editor.css @@ -40,13 +40,14 @@ border: 1px inset #545454; border: 2px dotted #545454; } -#design_editor .design_blocks { - border: 2px dotted green; - padding: 5px; +#design_editor ul:hover.design_blocks { + border: 3px dotted green; + position: relative; } -#design_editor .design_box { - border: 2px solid transparent; +#design_editor .design_blocks { + border: 3px dotted #dfdfdf; + padding: 3px; } #design_editor .hover { diff --git a/public/designs/templates/default/stylesheets/style.css b/public/designs/templates/default/stylesheets/style.css index 219d344..9722dd0 100644 --- a/public/designs/templates/default/stylesheets/style.css +++ b/public/designs/templates/default/stylesheets/style.css @@ -8,33 +8,33 @@ body { font-size: 14px; } -#wrap.category { +body.category #wrap { background-attachment: fixed; background: url("../images/bgblue.png") top left no-repeat; } -#wrap.category1 { +body.category1 #wrap { background-attachment: fixed; - background: url("../images/bgorange.png") top left no-repeat; - } + background: url("../images/bgorange.png") top left no-repeat; +} -#wrap.category2 { +body.category2 #wrap { background-attachment: fixed; - background: url("../images/bggreen.png") top left no-repeat; - } + background: url("../images/bggreen.png") top left no-repeat; +} -#wrap.category3 { +body.category3 #wrap { background-attachment: fixed; - background: url("../images/bgpurple.png") top left no-repeat; - } + background: url("../images/bgpurple.png") top left no-repeat; +} -#wrap.category4 { +body.category4 #wrap { background-attachment: fixed; background: url("../images/bgred.png") top left no-repeat; } #header { - height: 65px; + height: 150px; } #design_boxes { @@ -48,6 +48,7 @@ body { width: 200px; float: right; margin-right: 10px; + margin-top: -80px; } #design_box_2 { @@ -95,9 +96,3 @@ div#notice { background: #ffffa9; padding: 10px; } - - -#design_editor .design_box { - border: 1px solid black; - height: 400px; -} diff --git a/public/designs/themes/default/icons.png b/public/designs/themes/default/icons.png new file mode 100644 index 0000000..6716a59 Binary files /dev/null and b/public/designs/themes/default/icons.png differ diff --git a/public/designs/themes/default/style.css b/public/designs/themes/default/style.css index 1fbae8e..7a62561 100644 --- a/public/designs/themes/default/style.css +++ b/public/designs/themes/default/style.css @@ -65,26 +65,28 @@ float: left; margin-top: 3px !important; margin-right: 5px !important; float: right !important; + opacity: 0.7; } .design_block a.button_block_hide { -border-bottom: 2px solid #dfdfdf; +background: url('icons.png') no-repeat; +background-position: -60px 0px; } - -.design_block a:hover.button_block_hide { -border-bottom: 2px solid #000000; +.design_block a.button_block_remove { +background: red url('icons.png') no-repeat; +background-position: -80px 0px; } - -.design_block a.button_block_remove, -.design_block a.button_block_item_options, .design_block a.button_block_options { - background: #dfdfdf; +background: blue url('icons.png') no-repeat; +background-position: 0px 0px; +} +.design_block a.button_block_item_options { +background: url('icons.png') no-repeat; +background-position: -40px 0px; } -.design_block a:hover.button_block_remove, -.design_block a.hover.button_block_item_options, -.design_block a.hover.button_block_options { - background: #000000; +.design_block a:hover.design_button_block { + opacity: 1.0; } .design_block_content @@ -102,9 +104,6 @@ border-bottom: 2px solid #000000; display: block; color: #000; } -.design_block ul li a:hover { - background: #ddd; -} .button_block_options { position: absolute; -- libgit2 0.21.2