2016-03-24 16:19:46 +09:00
|
|
|
|
2016-03-30 10:06:12 +09:00
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
// Post List //
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-list-header{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include medium-large{
|
|
|
|
@include flex-center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2016-03-25 10:45:28 +09:00
|
|
|
margin-bottom: $vmargin;
|
2016-03-24 18:17:35 +09:00
|
|
|
}
|
|
|
|
|
2016-11-10 10:54:43 +01:00
|
|
|
.posts-list-header-categories{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: $vmargin;
|
|
|
|
text-align: center;
|
2016-04-18 12:16:07 +09:00
|
|
|
.btn-group{
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.dropdown-toggle{
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-03-30 10:06:12 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-views{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
margin-bottom: $vmargin;
|
2016-04-18 12:16:07 +09:00
|
|
|
.btn-group{
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.dropdown-toggle{
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-03-30 10:06:12 +09:00
|
|
|
}
|
2016-04-18 12:16:07 +09:00
|
|
|
a.btn{
|
2016-03-25 10:45:28 +09:00
|
|
|
@include border;
|
|
|
|
// @include border-radius;
|
2016-03-24 18:17:35 +09:00
|
|
|
// padding: 3px 5px;
|
|
|
|
// margin-right: 5px;
|
2016-06-14 10:01:44 +09:00
|
|
|
&.posts-view-inactive{
|
2016-03-25 11:30:01 +09:00
|
|
|
@include activeHover;
|
|
|
|
}
|
2016-06-14 10:01:44 +09:00
|
|
|
&.posts-view-active{
|
2016-03-24 18:17:35 +09:00
|
|
|
background: $light-blue;
|
|
|
|
}
|
|
|
|
}
|
2016-12-01 15:29:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-list-header{
|
|
|
|
@include medium-large{
|
|
|
|
.search-form, .posts-list-header-categories button, .posts-views button{
|
|
|
|
width: 160px;
|
|
|
|
}
|
2016-03-28 11:43:42 +09:00
|
|
|
}
|
2016-03-24 18:17:35 +09:00
|
|
|
}
|
2016-03-30 10:06:12 +09:00
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-list-content{
|
2016-03-25 10:45:28 +09:00
|
|
|
border-top: $border;
|
2016-03-24 16:19:46 +09:00
|
|
|
// padding-top: 15px;
|
|
|
|
// margin-top: 15px;
|
|
|
|
margin-bottom: $vmargin;
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-load-more, .comments-load-more{
|
2016-03-30 10:06:12 +09:00
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
@include border;
|
|
|
|
@include border-radius;
|
|
|
|
font-size: $large-font;
|
|
|
|
padding: 10px 20px;
|
|
|
|
@include activeHover;
|
|
|
|
width: 100%;
|
|
|
|
background: $white;
|
2016-04-25 17:02:41 +09:00
|
|
|
color: $active-color;
|
2016-03-30 10:06:12 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-load-more-loading{
|
2016-04-07 12:43:41 +09:00
|
|
|
padding: 21px 0;
|
|
|
|
}
|
|
|
|
|
2016-03-30 10:06:12 +09:00
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
// Post Item //
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include medium-large{
|
|
|
|
@include flex-center;
|
|
|
|
}
|
2016-03-25 10:45:28 +09:00
|
|
|
border-bottom: $border;
|
2016-03-24 16:19:46 +09:00
|
|
|
padding: $vmargin 5px;
|
|
|
|
// margin-bottom: 15px;
|
2016-04-26 09:12:38 +09:00
|
|
|
&.posts-sticky{
|
2016-03-24 16:19:46 +09:00
|
|
|
background: $light-yellow;
|
|
|
|
|
|
|
|
}
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-vote{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
@include medium-large{
|
|
|
|
margin-right: $hmargin;
|
|
|
|
}
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.upvote-button{
|
2016-03-25 10:45:28 +09:00
|
|
|
@include border;
|
|
|
|
@include border-radius;
|
|
|
|
@include flex-center;
|
2016-03-24 16:03:30 +09:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 3px 5px;
|
|
|
|
.icon{
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.vote-count{
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.voted &{
|
|
|
|
color: $light-text;
|
|
|
|
}
|
2016-03-25 11:30:01 +09:00
|
|
|
@include activeHover;
|
2016-03-24 16:03:30 +09:00
|
|
|
&, &:active, &:hover{
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-content{
|
2016-03-24 16:03:30 +09:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-title{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
margin-right: 40px;
|
|
|
|
font-size: $large-font;
|
|
|
|
margin-bottom: $vmargin/2;
|
|
|
|
}
|
|
|
|
@include medium-large{
|
|
|
|
@include flex-center;
|
|
|
|
font-size: $larger-font;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-title-link{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
display: block;
|
|
|
|
margin-bottom: $vmargin/2;
|
|
|
|
}
|
2016-03-24 16:12:03 +09:00
|
|
|
color: $black;
|
2016-03-24 16:03:30 +09:00
|
|
|
&, &:active, &:hover{
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-categories{
|
2016-10-11 09:08:19 -07:00
|
|
|
flex-wrap: wrap;
|
2016-03-30 10:06:12 +09:00
|
|
|
@include medium-large{
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2016-03-25 10:45:28 +09:00
|
|
|
@include flex-center;
|
2016-03-24 16:03:30 +09:00
|
|
|
a{
|
|
|
|
display: block;
|
2016-03-25 12:17:29 +09:00
|
|
|
font-size: $small-font;
|
2016-03-25 10:45:28 +09:00
|
|
|
@include border;
|
|
|
|
@include border-radius;
|
2016-03-24 16:03:30 +09:00
|
|
|
margin-right: 5px;
|
|
|
|
padding: 2px 6px;
|
2016-03-25 11:30:01 +09:00
|
|
|
@include activeHover;
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-meta{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include medium-large{
|
|
|
|
@include flex-center;
|
|
|
|
}
|
2016-03-25 12:17:29 +09:00
|
|
|
font-size: $small-font;
|
2017-06-07 18:08:22 -07:00
|
|
|
.avatar{
|
2016-03-24 16:03:30 +09:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2016-04-20 09:17:19 +09:00
|
|
|
.users-name, .posts-item-date, .posts-item-comments, .posts-stats, .post-actions{
|
2016-03-25 10:45:28 +09:00
|
|
|
margin-right: $hmargin;
|
|
|
|
}
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-user{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
margin-bottom: $vmargin/2;
|
|
|
|
}
|
|
|
|
@include flex-center;
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-item-date, .posts-item-comments{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
margin-bottom: $vmargin/2;
|
|
|
|
}
|
2016-03-24 16:03:30 +09:00
|
|
|
color: $medium-text;
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-stats{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
margin-bottom: $vmargin/2;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-03-25 10:45:28 +09:00
|
|
|
@include border;
|
|
|
|
@include border-radius;
|
2016-03-25 12:17:29 +09:00
|
|
|
font-size: $smaller-font;
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-stats-item{
|
2016-03-25 10:45:28 +09:00
|
|
|
border-right: $border;
|
2016-03-24 16:03:30 +09:00
|
|
|
padding: 2px 5px;
|
|
|
|
display: inline-block;
|
|
|
|
&:last-child{
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-actions{
|
2016-03-25 10:45:28 +09:00
|
|
|
@include flex-center;
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-commenters{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-25 10:45:28 +09:00
|
|
|
@include flex-center;
|
2016-03-24 16:03:30 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-commenters-avatars{
|
2016-06-10 18:35:59 +09:00
|
|
|
display: flex;
|
2017-06-07 18:08:22 -07:00
|
|
|
.avatar{
|
2016-03-24 16:03:30 +09:00
|
|
|
margin-right: $hmargin;
|
|
|
|
}
|
2016-03-24 16:12:03 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-thumbnail{
|
2016-03-30 10:06:12 +09:00
|
|
|
@include small{
|
|
|
|
float: left;
|
|
|
|
}
|
2016-03-24 16:12:03 +09:00
|
|
|
display: block;
|
2016-03-30 10:06:12 +09:00
|
|
|
margin-right: $hmargin;
|
|
|
|
img{
|
|
|
|
display: block;
|
|
|
|
height: 50px;
|
|
|
|
width: auto;
|
|
|
|
}
|
2016-03-25 12:17:29 +09:00
|
|
|
}
|
|
|
|
|
2016-03-30 10:06:12 +09:00
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
// Post Page //
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-page{
|
|
|
|
.posts-item{
|
2016-03-25 12:17:29 +09:00
|
|
|
@include border-radius;
|
|
|
|
border: $border;
|
|
|
|
padding: $hmargin;
|
|
|
|
margin-bottom: $vmargin;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-page-body{
|
2016-03-25 12:17:29 +09:00
|
|
|
font-size: $large-font;
|
|
|
|
margin-bottom: $hmargin;
|
2016-03-27 18:17:20 +09:00
|
|
|
}
|
|
|
|
|
2016-03-30 10:06:12 +09:00
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
// Other Elements //
|
|
|
|
//////////////////////////////////////////////////////
|
2016-03-28 11:43:42 +09:00
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-day{
|
2016-04-14 16:22:57 +09:00
|
|
|
margin-bottom: $vmargin * 2;
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-load-more{
|
2016-03-28 11:43:42 +09:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
&:hover{
|
|
|
|
background: inherit;
|
|
|
|
color: inherit;
|
|
|
|
border: inherit;
|
|
|
|
}
|
|
|
|
}
|
2016-04-14 16:22:57 +09:00
|
|
|
.posts-no-results{
|
|
|
|
margin-top: $vmargin;
|
|
|
|
}
|
2016-03-29 10:13:35 +09:00
|
|
|
}
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
.posts-edit-form-header{
|
2016-03-29 10:13:35 +09:00
|
|
|
@include flex-center;
|
|
|
|
justify-content: space-between;
|
2016-05-20 09:33:55 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-edit-form-admin{
|
|
|
|
@include flex-center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: $vmargin * 2;
|
2016-10-11 09:08:19 -07:00
|
|
|
}
|