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
Tatuya Kamada
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 @@
...
@@ -4,11 +4,16 @@
*/
*/
.event-item
{
.event-item
{
font-size
:
$gl-font-size
;
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
;
border-bottom
:
1px
solid
$white-normal
;
color
:
$list-text-color
;
color
:
$list-text-color
;
position
:
relative
;
&
.event-inline
{
&
.event-inline
{
.profile-icon
{
top
:
20px
;
}
.event-title
,
.event-title
,
.event-item-timestamp
{
.event-item-timestamp
{
line-height
:
40px
;
line-height
:
40px
;
...
@@ -19,20 +24,34 @@
...
@@ -19,20 +24,34 @@
color
:
$gl-text-color
;
color
:
$gl-text-color
;
}
}
.event-title
{
.profile-icon
{
@include
str-truncated
(
calc
(
100%
-
174px
));
position
:
absolute
;
font-weight
:
600
;
left
:
0
;
color
:
$list-text-color
;
top
:
14px
;
svg
{
width
:
20px
;
height
:
auto
;
fill
:
$gl-text-color-secondary
;
}
}
.event-icon
{
&
.open-icon
svg
{
display
:
inline-block
;
fill
:
$green-300
;
margin
:
0
10px
;
}
}
svg
{
&
.closed-icon
svg
{
height
:
16px
;
fill
:
$red-300
;
width
:
16px
;
}
&
.fork-icon
svg
{
fill
:
$blue-300
;
}
}
.event-title
{
@include
str-truncated
(
calc
(
100%
-
174px
));
font-weight
:
600
;
color
:
$list-text-color
;
}
}
.event-body
{
.event-body
{
...
@@ -164,7 +183,7 @@
...
@@ -164,7 +183,7 @@
max-width
:
100%
;
max-width
:
100%
;
}
}
.
avatar
{
.
profile-icon
{
display
:
none
;
display
:
none
;
}
}
...
...
app/views/events/event/_common.html.haml
View file @
32bb33f7
-
if
event
.
target
-
if
event
.
target
-
if
event
.
action_name
==
"opened"
-
if
event
.
action_name
==
"opened"
.
event
-icon.open-icon
.
profile
-icon.open-icon
=
custom_icon
(
"icon_status_open"
)
=
custom_icon
(
"icon_status_open"
)
-
elsif
event
.
action_name
==
"closed"
-
elsif
event
.
action_name
==
"closed"
.
event
-icon.closed-icon
.
profile
-icon.closed-icon
=
custom_icon
(
"icon_status_closed"
)
=
custom_icon
(
"icon_status_closed"
)
-
else
-
else
.
event
-icon.fork-icon
.
profile
-icon.fork-icon
=
custom_icon
(
"code_fork"
)
=
custom_icon
(
"code_fork"
)
.event-title
.event-title
...
...
app/views/events/event/_created_project.html.haml
View file @
32bb33f7
.
event
-icon.open-icon
.
profile
-icon.open-icon
=
custom_icon
(
"icon_status_open"
)
=
custom_icon
(
"icon_status_open"
)
.event-title
.event-title
%span
{
class:
event
.
action_name
}
%span
{
class:
event
.
action_name
}
...
...
app/views/events/event/_note.html.haml
View file @
32bb33f7
.
event
-icon
.
profile
-icon
=
custom_icon
(
"comment_o"
)
=
custom_icon
(
"comment_o"
)
.event-title
.event-title
...
...
app/views/events/event/_push.html.haml
View file @
32bb33f7
-
project
=
event
.
project
-
project
=
event
.
project
.
event
-icon
.
profile
-icon
=
custom_icon
(
"icon_commit"
)
=
custom_icon
(
"icon_commit"
)
.event-title
.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