Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
229
Merge Requests
229
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
eb925ef1
Commit
eb925ef1
authored
Nov 24, 2006
by
Steven Wittens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#93187
: Add header region to Garland theme
parent
2ba974d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
5 deletions
+43
-5
themes/garland/fix-ie.css
themes/garland/fix-ie.css
+6
-1
themes/garland/page.tpl.php
themes/garland/page.tpl.php
+1
-1
themes/garland/style.css
themes/garland/style.css
+36
-3
No files found.
themes/garland/fix-ie.css
View file @
eb925ef1
...
...
@@ -12,7 +12,7 @@ body {
font-size
:
80%
;
}
#wrapper
#container
{
#
header-region
,
#
wrapper
#container
{
/* Reset text alignment */
text-align
:
left
;
}
...
...
@@ -52,3 +52,8 @@ td.menu-disabled {
/* Use filter to emulate CSS3 opacity */
filter
:
alpha
(
opacity
=
50
);
}
#header-region
{
/* Because of the lack of min-height, we use height as an alternative */
height
:
1em
;
}
\ No newline at end of file
themes/garland/page.tpl.php
View file @
eb925ef1
...
...
@@ -13,7 +13,7 @@
<body
<?php
print
phptemplate_body_class
(
$sidebar_left
,
$sidebar_right
);
?>
>
<!-- Layout -->
<div
id=
"
navigation"
></div>
<div
id=
"
header-region"
class=
"clear-block"
>
<?php
print
$header
;
?
>
</div>
<div
id=
"wrapper"
>
<div
id=
"container"
class=
"clear-block"
>
...
...
themes/garland/style.css
View file @
eb925ef1
...
...
@@ -263,10 +263,43 @@ table .form-button, table .form-submit {
/**
* Layout
*/
#header-region
{
min-height
:
1em
;
background
:
#d2e6f3
url("images/bg-navigation.png")
repeat-x
50%
100%
;
}
#header-region
.block
{
display
:
block
;
margin
:
0
1em
;
}
#header-region
.block-region
{
display
:
block
;
margin
:
0
0.5em
1em
;
padding
:
0.5em
;
position
:
relative
;
top
:
0.5em
;
}
#navigation
{
height
:
1em
;
background
:
url(images/bg-navigation.png)
repeat-x
50%
100%
;
#header-region
*
{
display
:
inline
;
line-height
:
1.5em
;
margin-top
:
0
;
margin-bottom
:
0
;
}
#header-region
p
,
#header-region
img
{
margin-top
:
0.5em
;
}
#header-region
h2
{
margin
:
0
1em
0
0
;
}
#header-region
h3
,
#header-region
label
,
#header-region
li
{
margin
:
0
1em
;
padding
:
0
;
background
:
none
;
}
#wrapper
{
...
...
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