ソースを参照

#103 - nice wrapping in social action/sharing buttons

Alex Trofimov 11 年 前
親
コミット
170eeea44b

+ 7 - 1
modules/boonex/ocean/data/template/bx_timeline/css/view.less

@@ -24,6 +24,12 @@ div.bx-tl-activity ul.bx-menu-object-bx_timeline_menu_item_actions li  {
 	background-color: #fff;
 	background-color: #fff;
 }
 }
 
 
+.bx-menu-hor.bx-menu-hor-inline.bx-menu-object-bx_timeline_menu_item_actions li > a,
+.bx-menu-hor.bx-menu-hor-inline.bx-menu-object-bx_timeline_menu_item_actions li > span,
+.bx-menu-hor.bx-menu-hor-inline.bx-menu-object-bx_timeline_menu_item_actions li > div {
+    margin:0;
+}
+
 .bx-menu-hor.bx-menu-hor-inline.bx-menu-object-bx_timeline_menu_item_actions .sys-icon.comment:before {
 .bx-menu-hor.bx-menu-hor-inline.bx-menu-object-bx_timeline_menu_item_actions .sys-icon.comment:before {
   content: "\f0e5";
   content: "\f0e5";
 }
 }
@@ -50,4 +56,4 @@ div.bx-tl-item-info {
 /*+++ Item Text +++*/
 /*+++ Item Text +++*/
 div.bx-tl-title {
 div.bx-tl-title {
 	font-weight: bold;
 	font-weight: bold;
-}
+}

+ 3 - 3
template/comment_actions.html

@@ -1,9 +1,9 @@
 <div class="__style_prefix__-actions bx-clearfix">
 <div class="__style_prefix__-actions bx-clearfix">
 	__menu_actions__
 	__menu_actions__
 	<bx_if:show_menu_manage>
 	<bx_if:show_menu_manage>
-		<div class="__style_prefix__-comment-manage-link bx-def-margin-left">
-			<a class="__style_prefix__-comment-manage bx-def-margin-sec-left-auto" href="javascript:void(0)" onclick="__js_object__.toggleManagePopup(this, __id__); return false;" title="<bx_text_attribute:_Manage />"><i class="sys-icon ellipsis-h"></i></a>
+		<div class="__style_prefix__-comment-manage-link bx-def-margin-thd-topbottom">
+			<a class="__style_prefix__-comment-manage" href="javascript:void(0)" onclick="__js_object__.toggleManagePopup(this, __id__); return false;" title="<bx_text_attribute:_Manage />"><i class="sys-icon ellipsis-h"></i></a>
 		</div>
 		</div>
 		__popup_text__
 		__popup_text__
 	</bx_if:show_menu_manage>
 	</bx_if:show_menu_manage>
-</div>
+</div>

+ 7 - 0
template/css/menu.css

@@ -494,3 +494,10 @@ ul.bx-menu-btns-hor li {
 .bx-menu-account-popup-profile-switcher-link a {
 .bx-menu-account-popup-profile-switcher-link a {
     text-decoration:none;
     text-decoration:none;
 }
 }
+
+/* --------------- custom menu */
+
+.bx-menu-custom > li > span,
+.bx-menu-custom > li > a {
+    display:inline-block;
+}

+ 3 - 3
template/menu_custom.html

@@ -1,5 +1,5 @@
-<ul id="bx-menu-custom" class="bx-menu-hor bx-menu-hor-inline bx-menu-object-__object__ bx-clearfix">
+<ul class="bx-menu-custom bx-menu-hor bx-menu-hor-inline bx-menu-object-__object__ bx-clearfix">
     <bx_repeat:menu_items>
     <bx_repeat:menu_items>
-        <li class="bx-def-margin-left-auto __class__">__item__</li>
+        <li class="__class__">__item__</li>
     </bx_repeat:menu_items>
     </bx_repeat:menu_items>
-</ul>
+</ul>

+ 7 - 5
template/menu_custom_item.html

@@ -1,5 +1,7 @@
-<a href="__link__" target="__target__" onclick="__onclick__" title="__title__">
-	<bx_if:icon><i class="sys-icon __icon__"></i></bx_if:icon>
-	<bx_if:image><img style="background-image:url(__icon_url__)" src="<bx_icon_url:spacer.gif />" /></bx_if:image>
-</a>
-<bx_if:addon>__addon__</bx_if:addon>
+<span class="bx-def-margin-right bx-def-margin-thd-topbottom">
+    <a href="__link__" target="__target__" onclick="__onclick__" title="__title__">
+        <bx_if:icon><i class="sys-icon __icon__"></i></bx_if:icon>
+        <bx_if:image><img style="background-image:url(__icon_url__)" src="<bx_icon_url:spacer.gif />" /></bx_if:image>
+    </a>
+    <bx_if:addon>__addon__</bx_if:addon>
+</span>

+ 1 - 1
template/vote_element_block.html

@@ -1,4 +1,4 @@
-<div id="__html_id__" class="__style_prefix__ __class__ bx-def-margin-right-auto bx-def-margin-thd-topbottom  bx-clearfix" bx_vote_data_rate="__rate__" bx_vote_data_count="__count__">
+<div id="__html_id__" class="__style_prefix__ __class__ bx-def-margin-right-auto bx-def-margin-thd-topbottom bx-clearfix" bx_vote_data_rate="__rate__" bx_vote_data_count="__count__">
 	<div class="__style_prefix__-element-holder">__do_vote__</div>
 	<div class="__style_prefix__-element-holder">__do_vote__</div>
 	<bx_if:show_counter>
 	<bx_if:show_counter>
 		<div class="__style_prefix__-counter-holder bx-def-margin-sec-left"<bx_if:show_hidden> style="display:none"</bx_if:show_hidden>>__counter__</div>
 		<div class="__style_prefix__-counter-holder bx-def-margin-sec-left"<bx_if:show_hidden> style="display:none"</bx_if:show_hidden>>__counter__</div>

+ 2 - 2
template/vote_element_inline.html

@@ -1,4 +1,4 @@
-<span id="__html_id__" class="__style_prefix__ __class__" bx_vote_data_rate="__rate__" bx_vote_data_count="__count__">
+<span id="__html_id__" class="__style_prefix__ __class__ bx-def-margin-right-auto bx-def-margin-thd-topbottom" bx_vote_data_rate="__rate__" bx_vote_data_count="__count__">
 	<span class="__style_prefix__-element-holder">__do_vote__</span><bx_if:show_counter><span class="__style_prefix__-counter-holder bx-def-margin-thd-left"<bx_if:show_hidden> style="display:none"</bx_if:show_hidden>>__counter__</span></bx_if:show_counter>
 	<span class="__style_prefix__-element-holder">__do_vote__</span><bx_if:show_counter><span class="__style_prefix__-counter-holder bx-def-margin-thd-left"<bx_if:show_hidden> style="display:none"</bx_if:show_hidden>>__counter__</span></bx_if:show_counter>
 </span>
 </span>
-__script__
+__script__