From d9d7eb89edfdc48094b98eed41d4c58087c52f9b Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Wed, 19 Dec 2012 19:15:39 +0100 Subject: [PATCH] Fix alignment of photo menu Remove duplicate definitions Align menu button to be exactly the same width as the photo --- view/theme/smoothly/style.css | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index 84597da606..aa62d59949 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -1378,9 +1378,15 @@ ul .sidebar-group-li .icon { position: absolute; overflow: hidden; height: 20px; - width: 90px; + width: 100%; top: 85px; left: -1px; + border-right: 1px solid #dddddd; + border-left: 1px solid #dddddd; + border-bottom: 1px solid #dddddd; + box-shadow: 3px 3px 4px #959494; + -moz-box-shadow: 3px 3px 4px #959494; + -webkit-box-shadow: 3px 3px 4px #959494; border-radius: 0px 0px 5px 5px; -webkit-border-radius: 0px 0px 5px 5px; -moz-border-radius: 0px 0px 5px 5px; @@ -1605,7 +1611,7 @@ ul .sidebar-group-li .icon { .wall-item-photo-menu { display: none; - min-width: 92px; + min-width: 88px; color: #2e3436; border-top: 1px; background: #eeeeee; @@ -1626,15 +1632,6 @@ ul .sidebar-group-li .icon { } -.wall-item-photo-menu-button { - border-right: 1px solid #dddddd; - border-left: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - box-shadow: 3px 3px 4px #959494; - -moz-box-shadow: 3px 3px 4px #959494; - -webkit-box-shadow: 3px 3px 4px #959494; -} - .fakelink wall-item-photo-menu-button { -webkit-border-radius: 0px 5px 5px 5px; -moz-border-radius: 0px 5px 5px 5px; @@ -1732,7 +1729,6 @@ code { } .wall-item-outside-wrapper.comment .wall-item-photo-menu-button { - width: 50px; top: 45px; background-position: 35px center; }