1
0
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:
Mark Otto
2021-03-18 22:16:11 -07:00
committed by Mark Otto
parent 062ecf67b2
commit cdf56e0eef
2 changed files with 41 additions and 13 deletions

View File

@@ -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;
}
}