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
261ed70a
Commit
261ed70a
authored
8 years ago
by
Mark Otto
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #21019 from Starsam80/fix-collapse
Rename .in to .active to fix collapse
parents
bcbbc8ee
aa08274d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_animation.scss
+4
-4
scss/_animation.scss
scss/_modal.scss
+2
-2
scss/_modal.scss
with
6 additions
and
6 deletions
+6
-6
scss/_animation.scss
+
4
-
4
View file @
261ed70a
...
...
@@ -2,26 +2,26 @@
opacity
:
0
;
transition
:
opacity
.15s
linear
;
&
.
in
{
&
.
active
{
opacity
:
1
;
}
}
.collapse
{
display
:
none
;
&
.
in
{
&
.
active
{
display
:
block
;
}
}
tr
{
&
.collapse.
in
{
&
.collapse.
active
{
display
:
table-row
;
}
}
tbody
{
&
.collapse.
in
{
&
.collapse.
active
{
display
:
table-row-group
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_modal.scss
+
2
-
2
View file @
261ed70a
...
...
@@ -31,7 +31,7 @@
transition
:
transform
.3s
ease-out
;
transform
:
translate
(
0
,
-25%
);
}
&
.
in
.modal-dialog
{
transform
:
translate
(
0
,
0
);
}
&
.
active
.modal-dialog
{
transform
:
translate
(
0
,
0
);
}
}
.modal-open
.modal
{
overflow-x
:
hidden
;
...
...
@@ -69,7 +69,7 @@
// Fade for backdrop
&
.fade
{
opacity
:
0
;
}
&
.
in
{
opacity
:
$modal-backdrop-opacity
;
}
&
.
active
{
opacity
:
$modal-backdrop-opacity
;
}
}
// Modal header
...
...
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