From 98c5b6e73bd5aa3ecc0869c18a0b5013eb473d8c Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Wed, 19 Dec 2012 18:27:50 +0100 Subject: [PATCH 1/3] Text box alignment in Smoothly theme Make sure comment text boxes stay within their surrounding box. --- view/theme/smoothly/style.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index 80e42dd617..847b5ced58 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -1780,7 +1780,8 @@ code { } .comment-edit-text-empty { - width: 672px; /*80%*/ + width: 98%; + max-width: 672px; height: 20px; color: #babdb6; transition: all 0.5s ease-in-out; @@ -1793,7 +1794,8 @@ code { } .comment-edit-text-full { - width: 670px; + width: 98%; + max-width: 672px; height: 6em; transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; @@ -1801,7 +1803,8 @@ code { } .comment-edit-submit-wrapper { - width: 670px; + width: 98%; + max-width: 672px; margin-left: 20px; text-align: left; } From ee5d2acd4299ed4980f26c9d3af339a3cb5055fa Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Wed, 19 Dec 2012 19:04:18 +0100 Subject: [PATCH 2/3] Fix alignment of location --- view/theme/smoothly/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index 847b5ced58..84597da606 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -1543,7 +1543,6 @@ ul .sidebar-group-li .icon { .wall-item-location { margin-top: 5px; - width: 100px; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; From d9d7eb89edfdc48094b98eed41d4c58087c52f9b Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Wed, 19 Dec 2012 19:15:39 +0100 Subject: [PATCH 3/3] 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; }