Files
meanTorrent/modules/core/client/less/home.less

272 lines
7.1 KiB
Plaintext

@import (reference) "../../../core/client/less/mt-var.less";
.home_notice {
padding-top: 20px;
.alert {
position: relative;
}
h3, .h3 {
margin-top: 10px;
}
p {
font-size: 16px;
}
.sale_key {
color: @brand-danger;
}
.fa-close {
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
color: #888;
&:hover {
color: @brand-danger;
}
}
}
.sales_notice {
background-color: @brand-success;
}
.examination_notice {
background-color: @brand-danger;
}
.examination_status {
background-color: @brand-danger;
@media (min-width: @screen-sm-min) {
dl {
font-size: 16px;
margin-bottom: 0;
dt {
width: 280px;
}
dd {
margin-left: 300px;
}
}
}
&.examination_finished {
background-color: @brand-success;
}
}
.home-help, .home-notice, .home-new-topic, .home-new-torrents {
margin: 20px 0;
color: #4d4e53;
.list-items {
//background-color: #fafbfc;
//box-shadow: 2px 2px 2px rgba(0, 0, 0, .075);
margin-top: -25px;
padding: 20px 10px;
border-top: solid 2px @mt-base-color;
p {
margin: 0 0 5px;
//&:before {
// content: '+';
// display: inline-block;
// color: #ff6600;
// margin-right: 2px;
//}
&:last-child {
margin-bottom: 1px !important;
}
}
.item-date {
color: #999;
}
}
.list-title {
margin-bottom: 10px;
position: relative;
.fa-stack {
font-size: 30px;
color: @mt-base-color;
.fa:first-child {
text-shadow: 0 1px 1px #fff, 0 1px 1px #fff;
}
}
.fa-more {
position: absolute;
top: 22px;
right: 10px;
font-size: 20px;
&:hover {
color: @mt-base-color;
}
}
}
}
.home_vip_info {
background-color: #f7f7f7;
background-image: url("https://image.tmdb.org/t/p/w1280/wwPWKRteE3vxTMta2IxdRgEhYsq.jpg");
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
position: relative;
overflow: hidden;
.vip-half-background {
width: 100%;
min-height: 300px;
background-color: #2a2a2a;
background-color: rgba(0, 0, 0, 0.6);
@media (min-width: @screen-sm-min) {
&:before {
content: '';
position: absolute;
bottom: 0;
left: 35%;
right: 0;
border-right: 5000px solid #2a2a2a;
border-right: 5000px solid rgba(128, 128, 128, 0.4);
border-top: 10000px solid transparent;
}
}
}
.vip-content {
@media (min-width: @screen-sm-min) {
display: table;
width: 100%;
}
.vip-left {
position: relative;
overflow: hidden;
@media (min-width: @screen-sm-min) {
display: table-cell;
float: none;
vertical-align: bottom;
}
@media (max-width: @screen-xs-max) {
display: none;
}
.vip-img {
max-width: 250px;
position: absolute;
bottom: -40px;
left: 60px;
/* csslint ignore:start */
transform: rotateZ(15deg);
/* csslint ignore:end */
}
}
.vip-right {
padding: 20px 20px;
.vip-title {
color: @brand-success;
text-shadow: 0 0 0.1em #3a3a3a,-0 -0 0.1em #3a3a3a;
margin-bottom: 20px;
small {
color: @brand-success;
}
}
.vip-tooltip {
color: #ddd;
text-shadow: 0 0 0.1em #3a3a3a,-0 -0 0.1em #3a3a3a;
ul {
@media (max-width: @screen-xs-max) {
margin-bottom: 20px !important;
}
padding-left: 0;
li {
padding-left: 0;
list-style: none;
&:before {
content: '+';
display: inline-block;
color: @brand-success;
margin-right: 8px;
}
}
}
}
.vip-more {
text-shadow: 0 0 0.1em #3a3a3a,-0 -0 0.1em #3a3a3a;
&:hover {
a {
color: @brand-success;
}
}
}
@media (min-width: @screen-sm-min) {
display: table-cell;
float: none;
vertical-align: bottom;
}
}
}
}
.home_global_search {
background-color: #f7f7f7;
@media (min-width: @screen-sm-min) {
.search-row {
display: table;
width: 100%;
}
.search-col {
display: table-cell;
float: none;
vertical-align: middle;
}
}
.search-panel {
min-height: 120px;
padding: 20px;
text-shadow: 0 0 0.1em #000,-0 -0 0.1em #000;
.search-title {
font-size: 2em;
font-weight: 400;
margin-bottom: 0 !important;
}
.search-group {
max-width: 40em;
margin-right: auto;
margin-left: auto;
display: block;
input {
color: #eee;
background-color: #ccc;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 17px;
position: inherit;
z-index: 2;
float: none;
width: 100%;
margin-bottom: 0;
padding-right: 105px;
}
.btn-search {
border-top-right-radius: 17px;
border-bottom-right-radius: 17px;
position: absolute;
right: 1px;
top: 1px;
bottom: 1px;
opacity: 0.6;
z-index: 3;
&:hover,
&:focus {
outline: none;
opacity: 1;
}
}
}
.search-type {
text-shadow: 1px 1px 3px rgba(0, 1, 0, 0.5), 0 0 9px rgba(0, 1, 0, 0.2);
input {
opacity: 0.6;
&:hover,
&:checked,
&:focus {
opacity: 1;
}
}
}
}
}