Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EBI-Framework
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ebiwd
EBI-Framework
Commits
b84af895
Commit
b84af895
authored
6 years ago
by
Ken Hawkins
Browse files
Options
Downloads
Patches
Plain Diff
Make box sizing consistent #137
parent
7ae009d4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/ebi-global-includes/script/5_ebiFrameworkNotificationBanner.js
+5
-2
5 additions, 2 deletions
...lobal-includes/script/5_ebiFrameworkNotificationBanner.js
with
5 additions
and
2 deletions
js/ebi-global-includes/script/5_ebiFrameworkNotificationBanner.js
+
5
−
2
View file @
b84af895
...
@@ -12,7 +12,7 @@ function ebiFrameworkCreateDataProtectionBanner() {
...
@@ -12,7 +12,7 @@ function ebiFrameworkCreateDataProtectionBanner() {
banner
.
id
=
"
data-protection-banner
"
;
banner
.
id
=
"
data-protection-banner
"
;
banner
.
className
=
"
data-protection-banner
"
;
banner
.
className
=
"
data-protection-banner
"
;
banner
.
style
=
"
position: fixed; background-color: #111; width:
98
%; padding: .75rem 1%; left: 0; bottom: 0; color: #eee;
"
banner
.
style
=
"
position: fixed; background-color: #111; width:
100
%; padding: .75rem 1%; left: 0; bottom: 0; color: #eee;
"
wrapper
.
className
=
"
row
"
;
wrapper
.
className
=
"
row
"
;
wrapper
.
innerHTML
=
""
+
wrapper
.
innerHTML
=
""
+
"
<div class='columns medium-8 large-9'>
"
+
"
<div class='columns medium-8 large-9'>
"
+
...
@@ -83,6 +83,9 @@ function ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion) {
...
@@ -83,6 +83,9 @@ function ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion) {
var
compatibilityStyles
=
document
.
createElement
(
'
style
'
);
var
compatibilityStyles
=
document
.
createElement
(
'
style
'
);
compatibilityStyles
.
innerHTML
=
`
compatibilityStyles
.
innerHTML
=
`
.data-protection-banner {
box-sizing: border-box;
}
.data-protection-banner a,
.data-protection-banner a,
.data-protection-banner a:hover {
.data-protection-banner a:hover {
color: #fff;
color: #fff;
...
@@ -94,7 +97,7 @@ function ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion) {
...
@@ -94,7 +97,7 @@ function ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion) {
width: 24%; float: right; text-align: right;
width: 24%; float: right; text-align: right;
}
}
`
;
`
;
// remove any old style cookie banner
// remove any old style cookie banner
switch
(
targetedFrameworkVersion
)
{
switch
(
targetedFrameworkVersion
)
{
case
'
1.1
'
:
case
'
1.1
'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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