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
7db6e4ca
Commit
7db6e4ca
authored
2 years ago
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix task/annexe-task/random-event CSS + add repeat background-image
parent
7c79e82a
verification
Unity
data_structure
develop
dynamic
traces
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
89 additions
and
9 deletions
+89
-9
annexe-task.component.scss
src/app/pieces/annexe-task/annexe-task.component.scss
+25
-3
random-event.component.scss
src/app/pieces/random-event/random-event.component.scss
+30
-3
task.component.scss
src/app/pieces/task/task.component.scss
+30
-3
repeat.component.scss
src/app/sider-pieces/repeat/repeat.component.scss
+4
-0
repeat.png
src/assets/background-images/repeat.png
+0
-0
No files found.
src/app/pieces/annexe-task/annexe-task.component.scss
View file @
7db6e4ca
...
@@ -23,17 +23,21 @@
...
@@ -23,17 +23,21 @@
display
:
flex
;
display
:
flex
;
padding
:
15px
20px
15px
20px
;
padding
:
15px
20px
15px
20px
;
justify-content
:
space-around
;
justify-content
:
space-around
;
mat-icon
{
mat-icon
{
cursor
:
pointer
;
cursor
:
pointer
;
transform
:
scale
(
1
.1
);
transform
:
scale
(
1
.1
);
}
}
mat-icon
:hover
{
mat-icon
:hover
{
opacity
:
0
.75
;
opacity
:
0
.75
;
}
}
}
}
&
-menu
.show
{
&
-menu
.show
{
transform
:
translateX
(
-50%
)
translateY
(
0
);
transform
:
translateX
(
-50%
)
translateY
(
0
);
}
}
&
-menu
.hide
{
&
-menu
.hide
{
transform
:
translateX
(
-50%
)
translateY
(
100%
);
transform
:
translateX
(
-50%
)
translateY
(
100%
);
}
}
...
@@ -97,6 +101,7 @@
...
@@ -97,6 +101,7 @@
flex-direction
:
row
;
flex-direction
:
row
;
width
:
100%
;
width
:
100%
;
margin-top
:
5px
;
margin-top
:
5px
;
&
-checkbox
{
&
-checkbox
{
position
:
relative
;
position
:
relative
;
width
:
50%
;
width
:
50%
;
...
@@ -111,12 +116,14 @@
...
@@ -111,12 +116,14 @@
display
:
flex
;
display
:
flex
;
padding-right
:
5px
;
padding-right
:
5px
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
input
{
input
{
width
:
20px
;
width
:
20px
;
border
:
none
;
border
:
none
;
border-radius
:
10px
;
border-radius
:
10px
;
text-align
:
center
;
text-align
:
center
;
}
}
select
{
select
{
width
:
40px
;
width
:
40px
;
background-color
:
white
;
background-color
:
white
;
...
@@ -128,12 +135,14 @@
...
@@ -128,12 +135,14 @@
}
}
}
}
}
}
&
-prerequires
.show
{
&
-prerequires
.show
{
transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
);
}
}
&
-attach
{
&
-attach
{
z-index
:
1
;
z-index
:
1
;
&
-left
{
&
-left
{
border-top
:
solid
black
1px
;
border-top
:
solid
black
1px
;
border-right
:
solid
black
1px
;
border-right
:
solid
black
1px
;
...
@@ -167,6 +176,7 @@
...
@@ -167,6 +176,7 @@
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
stretch
;
align-items
:
stretch
;
z-index
:
2
;
z-index
:
2
;
input
{
input
{
height
:
40px
;
height
:
40px
;
border-radius
:
10px
;
border-radius
:
10px
;
...
@@ -174,6 +184,7 @@
...
@@ -174,6 +184,7 @@
padding
:
5px
10px
5px
10px
;
padding
:
5px
10px
5px
10px
;
font-size
:
15px
;
font-size
:
15px
;
}
}
textarea
{
textarea
{
border-radius
:
20px
;
border-radius
:
20px
;
padding
:
10px
;
padding
:
10px
;
...
@@ -184,8 +195,9 @@
...
@@ -184,8 +195,9 @@
background-image
:
url("../../../assets/background-images/annexe.png")
;
background-image
:
url("../../../assets/background-images/annexe.png")
;
background-position
:
center
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
30%
;
background-size
:
100px
;
}
}
select
{
select
{
background-color
:
white
;
background-color
:
white
;
border
:
none
;
border
:
none
;
...
@@ -193,44 +205,52 @@
...
@@ -193,44 +205,52 @@
border-radius
:
10px
;
border-radius
:
10px
;
padding
:
5px
10px
5px
10px
;
padding
:
5px
10px
5px
10px
;
}
}
&
-top
{
&
-top
{
margin-top
:
20px
;
margin-top
:
20px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
//justify-content: space-between;
&
-identifier
{
&
-identifier
{
width
:
50px
;
width
:
50px
;
text-align
:
center
;
text-align
:
center
;
}
}
&
-title
{
&
-title
{
font-size
:
25px
;
font-size
:
25px
;
font-family
:
'Glacial Indifference Bold'
;
font-family
:
'Glacial Indifference Bold'
;
position
:
relative
;
position
:
relative
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
&
-symbol
{
&
-symbol
{
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
background-color
:
white
;
background-color
:
white
;
border-radius
:
10px
;
border-radius
:
10px
;
cursor
:
pointer
;
cursor
:
pointer
;
mat-icon
{
mat-icon
{
transform
:
scale
(
1
.3
);
transform
:
scale
(
1
.3
);
overflow
:
visible
;
overflow
:
visible
;
}
}
}
}
}
}
&
-content
{
&
-content
{
margin-top
:
10px
;
margin-top
:
10px
;
height
:
100%
;
height
:
100%
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
&
-bottom
{
&
-bottom
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
justify-content
:
space-between
;
justify-content
:
space-between
;
&
-duration
{
&
-duration
{
display
:
flex
;
input
{
input
{
border-top-right-radius
:
0px
;
border-top-right-radius
:
0px
;
border-bottom-right-radius
:
0px
;
border-bottom-right-radius
:
0px
;
...
@@ -238,6 +258,7 @@
...
@@ -238,6 +258,7 @@
text-align
:
center
;
text-align
:
center
;
z-index
:
2
;
z-index
:
2
;
}
}
select
{
select
{
width
:
60px
;
width
:
60px
;
border-top-left-radius
:
0px
;
border-top-left-radius
:
0px
;
...
@@ -245,6 +266,7 @@
...
@@ -245,6 +266,7 @@
z-index
:
1
;
z-index
:
1
;
}
}
}
}
&
-prerequires
{
&
-prerequires
{
width
:
100px
;
width
:
100px
;
height
:
50px
;
height
:
50px
;
...
...
This diff is collapsed.
Click to expand it.
src/app/pieces/random-event/random-event.component.scss
View file @
7db6e4ca
...
@@ -23,17 +23,21 @@
...
@@ -23,17 +23,21 @@
display
:
flex
;
display
:
flex
;
padding
:
15px
20px
15px
20px
;
padding
:
15px
20px
15px
20px
;
justify-content
:
space-around
;
justify-content
:
space-around
;
mat-icon
{
mat-icon
{
cursor
:
pointer
;
cursor
:
pointer
;
transform
:
scale
(
1
.1
);
transform
:
scale
(
1
.1
);
}
}
mat-icon
:hover
{
mat-icon
:hover
{
opacity
:
0
.75
;
opacity
:
0
.75
;
}
}
}
}
&
-menu
.show
{
&
-menu
.show
{
transform
:
translateX
(
-50%
)
translateY
(
0
);
transform
:
translateX
(
-50%
)
translateY
(
0
);
}
}
&
-menu
.hide
{
&
-menu
.hide
{
transform
:
translateX
(
-50%
)
translateY
(
100%
);
transform
:
translateX
(
-50%
)
translateY
(
100%
);
}
}
...
@@ -56,10 +60,12 @@
...
@@ -56,10 +60,12 @@
label
{
label
{
font-size
:
14px
;
font-size
:
14px
;
}
}
mat-icon
{
mat-icon
{
cursor
:
pointer
;
cursor
:
pointer
;
transform
:
scale
(
1
.2
);
transform
:
scale
(
1
.2
);
}
}
mat-icon
:hover
{
mat-icon
:hover
{
opacity
:
0
.75
;
opacity
:
0
.75
;
}
}
...
@@ -77,6 +83,7 @@
...
@@ -77,6 +83,7 @@
margin-top
:
10px
;
margin-top
:
10px
;
}
}
}
}
&
-symbolchoice
.show
{
&
-symbolchoice
.show
{
transform
:
translateX
(
100%
);
transform
:
translateX
(
100%
);
}
}
...
@@ -140,6 +147,7 @@
...
@@ -140,6 +147,7 @@
flex-direction
:
row
;
flex-direction
:
row
;
width
:
100%
;
width
:
100%
;
margin-top
:
5px
;
margin-top
:
5px
;
&
-checkbox
{
&
-checkbox
{
position
:
relative
;
position
:
relative
;
width
:
50%
;
width
:
50%
;
...
@@ -154,12 +162,14 @@
...
@@ -154,12 +162,14 @@
display
:
flex
;
display
:
flex
;
padding-right
:
5px
;
padding-right
:
5px
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
input
{
input
{
width
:
20px
;
width
:
20px
;
border
:
none
;
border
:
none
;
border-radius
:
10px
;
border-radius
:
10px
;
text-align
:
center
;
text-align
:
center
;
}
}
select
{
select
{
width
:
40px
;
width
:
40px
;
background-color
:
white
;
background-color
:
white
;
...
@@ -171,12 +181,14 @@
...
@@ -171,12 +181,14 @@
}
}
}
}
}
}
&
-prerequires
.show
{
&
-prerequires
.show
{
transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
);
}
}
&
-attach
{
&
-attach
{
z-index
:
1
;
z-index
:
1
;
&
-left
{
&
-left
{
border-top
:
solid
black
1px
;
border-top
:
solid
black
1px
;
border-right
:
solid
black
1px
;
border-right
:
solid
black
1px
;
...
@@ -210,6 +222,7 @@
...
@@ -210,6 +222,7 @@
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
stretch
;
align-items
:
stretch
;
z-index
:
2
;
z-index
:
2
;
input
{
input
{
height
:
40px
;
height
:
40px
;
border-radius
:
10px
;
border-radius
:
10px
;
...
@@ -217,6 +230,7 @@
...
@@ -217,6 +230,7 @@
padding
:
5px
10px
5px
10px
;
padding
:
5px
10px
5px
10px
;
font-size
:
15px
;
font-size
:
15px
;
}
}
textarea
{
textarea
{
border-radius
:
20px
;
border-radius
:
20px
;
padding
:
10px
;
padding
:
10px
;
...
@@ -227,8 +241,9 @@
...
@@ -227,8 +241,9 @@
background-image
:
url("../../../assets/background-images/event.png")
;
background-image
:
url("../../../assets/background-images/event.png")
;
background-position
:
center
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
30%
;
background-size
:
100px
;
}
}
select
{
select
{
background-color
:
white
;
background-color
:
white
;
border
:
none
;
border
:
none
;
...
@@ -236,20 +251,24 @@
...
@@ -236,20 +251,24 @@
border-radius
:
10px
;
border-radius
:
10px
;
padding
:
5px
10px
5px
10px
;
padding
:
5px
10px
5px
10px
;
}
}
&
-top
{
&
-top
{
margin-top
:
20px
;
margin-top
:
20px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
&
-identifier
{
&
-identifier
{
width
:
50px
;
width
:
50px
;
text-align
:
center
;
text-align
:
center
;
}
}
&
-title
{
&
-title
{
font-size
:
25px
;
font-size
:
25px
;
font-family
:
'Glacial Indifference Bold'
;
font-family
:
'Glacial Indifference Bold'
;
position
:
relative
;
position
:
relative
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
&
-symbol
{
&
-symbol
{
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
...
@@ -258,23 +277,29 @@
...
@@ -258,23 +277,29 @@
cursor
:
pointer
;
cursor
:
pointer
;
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
mat-icon
{
mat-icon
{
transform
:
scale
(
1
.3
);
transform
:
scale
(
1
.3
);
overflow
:
visible
;
overflow
:
visible
;
}
}
}
}
}
}
&
-content
{
&
-content
{
margin-top
:
10px
;
margin-top
:
10px
;
height
:
100%
;
height
:
100%
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
&
-bottom
{
&
-bottom
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
justify-content
:
space-between
;
justify-content
:
space-between
;
&
-duration
{
&
-duration
{
display
:
flex
;
input
{
input
{
border-top-right-radius
:
0px
;
border-top-right-radius
:
0px
;
border-bottom-right-radius
:
0px
;
border-bottom-right-radius
:
0px
;
...
@@ -282,6 +307,7 @@
...
@@ -282,6 +307,7 @@
text-align
:
center
;
text-align
:
center
;
z-index
:
2
;
z-index
:
2
;
}
}
select
{
select
{
width
:
60px
;
width
:
60px
;
border-top-left-radius
:
0px
;
border-top-left-radius
:
0px
;
...
@@ -289,6 +315,7 @@
...
@@ -289,6 +315,7 @@
z-index
:
1
;
z-index
:
1
;
}
}
}
}
&
-prerequires
{
&
-prerequires
{
width
:
100px
;
width
:
100px
;
height
:
50px
;
height
:
50px
;
...
...
This diff is collapsed.
Click to expand it.
src/app/pieces/task/task.component.scss
View file @
7db6e4ca
...
@@ -23,17 +23,21 @@
...
@@ -23,17 +23,21 @@
display
:
flex
;
display
:
flex
;
padding
:
15px
20px
15px
20px
;
padding
:
15px
20px
15px
20px
;
justify-content
:
space-around
;
justify-content
:
space-around
;
mat-icon
{
mat-icon
{
cursor
:
pointer
;
cursor
:
pointer
;
transform
:
scale
(
1
.1
);
transform
:
scale
(
1
.1
);
}
}
mat-icon
:hover
{
mat-icon
:hover
{
opacity
:
0
.75
;
opacity
:
0
.75
;
}
}
}
}
&
-menu
.show
{
&
-menu
.show
{
transform
:
translateX
(
-50%
)
translateY
(
0
);
transform
:
translateX
(
-50%
)
translateY
(
0
);
}
}
&
-menu
.hide
{
&
-menu
.hide
{
transform
:
translateX
(
-50%
)
translateY
(
100%
);
transform
:
translateX
(
-50%
)
translateY
(
100%
);
}
}
...
@@ -56,10 +60,12 @@
...
@@ -56,10 +60,12 @@
label
{
label
{
font-size
:
14px
;
font-size
:
14px
;
}
}
mat-icon
{
mat-icon
{
cursor
:
pointer
;
cursor
:
pointer
;
transform
:
scale
(
1
.2
);
transform
:
scale
(
1
.2
);
}
}
mat-icon
:hover
{
mat-icon
:hover
{
opacity
:
0
.75
;
opacity
:
0
.75
;
}
}
...
@@ -77,6 +83,7 @@
...
@@ -77,6 +83,7 @@
margin-top
:
10px
;
margin-top
:
10px
;
}
}
}
}
&
-symbolchoice
.show
{
&
-symbolchoice
.show
{
transform
:
translateX
(
100%
);
transform
:
translateX
(
100%
);
}
}
...
@@ -140,6 +147,7 @@
...
@@ -140,6 +147,7 @@
flex-direction
:
row
;
flex-direction
:
row
;
width
:
100%
;
width
:
100%
;
margin-top
:
5px
;
margin-top
:
5px
;
&
-checkbox
{
&
-checkbox
{
position
:
relative
;
position
:
relative
;
width
:
50%
;
width
:
50%
;
...
@@ -154,12 +162,14 @@
...
@@ -154,12 +162,14 @@
display
:
flex
;
display
:
flex
;
padding-right
:
5px
;
padding-right
:
5px
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
input
{
input
{
width
:
20px
;
width
:
20px
;
border
:
none
;
border
:
none
;
border-radius
:
10px
;
border-radius
:
10px
;
text-align
:
center
;
text-align
:
center
;
}
}
select
{
select
{
width
:
40px
;
width
:
40px
;
background-color
:
white
;
background-color
:
white
;
...
@@ -171,12 +181,14 @@
...
@@ -171,12 +181,14 @@
}
}
}
}
}
}
&
-prerequires
.show
{
&
-prerequires
.show
{
transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
);
}
}
&
-attach
{
&
-attach
{
z-index
:
1
;
z-index
:
1
;
&
-left
{
&
-left
{
border-top
:
solid
black
1px
;
border-top
:
solid
black
1px
;
border-right
:
solid
black
1px
;
border-right
:
solid
black
1px
;
...
@@ -210,6 +222,7 @@
...
@@ -210,6 +222,7 @@
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
stretch
;
align-items
:
stretch
;
z-index
:
2
;
z-index
:
2
;
input
{
input
{
height
:
40px
;
height
:
40px
;
border-radius
:
10px
;
border-radius
:
10px
;
...
@@ -217,6 +230,7 @@
...
@@ -217,6 +230,7 @@
padding
:
5px
10px
5px
10px
;
padding
:
5px
10px
5px
10px
;
font-size
:
15px
;
font-size
:
15px
;
}
}
textarea
{
textarea
{
border-radius
:
20px
;
border-radius
:
20px
;
padding
:
10px
;
padding
:
10px
;
...
@@ -227,8 +241,9 @@
...
@@ -227,8 +241,9 @@
background-image
:
url("../../../assets/background-images/tache.png")
;
background-image
:
url("../../../assets/background-images/tache.png")
;
background-position
:
center
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
30%
;
background-size
:
100px
;
}
}
select
{
select
{
background-color
:
white
;
background-color
:
white
;
border
:
none
;
border
:
none
;
...
@@ -236,20 +251,24 @@
...
@@ -236,20 +251,24 @@
border-radius
:
10px
;
border-radius
:
10px
;
padding
:
5px
10px
5px
10px
;
padding
:
5px
10px
5px
10px
;
}
}
&
-top
{
&
-top
{
margin-top
:
20px
;
margin-top
:
20px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
&
-identifier
{
&
-identifier
{
width
:
50px
;
width
:
50px
;
text-align
:
center
;
text-align
:
center
;
}
}
&
-title
{
&
-title
{
font-size
:
25px
;
font-size
:
25px
;
font-family
:
'Glacial Indifference Bold'
;
font-family
:
'Glacial Indifference Bold'
;
position
:
relative
;
position
:
relative
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
&
-symbol
{
&
-symbol
{
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
...
@@ -258,23 +277,29 @@
...
@@ -258,23 +277,29 @@
cursor
:
pointer
;
cursor
:
pointer
;
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
mat-icon
{
mat-icon
{
transform
:
scale
(
1
.3
);
transform
:
scale
(
1
.3
);
overflow
:
visible
;
overflow
:
visible
;
}
}
}
}
}
}
&
-content
{
&
-content
{
margin-top
:
10px
;
margin-top
:
10px
;
height
:
100%
;
height
:
100%
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
&
-bottom
{
&
-bottom
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
justify-content
:
space-between
;
justify-content
:
space-between
;
&
-duration
{
&
-duration
{
display
:
flex
;
input
{
input
{
border-top-right-radius
:
0px
;
border-top-right-radius
:
0px
;
border-bottom-right-radius
:
0px
;
border-bottom-right-radius
:
0px
;
...
@@ -282,6 +307,7 @@
...
@@ -282,6 +307,7 @@
text-align
:
center
;
text-align
:
center
;
z-index
:
2
;
z-index
:
2
;
}
}
select
{
select
{
width
:
60px
;
width
:
60px
;
border-top-left-radius
:
0px
;
border-top-left-radius
:
0px
;
...
@@ -289,6 +315,7 @@
...
@@ -289,6 +315,7 @@
z-index
:
1
;
z-index
:
1
;
}
}
}
}
&
-prerequires
{
&
-prerequires
{
width
:
100px
;
width
:
100px
;
height
:
50px
;
height
:
50px
;
...
...
This diff is collapsed.
Click to expand it.
src/app/sider-pieces/repeat/repeat.component.scss
View file @
7db6e4ca
...
@@ -55,6 +55,10 @@
...
@@ -55,6 +55,10 @@
flex-grow
:
1
;
flex-grow
:
1
;
min-height
:
50px
;
min-height
:
50px
;
max-height
:
100px
;
max-height
:
100px
;
background-image
:
url("../../../assets/background-images/repeat.png")
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-size
:
30%
;
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/assets/background-images/repeat.png
0 → 100644
View file @
7db6e4ca
30.8 KB
This diff is collapsed.
Click to expand it.
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