From 28d10603b5c1b1e2496d6b51f0bf70e807d96fc7 Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Sun, 16 Dec 2007 09:41:56 +0000 Subject: [PATCH] merged from 1.9 :: CSS cleanups :: collect some background definitions in a basic property and work with cascading to more special definitions. --- theme/custom_corners/user_styles.css | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/theme/custom_corners/user_styles.css b/theme/custom_corners/user_styles.css index 75e3b11ba9..aa5cd59959 100644 --- a/theme/custom_corners/user_styles.css +++ b/theme/custom_corners/user_styles.css @@ -501,17 +501,38 @@ div.bt div { font-size: 1px; line-height: 1%; height: 0; + background-repeat: no-repeat; + background-position: 0 0; + background-color: transparent; +} +div.bt { + background-repeat: no-repeat; + background-position: 100% 0; } div.bb div { font-size: 1px; line-height: 1%; height: 0; + background-repeat: no-repeat; + background-position: 0 0; + background-color: transparent; } -div.sideblock div.bt div { - background-image: url(pix/box.png); +div.bb { background-repeat: no-repeat; + background-position: 100% 0; +} +div.i1 { + background-repeat: repeat-y; background-position: 0 0; background-color: transparent; +} +div.i2 { + background-repeat: repeat-y; + background-position: 100% 0; + background-color: transparent; +} +div.sideblock div.bt div { + background-image: url(pix/box.png); height: 12px; left: -13px; position: relative; @@ -519,8 +540,6 @@ div.sideblock div.bt div { } div.sideblock div.bt { background-image: url(pix/box.png); - background-repeat: no-repeat; - background-position: 100% 0; margin: 0 0 0 13px; height: 12px; background-color: transparent; -- 2.39.5