130 lines
2.0 KiB
SCSS
130 lines
2.0 KiB
SCSS
.hooks__list {
|
|
width: 100%;
|
|
|
|
tr {
|
|
&.disabled {
|
|
opacity: 0.4;
|
|
|
|
td {
|
|
cursor: default;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
}
|
|
}
|
|
|
|
&.cancel td {
|
|
background: fade-out($c-secondary, 0.6);
|
|
}
|
|
|
|
&.join:hover td {
|
|
background: fade-out($c-accent, 0.5);
|
|
color: #fff;
|
|
}
|
|
|
|
&:not(.disabled):hover ::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
&.variants td {
|
|
text-align: center;
|
|
padding: 3px 0;
|
|
background: none;
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
th {
|
|
@extend %roboto;
|
|
|
|
padding: 1em;
|
|
|
|
&.sortable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.sortable:hover,
|
|
&.sort {
|
|
font-weight: normal;
|
|
}
|
|
|
|
&.sort .is:before {
|
|
opacity: 0.7;
|
|
margin-right: 3px;
|
|
content: '';
|
|
}
|
|
|
|
&.player {
|
|
width: 110px;
|
|
}
|
|
|
|
@include breakpoint($mq-not-xx-small) {
|
|
&:nth-child(2) {
|
|
max-width: 7ch;
|
|
direction: rtl;
|
|
text-align: left;
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
td {
|
|
@extend %nowrap-hidden;
|
|
|
|
padding: 0.5em 0.7em;
|
|
border-bottom: $border;
|
|
cursor: pointer;
|
|
background: fade-out($c-bg-box, 0.5);
|
|
|
|
&:first-child {
|
|
width: 16px;
|
|
}
|
|
|
|
&:first-child ::before {
|
|
font-size: 1.2em;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
&:last-child ::before {
|
|
margin-right: 8px;
|
|
line-height: 0.9;
|
|
font-size: 1.6em;
|
|
}
|
|
|
|
::before {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
@include breakpoint($mq-not-xx-small) {
|
|
padding: 0.5em 0.4em;
|
|
|
|
&:first-child {
|
|
padding-left: 0.7em;
|
|
}
|
|
|
|
// player name
|
|
&:nth-child(2) {
|
|
@include elipsis;
|
|
max-width: 25vw;
|
|
}
|
|
|
|
// rated/casual
|
|
&:last-child {
|
|
@include elipsis;
|
|
max-width: 10vw;
|
|
}
|
|
}
|
|
}
|
|
|
|
tbody.stepping {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
.lseeks .create {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|