parent
18f74b0f53
commit
8a22b5cdfb
15 changed files with 5615 additions and 2 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,5 @@ |
||||
Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs. |
||||
|
||||
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. |
||||
|
||||
Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. |
||||
@ -0,0 +1,6 @@ |
||||
source 'https://rubygems.org' |
||||
|
||||
group :development, :test do |
||||
gem 'jekyll', '~> 3.1.2' |
||||
gem 'jekyll-sitemap', '~> 0.11.0' |
||||
end |
||||
@ -0,0 +1,43 @@ |
||||
GEM |
||||
remote: https://rubygems.org/ |
||||
specs: |
||||
addressable (2.4.0) |
||||
colorator (0.1) |
||||
ffi (1.9.14-x64-mingw32) |
||||
jekyll (3.1.6) |
||||
colorator (~> 0.1) |
||||
jekyll-sass-converter (~> 1.0) |
||||
jekyll-watch (~> 1.1) |
||||
kramdown (~> 1.3) |
||||
liquid (~> 3.0) |
||||
mercenary (~> 0.3.3) |
||||
rouge (~> 1.7) |
||||
safe_yaml (~> 1.0) |
||||
jekyll-sass-converter (1.4.0) |
||||
sass (~> 3.4) |
||||
jekyll-sitemap (0.11.0) |
||||
addressable (~> 2.4.0) |
||||
jekyll-watch (1.4.0) |
||||
listen (~> 3.0, < 3.1) |
||||
kramdown (1.11.1) |
||||
liquid (3.0.6) |
||||
listen (3.0.8) |
||||
rb-fsevent (~> 0.9, >= 0.9.4) |
||||
rb-inotify (~> 0.9, >= 0.9.7) |
||||
mercenary (0.3.6) |
||||
rb-fsevent (0.9.7) |
||||
rb-inotify (0.9.7) |
||||
ffi (>= 0.5.0) |
||||
rouge (1.11.1) |
||||
safe_yaml (1.0.4) |
||||
sass (3.4.22) |
||||
|
||||
PLATFORMS |
||||
x64-mingw32 |
||||
|
||||
DEPENDENCIES |
||||
jekyll (~> 3.1.2) |
||||
jekyll-sitemap (~> 0.11.0) |
||||
|
||||
BUNDLED WITH |
||||
1.12.5 |
||||
@ -0,0 +1,22 @@ |
||||
Before opening an issue: |
||||
|
||||
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) |
||||
- [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems |
||||
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs |
||||
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) |
||||
|
||||
When asking general "how to" questions: |
||||
|
||||
- Please do not open an issue here |
||||
- Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community) |
||||
|
||||
When reporting a bug, include: |
||||
|
||||
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile) |
||||
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) |
||||
- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com) |
||||
|
||||
When suggesting a feature, include: |
||||
|
||||
- As much detail as possible for what we should add and why it's important to Bootstrap |
||||
- Relevant links to prior art, screenshots, or live demos whenever possible |
||||
@ -0,0 +1,109 @@ |
||||
#!/usr/bin/env node
|
||||
'use strict'; |
||||
|
||||
/* globals Set */ |
||||
/*! |
||||
* Script to update version number references in the project. |
||||
* Copyright 2015 Twitter, Inc. |
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/ |
||||
var fs = require('fs'); |
||||
var path = require('path'); |
||||
var sh = require('shelljs'); |
||||
sh.config.fatal = true; |
||||
var sed = sh.sed; |
||||
|
||||
// Blame TC39... https://github.com/benjamingr/RegExp.escape/issues/37
|
||||
RegExp.quote = function (string) { |
||||
return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&'); |
||||
}; |
||||
RegExp.quoteReplacement = function (string) { |
||||
return string.replace(/[$]/g, '$$'); |
||||
}; |
||||
|
||||
var DRY_RUN = false; |
||||
|
||||
function walkAsync(directory, excludedDirectories, fileCallback, errback) { |
||||
if (excludedDirectories.has(path.parse(directory).base)) { |
||||
return; |
||||
} |
||||
fs.readdir(directory, function (err, names) { |
||||
if (err) { |
||||
errback(err); |
||||
return; |
||||
} |
||||
names.forEach(function (name) { |
||||
var filepath = path.join(directory, name); |
||||
fs.lstat(filepath, function (err, stats) { |
||||
if (err) { |
||||
process.nextTick(errback, err); |
||||
return; |
||||
} |
||||
if (stats.isSymbolicLink()) { |
||||
return; |
||||
} |
||||
else if (stats.isDirectory()) { |
||||
process.nextTick(walkAsync, filepath, excludedDirectories, fileCallback, errback); |
||||
} |
||||
else if (stats.isFile()) { |
||||
process.nextTick(fileCallback, filepath); |
||||
} |
||||
}); |
||||
}); |
||||
}); |
||||
} |
||||
|
||||
function replaceRecursively(directory, excludedDirectories, allowedExtensions, original, replacement) { |
||||
original = new RegExp(RegExp.quote(original), 'g'); |
||||
replacement = RegExp.quoteReplacement(replacement); |
||||
var updateFile = !DRY_RUN ? function (filepath) { |
||||
if (allowedExtensions.has(path.parse(filepath).ext)) { |
||||
sed('-i', original, replacement, filepath); |
||||
} |
||||
} : function (filepath) { |
||||
if (allowedExtensions.has(path.parse(filepath).ext)) { |
||||
console.log('FILE: ' + filepath); |
||||
} |
||||
else { |
||||
console.log('EXCLUDED:' + filepath); |
||||
} |
||||
}; |
||||
walkAsync(directory, excludedDirectories, updateFile, function (err) { |
||||
console.error('ERROR while traversing directory!:'); |
||||
console.error(err); |
||||
process.exit(1); |
||||
}); |
||||
} |
||||
|
||||
function main(args) { |
||||
if (args.length !== 2) { |
||||
console.error('USAGE: change-version old_version new_version'); |
||||
console.error('Got arguments:', args); |
||||
process.exit(1); |
||||
} |
||||
var oldVersion = args[0]; |
||||
var newVersion = args[1]; |
||||
var EXCLUDED_DIRS = new Set([ |
||||
'.git', |
||||
'node_modules', |
||||
'vendor' |
||||
]); |
||||
var INCLUDED_EXTENSIONS = new Set([ |
||||
// This extension whitelist is how we avoid modifying binary files
|
||||
'', |
||||
'.css', |
||||
'.html', |
||||
'.js', |
||||
'.json', |
||||
'.less', |
||||
'.md', |
||||
'.nuspec', |
||||
'.ps1', |
||||
'.scss', |
||||
'.txt', |
||||
'.yml' |
||||
]); |
||||
replaceRecursively('.', EXCLUDED_DIRS, INCLUDED_EXTENSIONS, oldVersion, newVersion); |
||||
} |
||||
|
||||
main(process.argv.slice(2)); |
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,18 @@ |
||||
.reset-text() { |
||||
font-family: @font-family-base; |
||||
// We deliberately do NOT reset font-size. |
||||
font-style: normal; |
||||
font-weight: normal; |
||||
letter-spacing: normal; |
||||
line-break: auto; |
||||
line-height: @line-height-base; |
||||
text-align: left; // Fallback for where `start` is not supported |
||||
text-align: start; |
||||
text-decoration: none; |
||||
text-shadow: none; |
||||
text-transform: none; |
||||
white-space: normal; |
||||
word-break: normal; |
||||
word-spacing: normal; |
||||
word-wrap: normal; |
||||
} |
||||
@ -0,0 +1,8 @@ |
||||
$nuget = $env:NuGet |
||||
|
||||
# parse the version number out of package.json |
||||
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version |
||||
|
||||
# create packages |
||||
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion |
||||
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion |
||||
@ -0,0 +1,28 @@ |
||||
<?xml version="1.0"?> |
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> |
||||
<metadata> |
||||
<id>bootstrap.less</id> |
||||
<version>3.3.7</version> |
||||
<title>Bootstrap Less</title> |
||||
<authors>Twitter, Inc.</authors> |
||||
<owners>bootstrap</owners> |
||||
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description> |
||||
<releaseNotes>http://blog.getbootstrap.com</releaseNotes> |
||||
<summary>Bootstrap framework in Less. Includes fonts and JavaScript</summary> |
||||
<language>en-us</language> |
||||
<projectUrl>http://getbootstrap.com</projectUrl> |
||||
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl> |
||||
<licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl> |
||||
<copyright>Copyright 2016</copyright> |
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
||||
<dependencies> |
||||
<dependency id="jQuery" version="[1.9.1,4)" /> |
||||
</dependencies> |
||||
<tags>css js less mobile-first responsive front-end framework web</tags> |
||||
</metadata> |
||||
<files> |
||||
<file src="less\**\*.less" target="content\Content\bootstrap" /> |
||||
<file src="fonts\*.*" target="content\Content\fonts" /> |
||||
<file src="dist\js\bootstrap*.js" target="content\Scripts" /> |
||||
</files> |
||||
</package> |
||||
@ -0,0 +1,28 @@ |
||||
<?xml version="1.0"?> |
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> |
||||
<metadata> |
||||
<id>bootstrap</id> |
||||
<version>3.3.7</version> |
||||
<title>Bootstrap CSS</title> |
||||
<authors>Twitter, Inc.</authors> |
||||
<owners>bootstrap</owners> |
||||
<description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description> |
||||
<releaseNotes>http://blog.getbootstrap.com</releaseNotes> |
||||
<summary>Bootstrap framework in CSS. Includes fonts and JavaScript</summary> |
||||
<language>en-us</language> |
||||
<projectUrl>http://getbootstrap.com</projectUrl> |
||||
<iconUrl>http://getbootstrap.com/apple-touch-icon.png</iconUrl> |
||||
<licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl> |
||||
<copyright>Copyright 2016</copyright> |
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
||||
<dependencies> |
||||
<dependency id="jQuery" version="[1.9.1,4)" /> |
||||
</dependencies> |
||||
<tags>css js less mobile-first responsive front-end framework web</tags> |
||||
</metadata> |
||||
<files> |
||||
<file src="dist\css\*.*" target="content\Content" /> |
||||
<file src="dist\fonts\*.*" target="content\fonts" /> |
||||
<file src="dist\js\bootstrap*.js" target="content\Scripts" /> |
||||
</files> |
||||
</package> |
||||
@ -0,0 +1,23 @@ |
||||
/* PRETTIER LINKS */ |
||||
|
||||
a { |
||||
transition: color .3s ease-in-out; |
||||
} |
||||
|
||||
a:link { |
||||
color: @blue; |
||||
transition: color .3s ease-in-out; |
||||
} |
||||
|
||||
a:visited { |
||||
color: @purple; |
||||
} |
||||
|
||||
a:hover { |
||||
color: @aqua; |
||||
} |
||||
|
||||
a:active { |
||||
color: @orange; |
||||
} |
||||
|
||||
@ -0,0 +1,11 @@ |
||||
/* Prettier Links */ |
||||
|
||||
a { |
||||
transition: color .3s ease-in-out; |
||||
} |
||||
|
||||
a:link { color: $blue; } |
||||
a:visited { color: $purple; } |
||||
a:hover { color: $aqua; } |
||||
a:active { color: $orange; } |
||||
|
||||
@ -0,0 +1,13 @@ |
||||
/* ========================================================================== |
||||
PRETTIER LINKS |
||||
========================================================================== */ |
||||
|
||||
a { |
||||
transition: color .3s ease-in-out; |
||||
} |
||||
|
||||
a:link { color: blue; } |
||||
a:visited { color: purple; } |
||||
a:hover { color: aqua; } |
||||
a:active { color: orange; } |
||||
|
||||
Loading…
Reference in new issue