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
7c79e82a
Commit
7c79e82a
authored
Mar 03, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rework scenario css
parent
532307d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
162 additions
and
56 deletions
+162
-56
app.component.html
src/app/app.component.html
+88
-43
app.component.scss
src/app/app.component.scss
+74
-13
No files found.
src/app/app.component.html
View file @
7c79e82a
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"container-
main
"
appDragScroll
>
<div
class=
"container-
appDragScroll
"
appDragScroll
>
<div
class=
"container-
main-scenario"
style=
"display: flex; flex-direction: column;
"
appMouseWheelZoom
>
<div
class=
"container-
appMouseWheelZoom
"
appMouseWheelZoom
>
<div
style=
"margin-bottom: 100px;
"
>
<div
class=
"container-scenario-chronologie
"
>
<div
style=
"font-family: 'Glacial Indifference Bold'; font-size: 20px;
"
>
Chronologie
</div>
<div
class=
"container-scenario-chronologie-title
"
>
Chronologie
</div>
<div
style=
"display: flex; flex-direction: row;
"
>
<div
class=
"container-scenario-chronologie-steps
"
>
<app-step
[
style
.
z-index
]="
2
"
></app-step>
<app-step
[
style
.
z-index
]="
2
"
></app-step>
<app-step
[
style
.
z-index
]="
1
"
></app-step>
<app-step
[
style
.
z-index
]="
1
"
></app-step>
</div>
</div>
</div>
</div>
<div
style=
"display: flex; flex-direction: row;
"
>
<div
class=
"container-scenario-main
"
>
<div
style=
"display: flex; flex-direction: column;
"
[
style
.
z-index
]="
4
"
>
<div
class=
"container-scenario-main-gamePieces
"
[
style
.
z-index
]="
4
"
>
<app-game-educationnal-objective></app-game-educationnal-objective>
<app-game-educationnal-objective></app-game-educationnal-objective>
<app-game-context
[
style
.
z-index
]="
2
"
></app-game-context>
<app-game-context
[
style
.
z-index
]="
2
"
></app-game-context>
</div>
</div>
<div
style=
"display: flex; flex-direction: column;"
[
style
.
z-index
]="
3
"
>
<app-educational-objective></app-educational-objective>
<app-mission-context
[
style
.
z-index
]="
2
"
></app-mission-context>
</div>
<div
[
style
.
z-index
]="
2
"
>
<div
class=
"container-scenario-main-missions"
>
<div
style=
"display: flex;"
>
<div
class=
"container-scenario-main-missions-mission"
>
<app-role
[
style
.
z-index
]="
10
"
></app-role>
<div
class=
"container-scenario-main-missions-mission-missionPieces"
[
style
.
z-index
]="
3
"
>
<div
[
style
.
z-index
]="
1
"
>
<app-educational-objective></app-educational-objective>
<div
style=
"display: flex;"
[
style
.
z-index
]="
2
"
>
<app-mission-context
[
style
.
z-index
]="
2
"
></app-mission-context>
<app-task
[
style
.
z-index
]="
2
"
></app-task>
</div>
<app-task
[
style
.
z-index
]="
1
"
></app-task>
</div>
<div
class=
"container-scenario-main-missions-mission-roles"
[
style
.
z-index
]="
2
"
>
<div
style=
"display: flex;"
[
style
.
z-index
]="
2
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role"
>
<app-annexe-task
[
style
.
z-index
]="
2
"
></app-annexe-task>
<app-role
[
style
.
z-index
]="
10
"
></app-role>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks"
[
style
.
z-index
]="
1
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-task
[
style
.
z-index
]="
2
"
></app-task>
<app-task
[
style
.
z-index
]="
1
"
></app-task>
</div>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-annexe-task
[
style
.
z-index
]="
2
"
></app-annexe-task>
</div>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-random-event
[
style
.
z-index
]="
2
"
></app-random-event>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;"
[
style
.
z-index
]="
2
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role"
>
<app-random-event
[
style
.
z-index
]="
2
"
></app-random-event>
<app-role
[
style
.
z-index
]="
10
"
></app-role>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks"
[
style
.
z-index
]="
1
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-task
[
style
.
z-index
]="
3
"
></app-task>
<app-annexe-task
[
style
.
z-index
]="
2
"
></app-annexe-task>
<app-random-event
[
style
.
z-index
]="
1
"
></app-random-event>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;"
>
<app-role
[
style
.
z-index
]="
10
"
></app-role>
<div
class=
"container-scenario-main-missions-mission"
>
<div
[
style
.
z-index
]="
1
"
>
<div
class=
"container-scenario-main-missions-mission-missionPieces"
[
style
.
z-index
]="
3
"
>
<div
style=
"display: flex;"
[
style
.
z-index
]="
2
"
>
<app-educational-objective></app-educational-objective>
<app-task
[
style
.
z-index
]="
3
"
></app-task>
<app-mission-context
[
style
.
z-index
]="
2
"
></app-mission-context>
<app-annexe-task
[
style
.
z-index
]="
2
"
></app-annexe-task>
</div>
<app-random-event
[
style
.
z-index
]="
1
"
></app-random-event>
<div
class=
"container-scenario-main-missions-mission-roles"
[
style
.
z-index
]="
2
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role"
>
<app-role
[
style
.
z-index
]="
10
"
></app-role>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks"
[
style
.
z-index
]="
1
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-task
[
style
.
z-index
]="
2
"
></app-task>
<app-task
[
style
.
z-index
]="
1
"
></app-task>
</div>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-annexe-task
[
style
.
z-index
]="
2
"
></app-annexe-task>
</div>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-random-event
[
style
.
z-index
]="
2
"
></app-random-event>
</div>
</div>
</div>
<div
class=
"container-scenario-main-missions-mission-roles-role"
>
<app-role
[
style
.
z-index
]="
10
"
></app-role>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks"
[
style
.
z-index
]="
1
"
>
<div
class=
"container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"
[
style
.
z-index
]="
2
"
>
<app-task
[
style
.
z-index
]="
3
"
></app-task>
<app-annexe-task
[
style
.
z-index
]="
2
"
></app-annexe-task>
<app-random-event
[
style
.
z-index
]="
1
"
></app-random-event>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"container-sider"
>
<div
class=
"container-sider"
>
<app-comments
class=
"container-sider-element"
></app-comments>
<app-comments
class=
"container-sider-element"
></app-comments>
...
@@ -63,14 +112,10 @@
...
@@ -63,14 +112,10 @@
<div
class=
"container-settings"
>
<div
class=
"container-settings"
>
<div
class=
"container-settings-mode"
>
<div
class=
"container-settings-mode"
>
<input
name=
"unity"
type=
"checkbox"
/>
<input
name=
"unity"
type=
"checkbox"
/>
<label
for=
"unity"
>
Intégrer le jeu sous Unity
</label>
<label
for=
"unity"
>
Intégrer le jeu sous Unity
</label>
</div>
</div>
<button
mat-mini-fab
color=
"white"
><mat-icon
fontIcon=
"save"
></mat-icon></button>
<button
mat-mini-fab
color=
"white"
><mat-icon
fontIcon=
"save"
></mat-icon></button>
<button
mat-mini-fab
color=
"white"
><mat-icon
fontIcon=
"upload-file"
></mat-icon></button>
<button
mat-mini-fab
color=
"white"
><mat-icon
fontIcon=
"upload-file"
></mat-icon></button>
</div>
</div>
</div>
\ No newline at end of file
</div>
src/app/app.component.scss
View file @
7c79e82a
.container
{
.container
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
z-index
:
1
;
z-index
:
1
;
&
-
main
{
&
-
appDragScroll
{
position
:
absolute
;
position
:
absolute
;
height
:
100%
;
height
:
100%
;
width
:
calc
(
100%
-
322px
);
width
:
calc
(
100%
-
322px
);
...
@@ -14,19 +13,82 @@
...
@@ -14,19 +13,82 @@
overflow
:
scroll
;
overflow
:
scroll
;
-ms-overflow-style
:
none
;
-ms-overflow-style
:
none
;
scrollbar-width
:
none
;
scrollbar-width
:
none
;
&
-scenario
{
position
:
relative
;
transform-origin
:
top
left
;
padding
:
60px
5px
10px
5px
;
margin-right
:
7px
;
}
}
}
&
-
main
:
:-
webkit-scrollbar
{
&
-
appDragScroll
:
:-
webkit-scrollbar
{
display
:
none
;
display
:
none
;
}
}
&
-appMouseWheelZoom
{
position
:
relative
;
transform-origin
:
top
left
;
padding
:
60px
5px
10px
5px
;
margin-right
:
7px
;
}
&
-scenario
{
&
-chronologie
{
margin-bottom
:
100px
;
&
-title
{
font-family
:
'Glacial Indifference Bold'
;
font-size
:
20px
;
margin-bottom
:
10px
;
}
&
-steps
{
display
:
flex
;
flex-direction
:
row
;
}
}
&
-main
{
display
:
flex
;
flex-direction
:
row
;
&
-gamePieces
{
display
:
flex
;
flex-direction
:
column
;
}
&
-missions
{
display
:
flex
;
flex-direction
:
column
;
&
-mission
{
display
:
flex
;
flex-direction
:
row
;
margin-bottom
:
100px
;
&
-missionPieces
{
display
:
flex
;
flex-direction
:
column
;
}
&
-roles
{
display
:
flex
;
flex-direction
:
column
;
&
-role
{
display
:
flex
;
flex-direction
:
row
;
&
-tasks
{
display
:
flex
;
flex-direction
:
column
;
&
-inlineTasks
{
display
:
flex
;
flex-direction
:
row
;
}
}
}
}
}
}
}
}
&
-sider
{
&
-sider
{
height
:
100%
;
height
:
100%
;
width
:
320px
;
width
:
320px
;
...
@@ -56,13 +118,12 @@
...
@@ -56,13 +118,12 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
justify-content
:
space-between
;
justify-content
:
space-between
;
z-index
:
2
;
z-index
:
2
;
&
-mode
{
&
-mode
{
width
:
150px
;
width
:
150px
;
background-color
:
white
;
background-color
:
white
;
box-shadow
:
0px
3px
5px
-1px
rgba
(
0
,
0
,
0
,
0
.2
)
,
0px
6px
10px
0px
rgba
(
0
,
0
,
0
,
0
.14
)
,
0px
1px
18px
0px
rgba
(
0
,
0
,
0
,
0
.12
);
box-shadow
:
0px
3px
5px
-1px
rgba
(
0
,
0
,
0
,
0
.2
)
,
0px
6px
10px
0px
rgba
(
0
,
0
,
0
,
0
.14
)
,
0px
1px
18px
0px
rgba
(
0
,
0
,
0
,
0
.12
);
padding
:
5px
;
padding
:
5px
;
border-radius
:
10px
;
border-radius
:
10px
;
text-align
:
center
;
text-align
:
center
;
...
...
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