BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
22940901
Commit
22940901
authored
Aug 28, 2017
by
Fatih Acet
Committed by
Jose Ivan Vargas
Sep 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch '36582-fix-note-resolved-icon' into 'master'
Update and fix resolvable note icons for easier recognition Closes #36582 See merge request !13821
parent
b79d6f20
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
6 deletions
+25
-6
variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
notes.scss
app/assets/stylesheets/pages/notes.scss
+11
-3
_actions.html.haml
app/views/projects/notes/_actions.html.haml
+6
-2
_icon_status_success.svg
app/views/shared/icons/_icon_status_success.svg
+1
-1
_icon_status_success_solid.svg
app/views/shared/icons/_icon_status_success_solid.svg
+1
-0
36582-fix-note-resolved-icon.yml
changelogs/unreleased/36582-fix-note-resolved-icon.yml
+5
-0
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
22940901
...
...
@@ -118,6 +118,7 @@ $gl-text-color-quaternary: #d6d6d6;
$gl-text-color-inverted
:
rgba
(
255
,
255
,
255
,
1
.0
);
$gl-text-color-secondary-inverted
:
rgba
(
255
,
255
,
255
,
.85
);
$gl-text-green
:
$green-600
;
$gl-text-green-hover
:
$green-700
;
$gl-text-red
:
$red-500
;
$gl-text-orange
:
$orange-600
;
$gl-link-color
:
$blue-600
;
...
...
app/assets/stylesheets/pages/notes.scss
View file @
22940901
...
...
@@ -766,17 +766,25 @@ ul.notes {
background-color
:
transparent
;
border
:
none
;
outline
:
0
;
transition
:
color
$general-hover-transition-duration
$general-hover-transition-curve
;
&
.is-disabled
{
cursor
:
default
;
}
&
:not
(
.is-disabled
)
:hover
,
&
:not
(
.is-disabled
)
{
&
:hover
,
&
:focus
{
color
:
$gl-text-green
;
}
}
&
.is-active
{
color
:
$gl-text-green
;
svg
{
fill
:
$gl-text-green
;
&
:hover
,
&
:focus
{
color
:
$gl-text-green-hover
;
}
}
...
...
app/views/projects/notes/_actions.html.haml
View file @
22940901
...
...
@@ -26,8 +26,12 @@
":title"
=>
"buttonText"
,
":ref"
=>
"'button'"
}
=
icon
(
'spin spinner'
,
'v-show'
=>
'loading'
,
class:
'loading'
,
'aria-hidden'
=>
'true'
,
'aria-label'
=>
'Loading'
)
%div
{
'v-show'
=>
'!loading'
}=
render
'shared/icons/icon_status_success.svg'
=
icon
(
'spin spinner'
,
'v-if'
=>
'loading'
,
class:
'loading'
,
'aria-hidden'
=>
'true'
,
'aria-label'
=>
'Loading'
)
%div
{
'v-else'
=>
''
}
%template
{
'v-if'
=>
'isResolved'
}
=
render
'shared/icons/icon_status_success_solid.svg'
%template
{
'v-else'
=>
''
}
=
render
'shared/icons/icon_status_success.svg'
-
if
current_user
-
if
note
.
emoji_awardable?
...
...
app/views/shared/icons/_icon_status_success.svg
View file @
22940901
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
xmlns=
"http://www.w3.org/2000/svg"
><
g
fill-rule=
"evenodd"
><path
d=
"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7z"
/><path
d=
"M13 7A6 6 0 1 0 1 7a6 6 0 0 0 12 0z"
fill=
"#FFF"
/><path
d=
"M6.278 7.697L5.045 6.464a.296.296 0 0 0-.42-.002l-.613.614a.298.298 0 0 0 .002.42l1.91 1.909a.5.5 0 0 0 .703.005l.265-.265L9.997 6.04a.291.291 0 0 0-.009-.408l-.614-.614a.29.29 0 0 0-.408-.009L6.278 7.697z"
/></g
></svg>
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
xmlns=
"http://www.w3.org/2000/svg"
><
path
d=
"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7z M13 7A6 6 0 1 0 1 7a6 6 0 0 0 12 0z"
fill-rule=
"evenodd"
/><path
d=
"M6.278 7.697L5.045 6.464a.296.296 0 0 0-.42-.002l-.613.614a.298.298 0 0 0 .002.42l1.91 1.909a.5.5 0 0 0 .703.005l.265-.265L9.997 6.04a.291.291 0 0 0-.009-.408l-.614-.614a.29.29 0 0 0-.408-.009L6.278 7.697z"
/
></svg>
app/views/shared/icons/_icon_status_success_solid.svg
0 → 100644
View file @
22940901
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
xmlns=
"http://www.w3.org/2000/svg"
><path
d=
"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7z M6.278 7.697L5.045 6.464a.296.296 0 0 0-.42-.002l-.613.614a.298.298 0 0 0 .002.42l1.91 1.909a.5.5 0 0 0 .703.005l.265-.265L9.997 6.04a.291.291 0 0 0-.009-.408l-.614-.614a.29.29 0 0 0-.408-.009L6.278 7.697z"
fill-rule=
"evenodd"
/></svg>
changelogs/unreleased/36582-fix-note-resolved-icon.yml
0 → 100644
View file @
22940901
---
title
:
Update and fix resolvable note icons for easier recognition
merge_request
:
author
:
type
:
changed
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