Réseau des collectivités Territoriales pour une Économie Solidaire

Newsletter RTES - Juin 2017

NL Juin | Newsletters - Scop la Péniche

var gaPrefix = 'app';var gaAccountClassic = '-', gaAccountUniversal = '-'; #header h1, #header h1.nosecondary padding: 0; #header h1 img, #header h1.nosecondary img vertical-align: middle; #secondaryNavs ul padding: 0 10px 0;

$(window).resize(function() var topbarHeight = $(".bar-mid").height(); var paddingHeight = 60; var newHeight = $(window).height() - topbarHeight - paddingHeight; CS.ViewCampaign.changeFrameHeight(newHeight); );

function change_parent_url(url) document.location = url;

body, html margin: 0; width: 100%; height: 100%; /*overflow: hidden;*/ background: #FFF; iframe width: 100%; border-top: 1px solid #c6c6c6; .ie iframe margin-top: -2px;

.email-client .bar-mid /*height: 80px;*/ background: #FFF; position: relative; z-index: 10; -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 2px; -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 2px; box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 2px; .email-client .bar-mid .details padding: 20px 0px 20px 0px; /*float: left;*/ min-width: 320px; width: 100%; .email-client .bar-mid .details .avatar width: 38px; height: 38px; background: url(../img/subscriber-notifications/avatar-email-client.jpg) no-repeat; display: inline-block; float: left; margin-right: 10px; margin-left: 20px; .email-client .bar-mid .details .text /*float: left;*/ width: 45%; display: inline-block; .email-client .bar-mid .details .text p color: #888888; font-size: 13px; padding-bottom: 2px; .button-group width: 130px; position: absolute; top: 29px; right: 20px;

.print-preview color: #888 !important; position: absolute; top: 33px; right: 165px;

.dynamic-content width: 220px; display: block; background: #595d65; float: left; padding: 30px; margin: 0px; color: #FFF; overflow: auto; -moz-box-shadow: inset -4px 0px 9px -6px #000; -webkit-box-shadow: inset -4px 0px 9px -6px #000; box-shadow: inset -4px 0px 9px -6px #000;

.dynamic-content .title color: #b8babc; font-size: 18px; font-weight: bold; margin-bottom: 20px;

.dynamic-content .custom-field font-size: 14px; font-weight: bold; border-bottom: #686b72 solid 1px; padding-bottom: 3px; margin: 25px 0px 10px 0px; display: block; word-break: break-all;

.dynamic-content .new-form .ko-radio, .dynamic-content .new-form .ko-checkbox position: relative; margin-right: 0;

.dynamic-content label width: 100%; text-align: left; font-weight: normal; margin-bottom: 5px; float: none; line-height: 16px;

.email-preview margin-left: 280px; background: #FFF;

.sub-items padding-left: 22px; margin-bottom: 8px;

@media only screen and (max-width : 580px)

.button-group position: relative; top: auto; right: auto; margin-left: 69px; margin-top: 10px;

.print-preview position: relative; top: auto; right: auto; margin-left: 15px; margin-top: 3px; display: inline-block;

.email-client .bar-mid .details .text width: 75%;

Dynamic content

Dynamic content

var docHeight = $(document).height(); var topbarHeight = $(".bar-mid").height(); var paddingHeight = 60;

$(".frame").css("height", docHeight - topbarHeight - 1 + "px"); $('.dynamic-content').height(docHeight - topbarHeight - paddingHeight); $(function () var toggleValue = function ($checkbox) var value = $checkbox.attr('value'); $checkbox.attr('value', $checkbox.attr('toggle-value')); $checkbox.attr('toggle-value', value); ; $('.ko-radio').bind('change', function (e) $('.ko-checkbox:visible').each(function (i, e) if ($(e).prop('checked')) $(e).prop('checked', false); toggleValue($(e)); ); $(this).closest('form').trigger('submit'); ); $('.ko-checkbox').bind('change', function (e) toggleValue($(this)); $('#' + $(this).attr('parent-id')).prop('checked', true); $(this).closest('form').trigger('submit'); ); );

CS.ViewCampaign.showVersionSwitcher();