|
|
|
@ -120,10 +120,10 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Nav bars with buttons |
|
|
|
|
// Bars with buttons |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
.bar-nav .btn { |
|
|
|
|
.bar .btn { |
|
|
|
|
position: relative; |
|
|
|
|
z-index: 20; // Position the buttons on top of .title |
|
|
|
|
padding: 6px 12px; |
|
|
|
@ -138,11 +138,10 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Nav bars with link buttons (Line the text up with content) |
|
|
|
|
.bar-nav .btn-link { |
|
|
|
|
// Bars with link buttons (Line the text up with content) |
|
|
|
|
.bar .btn-link { |
|
|
|
|
margin-top: 0; |
|
|
|
|
padding-top: 0; |
|
|
|
|
padding-bottom: 0; |
|
|
|
|
padding: 0; |
|
|
|
|
font-size: 16px; |
|
|
|
|
color: $primary-color; |
|
|
|
|
line-height: $bar-base-height; |
|
|
|
@ -152,34 +151,9 @@
|
|
|
|
|
&.active { |
|
|
|
|
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 |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
// Add proper padding |
|
|
|
|
.bar .btn-block { |
|
|
|
|
padding: 7px 0 6px; |
|
|
|
@ -188,24 +162,24 @@
|
|
|
|
|
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 |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
// Position/size search bar within the bar |
|
|
|
|
.bar input[type="search"] { |
|
|
|
|
height: 29px; |
|
|
|
|
margin: 6px 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Bars with segmented controls |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
.icon-left-nav { |
|
|
|
|
margin-right: -3px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.pull-right { |
|
|
|
|
margin-right: -5px; |
|
|
|
|
|
|
|
|
|
// Remove standard segmented bottom margin |
|
|
|
|
.bar .segmented-control { |
|
|
|
|
top: 8px; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
.icon-right-nav { |
|
|
|
|
margin-left: -3px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -215,22 +189,17 @@
|
|
|
|
|
.bar { |
|
|
|
|
.icon { |
|
|
|
|
position: relative; |
|
|
|
|
padding: 10px 13px; |
|
|
|
|
padding: 10px 0; |
|
|
|
|
z-index: 20; // Position the buttons on top of .title |
|
|
|
|
font-size: 24px; |
|
|
|
|
} |
|
|
|
|
> .icon { |
|
|
|
|
padding-right: 5px; |
|
|
|
|
padding-left: 5px; |
|
|
|
|
|
|
|
|
|
// Offset the bar's side padding |
|
|
|
|
&.pull-left { |
|
|
|
|
margin-left: -10px; |
|
|
|
|
} |
|
|
|
|
&.pull-right { |
|
|
|
|
margin-right: -10px; |
|
|
|
|
} |
|
|
|
|
// Handle the larger icons in btns. |
|
|
|
|
.btn .icon { |
|
|
|
|
top: 2px; |
|
|
|
|
padding: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Handle carets in the titles |
|
|
|
|
.title .icon { |
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|