This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ent wrapping on older browsers and set it back for modern browsers. Minor adjustment for grid-a to fix BB5 issue.
- Loading branch information
1 parent
e422f6d
commit e433a15
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
/* content configurations. */ | ||
.ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; } | ||
.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px;} | ||
.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px; } | ||
|
||
/* grid solo: 100 - single item fallback */ | ||
.ui-grid-solo .ui-block-a { width: 100%; float: none; } | ||
|
||
.ui-grid-solo .ui-block-a { display: block; float: none; } | ||
/* Lower percentages for older browsers (i.e. IE7) to prevent wrapping */ | ||
/* grid a: 50/50 */ | ||
.ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; } | ||
.ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 49.955%; } | ||
/* -.5px to fix BB5 wrap issue. */ | ||
.ui-grid-a > :nth-child(n) { width: 50%; margin-right: -.5px; } | ||
.ui-grid-a .ui-block-a { clear: left; } | ||
|
||
/* grid b: 33/33/33 */ | ||
.ui-grid-b .ui-block-a, .ui-grid-b .ui-block-b, .ui-grid-b .ui-block-c { width: 33.333%; } | ||
.ui-grid-b .ui-block-a, .ui-grid-b .ui-block-b, .ui-grid-b .ui-block-c { width: 33.3%; } | ||
.ui-grid-b > :nth-child(n) { width: 33.333%; } | ||
.ui-grid-b .ui-block-a { clear: left; } | ||
|
||
/* grid c: 25/25/25/25 */ | ||
.ui-grid-c .ui-block-a, .ui-grid-c .ui-block-b, .ui-grid-c .ui-block-c, .ui-grid-c .ui-block-d { width: 25%; } | ||
.ui-grid-c .ui-block-a, .ui-grid-c .ui-block-b, .ui-grid-c .ui-block-c, .ui-grid-c .ui-block-d { width: 24.955%; } | ||
.ui-grid-c > :nth-child(n) { width: 25%; } | ||
.ui-grid-c .ui-block-a { clear: left; } | ||
|
||
/* grid d: 20/20/20/20/20 */ | ||
.ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 20%; } | ||
.ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 19.955%; } | ||
.ui-grid-d > :nth-child(n) { width: 20%; } | ||
.ui-grid-d .ui-block-a { clear: left; } |