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
b0294f47
Commit
b0294f47
authored
Mar 31, 2014
by
Randall Leeds
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1111 from RawKStar77/hideviewsort2
Improve CSS for viewsort controls
parents
5a63517f
67ab7b20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
5 deletions
+24
-5
common.scss
h/css/common.scss
+22
-4
controllers.coffee
h/js/controllers.coffee
+2
-1
No files found.
h/css/common.scss
View file @
b0294f47
...
...
@@ -1172,8 +1172,12 @@ h3.stream {
cursor
:
pointer
;
}
.VS-search
.VS-icon-cancel
:hover
{
.VS-search
.VS-icon-cancel
:hover
{
width
:
11px
;
height
:
11px
;
background-position
:
center
0
;
background-image
:
url(../images/svg/cancel_black.svg)
;
background-size
:
contain
;
cursor
:
pointer
;
}
.VS-search
.VS-icon-search
{
...
...
@@ -1208,11 +1212,18 @@ h3.stream {
// View and Sort tabs ////////////////////
.viewsort
{
@include
single-transition
(
top
,
.25s
);
width
:
100%
;
text-align
:
center
;
position
:
absolute
;
position
:
fixed
;
top
:
29px
;
right
:
0
;
z-index
:
4
;
&
.ng-hide
{
top
:
0
;
display
:block
!
important
;
}
}
.viewsort
>
.dropdown
{
...
...
@@ -1222,8 +1233,15 @@ h3.stream {
font-family
:
$sansFontFamily
;
background
:
$white
;
border
:
solid
1px
$grayLighter
;
padding
:
0
4
px
;
padding
:
0
10
px
;
margin
:
0
3px
;
display
:
inline-block
;
z-index
:
4
;
.dropdown-menu
{
margin-top
:
0
;
&
:before
,
&
:after
{
display
:
none
;
}
}
}
h/js/controllers.coffee
View file @
b0294f47
...
...
@@ -685,7 +685,7 @@ class Editor
class
Viewer
this
.
$inject
=
[
'$location'
,
'$rootScope'
,
'$routeParams'
,
'$scope'
,
'annotator'
'annotator'
,
'viewFilter'
]
constructor
:
(
$location
,
$rootScope
,
$routeParams
,
$scope
,
...
...
@@ -698,6 +698,7 @@ class Viewer
{
view
:
'Document'
}
{
view
:
"Comments"
}
]
$scope
.
sorts
=
[
{
sort
:
'Newest'
}
{
sort
:
'Oldest'
}
...
...
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