339 lines
No EOL
5 KiB
SCSS
339 lines
No EOL
5 KiB
SCSS
@import '../mixins';
|
|
|
|
#post-interactions {
|
|
position: fixed;
|
|
width: 100%;
|
|
bottom: 0;
|
|
left: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
#post-reactions {
|
|
height: 80%;
|
|
max-height: 350px;
|
|
overflow: auto;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
#post-info,
|
|
#post-info-sneaky {
|
|
text-align: center;
|
|
z-index: 10;
|
|
|
|
margin-top: -33px;
|
|
|
|
#post-info-container {
|
|
@include info-container();
|
|
}
|
|
|
|
.well {
|
|
-webkit-box-shadow: inset 0 2px 2px rgba(0,0,0,0.10);
|
|
-moz-box-shadow: inset 0 2px 2px rgba(0,0,0,0.10);
|
|
box-shadow: inset 0 2px 2px rgba(0,0,0,0.10);
|
|
|
|
margin: 5px;
|
|
padding: 5px;
|
|
text-align: left;
|
|
|
|
max-height: 20px;
|
|
overflow: hidden;
|
|
|
|
background: {
|
|
color: #222;
|
|
color: rgba(0,0,0,0.2);
|
|
}
|
|
|
|
border: {
|
|
left: 1px solid #444;
|
|
right: 1px solid #444;
|
|
bottom: 1px solid #555;
|
|
top: 1px solid #111;
|
|
}
|
|
|
|
.img {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
i {
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.avatar {
|
|
@include border-radius();
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
#post-comments {
|
|
text-align: left;
|
|
padding-top: 0;
|
|
}
|
|
|
|
#new-post-comment {
|
|
-webkit-box-shadow: 0 -3px 6px -5px rgba(0,0,0,0.8);
|
|
-moz-box-shadow: 0 -3px 6px -5px rgba(0,0,0,0.8);
|
|
box-shadow: 0 -3px 6px -5px rgba(0,0,0,0.8);
|
|
|
|
border-top: 1px solid #444;
|
|
text-align: left;
|
|
background-image: image-url("hatched-bg-dark.png");
|
|
}
|
|
|
|
#new-post-comment-container {
|
|
position: relative;
|
|
|
|
padding: 10px;
|
|
|
|
textarea{
|
|
height: 18px;
|
|
width: 318px;
|
|
}
|
|
|
|
form {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.btn {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#post-info-sneaky {
|
|
@include transition(all, 0.2s);
|
|
|
|
z-index: 1;
|
|
position: fixed;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
bottom: 0;
|
|
|
|
margin-bottom: -60px;
|
|
min-height: 20px;
|
|
|
|
#post-info-container-sneaky {
|
|
@include info-container();
|
|
|
|
padding: 10px 0;
|
|
min-height: 20px;
|
|
}
|
|
}
|
|
|
|
.home-button {
|
|
@include transition(opacity, 0.3s);
|
|
@include opacity(0.6);
|
|
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 4px;
|
|
|
|
padding: 4px 6px;
|
|
|
|
&:hover {
|
|
@include opacity(1);
|
|
}
|
|
}
|
|
|
|
.invoker {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#post-feedback:hover {
|
|
#post-info-sneaky:not(.passive) {
|
|
@include opacity(1);
|
|
margin-bottom: -13px;
|
|
}
|
|
}
|
|
|
|
.comment-content h1, .comment-content h2, .comment-content h3, .comment-content h4, .comment-content h5, .comment-content h6 {
|
|
color: white;
|
|
text-shadow: 1px 1px black;
|
|
text-rendering: optimizelegibility;
|
|
}
|
|
|
|
.post-comment {
|
|
-moz-box-shadow: 0 1px 2px -2px #999;
|
|
-webkit-box-shadow: 0 1px 2px -2px #999;
|
|
box-shadow: 0 1px 2px -2px #999;
|
|
|
|
border-bottom: 1px solid #333;
|
|
|
|
p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
box-shadow: none;
|
|
border-bottom: none;
|
|
}
|
|
|
|
padding: 10px;
|
|
padding-right: 40px;
|
|
margin: 0px;
|
|
|
|
.avatar {
|
|
@include border-radius();
|
|
|
|
border: {
|
|
top: 1px solid #222;
|
|
right: 1px solid #444;
|
|
left: 1px solid #444;
|
|
bottom: 1px solid #666;
|
|
}
|
|
}
|
|
|
|
text-shadow: 0 1px 3px rgba(0,0,0,0.3);
|
|
|
|
a:hover {
|
|
color: #99CCFF
|
|
}
|
|
|
|
time {
|
|
color: #666;
|
|
font-size: smaller;
|
|
}
|
|
|
|
.controls {
|
|
@include transition(opacity);
|
|
@include opacity(0);
|
|
|
|
float: right;
|
|
margin-right: -40px;
|
|
|
|
a {
|
|
padding: 3px 5px;
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
.controls {
|
|
@include opacity(0.4);
|
|
|
|
&:hover {
|
|
@include opacity(1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.permalink-wrapper,
|
|
#user-controls {
|
|
height: 30px;
|
|
|
|
.avatar {
|
|
vertical-align: top;
|
|
height: 27px;
|
|
width: 27px;
|
|
}
|
|
|
|
a {
|
|
@include opacity(0.6);
|
|
@include transition(opacity, 0.3s);
|
|
|
|
position: relative;
|
|
|
|
z-index: 20;
|
|
|
|
padding: 5px;
|
|
margin-right: 5px;
|
|
line-height: 24px;
|
|
|
|
padding-top: 3px;
|
|
padding-right: 2px;
|
|
|
|
i {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
color: #fff;
|
|
|
|
&.label {
|
|
@include box-shadow(0, 0, 2px, rgba(255,255,255,0.9));
|
|
background-color: #000;
|
|
}
|
|
|
|
&.comment {
|
|
padding-right: 5px;
|
|
margin-right: 0;
|
|
}
|
|
|
|
&:hover {
|
|
@include opacity(1);
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
#post-feedback {
|
|
/* fixes flicker on hover... no idea as to why */
|
|
position: relative;
|
|
z-index: 30;
|
|
}
|
|
|
|
#close-reactions-pane {
|
|
display: none;
|
|
|
|
text-align: center;
|
|
position: absolute;
|
|
width: 100%;
|
|
left: 0;
|
|
top: -3px;
|
|
|
|
#close-reactions-pane-container {
|
|
@include pane-width();
|
|
top: 0;
|
|
|
|
min-height: 30px;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
#post-interactions.active #close-reactions-pane {
|
|
display: block;
|
|
}
|
|
|
|
.info-tick {
|
|
@include opacity(0.8);
|
|
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 8px;
|
|
}
|
|
|
|
|
|
/* stream specific wrapper */
|
|
#stream-interactions {
|
|
position : fixed;
|
|
top : 0;
|
|
bottom : 0;
|
|
overflow-y : auto;
|
|
|
|
#post-info {
|
|
text-align : left;
|
|
margin-top : 10px;
|
|
}
|
|
|
|
#user-controls {
|
|
padding : 7px;
|
|
}
|
|
}
|
|
|
|
.permalink-wrapper {
|
|
float : right;
|
|
margin-top : 9px;
|
|
margin-right : -5px;
|
|
margin-left : 4px;
|
|
} |