From 1f9e8f90a24ba0d3b02bae19b351d1d40a0d28de Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Jan 2012 10:35:50 +0100 Subject: [PATCH 1/4] fix jot acl --- view/jot.tpl | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/view/jot.tpl b/view/jot.tpl index 12df0d9c2..f116dc0f0 100644 --- a/view/jot.tpl +++ b/view/jot.tpl @@ -31,18 +31,20 @@ + +
+
+ $acl +
+
$emailcc
+
+ $jotnets +
+
+ -
-
- $acl -
-
$emailcc
-
- $jotnets -
-
From 302d62f7a3e7b60bc29f1f9f89bcee9bfc278fb8 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Jan 2012 10:37:11 +0100 Subject: [PATCH 2/4] templates: add class to comment preview div, fix search_item.tpl --- view/comment_item.tpl | 2 +- view/search_item.tpl | 30 +++++++++++++++++++++--------- view/wall_item.tpl | 4 ++-- view/wallwall_item.tpl | 13 ++++++------- 4 files changed, 30 insertions(+), 19 deletions(-) diff --git a/view/comment_item.tpl b/view/comment_item.tpl index 49751c42b..a28fc411a 100644 --- a/view/comment_item.tpl +++ b/view/comment_item.tpl @@ -17,7 +17,7 @@
diff --git a/view/search_item.tpl b/view/search_item.tpl index 616eaf110..c4f3ccac7 100644 --- a/view/search_item.tpl +++ b/view/search_item.tpl @@ -1,18 +1,20 @@ +
$star.starred {{ if $lock }}$lock{{ endif }}
+
-
- $name + $name - menu + menu @@ -27,6 +29,15 @@
+
+ {{ for $tags as $tag }} + $tag + {{ endfor }} +
+
+
+
{{ if $plink }}$plink.title{{ endif }}
@@ -38,6 +49,7 @@ {{ if $star }} $star.do $star.undo + $star.tagger {{ endif }} {{ if $vote }} @@ -48,16 +60,12 @@ {{ if $vote.share }} $vote.share.1 {{ endif }} - - {{ if $conv }} - $conv.title - {{ endif }}
{{ if $drop.dropping }} - + $drop.delete {{ endif }} {{ if $edpost }} @@ -67,5 +75,9 @@
+
+ + +
$dislike
+
- diff --git a/view/wall_item.tpl b/view/wall_item.tpl index 96f3cee74..83e6dd361 100644 --- a/view/wall_item.tpl +++ b/view/wall_item.tpl @@ -1,10 +1,10 @@ -{{ if $indent }}{{ else }} +
$star.starred {{ if $lock }}$lock{{ endif }}
-{{ endif }} +
diff --git a/view/wallwall_item.tpl b/view/wallwall_item.tpl index 96d514702..11297647a 100644 --- a/view/wallwall_item.tpl +++ b/view/wallwall_item.tpl @@ -1,18 +1,12 @@ -{{ if $indent }}{{ else }}
$star.starred {{ if $lock }}$lock{{ endif }}
-{{ endif }} +
-
- - $owner_name - -
@@ -25,6 +19,11 @@
+
+ + $owner_name + +
$location
From 3d7857ecdd36d9920ff5ae843180126f4b1f89ff Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Jan 2012 10:38:24 +0100 Subject: [PATCH 3/4] quattro: item acl popup panel, max height to notifications menu, style comment preview and wall-to-wall item photos --- view/theme/quattro/quattro.less | 57 +++++++++++++++++++++++++++- view/theme/quattro/style.css | 66 ++++++++++++++++++++++++++++++++- 2 files changed, 120 insertions(+), 3 deletions(-) diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 671577303..0b4a97e9a 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -3,7 +3,7 @@ /* global */ body { font-family: Liberation Sans,helvetica,arial,clean,sans-serif; - font-size: 10px; + font-size: 11px; background-color: @BodyBackground; color: @BodyColor; margin: 50px 0px 0px 0px; @@ -55,6 +55,21 @@ code { padding: 10px; margin-top: 20px; } + +#panel { + position: absolute; + width: 10em; + background: @MenuBg; + color: @Menu; + margin: 0px; + padding: 1em; + list-style: none; + border: 3px solid @MenuBorder; + z-index: 100000; + + .shadow(); +} + /* tool */ .tool { @@ -234,7 +249,8 @@ ul.menu-popup { #nav-notifications-menu { - width: 400px; + width: 400px; max-height: 550px; + overflow: auto; img { float: left; margin-right: 5px; } .contactname { font-weight: bold; } .notif-when { font-size: 10px; color: @MenuItemDetail; display: block; } @@ -431,6 +447,26 @@ section { } } +.comment-edit-preview { + width: 710px; + border: 1px solid @Grey5; + margin-top: 10px; + + .contact-photo { width: 32px; height: 32px; margin-left: 16px; + /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/ + } + .contact-photo-menu-button { + top: 15px !important; + left: 15px !important; + } + .wall-item-links { padding-left: 12px; } + + .wall-item-container { width: 700px; } + .tread-wrapper { width: 700px; padding: 0; margin: 10px 0;} + + +} + .wall-item-tags { padding-top: 5px; } @@ -445,6 +481,23 @@ section { } } +.wwto { + position: absolute !important; + width: 25px; height: 25px; + background: #FFFFFF; + border: 2px solid @Metalic3; + height: 25px; + width: 25px; + overflow: hidden; + padding: 1px; + position: absolute !important; + top: 40px; + left: 30px; + + .shadow(0px, 0px) +} +.wwto .contact-photo { width: 25px; height: 25px; } + /* contacts menu */ .contact-photo-wrapper { position: relative; } .contact-photo { diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css index 003ebfae6..8cf213850 100644 --- a/view/theme/quattro/style.css +++ b/view/theme/quattro/style.css @@ -162,7 +162,7 @@ /* global */ body { font-family: Liberation Sans, helvetica, arial, clean, sans-serif; - font-size: 10px; + font-size: 11px; background-color: #ffffff; color: #2d2d2d; margin: 50px 0px 0px 0px; @@ -206,6 +206,20 @@ code { padding: 10px; margin-top: 20px; } +#panel { + position: absolute; + width: 10em; + background: #ffffff; + color: #2d2d2d; + margin: 0px; + padding: 1em; + list-style: none; + border: 3px solid #364e59; + 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); +} /* tool */ .tool { height: auto; @@ -442,6 +456,8 @@ ul.menu-popup .empty { } #nav-notifications-menu { width: 400px; + max-height: 550px; + overflow: auto; } #nav-notifications-menu img { float: left; @@ -758,6 +774,33 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.comment-edit-preview { + width: 710px; + border: 1px solid #2d2d2d; + margin-top: 10px; +} +.comment-edit-preview .contact-photo { + width: 32px; + height: 32px; + margin-left: 16px; + /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/ + +} +.comment-edit-preview .contact-photo-menu-button { + top: 15px !important; + left: 15px !important; +} +.comment-edit-preview .wall-item-links { + padding-left: 12px; +} +.comment-edit-preview .wall-item-container { + width: 700px; +} +.comment-edit-preview .tread-wrapper { + width: 700px; + padding: 0; + margin: 10px 0; +} .wall-item-tags { padding-top: 5px; } @@ -771,6 +814,27 @@ section { background: url("../../../images/tag.png") no-repeat center right; color: #ffffff; } +.wwto { + position: absolute !important; + width: 25px; + height: 25px; + background: #FFFFFF; + border: 2px solid #364e59; + height: 25px; + width: 25px; + overflow: hidden; + padding: 1px; + position: absolute !important; + top: 40px; + left: 30px; + -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); + -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); +} +.wwto .contact-photo { + width: 25px; + height: 25px; +} /* contacts menu */ .contact-photo-wrapper { position: relative; From ea9f14c27b0cb7fb2ebc8315f7c55a567831021c Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Jan 2012 10:42:59 +0100 Subject: [PATCH 4/4] quattro: style fakelink --- view/theme/quattro/quattro.less | 5 +++++ view/theme/quattro/style.css | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 0b4a97e9a..23b1d8474 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -44,6 +44,9 @@ a:hover {color: @LinkHover; text-decoration: underline; } .hidden { display: none; } .clear { clear: both; } +.fakelink { color: @Link; text-decoration: none; cursor:pointer; } +.fakelink:hover { color: @LinkHover; text-decoration: underline; } + code { font-family: Courier, monospace; white-space: pre; @@ -70,6 +73,8 @@ code { .shadow(); } + + /* tool */ .tool { diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css index 8cf213850..f5c8c4690 100644 --- a/view/theme/quattro/style.css +++ b/view/theme/quattro/style.css @@ -195,6 +195,15 @@ a:hover { .clear { clear: both; } +.fakelink { + color: #005c94; + text-decoration: none; + cursor: pointer; +} +.fakelink:hover { + color: #005c94; + text-decoration: underline; +} code { font-family: Courier, monospace; white-space: pre;