|
|
@ -129,21 +129,18 @@ input[type="button"] { |
|
|
|
// Buttons in nav bars |
|
|
|
// Buttons in nav bars |
|
|
|
// -------------------------------------------------- |
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
.bar-nav { |
|
|
|
.bar-nav .btn { |
|
|
|
// Generic style for all buttons in .bar-title |
|
|
|
position: relative; |
|
|
|
.btn { |
|
|
|
z-index: 10; // Position the buttons on top of .title |
|
|
|
position: relative; |
|
|
|
padding: 6px 12px; |
|
|
|
z-index: 10; // Position the buttons on top of .title |
|
|
|
margin-top: 8px; |
|
|
|
padding: 6px 12px; |
|
|
|
font-weight: $font-weight-light; |
|
|
|
margin-top: 8px; |
|
|
|
|
|
|
|
font-weight: $font-weight-light; |
|
|
|
&.pull-right { |
|
|
|
|
|
|
|
margin-left: $bar-side-spacing; |
|
|
|
&.pull-right { |
|
|
|
} |
|
|
|
margin-left: $bar-side-spacing; |
|
|
|
&.pull-left { |
|
|
|
} |
|
|
|
margin-right: $bar-side-spacing; |
|
|
|
&.pull-left { |
|
|
|
|
|
|
|
margin-right: $bar-side-spacing; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Link button (Buttons that look like links) |
|
|
|
// Link button (Buttons that look like links) |
|
|
@ -179,30 +176,25 @@ input[type="button"] { |
|
|
|
// Block level buttons in popovers |
|
|
|
// Block level buttons in popovers |
|
|
|
// -------------------------------------------------- |
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
.popover { |
|
|
|
.popover .btn-block { |
|
|
|
.btn-block { |
|
|
|
margin-bottom: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Remove extra margin on bottom of last button |
|
|
|
// Remove extra margin on bottom of last button |
|
|
|
.btn-block:last-child { |
|
|
|
&:last-child { |
|
|
|
margin-bottom: 0; |
|
|
|
margin-bottom: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
// Line the button text up with content's text |
|
|
|
} |
|
|
|
.bar-nav .btn-link { |
|
|
|
// Line the button text up with content's text |
|
|
|
&.pull-left { |
|
|
|
.bar-nav .btn-link { |
|
|
|
margin-left: 5px; |
|
|
|
&.pull-left { |
|
|
|
} |
|
|
|
margin-left: 5px; |
|
|
|
&.pull-right { |
|
|
|
} |
|
|
|
margin-right: 5px; |
|
|
|
&.pull-right { |
|
|
|
} |
|
|
|
margin-right: 5px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Buttons in table-views |
|
|
|
// Buttons in table-views |
|
|
|
// -------------------------------------------------- |
|
|
|
// -------------------------------------------------- |
|
|
|
.table-view { |
|
|
|
.table-view .btn { |
|
|
|
.btn { |
|
|
|
margin-top: -1px; // Center the btn inside the cell |
|
|
|
margin-top: -1px; // Center the btn inside the cell |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|