Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pico-theme
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
tetras-libre
pico-theme
Commits
c36452ca
Verified
Commit
c36452ca
authored
4 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Add missing style and update menu config
parent
522891b6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
base.twig
+1
-1
1 addition, 1 deletion
base.twig
css/style.css
+41
-0
41 additions, 0 deletions
css/style.css
with
42 additions
and
1 deletion
base.twig
+
1
−
1
View file @
c36452ca
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</div>
</div>
<div
id=
"nav"
role=
"navigation"
tabindex=
"-1"
>
<div
id=
"nav"
role=
"navigation"
tabindex=
"-1"
>
<ul>
<ul>
{%
for
page
in
pages
(
depth
=
0
,
depthOffset
=-
1
)
|
sort_by
(
'
m
enu_order'
)
if
page.title
and
not
page.hidden
%}
{%
for
page
in
pages
(
depth
=
1
,
depthOffset
=-
1
)
|
sort_by
(
'
M
enu_order'
)
if
page.title
and
not
page.hidden
%}
<li
{%
if
page.id
==
current_page.id
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
page.id
==
current_page.id
%}
class=
"active"
{%
endif
%}
>
<a
href=
"
{{
page.url
}}
"
>
{{
page.title
}}
</a>
<a
href=
"
{{
page.url
}}
"
>
{{
page.title
}}
</a>
</li>
</li>
...
...
This diff is collapsed.
Click to expand it.
css/style.css
+
41
−
0
View file @
c36452ca
...
@@ -401,3 +401,44 @@ input::-moz-focus-inner, button::-moz-focus-inner {
...
@@ -401,3 +401,44 @@ input::-moz-focus-inner, button::-moz-focus-inner {
border
:
0
;
border
:
0
;
padding
:
0
;
padding
:
0
;
}
}
/*
* Collapse with preview
*/
.module
.collapse
,
.module
.collapsing
{
height
:
3rem
;
/* [NUM_OF_LINES] x [LINE_HEIGHT] */
}
.module
.collapse
{
position
:
relative
;
/* For ...'s content absolute positioning */
display
:
block
;
overflow
:
hidden
;
float
:
right
;
}
.module
.collapse
:before
{
content
:
''
;
position
:
absolute
;
right
:
0
;
bottom
:
0
;
}
.module
.collapse.show
{
height
:
auto
;
/* You need to reset the height when not collapsed */
}
.module
.collapse.show
:before
{
display
:
none
;
/* Of course you don't want to display ... */
}
.module
a
.collapsed
:after
{
content
:
'+ Voir plus'
;
}
.module
a
:not
(
.collapsed
)
:after
{
content
:
'- Voir moins'
;
}
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