1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 22:52:32 +01:00
flox/client/assets/sass/_content.scss
2015-11-26 21:17:16 +01:00

138 lines
1.7 KiB
SCSS

.flox {
position: relative;
width: 100%;
min-height: calc(100vh + 120px);
float: left;
padding: 0 0 120px 0;
}
.box {
float: left;
width: 100%;
padding: 60px 0;
position: relative;
.box-wrap:nth-of-type(2) & {
background: #242424;
.light-theme & {
background: #e9e9e9;
}
}
}
.box-headline {
font-size: 22px;
color: #555;
.light-theme & {
color: $dark;
}
&:hover,
&:hover {
background: $main;
color: #fff;
}
}
.box-options {
float: right;
i {
float: left;
cursor: pointer;
margin: 0 0 0 20px;
opacity: .8;
.light-theme & {
opacity: 1;
}
&:active {
opacity: .6;
}
}
}
.icon-time {
&.active {
@extend .icon-time-active;
}
}
.icon-star {
&.active {
@extend .icon-star-active;
}
}
.icon-content-load,
.icon-box-load,
.icon-load-more {
background: url(../img/content-load.gif) no-repeats;
width: 32px;
height: 32px;
position: absolute;
left: 50%;
top: 50vh;
transform: translateX(-50%);
.light-theme & {
background: url(../img/content-load-light.gif) no-repeats;
}
}
.icon-box-load {
top: 280px;
}
.load-more-wrap {
position: relative;
float: left;
width: 100%;
height: 70px;
}
.icon-load-more {
top: 0;
}
.show-item-wrap {
float: left;
width: 100%;
margin: 50px 0 0 0;
}
.image-wrap {
float: left;
width: 350px;
}
.show-content {
float: left;
width: 710px;
h2 {
color: $main;
font-size: 32px;
}
}
.load-more {
background: #242424;
padding: 10px;
float: left;
width: 100%;
text-align: center;
text-transform: uppercase;
color: #555;
cursor: pointer;
position: relative;
.light-theme & {
background: #e9e9e9;
}
}