ensl.org/app/assets/stylesheets/layout/_sidebar.scss
2014-05-04 00:36:02 +01:00

170 lines
No EOL
2.7 KiB
SCSS

#sidebar {
.widget {
@include span-columns(12);
margin-bottom: $container-padding;
font-family: $header-font-family;
color: white;
padding-top: 20px;
position: relative;
&:before {
content: '';
position: absolute;
width: 265px;
height: 75px;
background: image-url('layout/sidebar-shadow.png') top center no-repeat;
top: 0;
right: -15px;
}
h4 {
font-family: 'Impact';
text-align: center;
margin-bottom: 25px;
color: $light-blue;
}
.widget-content-wrapper {
@include span-columns(12);
font-size: 12px;
}
a {
color: $light-blue;
}
.separator {
border-radius: 10px 0 0 10px;
color: white;
background: #5a5a5a;
padding: 0 20px;
margin: 0 -15px 0 0;
margin-bottom: 12px;
font-weight: 600;
line-height: 30px;
text-align: right;
font-family: $header-font-family;
a {
color: $dark-blue;
float: right;
}
}
input[type=text] {
background: #0e1010;
border: 1px solid #494949;
}
.controls {
text-align: center;
}
.button,
.controls input {
@include linear-gradient(#585858, #585858);
font-family: 'Impact';
color: white;
border-radius: 10px;
background: #585858;
border: 0;
line-height: 30px;
height: 30px;
width: 175px;
margin-left: auto;
margin-right: auto;
text-align: center;
font-size: 18px;
display: inline-block;
float: none;
}
&:last-child {
margin-bottom: 0;
}
}
.calendar {
&:before {
display: none;
}
.entry {
margin-bottom: 0;
}
.time {
float: right;
margin-left: 10px;
}
}
.shoutbox {
.transcript {
margin-bottom: 20px;
}
input {
@include span-columns(12);
margin-bottom: 10px;
}
.shoutmsg {
display: block;
clear: both;
.user {
float: left;
padding: 0 5px 5px 0;
.delete {
float: left;
}
.username {
clear: right;
display: block;
}
.time {
clear: left;
display: block;
}
}
}
}
.highlights,
.posts {
ol {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
}
.poll {
.question {
@include span-columns(12);
margin-bottom: 20px;
h5 {
margin-bottom: 1em;
}
}
.bar {
display: block;
background: $blue;
height: 10px;
}
.button {
margin-bottom: 0;
}
}
}