0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Merge branch 'master' into need-to-activate-animated-progressbar

This commit is contained in:
Mark Otto 2014-10-26 14:43:32 -07:00
commit 66bb0b4fc9
5 changed files with 15 additions and 4 deletions

View File

@ -3,6 +3,11 @@
description: Bootstrap 中文文档 description: Bootstrap 中文文档
url: http://v3.bootcss.com/ url: http://v3.bootcss.com/
- name: Danish
code: da
description: Bootstrap på Dansk
url: http://getbootstrap.dk/
- name: French - name: French
code: fr code: fr
description: Bootstrap en Français description: Bootstrap en Français

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long

View File

@ -882,7 +882,8 @@ h1[id] {
} }
/* Tweak display of the code snippets when following an example */ /* Tweak display of the code snippets when following an example */
.bs-example + .highlight { .bs-example + .highlight,
.bs-example + .zero-clipboard + .highlight {
margin: -15px -15px 15px; margin: -15px -15px 15px;
border-width: 0 0 1px; border-width: 0 0 1px;
border-radius: 0; border-radius: 0;
@ -900,7 +901,8 @@ h1[id] {
-webkit-box-shadow: none; -webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
.bs-example + .highlight { .bs-example + .highlight,
.bs-example + .zero-clipboard + .highlight {
margin-top: -16px; margin-top: -16px;
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
@ -1521,6 +1523,10 @@ h1[id] {
.zero-clipboard { .zero-clipboard {
display: block; display: block;
} }
.bs-example + .zero-clipboard .btn-clipboard {
top: -16px;
border-top-right-radius: 0;
}
} }

View File

@ -8,7 +8,7 @@ module.exports = function generateCommonJSModule(grunt, srcFiles, destFilepath)
var destDir = path.dirname(destFilepath); var destDir = path.dirname(destFilepath);
function srcPathToDestRequire(srcFilepath) { function srcPathToDestRequire(srcFilepath) {
var requirePath = path.relative(destDir, srcFilepath); var requirePath = path.relative(destDir, srcFilepath).replace(/\\/g, '/');
return 'require(\'' + requirePath + '\')'; return 'require(\'' + requirePath + '\')';
} }