Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RLG Maker
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Romain DELEAU
RLG Maker
Commits
2694f558
Commit
2694f558
authored
Jul 20, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
character icon color and gradient on tasks
parent
230a46d2
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
19 additions
and
13 deletions
+19
-13
character.ts
src/app/class/character/character.ts
+1
-1
annexe-task.component.html
src/app/pieces/tasks/annexe-task/annexe-task.component.html
+3
-1
annexe-task.component.scss
src/app/pieces/tasks/annexe-task/annexe-task.component.scss
+0
-1
final-task.component.html
src/app/pieces/tasks/final-task/final-task.component.html
+3
-1
final-task.component.scss
src/app/pieces/tasks/final-task/final-task.component.scss
+0
-1
optionnal-task.component.html
...pieces/tasks/optionnal-task/optionnal-task.component.html
+3
-1
optionnal-task.component.scss
...pieces/tasks/optionnal-task/optionnal-task.component.scss
+0
-1
random-event.component.html
...app/pieces/tasks/random-event/random-event.component.html
+3
-1
random-event.component.scss
...app/pieces/tasks/random-event/random-event.component.scss
+0
-1
repeat-task.component.html
src/app/pieces/tasks/repeat-task/repeat-task.component.html
+3
-1
repeat-task.component.scss
src/app/pieces/tasks/repeat-task/repeat-task.component.scss
+0
-1
task.component.html
src/app/pieces/tasks/task/task.component.html
+3
-1
task.component.scss
src/app/pieces/tasks/task/task.component.scss
+0
-1
No files found.
src/app/class/character/character.ts
View file @
2694f558
...
...
@@ -2,5 +2,5 @@ export class Character {
name
:
string
=
''
;
description
:
string
=
''
;
color
:
string
=
''
;
color
:
string
=
'
#000000
'
;
}
src/app/pieces/tasks/annexe-task/annexe-task.component.html
View file @
2694f558
...
...
@@ -108,7 +108,9 @@
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
Prérequis
</button>
<mat-icon
class=
"piece-form-bottom-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-bottom-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
[
style
.
color
]="
task
.
characters
.
length =
=
1
?
task
.
characters
[
0
].
color
:
'
black
'"
[
style
.
background
]="
task
.
characters
.
length
>
1 ? 'linear-gradient('+ task.characters[0].color +','+ task.characters[task.characters.length-1].color +')' : 'white'">
</mat-icon>
<mat-icon
class=
"piece-form-bottom-interrupt"
fontIcon=
"front_hand"
*
ngIf=
"task.interrupt != ''"
></mat-icon>
<div
class=
"piece-form-bottom-duration"
matTooltip=
"Durée de la tâche (en unité de temps, minutes ou tours)"
...
...
src/app/pieces/tasks/annexe-task/annexe-task.component.scss
View file @
2694f558
...
...
@@ -319,7 +319,6 @@
left
:
40%
;
bottom
:
25px
;
border-radius
:
50%
;
background-color
:
white
;
padding
:
4px
;
}
}
...
...
src/app/pieces/tasks/final-task/final-task.component.html
View file @
2694f558
...
...
@@ -141,7 +141,9 @@
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
Prérequis
</button>
<mat-icon
class=
"piece-form-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
[
style
.
color
]="
task
.
characters
.
length =
=
1
?
task
.
characters
[
0
].
color
:
'
black
'"
[
style
.
background
]="
task
.
characters
.
length
>
1 ? 'linear-gradient('+ task.characters[0].color +','+ task.characters[task.characters.length-1].color +')' : 'white'">
</mat-icon>
<mat-icon
class=
"piece-form-interrupt"
fontIcon=
"front_hand"
*
ngIf=
"task.interrupt != ''"
></mat-icon>
<div
class=
"piece-form-bottom-duration"
matTooltip=
"Durée de la tâche (en unité de temps, minutes ou tours)"
...
...
src/app/pieces/tasks/final-task/final-task.component.scss
View file @
2694f558
...
...
@@ -359,7 +359,6 @@
left
:
40%
;
bottom
:
25px
;
border-radius
:
50%
;
background-color
:
white
;
padding
:
4px
;
}
}
...
...
src/app/pieces/tasks/optionnal-task/optionnal-task.component.html
View file @
2694f558
...
...
@@ -142,7 +142,9 @@
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
Prérequis
</button>
<mat-icon
class=
"piece-form-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
[
style
.
color
]="
task
.
characters
.
length =
=
1
?
task
.
characters
[
0
].
color
:
'
black
'"
[
style
.
background
]="
task
.
characters
.
length
>
1 ? 'linear-gradient('+ task.characters[0].color +','+ task.characters[task.characters.length-1].color +')' : 'white'">
</mat-icon>
<mat-icon
class=
"piece-form-interrupt"
fontIcon=
"front_hand"
*
ngIf=
"task.interrupt != ''"
></mat-icon>
<div
class=
"piece-form-bottom-duration"
matTooltip=
"Durée de la tâche (en unité de temps, minutes ou tours)"
...
...
src/app/pieces/tasks/optionnal-task/optionnal-task.component.scss
View file @
2694f558
...
...
@@ -370,7 +370,6 @@
left
:
40%
;
bottom
:
25px
;
border-radius
:
50%
;
background-color
:
white
;
padding
:
4px
;
}
}
...
...
src/app/pieces/tasks/random-event/random-event.component.html
View file @
2694f558
...
...
@@ -130,7 +130,9 @@
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
Prérequis
</button>
<mat-icon
class=
"piece-form-bottom-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-bottom-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
[
style
.
color
]="
task
.
characters
.
length =
=
1
?
task
.
characters
[
0
].
color
:
'
black
'"
[
style
.
background
]="
task
.
characters
.
length
>
1 ? 'linear-gradient('+ task.characters[0].color +','+ task.characters[task.characters.length-1].color +')' : 'white'">
</mat-icon>
<mat-icon
class=
"piece-form-bottom-interrupt"
fontIcon=
"front_hand"
*
ngIf=
"task.interrupt != ''"
></mat-icon>
<div
class=
"piece-form-bottom-duration"
matTooltip=
"Durée de la tâche (en unité de temps, minutes ou tours)"
...
...
src/app/pieces/tasks/random-event/random-event.component.scss
View file @
2694f558
...
...
@@ -359,7 +359,6 @@
left
:
40%
;
bottom
:
25px
;
border-radius
:
50%
;
background-color
:
white
;
padding
:
4px
;
}
}
...
...
src/app/pieces/tasks/repeat-task/repeat-task.component.html
View file @
2694f558
...
...
@@ -25,6 +25,8 @@
</div>
<mat-icon
class=
"piece-form-comment"
fontIcon=
"comment"
*
ngIf=
"task.comments.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-repeat"
fontIcon=
"refresh"
*
ngIf=
"task.repeat.iteration > 0 || task.repeat.while != ''"
></mat-icon>
<mat-icon
class=
"piece-form-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
[
style
.
color
]="
task
.
characters
.
length =
=
1
?
task
.
characters
[
0
].
color
:
'
black
'"
[
style
.
background
]="
task
.
characters
.
length
>
1 ? 'linear-gradient('+ task.characters[0].color +','+ task.characters[task.characters.length-1].color +')' : 'white'">
</mat-icon>
<mat-icon
class=
"piece-form-interrupt"
fontIcon=
"front_hand"
*
ngIf=
"task.interrupt != ''"
></mat-icon>
</div>
src/app/pieces/tasks/repeat-task/repeat-task.component.scss
View file @
2694f558
...
...
@@ -115,7 +115,6 @@
position
:
absolute
;
bottom
:
35px
;
left
:
150px
;
background-color
:
white
;
padding
:
4px
;
border-radius
:
50%
;
}
...
...
src/app/pieces/tasks/task/task.component.html
View file @
2694f558
...
...
@@ -140,7 +140,9 @@
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
Prérequis
</button>
<mat-icon
class=
"piece-form-bottom-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
></mat-icon>
<mat-icon
class=
"piece-form-bottom-character"
fontIcon=
"person"
*
ngIf=
"task.characters.length > 0"
[
style
.
color
]="
task
.
characters
.
length =
=
1
?
task
.
characters
[
0
].
color
:
'
black
'"
[
style
.
background
]="
task
.
characters
.
length
>
1 ? 'linear-gradient('+ task.characters[0].color +','+ task.characters[task.characters.length-1].color +')' : 'white'">
</mat-icon>
<mat-icon
class=
"piece-form-bottom-interrupt"
fontIcon=
"front_hand"
*
ngIf=
"task.interrupt != ''"
></mat-icon>
<div
class=
"piece-form-bottom-duration"
matTooltip=
"Durée de la tâche (en unité de temps, minutes ou tours)"
...
...
src/app/pieces/tasks/task/task.component.scss
View file @
2694f558
...
...
@@ -368,7 +368,6 @@
left
:
40%
;
bottom
:
25px
;
border-radius
:
50%
;
background-color
:
white
;
padding
:
4px
;
}
}
...
...
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