sass-site/source/assets/css/styleguide/_guide.scss.erb

113 lines
1.8 KiB
Plaintext
Raw Normal View History

2013-10-09 12:30:53 +02:00
@import "typography";
@import "color";
.guide-description-list {
@extend %description-list;
2013-10-13 01:26:11 +02:00
.content-primary & { max-width: none; }
2013-10-09 12:30:53 +02:00
%split-by { vertical-align: middle; }
}
.block {
float: left;
height: 1.5em;
border: 0 solid $color-background {
right-width: $gutter-width / 2;
left-width: $gutter-width / 2;
}
background: $color-background-shade;
}
@for $i from 1 through susy-get(columns, <%= data.layout.susy.total_columns %>) {
2013-10-09 12:30:53 +02:00
.by-#{$i} {
@extend %split-by;
.block { width: 100 / $i * 1%; }
}
}
2013-10-09 13:08:28 +02:00
.responsive-test {
2013-10-10 22:21:47 +02:00
@include square(100%);
2013-10-09 13:08:28 +02:00
overflow: hidden {
x: scroll;
}
2013-10-12 20:25:16 +02:00
ul { @extend %reset-list; }
2013-10-09 13:08:28 +02:00
li { position: relative; }
h3 { padding: 0; }
iframe { @include box-shadow(0 1px 1px $color-shadow)}
}
.width-only iframe { height: 640px; }
.styleguide_responsive-test {
.toolkit,
.pop-stripe,
.banner,
.page-header,
.release,
.contentinfo { @extend .visually-hidden; }
.page {
margin-bottom: 0;
padding-bottom: 0;
}
}
@import "toolkit";
[href*="404"],
[href*="htaccess"],
[href*="humans"],
[href*="robots"],
[href*="sitemap"] { @extend %hidden; }
2013-10-11 22:06:20 +02:00
@include breakpoint($tablet-large) {
.content-primary .swatches { max-width: none; }
2013-10-09 12:30:53 +02:00
.responsive-test-url {
2013-10-09 13:08:28 +02:00
@extend %table-layout-tablet-large;
text-align: left;
2013-10-09 12:30:53 +02:00
fieldset {
display: table-row;
padding: 0;
2013-10-09 13:08:28 +02:00
}
2013-10-09 12:30:53 +02:00
2013-10-09 13:08:28 +02:00
p {
@extend %table-layout-cell-tablet-large;
padding: 0;
width: 100%;
&:last-child {
width: 1px;
padding-left: $gutter-width;
text-align: right;
white-space: nowrap;
.checkbox { margin-right: 0; }
2013-10-09 12:30:53 +02:00
}
}
2013-10-09 13:08:28 +02:00
label { padding-top: 0; }
input[type="text"] { width: 100%; }
2013-10-09 12:30:53 +02:00
}
.responsive-test {
2013-10-09 13:08:28 +02:00
ul { @extend %clear-fix-tablet-large; }
2013-10-09 12:30:53 +02:00
}
.frame {
float: left;
2013-10-13 01:26:11 +02:00
margin: 0 .5em;
2013-10-09 12:30:53 +02:00
}
}