2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Replace ZeroClipboard with clipboard.js.

Things left:
1. clear the selection after copy
2. add messages for success and error
This commit is contained in:
XhmikosR
2015-10-14 00:50:42 +03:00
parent e544bf4cf8
commit c343b9f59d
8 changed files with 32 additions and 53 deletions
@@ -1,8 +1,8 @@
// ZeroClipboard
// clipboard.js
//
// Flash-based `Copy` buttons for code snippets.
.zero-clipboard {
.bd-clipboard {
position: relative;
display: none;
float: right;
@@ -28,7 +28,7 @@
}
@media (min-width: 768px) {
.zero-clipboard {
.bd-clipboard {
display: block;
}
}
+1 -1
View File
@@ -75,7 +75,7 @@
}
+ .highlight,
+ .zero-clipboard + .highlight {
+ .clipboard + .highlight {
margin-top: 0;
}
+1 -1
View File
@@ -57,7 +57,7 @@ $bd-info: #5bc0de;
@import "team";
@import "browser-bugs";
@import "brand";
@import "zeroclipboard";
@import "clipboard-js";
// Load docs dependencies
@import "syntax";