sass-site/source/assets/stylesheets/regions/_contentinfo.scss

74 lines
1.3 KiB
SCSS
Raw Normal View History

2013-10-09 12:30:53 +02:00
.contentinfo {
2013-10-12 17:51:13 +02:00
@include padding-leader;
@include padding-trailer;
2013-10-09 12:30:53 +02:00
color: $color-text-weak;
2012-11-28 12:59:42 +01:00
2013-10-09 12:30:53 +02:00
.container {
2013-10-12 20:25:16 +02:00
@include padding-leader;
2013-10-09 12:30:53 +02:00
@include padding-trailer;
}
2012-11-28 12:59:42 +01:00
2013-10-11 22:06:20 +02:00
ul {
@include font-size-small;
@include adjust-leading-to(1);
}
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
p {
@include padding-trailer(.25);
margin: {
right: 0;
left: 0;
}
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
&:last-child { padding-bottom: 0; }
}
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
a {
color: $color-text;
2012-11-29 06:00:50 +01:00
2013-10-09 12:30:53 +02:00
&:hover,
&:focus { color: $color-text-strong; }
2012-11-28 17:23:08 +01:00
}
2013-02-09 04:10:33 +01:00
}
2013-10-09 12:30:53 +02:00
.contentinfo-tools,
.contentinfo-social { @include padding-leader($font-size: $font-size-small); }
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
.contentinfo-tools ul {
@extend %horizontal-list;
font-size: 1em;
}
2013-02-09 04:10:33 +01:00
2013-10-11 22:06:20 +02:00
@include breakpoint($tablet-large) {
2013-02-09 04:10:33 +01:00
.contentinfo {
2013-10-09 12:30:53 +02:00
padding: {
top: 0;
bottom: 0;
}
height: $sticky-contentinfo-height;
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
.container {
@extend %table-layout-tablet-large;
text-align: left;
2012-11-29 06:00:50 +01:00
}
2013-02-11 00:04:29 +01:00
2013-10-09 12:30:53 +02:00
ul {
display: table-row;
height: 100%;
2013-02-11 00:04:29 +01:00
}
2012-11-28 17:23:08 +01:00
}
2013-10-09 12:30:53 +02:00
.contentinfo-legal,
.contentinfo-tools,
.contentinfo-social { @extend %table-layout-cell-tablet-large; }
.contentinfo-tools,
.contentinfo-social {
padding: 0 0 0 ($gutter-width * 2);
width: 1px;
white-space: nowrap;
}
.contentinfo-social { @include adjust-leading-to(1, $font-size-small); }
}