Files
meanTorrent/modules/requests/client/less/requests.less

232 lines
5.8 KiB
Plaintext

@import (reference) "../../../core/client/less/mt-var.less";
.requests-group {
.btn {
text-shadow: none !important;
}
@media (max-width: @screen-sm-max) {
.btn {
min-width: 160px !important;
}
}
@media (max-width: @screen-xs-max) {
.btn {
min-width: auto !important;
}
}
@media (max-width: @screen-xs) {
.btn {
margin: 0 5px !important;
border-radius: 4px !important;
min-width: 160px !important;
}
.visible-xxs-block {
margin-bottom: 10px;
}
}
}
.requests-desc {
text-shadow: 0 0 0.1em #000, 0 0 0.1em #000;
margin-bottom: 30px;
padding: 0 20px 20px;
border: solid 1px #222;
border-radius: 5px;
background-color: #333;
background-color: rgba(16, 16, 16, 0.3);
li {
color: #aaaaaa;
font-size: 15px;
code {
text-shadow: none;
}
}
}
.request-form {
margin: 30px 0;
textarea {
resize: vertical;
min-height: 120px;
max-height: 300px;
}
}
.response-list {
table {
margin-bottom: 0;
tbody {
tr {
.td-text-overflow {
.text-long {
@media (min-width: @screen-lg-min) {
max-width: 480px;
min-width: 470px;
}
@media (max-width: @screen-md-max) {
max-width: 370px;
min-width: 360px;
}
}
}
&:hover {
.btn-response-accept {
display: block;
}
}
}
}
}
}
.request-list {
h4, .h4 {
margin: 5px 0;
font-size: 16px;
}
.request-item {
.item-desc {
color: #888;
}
.item-marked-desc {
color: #888;
margin-top: 10px;
}
}
}
.request-wrapper {
padding: 20px 0;
.request-avatar {
img {
cursor: pointer;
float: left;
border-radius: 3px;
height: 60px;
width: 60px;
}
}
.request-list {
margin-left: 80px;
table {
margin-bottom: 0;
tbody {
tr {
cursor: auto !important;
.td-text-overflow {
.text-long {
@media (min-width: @screen-lg-min) {
max-width: 510px;
min-width: 500px;
}
@media (max-width: @screen-md-max) {
max-width: 410px;
min-width: 400px;
}
}
}
}
}
}
}
fieldset {
float: left;
margin-right: 5px;
}
}
.response-wrapper {
margin-bottom: 30px;
.response-list {
.fa-accept {
margin-right: 10px;
font-size: 24px;
color: darken(@brand-success, 20%);
}
.div-accept {
width: 80px !important;
padding: 0 5px;
}
.div-overlay-accept {
position: absolute;
background-color: #444;
background-color: rgba(128, 128, 128, 0.7);
left: 95px;
right: 15px;
height: 116px;
z-index: 5;
font-size: 24px;
font-weight: 500;
color: #eee;
padding-top: 35px !important;
&:hover {
background-color: #444 !important;
background-color: rgba(128, 128, 128, 0.5) !important;
}
span {
margin-top: 50%;
}
}
.btn-response-accept {
display: none;
}
.accepted-item {
td:not(:first-child), td:not(:last-child) {
background-color: lighten(@brand-success, 30%);
}
}
.tb-v-middle {
tbody {
tr {
td:first-child, td:last-child {
padding: 0;
}
}
}
@media (min-width: @screen-sm-min) {
thead {
tr {
th {
&:first-child {
border-top: none !important;
border-bottom: none !important;
}
}
}
}
tbody {
tr {
td {
&:first-child, &:last-child {
border-top: none;
}
}
&:hover {
td {
&:first-child {
background-color: #fff;
}
}
}
}
&:last-child {
td {
&:first-child, &:last-child {
border-bottom: none !important;
}
}
}
}
}
;
}
}
.response-title {
margin: 20px 0 5px 88px;
font-size: 16px;
font-weight: 500;
}
}