1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 14:42:31 +01:00
flox/client/assets/sass/_content.scss

138 lines
1.7 KiB
SCSS
Raw Normal View History

2015-07-27 20:49:37 +02:00
.flox {
position: relative;
width: 100%;
2016-02-25 11:25:19 +01:00
min-height: calc(100vh + 200px);
2015-07-27 20:49:37 +02:00
float: left;
2016-02-25 11:25:19 +01:00
padding: 0 0 200px 0;
2015-07-27 20:49:37 +02:00
}
.box {
float: left;
width: 100%;
padding: 60px 0;
position: relative;
2015-07-30 14:51:30 +02:00
.box-wrap:nth-of-type(2) & {
2015-07-27 20:49:37 +02:00
background: #242424;
2015-07-28 12:07:38 +02:00
.light-theme & {
background: #e9e9e9;
}
2015-07-27 20:49:37 +02:00
}
}
.box-headline {
font-size: 22px;
color: #555;
2015-07-28 12:07:38 +02:00
.light-theme & {
color: $dark;
}
2015-07-27 20:49:37 +02:00
&:hover,
2016-02-23 13:54:32 +01:00
&:active {
//background: $main;
2015-07-27 20:49:37 +02:00
color: #fff;
}
}
2015-11-26 21:17:16 +01:00
.box-options {
2015-07-27 20:49:37 +02:00
float: right;
i {
float: left;
cursor: pointer;
margin: 0 0 0 20px;
opacity: .8;
2015-07-28 12:07:38 +02:00
.light-theme & {
opacity: 1;
}
2015-07-27 20:49:37 +02:00
&:active {
opacity: .6;
}
}
}
.icon-time {
&.active {
@extend .icon-time-active;
}
}
.icon-star {
&.active {
@extend .icon-star-active;
}
}
2015-11-26 21:38:28 +01:00
.icon-load-more,
2015-07-27 20:49:37 +02:00
.icon-content-load,
2015-11-26 21:38:28 +01:00
.icon-box-load {
background: url(../img/content-load.gif) no-repeat;
2015-07-27 20:49:37 +02:00
width: 32px;
height: 32px;
position: absolute;
left: 50%;
2015-07-28 18:52:19 +02:00
top: 50vh;
2015-07-27 20:49:37 +02:00
transform: translateX(-50%);
2015-07-28 12:15:45 +02:00
2015-11-26 21:38:28 +01:00
.light-theme & {
background: url(../img/content-load-light.gif) no-repeat;
2015-07-28 12:15:45 +02:00
}
2015-07-27 20:49:37 +02:00
}
.icon-box-load {
top: 280px;
}
2015-07-30 14:07:13 +02:00
.load-more-wrap {
position: relative;
float: left;
width: 100%;
height: 70px;
}
.icon-load-more {
top: 0;
}
2015-07-27 20:49:37 +02:00
.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;
}
2015-07-28 20:50:39 +02:00
}
.load-more {
background: #242424;
padding: 10px;
float: left;
width: 100%;
text-align: center;
text-transform: uppercase;
color: #555;
cursor: pointer;
2015-07-30 14:07:13 +02:00
position: relative;
2015-07-28 20:50:39 +02:00
.light-theme & {
background: #e9e9e9;
}
2015-07-27 20:49:37 +02:00
}