Skip to content

Commit

Permalink
Use placeholders for GCWU sp-pe-screen
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Jan 11, 2013
1 parent 56a5a5f commit 360a1e0
Showing 1 changed file with 43 additions and 5 deletions.
48 changes: 43 additions & 5 deletions src/theme-gcwu-fegc/sass/includes/_sp-pe-screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.com/wet-boew/License-eng.txt / wet-boew.github.com/wet-boew/Licence-fra.txt
*/

html {
overflow-y: scroll;
}
Expand All @@ -18,33 +19,62 @@ h1 {
margin: 0;
}

#wb-head-in, #wb-core-in, #wb-foot-in {
%gcwu-sp-pe-screen-margin-auto {
margin: auto;
}

#wb-head, #wb-head-in, #wb-foot, #wb-foot-in {
#wb-head-in {
@extend %gcwu-sp-pe-screen-margin-auto;
@extend %gcwu-sp-pe-screen-overflow-hidden;
}

#wb-foot-in {
@extend %gcwu-sp-pe-screen-margin-auto;
@extend %gcwu-sp-pe-screen-overflow-hidden;
}

%gcwu-sp-pe-screen-overflow-hidden {
overflow: hidden;
}

#gcwu-sig, #gcwu-tc {
#wb-head {
@extend %gcwu-sp-pe-screen-overflow-hidden;
}

#wb-foot {
@extend %gcwu-sp-pe-screen-overflow-hidden;
}

%gcwu-sp-pe-screen-display-block-auto-margins {
display: block;
float: none;
margin: auto;
}

#gcwu-tc {
@extend %gcwu-sp-pe-screen-display-block-auto-margins;
}

#gcwu-sig {
@extend %gcwu-sp-pe-screen-display-block-auto-margins;
@extend %gcwu-sp-pe-screen-img-margin-bottom-0;
margin-top: 20px;
margin-bottom: 7px;
line-height: normal;
}

#gcwu-sig, #gcwu-wmms {
%gcwu-sp-pe-screen-img-margin-bottom-0 {
img {
margin-bottom: 0;
}
}

#gcwu-wmms {
@extend %gcwu-sp-pe-screen-img-margin-bottom-0;
}

#wb-core-in {
@extend %gcwu-sp-pe-screen-margin-auto;
overflow: visible !important;
&:after {
content: ".";
Expand All @@ -70,10 +100,18 @@ h1 {
min-height: 115px;
}

#gcwu-title-right, .gcwu-alt-title-right {
%gcwu-sp-pe-screen-right-titles {
text-align: right;
}

#gcwu-title-right {
@extend %gcwu-sp-pe-screen-right-titles;
}

.gcwu-alt-title-right {
@extend %gcwu-sp-pe-screen-right-titles;
}

#gcwu-lang {
margin-top: 20px;
line-height: normal;
Expand Down

0 comments on commit 360a1e0

Please sign in to comment.