fixed some display

This commit is contained in:
Bachir Soussi Chiadmi 2015-06-15 18:15:53 +02:00
parent cc8306bc14
commit 2e4a069036
4 changed files with 271 additions and 198 deletions

File diff suppressed because it is too large Load Diff

View File

@ -55,6 +55,8 @@ if ($vars['type'] == 'simplenews' && $vars['view_mode'] == 'teaser') {
image_style_create_derivative("card-full", $img_src, $img_uri); image_style_create_derivative("card-full", $img_src, $img_uri);
// theme the new image tag // theme the new image tag
$img = theme('image', array('path'=>$img_uri)); $img = theme('image', array('path'=>$img_uri));
// link the image to the node
$img = l($img, "node/".$node->nid, array("html"=>true));
// replace the body with this new styled image // replace the body with this new styled image
$vars['content']['body'][0]['#markup'] = $img; $vars['content']['body'][0]['#markup'] = $img;
} }

View File

@ -202,7 +202,11 @@ $header-z-index:1000;
/_/ /_/\____/_/ /_/ /_/\___/ |___/____/ /_/ /_/\____/_/ /_/ /_/\___/ |___/____/
*/ */
body.home-v2{ body.home-v2,
body.page-whoweare,
body.node-type-page,
body.node-type-webform,
body.page-cart-checkout{
#header>.inner, #utilities>.inner, #center, #footer{ #header>.inner, #utilities>.inner, #center, #footer{
@include grid-row(); @include grid-row();
} }

View File

@ -2409,7 +2409,7 @@ body.page-node-11187{
*/ */
#uc-cart-checkout-form{ #uc-cart-checkout-form{
display:inline-block; // display:inline-block;
@mixin price-table(){ @mixin price-table(){
@include fs14; @include fs14;
@ -2430,7 +2430,7 @@ body.page-node-11187{
} }
fieldset.form-column{ fieldset.form-column{
@include inlineblock; max-width:39%; @include inlineblock; max-width:39%; clear:both; float:none;
margin: 15px 1em; margin: 15px 1em;
> .fieldset-wrapper > .form-wrapper{ > .fieldset-wrapper > .form-wrapper{
margin: 10px 0; margin: 10px 0;
@ -2534,11 +2534,12 @@ body.page-node-11187{
} }
} }
.form-actions{ #edit-actions{
padding: 0; margin: 0; width:100%;
padding:1em 0; margin: 0;
border: 0px; border: 0px;
background-color: transparent; background-color: transparent;
text-align: right; text-align: center;
.form-submit{ .form-submit{
@include bouton(); @include bouton();
margin-left:1em; margin-left:1em;