|
|
@ -120,10 +120,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Nav bars with buttons |
|
|
|
// Bars with buttons |
|
|
|
// -------------------------------------------------- |
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
.bar-nav .btn { |
|
|
|
.bar .btn { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
z-index: 20; // Position the buttons on top of .title |
|
|
|
z-index: 20; // Position the buttons on top of .title |
|
|
|
padding: 6px 12px; |
|
|
|
padding: 6px 12px; |
|
|
@ -138,11 +138,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Nav bars with link buttons (Line the text up with content) |
|
|
|
// Bars with link buttons (Line the text up with content) |
|
|
|
.bar-nav .btn-link { |
|
|
|
.bar .btn-link { |
|
|
|
margin-top: 0; |
|
|
|
margin-top: 0; |
|
|
|
padding-top: 0; |
|
|
|
padding: 0; |
|
|
|
padding-bottom: 0; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
font-size: 16px; |
|
|
|
color: $primary-color; |
|
|
|
color: $primary-color; |
|
|
|
line-height: $bar-base-height; |
|
|
|
line-height: $bar-base-height; |
|
|
@ -152,34 +151,9 @@ |
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
color: darken($primary-color, 10%); |
|
|
|
color: darken($primary-color, 10%); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Make sure link buttons w/ icons line up with the content correctly |
|
|
|
|
|
|
|
.icon { |
|
|
|
|
|
|
|
top: 2px; |
|
|
|
|
|
|
|
padding: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.pull-left { |
|
|
|
|
|
|
|
margin-left: -10px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.icon { |
|
|
|
|
|
|
|
margin-right: -5px; |
|
|
|
|
|
|
|
margin-left: -7px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.pull-right { |
|
|
|
|
|
|
|
margin-right: -10px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.icon { |
|
|
|
|
|
|
|
margin-right: -7px; |
|
|
|
|
|
|
|
margin-left: -5px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Bars with block buttons |
|
|
|
// Bars with block buttons |
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Add proper padding |
|
|
|
// Add proper padding |
|
|
|
.bar .btn-block { |
|
|
|
.bar .btn-block { |
|
|
|
padding: 7px 0 6px; |
|
|
|
padding: 7px 0 6px; |
|
|
@ -188,24 +162,24 @@ |
|
|
|
font-size: 16px; // Scale down font size to fit in bar. |
|
|
|
font-size: 16px; // Scale down font size to fit in bar. |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Nav buttons (Only applicable within bars) |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// Buttons inside bar that sit closer against the viewport. |
|
|
|
|
|
|
|
.bar .btn-nav { |
|
|
|
|
|
|
|
&.pull-left { |
|
|
|
|
|
|
|
margin-left: -5px; |
|
|
|
|
|
|
|
|
|
|
|
// Bars for search forms |
|
|
|
.icon-left-nav { |
|
|
|
// -------------------------------------------------- |
|
|
|
margin-right: -3px; |
|
|
|
|
|
|
|
} |
|
|
|
// Position/size search bar within the bar |
|
|
|
} |
|
|
|
.bar input[type="search"] { |
|
|
|
&.pull-right { |
|
|
|
height: 29px; |
|
|
|
margin-right: -5px; |
|
|
|
margin: 6px 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Bars with segmented controls |
|
|
|
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Remove standard segmented bottom margin |
|
|
|
.icon-right-nav { |
|
|
|
.bar .segmented-control { |
|
|
|
margin-left: -3px; |
|
|
|
top: 8px; |
|
|
|
} |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -215,22 +189,17 @@ |
|
|
|
.bar { |
|
|
|
.bar { |
|
|
|
.icon { |
|
|
|
.icon { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
padding: 10px 13px; |
|
|
|
padding: 10px 0; |
|
|
|
z-index: 20; // Position the buttons on top of .title |
|
|
|
z-index: 20; // Position the buttons on top of .title |
|
|
|
font-size: 24px; |
|
|
|
font-size: 24px; |
|
|
|
} |
|
|
|
} |
|
|
|
> .icon { |
|
|
|
|
|
|
|
padding-right: 5px; |
|
|
|
|
|
|
|
padding-left: 5px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Offset the bar's side padding |
|
|
|
// Handle the larger icons in btns. |
|
|
|
&.pull-left { |
|
|
|
.btn .icon { |
|
|
|
margin-left: -10px; |
|
|
|
top: 2px; |
|
|
|
} |
|
|
|
padding: 0; |
|
|
|
&.pull-right { |
|
|
|
|
|
|
|
margin-right: -10px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Handle carets in the titles |
|
|
|
// Handle carets in the titles |
|
|
|
.title .icon { |
|
|
|
.title .icon { |
|
|
|
padding: 0; |
|
|
|
padding: 0; |
|
|
@ -241,3 +210,23 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Bars for search forms |
|
|
|
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Position/size search bar within the bar |
|
|
|
|
|
|
|
.bar input[type="search"] { |
|
|
|
|
|
|
|
height: 29px; |
|
|
|
|
|
|
|
margin: 6px 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Bars with segmented controls |
|
|
|
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Remove standard segmented bottom margin |
|
|
|
|
|
|
|
.bar .segmented-control { |
|
|
|
|
|
|
|
top: 8px; |
|
|
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
} |
|
|
|