Browse Source

fixed some display

Bachir Soussi Chiadmi 9 years ago
parent
commit
2e4a069036

File diff suppressed because it is too large
+ 207 - 141
sites/all/themes/gui/materiobasetheme/css/styles.css


+ 2 - 0
sites/all/themes/gui/materiobasetheme/preprocess/node.pre.php

@@ -55,6 +55,8 @@ if ($vars['type'] == 'simplenews' && $vars['view_mode'] == 'teaser') {
   image_style_create_derivative("card-full", $img_src, $img_uri);
   // theme the new image tag
   $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
   $vars['content']['body'][0]['#markup'] = $img;
 }

+ 5 - 1
sites/all/themes/gui/materiobasetheme/scss/layout.scss

@@ -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{
     @include grid-row();
   }

+ 6 - 5
sites/all/themes/gui/materiobasetheme/scss/styles.scss

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

Some files were not shown because too many files changed in this diff