| Index: chrome/common/extensions/docs/static/sass/_grid.scss
|
| diff --git a/chrome/common/extensions/docs/static/sass/_grid.scss b/chrome/common/extensions/docs/static/sass/_grid.scss
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d17f90567dcbf028b03ad854271fb607010c1ecf
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/docs/static/sass/_grid.scss
|
| @@ -0,0 +1,94 @@
|
| +// Adapted from chrome.com
|
| +
|
| +@import "vars";
|
| +@import "mixins";
|
| +
|
| +
|
| +.g-section:after {
|
| + content: ".";
|
| + display: block;
|
| + height: 0;
|
| + clear: both;
|
| + visibility: hidden;
|
| +}
|
| +.g-unit .g-section:after {
|
| + clear:none
|
| +}
|
| +.g-unit .g-section {
|
| + width: 100%;
|
| + overflow: hidden;
|
| +}
|
| +.g-section,.g-unit {
|
| + zoom: 1;
|
| +}
|
| +.g-split > .g-unit {
|
| + float: right;
|
| + text-align: right;
|
| +}
|
| +.g-split > .g-first {
|
| + float: left;
|
| + text-align: left;
|
| +}
|
| +
|
| +.g-tpl-160 .g-unit,.g-unit .g-tpl-160 .g-unit,.g-unit .g-unit .g-tpl-160 .g-unit,.g-unit .g-unit .g-unit .g-tpl-160 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-160 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-160 .g-unit {
|
| +display:block;margin:0 0 0 160px;width:auto;float:none
|
| +}
|
| +.g-tpl-160 .g-first,.g-unit .g-tpl-160 .g-first,.g-unit .g-unit .g-tpl-160 .g-first,.g-unit .g-unit .g-unit .g-tpl-160 .g-first,.g-unit .g-unit .g-unit .g-unit .g-tpl-160 .g-first,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-160 .g-first {
|
| +display:block;margin:0;width:160px;float:left
|
| +}
|
| +.g-tpl-25-75 .g-unit,.g-unit .g-tpl-25-75 .g-unit,.g-unit .g-unit .g-tpl-25-75 .g-unit,.g-unit .g-unit .g-unit .g-tpl-25-75 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-25-75 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-25-75 .g-unit {
|
| +width:74.999%;float:right;display:inline;margin:0
|
| +}
|
| +.g-tpl-25-75 .g-first,.g-unit .g-tpl-25-75 .g-first,.g-unit .g-unit .g-tpl-25-75 .g-first,.g-unit .g-unit .g-unit .g-tpl-25-75 .g-first,.g-unit .g-unit .g-unit .g-unit .g-tpl-25-75 .g-first,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-25-75 .g-first {
|
| +width:24.999%;float:left;display:inline;margin:0
|
| +}
|
| +.g-tpl-75-25 .g-unit,.g-unit .g-tpl-75-25 .g-unit,.g-unit .g-unit .g-tpl-75-25 .g-unit,.g-unit .g-unit .g-unit .g-tpl-75-25 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-75-25 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-75-25 .g-unit {
|
| +width:24.999%;float:right;display:inline;margin:0
|
| +}
|
| +.g-tpl-75-25 .g-first,.g-unit .g-tpl-75-25 .g-first,.g-unit .g-unit .g-tpl-75-25 .g-first,.g-unit .g-unit .g-unit .g-tpl-75-25 .g-first,.g-unit .g-unit .g-unit .g-unit .g-tpl-75-25 .g-first,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-75-25 .g-first {
|
| +width:74.999%;float:left;display:inline;margin:0
|
| +}
|
| +.g-tpl-33-67 .g-unit,.g-unit .g-tpl-33-67 .g-unit,.g-unit .g-unit .g-tpl-33-67 .g-unit,.g-unit .g-unit .g-unit .g-tpl-33-67 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-33-67 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-33-67 .g-unit {
|
| +width:66.999%;float:right;display:inline;margin:0
|
| +}
|
| +.g-tpl-33-67 .g-first,.g-unit .g-tpl-33-67 .g-first,.g-unit .g-unit .g-tpl-33-67 .g-first,.g-unit .g-unit .g-unit .g-tpl-33-67 .g-first,.g-unit .g-unit .g-unit .g-unit .g-tpl-33-67 .g-first,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-33-67 .g-first {
|
| +width:32.999%;float:left;display:inline;margin:0
|
| +}
|
| +.g-tpl-67-33 .g-unit,.g-unit .g-tpl-67-33 .g-unit,.g-unit .g-unit .g-tpl-67-33 .g-unit,.g-unit .g-unit .g-unit .g-tpl-67-33 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-67-33 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-67-33 .g-unit {
|
| +width:32.999%;float:right;display:inline;margin:0
|
| +}
|
| +.g-tpl-67-33 .g-first,.g-unit .g-tpl-67-33 .g-first,.g-unit .g-unit .g-tpl-67-33 .g-first,.g-unit .g-unit .g-unit .g-tpl-67-33 .g-first,.g-unit .g-unit .g-unit .g-unit .g-tpl-67-33 .g-first,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-67-33 .g-first {
|
| +width:66.999%;float:left;display:inline;margin:0
|
| +}
|
| +.g-tpl-50-50 .g-unit,.g-unit .g-tpl-50-50 .g-unit,.g-unit .g-unit .g-tpl-50-50 .g-unit,.g-unit .g-unit .g-unit .g-tpl-50-50 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-50-50 .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-50-50 .g-unit {
|
| +width:49.999%;float:right;display:inline;margin:0
|
| +}
|
| +.g-tpl-50-50 .g-first,.g-unit .g-tpl-50-50 .g-first,.g-unit .g-unit .g-tpl-50-50 .g-first,.g-unit .g-unit .g-unit .g-tpl-50-50 .g-first,.g-unit .g-unit .g-unit .g-unit .g-tpl-50-50 .g-first,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-50-50 .g-first {
|
| +width:49.999%;float:left;display:inline;margin:0
|
| +}
|
| +.g-tpl-nest .g-unit
|
| +/*,.g-unit .g-tpl-nest .g-unit,.g-unit .g-unit .g-tpl-nest .g-unit,.g-unit .g-unit .g-unit .g-tpl-nest .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-nest .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-nest .g-unit {*/ {
|
| +float:left;width:auto;display:inline;margin:0 }
|
| +.g-tpl-nest-alt .g-unit
|
| +/*,.g-unit .g-tpl-nest-alt .g-unit,.g-unit .g-unit .g-tpl-nest-alt .g-unit,.g-unit .g-unit .g-unit .g-tpl-nest-alt .g-unit,.g-unit .g-unit .g-unit .g-unit .g-tpl-nest-alt .g-unit,.g-unit .g-unit .g-unit .g-unit .g-unit .g-tpl-nest-alt .g-unit*/ {
|
| +float:right;width:auto;display:inline;margin:0 }
|
| +
|
| +.g-content {
|
| + margin-right: 30px;
|
| +}
|
| +
|
| +.g-last .g-content {
|
| + margin-right: 0;
|
| +}
|
| +
|
| +// Phone
|
| +@media only screen and (max-width: $break-small) {
|
| + .g-unit {
|
| + &.g-unit {
|
| + float: none !important;
|
| + }
|
| + }
|
| + .g-content {
|
| + margin-right: 0;
|
| + }
|
| +}
|
|
|