fixed some display bug

This commit is contained in:
Bachir Soussi Chiadmi 2015-06-24 17:20:14 +02:00
parent ade4a41f76
commit 09d1f06552
4 changed files with 1067 additions and 1102 deletions

File diff suppressed because it is too large Load Diff

View File

@ -95,6 +95,11 @@ foreach ($vars['user']->roles as $key => $value) {
$vars['classes_array'][] = "role-" . $key; $vars['classes_array'][] = "role-" . $key;
} }
// dsm($vars);
// if(){
// $vars['classes_array'][] = "fixed-grid";
// }
/* /*
if(isset($vars['page']['sidebar_first']) && isset($vars['page']['sidebar_second'])){ if(isset($vars['page']['sidebar_first']) && isset($vars['page']['sidebar_second'])){
$layout = 'two-sidebars'; $layout = 'two-sidebars';

View File

@ -82,6 +82,8 @@ html, body{
} }
body{ body{
overflow-y:scroll; top:0; overflow-y:scroll; top:0;
background-color: $creme;
} }
h1, h2, h3, h4, h5, h6{ h1, h2, h3, h4, h5, h6{
@ -158,7 +160,6 @@ $header-z-index:1000;
>.region{padding-top:5px; padding-bottom:5px;} >.region{padding-top:5px; padding-bottom:5px;}
} //change this } //change this
z-index:999; z-index:999;
@include bgc(#fff);
@include padded; @include padded;
} }
@ -202,8 +203,14 @@ $header-z-index:1000;
/_/ /_/\____/_/ /_/ /_/\___/ |___/____/ /_/ /_/\____/_/ /_/ /_/\___/ |___/____/
*/ */
body:not(.page-actuality), body.front,
body:not(.page-explore){ body.page-whoweare,
body.page-node-11187,
body.page-node-11175,
body.page-node-12324,
body.page-user,
body.page-node-11186,
body.page-cart{
#header>.inner, #utilities>.inner, #center, #footer{ #header>.inner, #utilities>.inner, #center, #footer{
@include grid-row(); @include grid-row();
} }

View File

@ -501,9 +501,10 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
*/ */
#utilities{ #utilities{
background-color: #fff;
margin-top:$headerouterheight; margin-top:$headerouterheight;
.not-logged-in &{ overflow:hidden; } .not-logged-in &{ overflow:hidden; }
&>.inner{padding:0.5em 0;}
&.closed{ &.closed{
.tabs, .node-didactique{display:none;} height:0; .tabs, .node-didactique{display:none;} height:0;
} }
@ -1012,14 +1013,14 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
} }
#center{ #center{
background-color: #e6e6e6; @include rounded(10px); // background-color: #e6e6e6;
.node-type-page &{ background-color:#fff; } @include rounded(10px);
.node-type-page:not(.page-node-11187) &{ background-color:#fff; }
.ie8 &{height:100%; margin-top:20px;} .ie8 &{height:100%; margin-top:20px;}
} }
#content{ #content{
// background-color: #f3f3f3; padding:1em;
// @include rounded(5px);
@include transition-simply-prefix(height 0.3s ease-out); @include transition-simply-prefix(height 0.3s ease-out);
&.faded{ &.faded{
opacity:0.5; opacity:0.5;
@ -1946,13 +1947,12 @@ body.print-node-materiau{
*/ */
.page-user, .page-user-edit, .page-user-password, .page-user-reset, .page-toboggan{ .page-user, .page-user-edit, .page-user-password, .page-user-reset, .page-toboggan{
#main{ background: #fff url('../img/user-page-bg.gif') no-repeat bottom right; }
#center{background: #fff url('../img/user-page-bg.gif') no-repeat bottom right;}
.messages{ width:800px; margin:0 auto; } .messages{ width:800px; margin:0 auto; }
&.role-6 #tasks .tabs.primary{display:none;} &.role-6 #tasks .tabs.primary{display:none;}
&.role-6 #tasks .tabs.secondary{@include tabs-primary();} &.role-6 #tasks .tabs.secondary{@include tabs-primary();}
#center >*{ #center >*{
width:800px; margin:0 auto; padding-top:1em; @include fs14; width:800px; margin:0 auto; padding-top:1em; @include fs14;
@ -2103,8 +2103,9 @@ body.node-type-simplenews{
.page-node-11175{ .page-node-11175{
#main{ #main{
// background-color:#fff; // background-color:#fff;
background: #fff url('../img/bg-contact.gif') no-repeat bottom right; #center{
background: #fff url('../img/bg-contact.gif') no-repeat bottom right;
}
.field-name-body p{ .field-name-body p{
@include inlineblock; margin: 15px; @include inlineblock; margin: 15px;
strong{@include fs18;} strong{@include fs18;}
@ -2164,7 +2165,7 @@ body.page-node-11187{
text-align:center; text-align:center;
>*{text-align:left;} >*{text-align:left;}
div.column, div.column-demi, div.column-full, div.column-auto{ div.column, div.column-demi, div.column-full, div.column-auto{
position:relative; position:relative; background-color: #fff;
@include rounded(5px); @include drop-shadow(0, 0, 6px, 0.5); @include rounded(5px); @include drop-shadow(0, 0, 6px, 0.5);
.ie8 &{max-width:500px; margin:auto; margin-bottom:15px; border:1px solid #C6C6C6;} .ie8 &{max-width:500px; margin:auto; margin-bottom:15px; border:1px solid #C6C6C6;}
overflow:hidden; overflow:hidden;
@ -2797,7 +2798,6 @@ body.page-node-11187{
*/ */
body.home-v2{ body.home-v2{
background-color: $creme;
#center{ #center{
background-color: transparent; background-color: transparent;