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
ef732a04
Commit
ef732a04
authored
Feb 10, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sider shadow/scrollable/centered elements
parent
48710eb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
app.component.html
src/app/app.component.html
+11
-0
app.component.scss
src/app/app.component.scss
+13
-3
No files found.
src/app/app.component.html
View file @
ef732a04
...
...
@@ -37,8 +37,19 @@
</div>
<div
class=
"container-sider"
>
<div
class=
"container-sider-element"
style=
"width: 400px; height: 400px; background-color: green;"
>
</div>
<div
class=
"container-sider-element"
style=
"width: 400px; height: 400px; background-color: green;"
>
</div>
<div
class=
"container-sider-element"
style=
"width: 400px; height: 400px; background-color: green;"
>
</div>
<div
class=
"container-sider-element"
style=
"width: 400px; height: 400px; background-color: green;"
>
</div>
</div>
</div>
...
...
src/app/app.component.scss
View file @
ef732a04
...
...
@@ -6,7 +6,7 @@
&
-main
{
position
:
absolute
;
height
:
100%
;
width
:
calc
(
80%
-
5
px
);
width
:
calc
(
100%
-
422
px
);
left
:
0
;
right
:
5px
;
top
:
0px
;
...
...
@@ -25,12 +25,22 @@
&
-sider
{
height
:
100%
;
width
:
20%
;
background-color
:
green
;
width
:
420px
;
background-color
:
#e3e3e3
;
position
:
fixed
;
right
:
0
;
top
:
0
;
z-index
:
2
;
border-left
:
solid
black
3px
;
align-items
:
center
;
overflow
:
scroll
;
box-shadow
:
-20px
0px
25px
rgba
(
0
,
0
,
0
,
0
.3
);
&
-element
{
margin-left
:
auto
;
margin-right
:
auto
;
margin-top
:
10px
;
margin-bottom
:
10px
;
}
}
}
\ No newline at end of file
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