lila/ui/lobby/css/app/_hook-list.scss

130 lines
2.0 KiB
SCSS
Raw Normal View History

2019-02-27 18:55:28 -07:00
.hooks__list {
width: 100%;
2019-02-28 04:43:28 -07:00
tr {
&.disabled {
opacity: 0.4;
2019-02-28 04:43:28 -07:00
td {
cursor: default;
background: transparent;
border-color: transparent;
}
}
2019-02-28 04:43:28 -07:00
&.cancel td {
background: fade-out($c-secondary, 0.6);
2019-02-28 04:43:28 -07:00
}
2019-02-28 04:43:28 -07:00
&.join:hover td {
background: fade-out($c-accent, 0.5);
2019-02-28 04:43:28 -07:00
color: #fff;
}
&:not(.disabled):hover ::before {
opacity: 1;
}
2019-02-28 04:43:28 -07:00
&.variants td {
text-align: center;
padding: 3px 0;
background: none;
text-transform: uppercase;
letter-spacing: 3px;
cursor: default;
2019-02-28 04:43:28 -07:00
}
2019-02-27 18:55:28 -07:00
}
2019-02-28 04:43:28 -07:00
th {
@extend %roboto;
2019-02-28 04:43:28 -07:00
padding: 1em;
2019-02-28 04:43:28 -07:00
&.sortable {
cursor: pointer;
}
2019-02-28 04:43:28 -07:00
&.sortable:hover,
&.sort {
font-weight: normal;
}
2019-02-28 04:43:28 -07:00
&.sort .is:before {
opacity: 0.7;
margin-right: 3px;
content: '';
2019-02-28 04:43:28 -07:00
}
2019-02-28 04:43:28 -07:00
&.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;
}
}
2019-02-27 18:55:28 -07:00
}
2019-02-27 18:55:28 -07:00
td {
2019-02-28 04:43:28 -07:00
@extend %nowrap-hidden;
padding: 0.5em 0.7em;
2019-02-28 04:43:28 -07:00
border-bottom: $border;
2019-02-27 18:55:28 -07:00
cursor: pointer;
background: fade-out($c-bg-box, 0.5);
2019-02-28 04:43:28 -07:00
&:first-child {
width: 16px;
}
2019-02-28 04:43:28 -07:00
&:first-child ::before {
font-size: 1.2em;
line-height: 1.3;
}
2019-02-28 04:43:28 -07:00
&:last-child ::before {
margin-right: 8px;
line-height: 0.9;
font-size: 1.6em;
}
2019-02-28 04:43:28 -07:00
::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;
}
}
2019-02-27 18:55:28 -07:00
}
2019-02-27 18:55:28 -07:00
tbody.stepping {
opacity: 0.7;
}
}
2019-02-28 20:51:48 -07:00
.lseeks .create {
margin-top: 20px;
text-align: center;
}