From bcc16d0754ccd274f72c60d51a19da0ed5916800 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Thu, 20 Aug 2015 22:31:48 -0400 Subject: [PATCH 1/5] Document migration from panels to cards X-Ref: #17120 for `.panel-default` replacement --- docs/migration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/migration.md b/docs/migration.md index 78eca6032b..9206c80343 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -88,6 +88,20 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with Dropped entirely for the new card component. +#### Panels + +- `.panel` to `.card` +- `.panel-default` removed and no replacement +- `.panel-heading` to `.card-header` +- `.panel-title` to `.card-title` +- `.panel-body` to `.card-block` +- `.panel-footer` to `.card-footer` +- `.panel-primary` to `.card-primary` and `.card-inverse` +- `.panel-success` to `.card-success` and `.card-inverse` +- `.panel-info` to `.card-info` and `.card-inverse` +- `.panel-warning` to `.card-warning` and `.card-inverse` +- `.panel-danger` to `.card-danger` and `.card-inverse` + ### Carousel - Renamed `.item` to `.carousel-item`. From e707a45b1f3c12b633d7186b61540cae93dc1128 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Thu, 20 Aug 2015 12:44:11 -0400 Subject: [PATCH 2/5] v4 - Dropup caret direction incorrect Fix #17144 --- scss/_dropdown.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index d3588d2707..615caae333 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -24,6 +24,15 @@ } } +.dropup { + .dropdown-toggle { + &:after { + border-bottom: $caret-width solid; + border-top: none; + } + } +} + // The dropdown menu (ul) .dropdown-menu { position: absolute; From 134c1ba4671b5444a23c74531e4775f27ce8f4a3 Mon Sep 17 00:00:00 2001 From: wangsai Date: Mon, 24 Aug 2015 07:45:12 +0800 Subject: [PATCH 3/5] Add jekyll-redirect-from plugin in Gemfile, ohterwise report ".../jekyll/plugin_mannager.rb:29:in require: cannot load such file -- jekyll-redirect-from (LoadError)" when jekyll build --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 23068bdfeb..cc3e50b7f4 100644 --- a/Gemfile +++ b/Gemfile @@ -8,4 +8,5 @@ group :development, :test do gem 'rouge', '~> 1.7.4' gem 'sass', '~> 3.4.9' gem 'scss-lint', '~> 0.31' + gem 'jekyll-redirect-from', '~> 0.8.0' end From 19deadda956c1a9dab4d0a3b778b158570bff422 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 23 Aug 2015 23:00:47 -0700 Subject: [PATCH 4/5] shorter --- scss/_dropdown.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index f50af30477..3b0df96d86 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -28,7 +28,7 @@ .dropdown-toggle { &:after { border-bottom: $caret-width solid; - border-top: none; + border-top: 0; } } } From 2dddf997a93c3bda874acb663a0da496f1525f52 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 23 Aug 2015 23:03:58 -0700 Subject: [PATCH 5/5] my bad, fix those values /cc @cvrebert --- docs/content/typography.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/typography.md b/docs/content/typography.md index 3145209ee8..264686b054 100644 --- a/docs/content/typography.md +++ b/docs/content/typography.md @@ -255,13 +255,13 @@ html { @include media-breakpoint-up(md) { html { - font-size: 28px; + font-size: 20px; } } @include media-breakpoint-up(lg) { html { - font-size: 20px; + font-size: 28px; } } {% endhighlight %}