ensl.org/app/assets/stylesheets/pages/_contests.scss
Luke Barratt 6f56bf81fd Removed fixed topbar
Improved layout
Improved form styling
Fixes issues with firefox
Added menu icons
2014-04-19 02:12:02 +01:00

129 lines
1.5 KiB
SCSS

/*
Contester
*/
div#matches {
@include span-columns(12);
margin: em(20) 0;
}
/*
Contest List
*/
table.contest {
margin-bottom: em(40);
.fa-chevron-up {
color: $light-green;
}
.fa-chevron-down {
color: $light-red;
}
.fa-trophy {
color: $gold;
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.75);
}
tbody td {
&:first-child {
text-align: center;
}
&:nth-child(2) {
text-align: center;
}
&:nth-child(4) {
text-align: left;
}
&.actions {
text-align: right;
i {
padding-left: em(5);
}
}
}
thead {
.movement,
.flag,
.awards {
width: 5%;
}
.team {
width: 35%;
}
.score,
.win,
.loss,
.draw,
.actions {
width: 10%;
}
}
}
/*
Brackets
*/
table.brackets {
margin: em(20) 0 em(40) 0;
width: auto;
td {
padding: 0;
border-bottom: 0;
text-align: left;
a {
display: block;
width: 100%;
}
}
.empty {
padding: 0;
}
.flag {
width: em(44);
img {
width: em(24);
margin-left: em(10);
}
}
.team {
padding: em(5) 0;
background-color: $light-gray;
border-right: 1px solid $medium-gray;
clear: both;
table {
margin: 0;
}
}
.bracket {
padding: 0 em(10) 0 0;
width: em(158);
}
.connector {
border-right: 1px solid $medium-gray;
}
> tbody > tr > td {
width: em(150);
}
}