Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
b4c4aed5
Commit
b4c4aed5
authored
May 09, 2013
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better fix for #405 that doesn't break animation
parent
af61c833
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
14 deletions
+36
-14
common.scss
h/css/common.scss
+36
-14
No files found.
h/css/common.scss
View file @
b4c4aed5
...
...
@@ -687,17 +687,9 @@ blockquote {
position
:
relative
;
&
>
ul
{
@include
single-transition
(
max-height
,
.4s
,
cubic-bezier
(
1
,
0
,
1
,
0
));
max-height
:
65536px
;
#
overflow
:
hidden
;
padding-left
:
$thread-padding
;
margin-left
:
-
$thread-padding
;
&
:hover
{
overflow
:
visible
;
}
&
>
*
{
border-left
:
1px
dotted
$grayLight
;
position
:
relative
;
...
...
@@ -731,6 +723,13 @@ blockquote {
//These are all the changes needed to collapse thread objects.
.collapsed
{
display
:
block
!
important
;
&
>
ul
{
max-height
:
0
;
overflow
:
hidden
;
}
&
>
.annotation
{
.body
*
{
overflow
:
hidden
;
...
...
@@ -748,15 +747,38 @@ blockquote {
}
}
&
>
.threadexp
{
background-image
:
url("../images/plus_1.png")
;
}
}
&
.collapse-hide-setup
,
&
.collapse-show-setup
{
@include
transition-duration
(
.4s
);
&
>
ul
{
@include
single-transition
(
max-height
,
.4s
,
cubic-bezier
(
0
,
1
,
0
,
1
));
@include
transition-duration
(
.4s
);
@include
transition-property
(
max-height
);
}
}
&
.collapse-hide-setup
>
ul
{
@include
transition-timing-function
(
cubic-bezier
(
0
,
1
,
0
,
1
));
max-height
:
65536px
;
overflow
:
hidden
;
}
&
.collapse-hide-start
>
ul
{
max-height
:
0
;
display
:
none
;
}
&
>
.threadexp
{
background-image
:
url("../images/plus_1.png")
;
&
.collapse-show-setup
>
ul
{
@include
transition-timing-function
(
cubic-bezier
(
1
,
0
,
1
,
0
));
max-height
:
0
;
overflow
:
hidden
;
}
&
.collapse-show-start
>
ul
{
max-height
:
65536px
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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