Nin is a theme for twister-html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

322 lines
5.3 KiB

/************* TOP TEXTAREA *************/
#postboard-top
position: relative
@extend .clear-fix
margin-bottom: 10px
transition: height .3s linear
9 years ago
padding: 15px
background: white
overflow: hidden
background: $bloc-light-color
+transition-property( top)
+transition-duration(.1s)
+transition-timing-function(ease-out)
top: 0
+box-shadow(1px 2px 2px rgba(#111, 0.1))
z-index: 120
.profile-photo
position: absolute
top: 10px
left: 10px
width: $mini-usr-img
img
width: 100%
.post-area
overflow: hidden
@extend .clear-fix
width: 100%
padding-left: 58px
padding-right: 0
display: inline
+box-sizing(border-box)
background: none
float: right
.post-area-new
@extend .open
+box-shadow(none)
textarea
margin: 0 0 10px 0
9 years ago
/************* POSTBOARD *************/
9 years ago
.postboard
width: $postboardWidth
float: left
h2, .postboard-news
9 years ago
display: none
.postboard-posts
position: relative
z-index: 1
clear: both
9 years ago
.post
9 years ago
position: relative
margin-bottom: 1px
+transition-property(margin)
+transition-duration(.5s)
+transition-timing-function(ease-out)
color: $defaut-font-color
cursor: pointer
&:hover
color: #000
.show-more
display: inline-block
float: right
font-size: .8rem
color: lighten($dark-grey,30%)
&:hover
color: lighten($dark-grey,5%)
.post-expand
color: lighten($dark-grey,30%)
background: $bloc-light-color
cursor: pointer
font-size: .8rem
position: absolute
left: 10px
bottom: 10px
&:hover
color: lighten($dark-grey,5%)
.post-data
9 years ago
padding: 15px
background: $bloc-light-color
/*********** EVERYTHING SPECIFIC TO OPEN POSTS **************/
> .post
+box-shadow(1px 2px 2px rgba(#111, 0.1))
&.open
margin-top: $space
margin-bottom: $space
+box-shadow(1px 2px 2px rgba(#111, 0))
.post
color: darken($defaut-font-color, 15%)
+box-shadow(1px 2px 2px rgba(#111, 0.1))
margin-bottom: 1px
&:not(.original)
.post-expand
display: none
margin: 0
9 years ago
.post-photo
margin: 0
display: inline-block
float: left
vertical-align: middle
overflow: hidden
width: $mini-usr-img
9 years ago
margin: 0 15px 15px 0
9 years ago
img
width: 100%
height: auto!important
.post-info-name
9 years ago
font-weight: 500
9 years ago
color: inherit
text-decoration: none
display: inline-block
9 years ago
font-size: 1rem
9 years ago
float: left
&:hover
text-decoration: none
color: black
.post-info-tag
font-size: .8rem
9 years ago
opacity: .6
margin-top: 4px
display: inline-block
9 years ago
.post-info-sent
display: block
position: absolute
top: 0
left: 3px
font-size: 15px
.post-info-time
9 years ago
position: absolute
font-size: .8rem
line-height: .8rem
9 years ago
text-decoration: none
top: 12px
right: 15px
9 years ago
color: lighten($dark-grey,30%)
&:hover
color: lighten($dark-grey,5%)
.post-text
margin: 0 0 0 ($mini-usr-img +10)
9 years ago
word-wrap: break-word
min-height: $mini-usr-img - 20
9 years ago
padding: 0
a:hover
text-decoration: underline
.post-context
font-size: .8rem
line-height: .8rem
margin: 0 0 .8rem 0
9 years ago
color: lighten($dark-grey,30%)
span
@extend .ion-shuffle
@extend .ion
&:before
display: block
float: left
color: $main-color-color
line-height: .8rem
font-size: .8rem
margin-right: .4em
// .post-interactions (reply, retransmit, fav)
.post-interactions
9 years ago
margin: 10px 0 3px 0
text-align: right
height: .8rem
line-height: .8rem
9 years ago
span
color: lighten($dark-grey,30%)
cursor: pointer
font-size: .8rem
line-height: .8rem
@extend .ion
position: relative
margin-left: 7px
display: none
.open .original &
display: inline-block!important
9 years ago
&:hover
color: lighten($dark-grey,5%)
&:before
padding: 3px
&.post-reply
@extend .ion-plus
&.post-propagate
@extend .ion-shuffle
&.post-favorite
@extend .ion-alert
.post:hover &
9 years ago
.post-reply, .post-propagate , .post-favorite
display: inline-block
.open .related
.post-reply,
.post-propagate,
.post-favorite
9 years ago
display: none!important
&:hover
.post-reply,
.post-propagate/*, .post-favorite*/
9 years ago
display: inline-block!important
.expanded-content
//display: none
padding: 0
9 years ago
@extend .clear-fix
textarea
clear: left
.image-preview
max-width: 100%
width: auto
9 years ago
display: block
margin: auto
.preview-container
9 years ago
width: 100%
text-align: center
overflow-y: auto
background: black
clear: both
.post-stats
9 years ago
float: left
li
display: inline-block
&.stat-count
font-size: 12px
9 years ago
float: left
line-height: 20px
@extend .ion-shuffle
@extend .ion
&:before
margin-right: 0
span:last-child
display: none
9 years ago
a
position: relative
text-decoration: none
display: inline-block
width: 20px
height: 20px
margin: 0 2px 0 0
9 years ago
img
width: 20px
height: 20px
+border-radius(3px)
//what appears on top of .avatar-row img on hover
.avatar-row
margin-left: 5px
a:hover
.user-name-tooltip
display: block
.user-name-tooltip
display: none
9 years ago
position: absolute
background: $main-color-dark
font-size: 11px
line-height: 11px
white-space: nowrap
padding: 5px
+border-radius(3px)
color: #fff
top: -32px
left: -10px
&:after
content: ""
position: absolute
width: 0
left: 13px
bottom: -5px
border-top: solid 5px $main-color-dark
border-left: solid 5px transparent
border-right: solid 5px transparent
// Posts replies get left border to show threads
.post-replies .sub-replies
border-left: solid 18px transparent
9 years ago