Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
208e0384
Commit
208e0384
authored
7 years ago
by
Pierre Vanduynslager
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge branch 'v4-dev' into dropdown-keyboard
parents
81e12d57
29460b20
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
bower.json
+1
-0
bower.json
docs/components/carousel.md
+4
-4
docs/components/carousel.md
docs/examples/carousel/index.html
+1
-1
docs/examples/carousel/index.html
js/tests/visual/carousel.html
+1
-1
js/tests/visual/carousel.html
package.json
+0
-2
package.json
scss/_buttons.scss
+0
-1
scss/_buttons.scss
scss/_custom-forms.scss
+0
-3
scss/_custom-forms.scss
scss/_dropdown.scss
+0
-1
scss/_dropdown.scss
scss/_forms.scss
+0
-5
scss/_forms.scss
scss/_list-group.scss
+0
-1
scss/_list-group.scss
scss/_nav.scss
+1
-2
scss/_nav.scss
scss/_pagination.scss
+0
-1
scss/_pagination.scss
scss/_reboot.scss
+0
-7
scss/_reboot.scss
scss/_variables.scss
+0
-3
scss/_variables.scss
with
8 additions
and
32 deletions
+8
-32
bower.json
+
1
-
0
View file @
208e0384
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
"composer.json"
,
"composer.json"
,
"CONTRIBUTING.md"
,
"CONTRIBUTING.md"
,
"docs"
,
"docs"
,
"Gruntfile.js"
,
"js/tests"
,
"js/tests"
,
"test-infra"
"test-infra"
],
],
...
...
This diff is collapsed.
Click to expand it.
docs/components/carousel.md
+
4
-
4
View file @
208e0384
...
@@ -28,7 +28,7 @@ Here's a carousel with slides only. Note the presence of the `.d-block` and `.im
...
@@ -28,7 +28,7 @@ Here's a carousel with slides only. Note the presence of the `.d-block` and `.im
{% example html %}
{% example html %}
<div
id=
"carouselExampleSlidesOnly"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
id=
"carouselExampleSlidesOnly"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-item active"
>
<div
class=
"carousel-item active"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
</div>
</div>
...
@@ -48,7 +48,7 @@ Adding in the previous and next controls:
...
@@ -48,7 +48,7 @@ Adding in the previous and next controls:
{% example html %}
{% example html %}
<div
id=
"carouselExampleControls"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
id=
"carouselExampleControls"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-item active"
>
<div
class=
"carousel-item active"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
</div>
</div>
...
@@ -81,7 +81,7 @@ You can also add the indicators to the carousel, alongside the controls, too.
...
@@ -81,7 +81,7 @@ You can also add the indicators to the carousel, alongside the controls, too.
<li
data-target=
"#carouselExampleIndicators"
data-slide-to=
"1"
></li>
<li
data-target=
"#carouselExampleIndicators"
data-slide-to=
"1"
></li>
<li
data-target=
"#carouselExampleIndicators"
data-slide-to=
"2"
></li>
<li
data-target=
"#carouselExampleIndicators"
data-slide-to=
"2"
></li>
</ol>
</ol>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-item active"
>
<div
class=
"carousel-item active"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
</div>
</div>
...
@@ -120,7 +120,7 @@ Add captions to your slides easily with the `.carousel-caption` element within a
...
@@ -120,7 +120,7 @@ Add captions to your slides easily with the `.carousel-caption` element within a
<li
data-target=
"#carouselExampleCaptions"
data-slide-to=
"1"
></li>
<li
data-target=
"#carouselExampleCaptions"
data-slide-to=
"1"
></li>
<li
data-target=
"#carouselExampleCaptions"
data-slide-to=
"2"
></li>
<li
data-target=
"#carouselExampleCaptions"
data-slide-to=
"2"
></li>
</ol>
</ol>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-item active"
>
<div
class=
"carousel-item active"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
<img
class=
"d-block w-100"
data-src=
"holder.js/800x400?auto=yes&bg=777&fg=555&text=First slide"
alt=
"First slide"
>
<div
class=
"carousel-caption d-none d-md-block"
>
<div
class=
"carousel-caption d-none d-md-block"
>
...
...
This diff is collapsed.
Click to expand it.
docs/examples/carousel/index.html
+
1
-
1
View file @
208e0384
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<li
data-target=
"#myCarousel"
data-slide-to=
"1"
></li>
<li
data-target=
"#myCarousel"
data-slide-to=
"1"
></li>
<li
data-target=
"#myCarousel"
data-slide-to=
"2"
></li>
<li
data-target=
"#myCarousel"
data-slide-to=
"2"
></li>
</ol>
</ol>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-item active"
>
<div
class=
"carousel-item active"
>
<img
class=
"first-slide"
src=
"data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="
alt=
"First slide"
>
<img
class=
"first-slide"
src=
"data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="
alt=
"First slide"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/carousel.html
+
1
-
1
View file @
208e0384
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<li
data-target=
"#carousel-example-generic"
data-slide-to=
"1"
></li>
<li
data-target=
"#carousel-example-generic"
data-slide-to=
"1"
></li>
<li
data-target=
"#carousel-example-generic"
data-slide-to=
"2"
></li>
<li
data-target=
"#carousel-example-generic"
data-slide-to=
"2"
></li>
</ol>
</ol>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"carousel-inner"
>
<div
class=
"carousel-item active"
>
<div
class=
"carousel-item active"
>
<img
src=
"https://37.media.tumblr.com/tumblr_m8tay0JcfG1qa42jro1_1280.jpg"
alt=
"First slide"
>
<img
src=
"https://37.media.tumblr.com/tumblr_m8tay0JcfG1qa42jro1_1280.jpg"
alt=
"First slide"
>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
package.json
+
0
-
2
View file @
208e0384
...
@@ -88,10 +88,8 @@
...
@@ -88,10 +88,8 @@
},
},
"files"
:
[
"files"
:
[
"dist"
,
"dist"
,
"grunt"
,
"js/**/*.js"
,
"js/**/*.js"
,
"scss/**/*.scss"
,
"scss/**/*.scss"
,
"Gruntfile.js"
,
"LICENSE"
"LICENSE"
],
],
"jspm"
:
{
"jspm"
:
{
...
...
This diff is collapsed.
Click to expand it.
scss/_buttons.scss
+
0
-
1
View file @
208e0384
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
// Disabled comes first so active can properly restyle
// Disabled comes first so active can properly restyle
&
.disabled
,
&
.disabled
,
&
:disabled
{
&
:disabled
{
cursor
:
$cursor-disabled
;
opacity
:
.65
;
opacity
:
.65
;
@include
box-shadow
(
none
);
@include
box-shadow
(
none
);
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_custom-forms.scss
+
0
-
3
View file @
208e0384
...
@@ -41,13 +41,11 @@
...
@@ -41,13 +41,11 @@
&
:disabled
{
&
:disabled
{
~
.custom-control-indicator
{
~
.custom-control-indicator
{
cursor
:
$custom-control-disabled-cursor
;
background-color
:
$custom-control-disabled-indicator-bg
;
background-color
:
$custom-control-disabled-indicator-bg
;
}
}
~
.custom-control-description
{
~
.custom-control-description
{
color
:
$custom-control-disabled-description-color
;
color
:
$custom-control-disabled-description-color
;
cursor
:
$custom-control-disabled-cursor
;
}
}
}
}
}
}
...
@@ -165,7 +163,6 @@
...
@@ -165,7 +163,6 @@
&
:disabled
{
&
:disabled
{
color
:
$custom-select-disabled-color
;
color
:
$custom-select-disabled-color
;
cursor
:
$cursor-disabled
;
background-color
:
$custom-select-disabled-bg
;
background-color
:
$custom-select-disabled-bg
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_dropdown.scss
+
0
-
1
View file @
208e0384
...
@@ -90,7 +90,6 @@
...
@@ -90,7 +90,6 @@
&
.disabled
,
&
.disabled
,
&
:disabled
{
&
:disabled
{
color
:
$dropdown-link-disabled-color
;
color
:
$dropdown-link-disabled-color
;
cursor
:
$cursor-disabled
;
background-color
:
transparent
;
background-color
:
transparent
;
// Remove CSS gradients if they're enabled
// Remove CSS gradients if they're enabled
@if
$enable-gradients
{
@if
$enable-gradients
{
...
...
This diff is collapsed.
Click to expand it.
scss/_forms.scss
+
0
-
5
View file @
208e0384
...
@@ -58,10 +58,6 @@
...
@@ -58,10 +58,6 @@
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
opacity
:
1
;
opacity
:
1
;
}
}
&
:disabled
{
cursor
:
$cursor-disabled
;
}
}
}
select
.form-control
{
select
.form-control
{
...
@@ -212,7 +208,6 @@ select.form-control-lg {
...
@@ -212,7 +208,6 @@ select.form-control-lg {
&
.disabled
{
&
.disabled
{
.form-check-label
{
.form-check-label
{
color
:
$text-muted
;
color
:
$text-muted
;
cursor
:
$cursor-disabled
;
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_list-group.scss
+
0
-
1
View file @
208e0384
...
@@ -65,7 +65,6 @@
...
@@ -65,7 +65,6 @@
&
.disabled
,
&
.disabled
,
&
:disabled
{
&
:disabled
{
color
:
$list-group-disabled-color
;
color
:
$list-group-disabled-color
;
cursor
:
$cursor-disabled
;
background-color
:
$list-group-disabled-bg
;
background-color
:
$list-group-disabled-bg
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_nav.scss
+
1
-
2
View file @
208e0384
...
@@ -19,10 +19,9 @@
...
@@ -19,10 +19,9 @@
text-decoration
:
none
;
text-decoration
:
none
;
}
}
// Disabled state lightens text
and removes hover/tab effects
// Disabled state lightens text
&
.disabled
{
&
.disabled
{
color
:
$nav-disabled-link-color
;
color
:
$nav-disabled-link-color
;
cursor
:
$cursor-disabled
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_pagination.scss
+
0
-
1
View file @
208e0384
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
&
.disabled
.page-link
{
&
.disabled
.page-link
{
color
:
$pagination-disabled-color
;
color
:
$pagination-disabled-color
;
pointer-events
:
none
;
pointer-events
:
none
;
cursor
:
$cursor-disabled
;
// While `pointer-events: none` removes the cursor in modern browsers, we provide a disabled cursor as a fallback.
background-color
:
$pagination-disabled-bg
;
background-color
:
$pagination-disabled-bg
;
border-color
:
$pagination-disabled-border
;
border-color
:
$pagination-disabled-border
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_reboot.scss
+
0
-
7
View file @
208e0384
...
@@ -368,13 +368,6 @@ input[type="radio"],
...
@@ -368,13 +368,6 @@ input[type="radio"],
input
[
type
=
"checkbox"
]
{
input
[
type
=
"checkbox"
]
{
box-sizing
:
border-box
;
// 1. Add the correct box sizing in IE 10-
box-sizing
:
border-box
;
// 1. Add the correct box sizing in IE 10-
padding
:
0
;
// 2. Remove the padding in IE 10-
padding
:
0
;
// 2. Remove the padding in IE 10-
// Apply a disabled cursor for radios and checkboxes.
//
// Note: Neither radios nor checkboxes can be readonly.
&
:disabled
{
cursor
:
$cursor-disabled
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
0
-
3
View file @
208e0384
...
@@ -433,8 +433,6 @@ $form-group-margin-bottom: 1rem !default;
...
@@ -433,8 +433,6 @@ $form-group-margin-bottom: 1rem !default;
$input-group-addon-bg
:
$gray-lighter
!
default
;
$input-group-addon-bg
:
$gray-lighter
!
default
;
$input-group-addon-border-color
:
$input-border-color
!
default
;
$input-group-addon-border-color
:
$input-border-color
!
default
;
$cursor-disabled
:
not
-
allowed
!
default
;
$custom-control-gutter
:
1
.5rem
!
default
;
$custom-control-gutter
:
1
.5rem
!
default
;
$custom-control-spacer-y
:
.25rem
!
default
;
$custom-control-spacer-y
:
.25rem
!
default
;
$custom-control-spacer-x
:
1rem
!
default
;
$custom-control-spacer-x
:
1rem
!
default
;
...
@@ -444,7 +442,6 @@ $custom-control-indicator-bg: #ddd !default;
...
@@ -444,7 +442,6 @@ $custom-control-indicator-bg: #ddd !default;
$custom-control-indicator-bg-size
:
50%
50%
!
default
;
$custom-control-indicator-bg-size
:
50%
50%
!
default
;
$custom-control-indicator-box-shadow
:
inset
0
.25rem
.25rem
rgba
(
$black
,.
1
)
!
default
;
$custom-control-indicator-box-shadow
:
inset
0
.25rem
.25rem
rgba
(
$black
,.
1
)
!
default
;
$custom-control-disabled-cursor
:
$cursor-disabled
!
default
;
$custom-control-disabled-indicator-bg
:
$gray-lighter
!
default
;
$custom-control-disabled-indicator-bg
:
$gray-lighter
!
default
;
$custom-control-disabled-description-color
:
$gray-light
!
default
;
$custom-control-disabled-description-color
:
$gray-light
!
default
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment