From cc210bae3de704eaaef608e9083452fb982fff4a Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Fri, 22 Feb 2013 10:45:40 -0500 Subject: [PATCH 1/2] quattro: fix item max-width, fix contact serarch autocomplete popup style --- view/theme/quattro/dark/style.css | 12 ++++++++++-- view/theme/quattro/green/style.css | 12 ++++++++++-- view/theme/quattro/lilac/style.css | 12 ++++++++++-- view/theme/quattro/quattro.less | 10 ++++++++-- 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 65f976245..02d18d237 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -648,26 +648,34 @@ ul.menu-popup .toolbar a:hover { background-color: #ffffff; } /* autocomplete popup */ +.autocomplete, .acpopup { max-height: 150px; background-color: #ffffff; color: #2d2d2d; - border: 1px solid #MenuBorder; + border: 1px solid #364e59; overflow: auto; z-index: 100000; -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); } +.autocomplete > div, .acpopupitem { color: #2d2d2d; padding: 4px; clear: left; + overflow: auto; + height: auto; } +.autocomplete > div img, .acpopupitem img { float: left; margin-right: 4px; + width: 16px !important; + height: 16px !important; } +.autocomplete > div.selected, .acpopupitem.selected { background-color: #bdcdd4; } @@ -983,7 +991,7 @@ section { word-wrap: break-word; } .wall-item-container .wall-item-content img { - max-width: 710px; + max-width: 700px; } .wall-item-container .wall-item-links, .wall-item-container .wall-item-actions { diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index 5c875feaf..1f1d85e80 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -648,26 +648,34 @@ ul.menu-popup .toolbar a:hover { background-color: #ffffff; } /* autocomplete popup */ +.autocomplete, .acpopup { max-height: 150px; background-color: #ffffff; color: #2d2d2d; - border: 1px solid #MenuBorder; + border: 1px solid #364e59; overflow: auto; z-index: 100000; -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); } +.autocomplete > div, .acpopupitem { color: #2d2d2d; padding: 4px; clear: left; + overflow: auto; + height: auto; } +.autocomplete > div img, .acpopupitem img { float: left; margin-right: 4px; + width: 16px !important; + height: 16px !important; } +.autocomplete > div.selected, .acpopupitem.selected { background-color: #ccff42; } @@ -983,7 +991,7 @@ section { word-wrap: break-word; } .wall-item-container .wall-item-content img { - max-width: 710px; + max-width: 700px; } .wall-item-container .wall-item-links, .wall-item-container .wall-item-actions { diff --git a/view/theme/quattro/lilac/style.css b/view/theme/quattro/lilac/style.css index 5640f5ba5..2dce3ee1a 100644 --- a/view/theme/quattro/lilac/style.css +++ b/view/theme/quattro/lilac/style.css @@ -648,26 +648,34 @@ ul.menu-popup .toolbar a:hover { background-color: #ffffff; } /* autocomplete popup */ +.autocomplete, .acpopup { max-height: 150px; background-color: #ffffff; color: #2d2d2d; - border: 1px solid #MenuBorder; + border: 1px solid #364e59; overflow: auto; z-index: 100000; -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); } +.autocomplete > div, .acpopupitem { color: #2d2d2d; padding: 4px; clear: left; + overflow: auto; + height: auto; } +.autocomplete > div img, .acpopupitem img { float: left; margin-right: 4px; + width: 16px !important; + height: 16px !important; } +.autocomplete > div.selected, .acpopupitem.selected { background-color: #c0a3c7; } @@ -983,7 +991,7 @@ section { word-wrap: break-word; } .wall-item-container .wall-item-content img { - max-width: 710px; + max-width: 700px; } .wall-item-container .wall-item-links, .wall-item-container .wall-item-actions { diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 1c4da1bf7..f13ae9064 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -254,21 +254,27 @@ ul.menu-popup { } /* autocomplete popup */ +.autocomplete, .acpopup { max-height:150px; background-color:@MenuBg; color: @Menu; - border:1px solid #MenuBorder; + border:1px solid @MenuBorder; overflow:auto; z-index:100000; .shadow(); } +.autocomplete > div, .acpopupitem { color: @MenuItem; padding: 4px; clear:left; + overflow: auto; + height: auto; img { float: left; margin-right: 4px; + width: 16px !important; + height: 16px !important; } &.selected{ background-color: @MenuItemHoverBg; @@ -484,7 +490,7 @@ section { max-width: 720px; word-wrap: break-word; } - .wall-item-content img { max-width: 710px; } + .wall-item-content img { max-width: 700px; } .wall-item-links, .wall-item-actions { display: table-cell; From 7a6d63a1b369ca20b04fa42de1272502770a206b Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Fri, 22 Feb 2013 11:02:01 -0500 Subject: [PATCH 2/2] quattro: autocomplete private message To field --- view/theme/quattro/prv_message.tpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/view/theme/quattro/prv_message.tpl b/view/theme/quattro/prv_message.tpl index 5aa03688a..9db4fc017 100644 --- a/view/theme/quattro/prv_message.tpl +++ b/view/theme/quattro/prv_message.tpl @@ -7,7 +7,12 @@ $parent
$to
+{{ if $showinputs }} + + +{{ else }} $select +{{ endif }}
$subject