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
3967adca
Commit
3967adca
authored
Aug 13, 2014
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Break thread styles out into threads.scss
parent
62e8a2cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
122 additions
and
122 deletions
+122
-122
base.scss
h/static/styles/base.scss
+0
-2
common.scss
h/static/styles/common.scss
+1
-120
threads.scss
h/static/styles/threads.scss
+121
-0
No files found.
h/static/styles/base.scss
View file @
3967adca
...
@@ -65,8 +65,6 @@ $highlight-mode-color: rgba(255, 255, 60, 0.3);
...
@@ -65,8 +65,6 @@ $highlight-mode-color: rgba(255, 255, 60, 0.3);
$highlight-mode-color-second
:
rgba
(
206
,
206
,
60
,
0
.4
);
$highlight-mode-color-second
:
rgba
(
206
,
206
,
60
,
0
.4
);
$highlight-mode-color-third
:
rgba
(
192
,
192
,
49
,
0
.4
);
$highlight-mode-color-third
:
rgba
(
192
,
192
,
49
,
0
.4
);
$highlight-mode-active-color
:
rgba
(
255
,
255
,
60
,
0
.7
);
$highlight-mode-active-color
:
rgba
(
255
,
255
,
60
,
0
.7
);
$thread-padding
:
1em
;
$threadexp-width
:
.6em
;
$score-width
:
40px
;
$score-width
:
40px
;
$score-height
:
$score-width
;
$score-height
:
$score-width
;
$heatmap-width
:
22px
;
$heatmap-width
:
22px
;
...
...
h/static/styles/common.scss
View file @
3967adca
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
@import
'forms'
;
@import
'forms'
;
@import
'spinner'
;
@import
'spinner'
;
@import
'responsive'
;
@import
'responsive'
;
@import
'threads'
;
@import
'yui_grid'
;
@import
'yui_grid'
;
@import
'simple-search'
;
@import
'simple-search'
;
...
@@ -511,126 +512,6 @@ blockquote {
...
@@ -511,126 +512,6 @@ blockquote {
}
}
}
}
//THREADING////////////////////////////////
//Threaded discussion specific
.thread
{
cursor
:
pointer
;
position
:
relative
;
&
>
*
{
@include
pie-clearfix
;
}
&
>
ul
{
padding-left
:
$thread-padding
+
.15em
;
margin-left
:
-
$thread-padding
;
}
.load-more
{
@include
pie-clearfix
;
font-family
:
$sans-font-family
;
font-weight
:bold
;
font-size
:
.8em
;
}
.thread
{
border-left
:
1px
dotted
$gray-light
;
height
:
100%
;
padding
:
0
;
padding-left
:
$thread-padding
;
&
.collapsed
{
&
>
.annotation
{
fuzzytime
{
float
:
none
;
font-style
:
italic
;
}
header
{
display
:
inline-block
;
}
.body
{
display
:
none
;
}
.magicontrol
{
display
:
none
;
}
.reply-count
{
font-style
:
italic
;
}
}
}
}
.threadexp
{
background
:
$white
;
color
:
$gray-light
;
position
:
absolute
;
width
:
1
.4em
;
height
:
1
.4em
;
top
:
0
;
left
:
-.7em
;
span
{
position
:
absolute
;
top
:
(
1
.4
-
$threadexp-width
)
/
2
;
left
:
(
1
.4
-
$threadexp-width
)
/
2
;
width
:
$threadexp-width
;
height
:
$threadexp-width
;
&
:before
{
font-size
:
$threadexp-width
;
position
:
absolute
;
top
:
0
;
left
:
0
;
}
}
}
.annotation
{
&
.squished
{
padding-left
:
0
;
}
}
&
.collapsed
{
display
:
block
!
important
;
&
:hover
{
background-color
:
$gray-lightest
;
}
&
>
ul
{
max-height
:
0
;
overflow
:
hidden
;
}
&
>
.annotation
{
.body
*
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
white-space
:
nowrap
;
margin-top
:
0
;
margin-bottom
:
0
;
}
.indicators
{
display
:
run-in
;
margin-right
:
.25em
;
}
}
&
>
.threadexp
{
background-image
:
url("../images/plus_1.png")
;
}
}
}
//MAGICONTROL////////////////////////////////
//MAGICONTROL////////////////////////////////
.magicontrol
{
.magicontrol
{
@include
transition
(
opacity
);
@include
transition
(
opacity
);
...
...
h/static/styles/threads.scss
0 → 100644
View file @
3967adca
@import
'base'
;
$thread-padding
:
1em
;
$threadexp-width
:
.6em
;
.thread
{
cursor
:
pointer
;
position
:
relative
;
&
>
*
{
@include
pie-clearfix
;
}
&
>
ul
{
padding-left
:
$thread-padding
+
.15em
;
margin-left
:
-
$thread-padding
;
}
.load-more
{
@include
pie-clearfix
;
font-family
:
$sans-font-family
;
font-weight
:bold
;
font-size
:
.8em
;
}
.thread
{
border-left
:
1px
dotted
$gray-light
;
height
:
100%
;
padding
:
0
;
padding-left
:
$thread-padding
;
&
.collapsed
{
&
>
.annotation
{
fuzzytime
{
float
:
none
;
font-style
:
italic
;
}
header
{
display
:
inline-block
;
}
.body
{
display
:
none
;
}
.magicontrol
{
display
:
none
;
}
.reply-count
{
font-style
:
italic
;
}
}
}
}
.threadexp
{
background
:
$white
;
color
:
$gray-light
;
position
:
absolute
;
width
:
1
.4em
;
height
:
1
.4em
;
top
:
0
;
left
:
-.7em
;
span
{
position
:
absolute
;
top
:
(
1
.4
-
$threadexp-width
)
/
2
;
left
:
(
1
.4
-
$threadexp-width
)
/
2
;
width
:
$threadexp-width
;
height
:
$threadexp-width
;
&
:before
{
font-size
:
$threadexp-width
;
position
:
absolute
;
top
:
0
;
left
:
0
;
}
}
}
.annotation
{
&
.squished
{
padding-left
:
0
;
}
}
&
.collapsed
{
display
:
block
!
important
;
&
:hover
{
background-color
:
$gray-lightest
;
}
&
>
ul
{
max-height
:
0
;
overflow
:
hidden
;
}
&
>
.annotation
{
.body
*
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
white-space
:
nowrap
;
margin-top
:
0
;
margin-bottom
:
0
;
}
.indicators
{
display
:
run-in
;
margin-right
:
.25em
;
}
}
&
>
.threadexp
{
background-image
:
url("../images/plus_1.png")
;
}
}
}
\ No newline at end of file
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