Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Remove IE 8 support, bump to v2.1-beta, changelog update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hutchy68 committed Dec 28, 2017
1 parent 8cff8e1 commit 5c9ff35
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 207 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Version 2.1

* [compatibility] Remove IE 8 support entirely
* [code] Moved icon appending for Visual Editor to `(window).load` function
* [code] Improved styling of TOC
* [code] [b/c break] Switch to MW 1.25+ extension registration mechanism
Expand Down
5 changes: 1 addition & 4 deletions assets/scripts/foreground.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@

jQuery(document).ready(function() {
// Add the 'less than IE9' class to appropriate version of IE by checking for their support of cssFloat (true in v9)
if (!jQuery.support.cssFloat) { jQuery('html').addClass('lt-ie9').addClass('no-js'); }


// Log errors
jQuery(document).foundation(function (response) {
// console.log(response.errors); < this line will produce error in ie9!
if (window.console) console.log(response.errors);
});

Expand Down
202 changes: 0 additions & 202 deletions assets/stylesheets/foreground.css
Original file line number Diff line number Diff line change
Expand Up @@ -597,208 +597,6 @@ div.mw-htmlform-field-HTMLCheckField div.mw-label {
height: 0;
}

/* ZUBR IE8 FIXES */


/* GRID: https://gist.github.com/zurbchris/5068210 */

.lt-ie9 .row {
width: 940px;
max-width: 100%;
min-width: 768px;
margin: 0 auto;
}
.lt-ie9 .row .row {
width: auto;
max-width: none;
min-width: 0;
margin: 0 -15px;
}
.lt-ie9 .row.large-collapse .column, .lt-ie9 .row.large-collapse .columns {
padding: 0;
}
.lt-ie9 .row .row {
width: auto;
max-width: none;
min-width: 0;
margin: 0 -15px;
}
.lt-ie9 .row .row.large-collapse {
margin: 0;
}
.lt-ie9 .column, .lt-ie9 .columns {
float: left;
min-height: 1px;
padding: 0 15px;
position: relative;
}
.lt-ie9 .column.large-centered, .columns.large-centered {
float: none;
margin: 0 auto;
}
.lt-ie9 [class*="column"]+[class*="column"]:last-child {
float: right;
}
.lt-ie9 [class*="column"]+[class*="column"].end {
float: left;
}
.lt-ie9 .large-1, .lt-ie9 .row .large-1 {
width: 8.33333%;
}
.lt-ie9 .large-2, .lt-ie9 .row .large-2 {
width: 16.66667%;
}
.lt-ie9 .large-3, .lt-ie9 .row .large-3 {
width: 25%;
}
.lt-ie9 .large-4, .lt-ie9 .row .large-4 {
width: 33.33333%;
}
.lt-ie9 .large-5, .lt-ie9 .row .large-5 {
width: 41.66667%;
}
.lt-ie9 .large-6, .lt-ie9 .row .large-6 {
width: 50%;
}
.lt-ie9 .large-7, .lt-ie9 .row .large-7 {
width: 58.33333%;
}
.lt-ie9 .large-8, .lt-ie9 .row .large-8 {
width: 66.66667%;
}
.lt-ie9 .large-9, .lt-ie9 .row .large-9 {
width: 75%;
}
.lt-ie9 .large-10, .lt-ie9 .row .large-10 {
width: 83.33333%;
}
.lt-ie9 .large-11, .lt-ie9 .row .large-11 {
width: 91.66667%;
}
.lt-ie9 .large-12, .lt-ie9 .row .large-12 {
width: 100%;
}
.lt-ie9 .row .large-offset-1 {
margin-left: 8.33333%;
}
.lt-ie9 .row .large-offset-2 {
margin-left: 16.66667%;
}
.lt-ie9 .row .large-offset-3 {
margin-left: 25%;
}
.lt-ie9 .row .large-offset-4 {
margin-left: 33.33333%;
}
.lt-ie9 .row .large-offset-5 {
margin-left: 41.66667%;
}
.lt-ie9 .row .large-offset-6 {
margin-left: 50%;
}
.lt-ie9 .row .large-offset-7 {
margin-left: 58.33333%;
}
.lt-ie9 .row .large-offset-8 {
margin-left: 66.66667%;
}
.lt-ie9 .row .large-offset-9 {
margin-left: 75%;
}
.lt-ie9 .row .large-offset-10 {
margin-left: 83.33333%;
}
.lt-ie9 .pull-2 {
right: 16.66667%;
}
.lt-ie9 .pull-3 {
right: 25%;
}
.lt-ie9 .pull-4 {
right: 33.33333%;
}
.lt-ie9 .pull-5 {
right: 41.66667%;
}
.lt-ie9 .pull-6 {
right: 50%;
}
.lt-ie9 .pull-7 {
right: 58.33333%;
}
.lt-ie9 .pull-8 {
right: 66.66667%;
}
.lt-ie9 .pull-9 {
right: 75%;
}
.lt-ie9 .pull-10 {
right: 83.33333%;
}
.lt-ie9 .push-2 {
left: 16.66667%;
}
.lt-ie9 .push-3 {
left: 25%;
}
.lt-ie9 .push-4 {
left: 33.33333%;
}
.lt-ie9 .push-5 {
left: 41.66667%;
}
.lt-ie9 .push-6 {
left: 50%;
}
.lt-ie9 .push-7 {
left: 58.33333%;
}
.lt-ie9 .push-8 {
left: 66.66667%;
}
.lt-ie9 .push-9 {
left: 75%;
}
.lt-ie9 .push-10 {
left: 83.33333%;
}

/* Nicolas Gallagher's micro clearfix */

.lt-ie9 .row {
*zoom: 1;
}
.lt-ie9 .row:before, .row:after {
content: " ";
display: table;
}
.lt-ie9 .row:after {
clear: both;
}

/* END IE8 GRID */

.lt-ie9 .hide-for-small {
display: block !important;
}

/* TOP NAV */

.lt-ie9 .top-bar-section {
display: block;
}
.lt-ie9 .top-bar-section ul {
height: auto;
width: 100%;
}
.lt-ie9 .top-bar .top-bar-section ul, .lt-ie9 .top-bar .top-bar-section ul li {
float: left;
display: inline;
}

/* END OTHER IE8 FIXES */


/* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */

#p-toolboxend {
Expand Down
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Foreground",
"version": "2.1.0-alpha",
"version": "2.1.0-beta",
"author": [
"Garrick Van Buren",
"Jamie Thingelstad",
Expand Down

0 comments on commit 5c9ff35

Please sign in to comment.