0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Bootstrap/docs/assets/less/zero-clipboard.less

34 lines
589 B
Plaintext
Raw Normal View History

2017-07-03 00:09:46 +02:00
.zero-clipboard {
position: relative;
display: none;
}
.btn-clipboard {
position: absolute;
top: 0;
right: 0;
z-index: 10;
display: block;
padding: 5px 8px;
font-size: 12px;
color: #767676;
cursor: pointer;
background-color: #fff;
border: 1px solid #e1e1e8;
2017-11-26 03:06:34 +01:00
border-radius: 0 4px;
2017-07-03 00:09:46 +02:00
}
.btn-clipboard-hover {
color: #fff;
background-color: #563d7c;
border-color: #563d7c;
}
2017-07-03 00:28:51 +02:00
@media (min-width: @screen-sm-min) {
2017-07-03 00:09:46 +02:00
.zero-clipboard {
display: block;
}
.bs-example + .zero-clipboard .btn-clipboard {
top: -16px;
border-top-right-radius: 0;
}
}