Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LilleConnect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giorgio Utzeri
LilleConnect
Commits
3c7f413e
Commit
3c7f413e
authored
2 months ago
by
Giorgio Utzeri
Browse files
Options
Downloads
Patches
Plain Diff
test responsive
parent
ac02a2f9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
css/styleMenu.css
+17
-2
17 additions, 2 deletions
css/styleMenu.css
with
17 additions
and
2 deletions
css/styleMenu.css
+
17
−
2
View file @
3c7f413e
...
...
@@ -144,10 +144,25 @@ body {
box-shadow
:
2px
0
5px
rgba
(
0
,
0
,
0
,
0.2
);
}
/* Pour ajuster la marge de la sidebar quand elle est affichée en mode mobile */
@media
(
max-width
:
991px
)
{
.sidebar
{
/* Lorsque la sidebar est fermée, on conserve une largeur par défaut (ici 250px) */
#sidebar
{
width
:
250px
;
height
:
100%
;
transition
:
width
0.3s
ease
;
}
/* Quand la sidebar est ouverte (classe "show" ajoutée par Bootstrap), elle occupe toute la fenêtre */
#sidebar
.show
{
width
:
100vw
;
height
:
100vh
;
position
:
fixed
;
top
:
0
;
left
:
0
;
padding-top
:
50px
;
/* Laisser de l'espace sous le bouton hamburger si nécessaire */
z-index
:
1050
;
}
/* Optionnel : masquer le contenu principal quand la sidebar est affichée */
.main-content
{
display
:
none
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment