This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,345 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
polyfill-next-selector { | ||
content: ':host /deep/ .ui-responsive'; | ||
} | ||
|
||
::content .ui-responsive, | ||
::content>* /deep/ .ui-responsive, | ||
:host /deep/ .ui-responsive { | ||
overflow: hidden; | ||
} | ||
|
||
polyfill-next-selector { | ||
content: ':host /deep/ .ui-responsive .ui-block:first'; | ||
} | ||
|
||
::content .ui-responsive .ui-block:first, | ||
::content>* /deep/ .ui-responsive .ui-block:first, | ||
:host /deep/ .ui-responsive .ui-block:first { | ||
clear: left; | ||
} | ||
|
||
polyfill-next-selector { | ||
content: ':host /deep/ .ui-block'; | ||
} | ||
|
||
::content .ui-block, | ||
::content>* /deep/ .ui-block, | ||
:host /deep/ .ui-block { | ||
width: 50%; | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
float: left; | ||
min-height: 1px; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
-ms-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* preset breakpoint to switch to stacked grid styles below 35em (560px) */ | ||
|
||
@media all and (max-width: 35em) { | ||
polyfill-next-selector { | ||
content: ':host /deep/ .ui-responsive .ui-block'; | ||
} | ||
|
||
::content .ui-responsive .ui-block, | ||
::content>* /deep/ .ui-responsive .ui-block, | ||
:host /deep/ .ui-responsive .ui-block { | ||
width: 100%; | ||
float: none; | ||
} | ||
} |
Oops, something went wrong.