From cd0d5d6a18ed84aa6c2b586bc3bf5ae5664bc843 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 2 Jun 2016 20:59:31 +0200 Subject: [PATCH] frio: remove js part for shared-content div because it's now done by core --- view/theme/frio/css/style.css | 6 +++--- view/theme/frio/js/theme.js | 16 ---------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 4d7e4e2cb8..6b5e840fb1 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1255,7 +1255,7 @@ section #jotOpen { max-height: 480px; object-fit: contain; } -.shared-content-wrapper, +.shared-wrapper, .vevent { margin-left: 50px; margin-right: 50px; @@ -1263,13 +1263,13 @@ section #jotOpen { box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .1) inset, 0 1px 1px rgba(0, 0, 0, .05); } @media screen and (max-width: 767px) { - .shared-content-wrapper, + .shared-wrapper, .vevent { margin-left: 0px; margin-right: 0px; } } -.shared-content-wrapper:hover, +.shared-wrapper:hover, .vevent:hover { box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .15) inset, 0 1px 1px rgba(0, 0, 0, .05); } diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 928b04551c..d7372704ed 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -68,22 +68,6 @@ $(document).ready(function(){ if( $("#jot-popup").is(":hidden")) $("#topbar-second > .container > #navbar-button #jotOpen").hide(); } - // move shared content in it's own DIV (so we can style it better) - $('.wall-item-body .shared_content').each(function() { - // create a DIV after ".shared_content" where we will putt in the shared_header - // and the "shared_content" - $(this).after('
'); - // get the shared_header - var sheader = $(this).prev(); - // get the shared-content-wrapper which we have created above - var swrapper = $(this).next(); - // move the "shared_header into the new shared_content DIV - $(swrapper).append(sheader); - // move the "shared_content" into the new DIV - $(swrapper).append(this); - }); - - // show bulk deletion button at network page if checkbox is checked $('input.item-select').change(function(){ var checked = false;