ensl.org/app/assets/stylesheets/pages/_contests.scss
Luke Barratt 5487854a6c Start to cleanup old assets
Added new ISO country code flag icons to asset pipeline
Lots and lots of new style changes
Began converting to JS to coffeescript
2014-04-09 00:28:53 +01:00

104 lines
No EOL
1.2 KiB
SCSS

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;
}
}
thead {
.movement,
.flag,
.awards {
width: 5%;
}
.team {
width: 35%;
}
.score,
.win,
.loss,
.draw,
.actions {
width: 10%;
}
}
}
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);
}
}