Created
July 12, 2012 15:04
-
-
Save afraser/3098674 to your computer and use it in GitHub Desktop.
Boundless Plus v2 layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Boundless Plus v2 layout */ | |
body { | |
margin: 0; | |
} | |
header{ | |
height: 100%; | |
position: fixed; | |
background-color: #333; | |
width: 150px; | |
color: white; | |
} | |
.bottom{ | |
position: absolute; | |
bottom: 0px; | |
left: 0px; | |
} | |
.content { | |
position: absolute; | |
left: 150px; | |
width: 850px; | |
height: 100%; | |
transition-property: left; | |
transition-duration: .5s; | |
transition-easing: ease-in-out; | |
} | |
.tray{ | |
position: fixed; | |
height: 100%; | |
width: 82px; | |
left: 69px; | |
box-shadow: -8px 0 8px rgba(0,0,0,0.2); | |
background-color: #666; | |
color: white; | |
transition-property: left; | |
transition-duration: 0.3s; | |
transition-easing: ease-in-out; | |
} | |
.innercontent{ | |
position: absolute; | |
box-shadow: -10px 0 10px rgba(0,0,0,0.2); | |
background: #FDFDFD; | |
width: 850px; | |
z-index: 10; | |
min-height: 100%; | |
} | |
.innercontent .footer{ | |
width: 100%; | |
height: 30px; | |
position: relative; | |
background: #EEE; | |
bottom: 0; | |
} | |
/*for demonstration | |
.content:hover .tray{ | |
left: 160px; | |
}*/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<div>top</div> | |
<div class="bottom">bottom</div> | |
</header> | |
<div class="content"> | |
<div class="tray"> | |
<div>top</div> | |
<div class="bottom">bottom</div> | |
</div> | |
<div class="innercontent"> | |
<div> | |
asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> asdf<br/>asdf<br/>asdf<br/>sdf<br/> | |
</div> | |
<div class="footer"> | |
back forth | |
</div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment