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
Boxiang Sun
gitlab-ce
Commits
32bb33f7
Commit
32bb33f7
authored
Mar 31, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change color of icons
parent
63345756
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
21 deletions
+40
-21
app/assets/stylesheets/pages/events.scss
app/assets/stylesheets/pages/events.scss
+31
-12
app/views/events/event/_common.html.haml
app/views/events/event/_common.html.haml
+5
-5
app/views/events/event/_created_project.html.haml
app/views/events/event/_created_project.html.haml
+2
-2
app/views/events/event/_note.html.haml
app/views/events/event/_note.html.haml
+1
-1
app/views/events/event/_push.html.haml
app/views/events/event/_push.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/events.scss
View file @
32bb33f7
...
...
@@ -4,11 +4,16 @@
*/
.event-item
{
font-size
:
$gl-font-size
;
padding
:
$gl-padding
0
;
padding
:
$gl-padding
-top
0
$gl-padding-top
(
$gl-avatar-size
+
$gl-padding-top
)
;
border-bottom
:
1px
solid
$white-normal
;
color
:
$list-text-color
;
position
:
relative
;
&
.event-inline
{
.profile-icon
{
top
:
20px
;
}
.event-title
,
.event-item-timestamp
{
line-height
:
40px
;
...
...
@@ -19,20 +24,34 @@
color
:
$gl-text-color
;
}
.event-title
{
@include
str-truncated
(
calc
(
100%
-
174px
));
font-weight
:
600
;
color
:
$list-text-color
;
.profile-icon
{
position
:
absolute
;
left
:
0
;
top
:
14px
;
svg
{
width
:
20px
;
height
:
auto
;
fill
:
$gl-text-color-secondary
;
}
.event-icon
{
display
:
inline-block
;
margin
:
0
10px
;
&
.open-icon
svg
{
fill
:
$green-300
;
}
svg
{
height
:
16px
;
width
:
16px
;
&
.closed-icon
svg
{
fill
:
$red-300
;
}
&
.fork-icon
svg
{
fill
:
$blue-300
;
}
}
.event-title
{
@include
str-truncated
(
calc
(
100%
-
174px
));
font-weight
:
600
;
color
:
$list-text-color
;
}
.event-body
{
...
...
@@ -164,7 +183,7 @@
max-width
:
100%
;
}
.
avatar
{
.
profile-icon
{
display
:
none
;
}
...
...
app/views/events/event/_common.html.haml
View file @
32bb33f7
-
if
event
.
target
-
if
event
.
action_name
==
"opened"
.
event
-icon.open-icon
.
profile
-icon.open-icon
=
custom_icon
(
"icon_status_open"
)
-
elsif
event
.
action_name
==
"closed"
.
event
-icon.closed-icon
.
profile
-icon.closed-icon
=
custom_icon
(
"icon_status_closed"
)
-
else
.
event
-icon.fork-icon
.
profile
-icon.fork-icon
=
custom_icon
(
"code_fork"
)
.event-title
...
...
app/views/events/event/_created_project.html.haml
View file @
32bb33f7
.
event
-icon.open-icon
=
custom_icon
(
"icon_status_open"
)
.
profile
-icon.open-icon
=
custom_icon
(
"icon_status_open"
)
.event-title
%span
{
class:
event
.
action_name
}
...
...
app/views/events/event/_note.html.haml
View file @
32bb33f7
.
event
-icon
.
profile
-icon
=
custom_icon
(
"comment_o"
)
.event-title
...
...
app/views/events/event/_push.html.haml
View file @
32bb33f7
-
project
=
event
.
project
.
event
-icon
.
profile
-icon
=
custom_icon
(
"icon_commit"
)
.event-title
...
...
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