Sha256: 3adef16a0de493ad80b45b16c3b34fc78f7bf42a01cd0d73d6ce1cf76691cc0f

Contents?: true

Size: 1.33 KB

Versions: 7

Compression:

Stored size: 1.33 KB

Contents

// some changes to twbs navbar

// Basics of a navbar
// $navbar-height:                    50px !default;
// $navbar-margin-bottom:             $line-height-computed !default;
// $navbar-border-radius:             $border-radius-base !default;
// $navbar-padding-horizontal:        floor(($grid-gutter-width / 2)) !default;
// $navbar-padding-vertical:          (($navbar-height - $line-height-computed) / 2) !default;
// $navbar-collapse-max-height:       340px !default;

/*
.navbar
	.header
		.navbar-brand
	.navbar-collapse
		

*/
.navbar {
	
	
	
	// default hight 50px
	a.btn {
		@include vertical-padding( $navbar-padding-vertical / 2 - 1 );
		@include vertical-margin( $navbar-padding-vertical / 2 );
	}
	
	
		
		
		
	
	
}

@media (max-width: $grid-float-breakpoint) {
	.navbar {
		&.navbar-slidebar {
			.navbar-collapse {
				display: block; position: fixed;
				top: 0; right: auto; bottom: 0; left: 0;
				background: $dark-bg;
				@include transform( translateZ( 0 ) );
				@include transform( translateX( -222px ) ); 
				width: 220px;
				max-height: none;
				overflow-y: scroll;
				@include transition (all 0.7s ease-in-out);
				.btn { @include horizontal-margin( 15px ); width: auto; }
				&.on { @include transform( translateX( 0 ) );  }
			}
			
			&.fixed-top .navbar-collapse, &.navbar-fixed-top .navbar-collapse {
				top: 50px;
			}
		}
	}
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
magic_stylez-0.0.0.25 vendor/assets/stylesheets/magic/content/_navbar.scss
magic_stylez-0.0.0.24 vendor/assets/stylesheets/magic/content/_navbar.scss
magic_stylez-0.0.0.23 vendor/assets/stylesheets/magic/content/_navbar.scss
magic_stylez-0.0.0.22 vendor/assets/stylesheets/magic/content/_navbar.scss
magic_stylez-0.0.0.21 vendor/assets/stylesheets/magic/content/_navbar.scss
magic_stylez-0.0.0.20 vendor/assets/stylesheets/magic/content/_navbar.scss
magic_stylez-0.0.0.19 vendor/assets/stylesheets/magic/content/_navbar.scss