mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
b71cd6eb7d
- New Bootstrap purple navbar - Redesigned masthead - Rewrote and redesigned homepage content - Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances - Fixed padding issues in site footer - Match homepage button styles to examples page, use gap instead of tons of responsive margin utils
36 lines
530 B
SCSS
36 lines
530 B
SCSS
// clipboard.js
|
|
//
|
|
// JS-based `Copy` buttons for code snippets.
|
|
|
|
.bd-clipboard {
|
|
position: relative;
|
|
display: none;
|
|
float: right;
|
|
|
|
+ .highlight {
|
|
margin-top: 0;
|
|
}
|
|
|
|
@include media-breakpoint-up(md) {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.btn-clipboard {
|
|
position: absolute;
|
|
top: .75em;
|
|
right: .5em;
|
|
z-index: 10;
|
|
display: block;
|
|
padding: .5em .75em .625em;
|
|
line-height: 1;
|
|
color: $gray-900;
|
|
background-color: $gray-100;
|
|
border: 0;
|
|
@include border-radius(.25rem);
|
|
|
|
&:hover {
|
|
color: $primary;
|
|
}
|
|
}
|