Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
WCMS
uw_fdsu_theme_resp
Commits
12cc910b
Commit
12cc910b
authored
7 years ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-2291: Setting up region for site footers
parent
c39c6db0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/_patterns/00-base/_global.scss
+50
-13
50 additions, 13 deletions
components/_patterns/00-base/_global.scss
components/_patterns/05-pages/_page.twig
+18
-6
18 additions, 6 deletions
components/_patterns/05-pages/_page.twig
uw_fdsu_theme_resp.info.yml
+1
-0
1 addition, 0 deletions
uw_fdsu_theme_resp.info.yml
with
69 additions
and
19 deletions
components/_patterns/00-base/_global.scss
+
50
−
13
View file @
12cc910b
...
@@ -2,6 +2,17 @@
...
@@ -2,6 +2,17 @@
display
:
none
;
display
:
none
;
}
}
html
.uw_html
{
background-color
:
black
;
}
body
{
font-family
:
georgia
,
"droid serif"
,
"Times New Roman"
,
Times
,
serif
;
font-size
:
1rem
;
color
:
#4e4e4e
;
background-color
:
white
;
}
.layout-container
{
.layout-container
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
auto
;
grid-template-columns
:
auto
;
...
@@ -9,29 +20,55 @@
...
@@ -9,29 +20,55 @@
}
}
.layout-container
header
{
.layout-container
header
{
grid-column
:
1
;
grid-column
:
1
/
2
;
grid-row
:
1
;
grid-row
:
1
/
2
;
}
}
.layout-container
main
{
.layout-container
main
{
grid-column
:
1
;
grid-column
:
1
/
2
;
grid-row
:
2
;
grid-row
:
2
/
3
;
max-width
:
63
.125rem
;
width
:
100%
;
margin-left
:
auto
;
margin-right
:
auto
;
}
.layout-container
.block-site-footer-block
{
grid-column
:
1
/
2
;
grid-row
:
3
/
4
;
}
}
.layout-container
footer
{
.layout-container
footer
{
grid-column
:
1
;
grid-column
:
1
/
2
;
grid-row
:
3
;
grid-row
:
4
/
5
;
}
}
html
.uw_html
{
.main-content-wrapper--with-sidebar
{
background-color
:
black
;
width
:
100%
;
display
:
grid
;
grid-template-columns
:
70%
30%
;
grid-template-rows
:
auto
;
.main-content
{
grid-column
:
1
/
2
;
grid-row
:
1
/
2
;
}
aside
{
grid-column
:
2
/
3
;
grid-row
:
1
/
2
;
}
}
}
body
{
.main-content-wrapper
{
font-family
:
georgia
,
"droid serif"
,
"Times New Roman"
,
Times
,
serif
;
width
:
100%
;
font-size
:
1rem
;
display
:
grid
;
color
:
#4e4e4e
;
grid-template-columns
:
100%
;
background-color
:
white
;
grid-template-rows
:
auto
;
.main-content
{
grid-column
:
1
/
2
;
grid-row
:
1
/
2
;
}
}
}
.ifdsu
{
.ifdsu
{
...
...
This diff is collapsed.
Click to expand it.
components/_patterns/05-pages/_page.twig
+
18
−
6
View file @
12cc910b
...
@@ -62,17 +62,29 @@
...
@@ -62,17 +62,29 @@
<a
id=
"main-content"
tabindex=
"-1"
></a>
{# link is in html.html.twig #}
<a
id=
"main-content"
tabindex=
"-1"
></a>
{# link is in html.html.twig #}
{%
if
page.sidebar
%}
{%
if
page.sidebar
%}
<
aside
class=
"main-
sidebar"
role=
"complementary
"
>
<
div
class=
"main-
content-wrapper
{%
if
page.sidebar
%}
--with-sidebar
{%
endif
%}
"
>
{
{
page.sidebar
}
}
{
%
else
%
}
<
/aside
>
<
div
class=
"main-content-wrapper"
>
{%
endif
%}
{%
endif
%}
<div
class=
"main-content
{%
if
page.sidebar
%}
--with-sidebar
{%
endif
%}
"
>
<div
class=
"main-content"
>
{{
page.content
}}
{{
page.content
}}
</div>
{# /.layout-content #}
</div>
{%
if
page.sidebar
%}
<aside
class=
"main-sidebar"
role=
"complementary"
>
{{
page.sidebar
}}
</aside>
{%
endif
%}
</div>
</main>
</main>
{%
if
page.sitefooter
%}
{{
page.sitefooter
}}
{%
endif
%}
{%
if
page.footer
%}
{%
if
page.footer
%}
{{
page.footer
}}
{{
page.footer
}}
{%
endif
%}
{%
endif
%}
...
...
This diff is collapsed.
Click to expand it.
uw_fdsu_theme_resp.info.yml
+
1
−
0
View file @
12cc910b
...
@@ -26,6 +26,7 @@ regions:
...
@@ -26,6 +26,7 @@ regions:
header
:
Header
header
:
Header
content
:
Content
# the content region is required
content
:
Content
# the content region is required
sidebar
:
'
Sidebar'
sidebar
:
'
Sidebar'
sitefooter
:
Site Footer
footer
:
Footer
footer
:
Footer
# Remove unwanted system stylesheets
# Remove unwanted system stylesheets
...
...
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