Sha256: 0c30836d81dcfef0c2f95ca5ddadc202191c0d169ec370fc46c8cf81da989914

Contents?: true

Size: 1.7 KB

Versions: 8

Compression:

Stored size: 1.7 KB

Contents

body {
	&.blank {
		background: #fff;
	}
	&.main_template {
	    padding: 40px 0 0 0;
	}
}

#app_content {
	display: block; 
	position: relative;
	// position: static;
	width: 100%; height: 100%;
	
	z-index: 1;
	
	@include gpu_render;
	
}


#aside {
	// @mixin single_shine( $color, $times: 3, $position: right, $width: 5px, $blur: 5px, $size: 0, $corner: 100 )
	display: block; position: fixed;
	top: 40px; right: auto; bottom: 0; left: 0;
	width: 220px;
	z-index: 99999;
	background: #e5e5e5;
	// box-shadow: inset -2px 0 3px 0 #000;
	border-right: solid 1px #ccc;
	overflow-y: scroll;
	.btn { width: 90%; margin: 0 auto; display: block; }
	
	// transform: translateZ( 0 ) ;
	// transform: translateX( -222px ) ; 
    
    transform: translate(-220px,0) ;
    
    @include transition (all 0.5s ease-in-out);
    @include asideScrollBar;
}


#mobile_header {
    position: fixed;
    top: 0; right: 0; left: 0;
    height: 40px; line-height: 40px;
    z-index: 999999;
    // @include linear-gradient( #222, #111 );
    color: #ccc;
    background: rgba(0,0,0,.80);
    text-shadow: 0 1px 1px #000;
    i, i:before { font-size: 24px; line-height: 40px;}
    text-decoration: none;
}

body.aside-on {
    #aside {
        // transform: translateX( 0 ) ;
        transform: translate(0,0) ;
    }
    #mobile_header { color: #069; }
}




@include responsiveStep-sm {
    
    body {
    	&.main_template {
    	    padding: 0 0 0 220px;
    	}
    }
    
    #aside {
        @include single_shine( rgba(0,0,0,.13), 1, right, 10px );
        display: block; position: fixed;
        top: 0;
        
        // transform: translateX( 0 ) ;
        transform: translate(0,0) ;
    }
    
    #mobile_header {
        display: none;
    }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
better_styles-0.0.0.333 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.0.332 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.0.331 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.0.33 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.5 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.4 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.3 assets/stylesheets/better/templates/_fixed_aside_to_header.scss
better_styles-0.0.2 assets/stylesheets/better/templates/_fixed_aside_to_header.scss