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
f61ce845
Commit
f61ce845
authored
8 years ago
by
Ken Hawkins
Browse files
Options
Downloads
Patches
Plain Diff
Rounded corners to callout
parent
a7532982
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/testMigration.js
+12
-4
12 additions, 4 deletions
js/testMigration.js
with
12 additions
and
4 deletions
js/testMigration.js
+
12
−
4
View file @
f61ce845
...
...
@@ -9,7 +9,13 @@
fileref.setAttribute("src", "//ebiwd.github.io/EBI-Framework/js/testMigration.js")
document.getElementsByTagName("head")[0].appendChild(fileref)
Originall authored on 2016-05-16
1) Swap out the old compliance CSS/JS
2) Swap out the omega grid for the Foundation grid
3) Some nesting changes for the global/local header
4) A handful of minor CSS edits may be needed for any Service-specific oddities
Originally authored on 2016-05-16
For assistance contact Ken Hawkins in Webdev
or post to Github https://github.com/ebiwd/EBI-Framework/issues
*/
...
...
@@ -51,7 +57,6 @@ function testMigration(steppingTimeSpeed) {
jQuery
(
'
link[href="//www.ebi.ac.uk/web_guidelines/css/compliance/develop/ebi-visual.css"]
'
).
remove
();
jQuery
(
'
link[href="//www.ebi.ac.uk/web_guidelines/css/compliance/develop/984-24-col-fluid.css"]
'
).
remove
();
jQuery
(
'
link[href="//www.ebi.ac.uk/web_guidelines/css/compliance/mini/ebi-fluid-embl.css"]
'
).
remove
();
jQuery
(
'
link[href="//www.ebi.ac.uk/web_guidelines/css/compliance/develop/boilerplate-style.css"]
'
).
remove
();
jQuery
(
'
link[href="//www.ebi.ac.uk/web_guidelines/css/compliance/mini/ebi-fluid-embl-noboilerplate.css"]
'
).
remove
();
...
...
@@ -227,14 +232,17 @@ function testMigration(steppingTimeSpeed) {
console
.
log
(
'
- #intro should use the new .callout
'
);
}
if
(
jQuery
(
'
div.rounded-corner
'
).
length
>
0
)
{
jQuery
(
'
div.rounded-corner
'
).
removeClass
(
'
rounded-corner
'
).
addClass
(
'
callout
'
);
console
.
log
(
'
- div.rounded-corner should use the new .callout
'
);
}
if
(
jQuery
(
'
.shortcuts.transparent ul.split
'
).
length
>
0
)
{
jQuery
(
'
.shortcuts.transparent ul.split
'
).
removeClass
().
addClass
(
'
columns small-6 no-bullet
'
);
console
.
log
(
'
- the popular list should drop .split in favour of .columns.small-6.no-bullet /n
'
+
'
alternativley: .columns.small-6.menu.vertical.no-pad-left and add .icon-bullet to each li
'
);
}
console
.
log
(
'
------------------
\n
'
);
},
steppingTime
());
...
...
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