Skip to content

Commit

Permalink
Use placeholders in GCWU default-screen SCSS
Browse files Browse the repository at this point in the history
Added TODO for follow up
  • Loading branch information
nschonni committed Jan 11, 2013
1 parent 0ccc2f3 commit 69363f1
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions src/theme-gcwu-fegc/sass/includes/_default-desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +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
*/
#gcwu-psnb, #gcwu-srchbx {
%gcwu-default-desktop-hidden-h2 {
h2 {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
Expand All @@ -13,6 +13,14 @@
}
}

#gcwu-psnb {
@extend %gcwu-default-desktop-hidden-h2;
}

#gcwu-srchbx {
@extend %gcwu-default-desktop-hidden-h2;
}

#gcwu-bc {
font-size: 85%;
color: #555;
Expand Down Expand Up @@ -47,6 +55,24 @@
margin: 0;
}

#gcwu-bnr .ui-navbar, #jqm-wb-mb, #jqm-wb-search, .ui-loader {
%display-none-important {
display: none !important;
}

#gcwu-bnr {
.ui-navbar {
@extend %display-none-important;
}
}
//TODO: Is there a reason to have jQuery Mobile (jqm) classes in the desktop?
#jqm-wb-mb {
@extend %display-none-important;
}

#jqm-wb-search {
@extend %display-none-important;
}

.ui-loader {
@extend %display-none-important;
}

0 comments on commit 69363f1

Please sign in to comment.