Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
72d02821
Commit
72d02821
authored
Feb 27, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small css cleanup for todos feature
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
20ac35e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
35 deletions
+6
-35
app/assets/stylesheets/pages/todos.scss
app/assets/stylesheets/pages/todos.scss
+3
-32
app/views/dashboard/todos/_todo.html.haml
app/views/dashboard/todos/_todo.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/todos.scss
View file @
72d02821
...
@@ -12,29 +12,10 @@
...
@@ -12,29 +12,10 @@
}
}
}
}
.todos
{
.panel
{
border-top
:
none
;
margin-bottom
:
0
;
}
}
.todo-item
{
.todo-item
{
font-size
:
$gl-font-size
;
font-size
:
$gl-font-size
;
padding
:
$gl-padding-top
0
$gl-padding-top
(
$gl-avatar-size
+
$gl-padding-top
);
padding-left
:
$gl-avatar-size
+
$gl-padding-top
;
border-bottom
:
1px
solid
$table-border-color
;
color
:
$secondary-text
;
color
:
#7f8fa4
;
&
.todo-inline
{
.avatar
{
position
:
relative
;
top
:
-2px
;
}
.todo-title
{
line-height
:
40px
;
}
}
a
{
a
{
color
:
#4c4e54
;
color
:
#4c4e54
;
...
@@ -48,7 +29,7 @@
...
@@ -48,7 +29,7 @@
@include
str-truncated
(
calc
(
100%
-
174px
));
@include
str-truncated
(
calc
(
100%
-
174px
));
font-weight
:
600
;
font-weight
:
600
;
.author
_
name
{
.author
-
name
{
color
:
#333
;
color
:
#333
;
}
}
}
}
...
@@ -88,17 +69,7 @@
...
@@ -88,17 +69,7 @@
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
}
}
.todo-note-icon
{
color
:
#777
;
float
:
left
;
font-size
:
$gl-font-size
;
line-height
:
16px
;
margin-right
:
5px
;
}
}
}
&
:last-child
{
border
:none
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
...
...
app/views/dashboard/todos/_todo.html.haml
View file @
72d02821
%li
{
class:
"todo todo-#{todo.done? ? 'done' : 'pending'}"
,
id:
dom_id
(
todo
)
}
%li
{
class:
"todo todo-#{todo.done? ? 'done' : 'pending'}"
,
id:
dom_id
(
todo
)
}
.todo-item
{
class:
'todo-block'
}
.todo-item
.todo-block
=
image_tag
avatar_icon
(
todo
.
author_email
,
40
),
class:
'avatar s40'
,
alt
:''
=
image_tag
avatar_icon
(
todo
.
author_email
,
40
),
class:
'avatar s40'
,
alt
:''
.todo-title
.todo-title
%span
.author
_
name
%span
.author
-
name
=
link_to_author
todo
=
link_to_author
todo
%span
.todo
_
label
%span
.todo
-
label
=
todo_action_name
(
todo
)
=
todo_action_name
(
todo
)
=
todo_target_link
(
todo
)
=
todo_target_link
(
todo
)
...
...
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