Commit 1db3586d authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch 'v4-dev' into v4-navbars

parents d11c9334 4699fd4b
13 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26437merge,!22391V4 dev,!22547Finished a new translation for bootstrap,!22143Fix selectable disabled toggle radio buttons,!22598test,!21067dfsa,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!19890v4: Navbar improvements,!17021v4
Showing with 70 additions and 11 deletions
+70 -11
...@@ -170,6 +170,7 @@ module.exports = function (grunt) { ...@@ -170,6 +170,7 @@ module.exports = function (grunt) {
compatibility: 'ie9', compatibility: 'ie9',
keepSpecialComments: '*', keepSpecialComments: '*',
sourceMap: true, sourceMap: true,
sourceMapInlineSources: true,
advanced: false advanced: false
}, },
core: { core: {
......
...@@ -14,7 +14,7 @@ destination: _gh_pages ...@@ -14,7 +14,7 @@ destination: _gh_pages
host: 0.0.0.0 host: 0.0.0.0
port: 9001 port: 9001
baseurl: "" baseurl: ""
url: http://getbootstrap.com url: http://v4-alpha.getbootstrap.com
encoding: UTF-8 encoding: UTF-8
exclude: [assets/scss/] exclude: [assets/scss/]
...@@ -22,6 +22,14 @@ gems: ...@@ -22,6 +22,14 @@ gems:
- jekyll-redirect-from - jekyll-redirect-from
- jekyll-sitemap - jekyll-sitemap
# Social
title: Bootstrap
description: The most popular HTML, CSS, and JS framework in the world.
twitter: getbootstrap
authors: Mark Otto, Jacob Thornton, and Bootstrap contributors
social_logo_path: /assets/brand/bootstrap-social-logo.png
social_image_path: /assets/brand/bootstrap-social.png
# Custom vars # Custom vars
current_version: 4.0.0-alpha.4 current_version: 4.0.0-alpha.4
repo: https://github.com/twbs/bootstrap repo: https://github.com/twbs/bootstrap
......
-
browser: >
Microsoft Edge
summary: >
Visual artifacts in scrollable modal dialogs
upstream_bug: >
Edge#9011176
origin: >
Bootstrap#20755
- -
browser: > browser: >
Microsoft Edge Microsoft Edge
......
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<title> <title>
{% if page.layout == "home" %} {% if page.title %}
{{ page.title }} {{ page.title }} &middot; {{ site.title }}
{% else %} {% else %}
{{ page.title }} &middot; Bootstrap {{ site.title }} &middot; {{ site.description }}
{% endif %} {% endif %}
</title> </title>
{% include social.html %}
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
{% if site.github %} {% if site.github %}
<link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet">
......
<!-- Twitter -->
<meta name="twitter:site" content="@{{ site.twitter }}">
<meta name="twitter:creator" content="@{{ site.twitter }}">
{% if page.title %}
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ page.title }}">
<meta name="twitter:description" content="{{ page.description }}">
<meta name="twitter:image" content="{{ site.url }}{{ site.social_logo_path }}">
{% else %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ site.title }}">
<meta name="twitter:description" content="{{ site.description }}">
<meta name="twitter:image" content="{{ site.url }}{{ site.social_image_path }}">
{% endif %}
<!-- Facebook -->
{% if page.title %}
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:title" content="{{ page.title }}">
<meta property="og:description" content="{{ page.description }}">
{% else %}
<meta property="og:url" content="{{ site.url }}">
<meta property="og:title" content="{{ site.title }}">
<meta property="og:description" content="{{ site.description }}">
{% endif %}
<meta property="og:image" content="{{ site.url }}{{ site.social_image_path }}">
<!-- Meta -->
<meta name="description" content="{{ site.description }}">
<meta name="author" content="{{ site.authors }}">
--- ---
layout: docs layout: docs
title: Brand guidelines title: Brand guidelines
description: Documentation and examples for Bootstrap's logo and brand usage guidelines.
group: about group: about
--- ---
......
--- ---
layout: docs layout: docs
title: History title: History
description: A brief overview of the history of Bootstrap.
group: about group: about
redirect_from: "/about/" redirect_from: "/about/"
--- ---
......
--- ---
layout: docs layout: docs
title: License FAQs title: License FAQs
description: Commonly asked questions about Bootstrap's open source license.
group: about group: about
--- ---
......
--- ---
layout: docs layout: docs
title: Team title: Team
description: An overview of the founding team and core contributors to Bootstrap.
group: about group: about
--- ---
......
--- ---
layout: docs layout: docs
title: Translations title: Translations
description: Links to community-translated Bootstrap documentation sites.
group: about group: about
--- ---
......
docs/assets/brand/bootstrap-social-logo.png

45.1 KB

docs/assets/brand/bootstrap-social.png

330 KB

...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
.highlight { .highlight {
padding: 1rem; padding: 1rem;
margin: 1rem (-$grid-gutter-width / 2); margin: 1rem (-$grid-gutter-width-base / 2);
background-color: #f7f7f9; background-color: #f7f7f9;
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
......
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
.col-sm-6:first-child { .col-sm-6:first-child {
padding-right: ($grid-gutter-width * 1.5); padding-right: ($grid-gutter-width-base * 1.5);
}; };
.col-sm-6:last-child { .col-sm-6:last-child {
padding-left: ($grid-gutter-width * 1.5); padding-left: ($grid-gutter-width-base * 1.5);
} }
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.bd-masthead { .bd-masthead {
position: relative; position: relative;
padding: 3rem ($grid-gutter-width / 2) 2rem; padding: 3rem ($grid-gutter-width-base / 2) 2rem;
color: $bd-purple-light; color: $bd-purple-light;
text-align: center; text-align: center;
background-image: linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%)); background-image: linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%));
......
// scss-lint:disable ImportantRule // scss-lint:disable ImportantRule
.bd-pageheader { .bd-pageheader {
padding: 2rem ($grid-gutter-width / 2); padding: 2rem ($grid-gutter-width-base / 2);
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
color: $bd-purple-light; color: $bd-purple-light;
text-align: center; text-align: center;
......
--- ---
layout: docs layout: docs
title: Alerts title: Alerts
description: Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
group: components group: components
--- ---
......
--- ---
layout: docs layout: docs
title: Breadcrumb title: Breadcrumb
description: Indicate the current page's location within a navigational hierarchy.
group: components group: components
--- ---
......
--- ---
layout: docs layout: docs
title: Button group title: Button group
description: Group a series of buttons together on a single line with the button group, and super-power them with JavaScript.
group: components group: components
--- ---
......
--- ---
layout: docs layout: docs
title: Buttons title: Buttons
description: Use Bootstrap's custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
group: components group: components
redirect_from: "/components/" redirect_from: "/components/"
--- ---
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment