mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 15:50:01 +02:00
Update look and feel of examples and copy buttons
This commit is contained in:
@@ -18,20 +18,21 @@
|
||||
|
||||
.btn-clipboard {
|
||||
position: absolute;
|
||||
top: .65rem;
|
||||
right: .65rem;
|
||||
top: .35rem;
|
||||
right: .5rem;
|
||||
z-index: 10;
|
||||
display: block;
|
||||
padding: .25rem .5rem;
|
||||
@include font-size(.65em);
|
||||
color: $primary;
|
||||
background-color: $white;
|
||||
border: 1px solid;
|
||||
@include font-size(.75em);
|
||||
color: $gray-700;
|
||||
user-select: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
@include border-radius();
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $white;
|
||||
background-color: $primary;
|
||||
color: $gray-900;
|
||||
background-color: $gray-200;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user