mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 11:01:38 -05:00
254 lines
No EOL
4.4 KiB
SCSS
254 lines
No EOL
4.4 KiB
SCSS
.queue-container{
|
|
position:relative;
|
|
height:0px;
|
|
@include single-transition(ease-out, opacity, 400ms, 0ms);
|
|
ul{
|
|
position:absolute;
|
|
// right:0;
|
|
margin-left:100%;
|
|
left:10px;
|
|
top:-30px;
|
|
// @include box-shadow(0 1px 1px black(0.15));
|
|
@include border-radius(3px);
|
|
background: black(0.05);
|
|
padding:10px 0 0 10px;
|
|
max-width:120px;
|
|
white-space:nowrap;
|
|
@extend cf;
|
|
&:after {
|
|
right: 100%;
|
|
border: solid transparent;
|
|
content: " ";
|
|
height: 0;
|
|
width: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
border-color: rgba(255, 255, 255, 0);
|
|
border-right-color: black(0.05);
|
|
border-width: 8px;
|
|
top: 25px;
|
|
margin-top: -8px;
|
|
}
|
|
li{
|
|
display:block;
|
|
float:left;
|
|
margin:0 10px 10px 0;
|
|
display:block;
|
|
height:30px;
|
|
width:30px;
|
|
background:$red;
|
|
@include border-radius(100px);
|
|
line-height:30px;
|
|
text-align:center;
|
|
position:relative;
|
|
&.before{
|
|
position:absolute;
|
|
}
|
|
a{
|
|
position:absolute;
|
|
top:0px;
|
|
display:block;
|
|
height:30px;
|
|
width:30px;
|
|
@include border-radius(100px);
|
|
background-size: 30px 30px;
|
|
// @extend .has-tooltip;
|
|
}
|
|
// pointer-events:none;
|
|
// position:absolute;
|
|
// left:10px;
|
|
// @extend .grid-block;
|
|
// display:block;
|
|
// padding:3px 8px;
|
|
|
|
// white-space:nowrap;
|
|
|
|
// font-size:14px;
|
|
}
|
|
}
|
|
}
|
|
.comment{
|
|
margin-left:30px;
|
|
position:relative;
|
|
|
|
.comment-body{
|
|
@include single-transition(ease-out, opacity, 600ms, 0ms);
|
|
opacity:1;
|
|
}
|
|
&.comment-queued{
|
|
.comment-body{
|
|
opacity:0;
|
|
position:absolute;
|
|
pointer-events:none;
|
|
}
|
|
}
|
|
// &.comment-queued{
|
|
// &:after{
|
|
// position:absolute;
|
|
// display:block;
|
|
// content:" ";
|
|
// top:-5px;
|
|
// left:-30px;
|
|
// width:100%;
|
|
// height:0px;
|
|
// opacity:1;
|
|
// border-top:1px solid black(0.1);
|
|
// border-bottom:1px solid white(0.8);
|
|
// padding-right:30px;
|
|
// }
|
|
// .comment-notification{
|
|
// opacity:1;
|
|
// a{
|
|
// pointer-events:auto;
|
|
// }
|
|
// }
|
|
// .comment-body{
|
|
// opacity:0;
|
|
// position:absolute;
|
|
// pointer-events:none;
|
|
// }
|
|
// & + .comment-queued{
|
|
// &:after{
|
|
// display:none;
|
|
// }
|
|
// .comment-notification{
|
|
// top:10px;
|
|
// a{
|
|
// color:blue;
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
}
|
|
.comment-content{
|
|
position:relative;
|
|
@extend .grid-block;
|
|
@include border-radius(0 3px 3px 3px);
|
|
font-size:14px;
|
|
.comment-main{
|
|
margin-left:50px;
|
|
}
|
|
.user-avatar{
|
|
@include border-radius(100px);
|
|
overflow:hidden;
|
|
position:block;
|
|
float:left;
|
|
img{
|
|
height:40px;
|
|
width:40px;
|
|
display:block;
|
|
}
|
|
}
|
|
}
|
|
.comment-meta{
|
|
margin-bottom:5px;
|
|
.comment-username, .comment-time, .comment-permalink{
|
|
display:inline-block;
|
|
margin-right:4px;
|
|
}
|
|
color:$light-text;
|
|
.comment-permalink{
|
|
position:relative;
|
|
@include hide-text;
|
|
width:20px;
|
|
color:$light-text;
|
|
margin:0;
|
|
&:before{
|
|
position:absolute;
|
|
display:block;
|
|
top:1px;
|
|
left:0;
|
|
text-indent:0;
|
|
}
|
|
&:hover:before{
|
|
color:$red;
|
|
}
|
|
}
|
|
}
|
|
.comment-actions{
|
|
position:absolute;
|
|
left:-30px;
|
|
top:0px;
|
|
a{
|
|
@include border-radius(0 0 0 3px);
|
|
position:relative;
|
|
display:block;
|
|
height:30px;
|
|
width:30px;
|
|
// background:$light-blue;
|
|
background:white;
|
|
@include box-shadow(0 1px 1px black(0.15));
|
|
overflow:hidden;
|
|
@include hide-text;
|
|
// border-right:1px solid $lightest-grey;
|
|
&.upvote{
|
|
@include border-radius(3px 0 0 0);
|
|
margin-bottom:1px;
|
|
}
|
|
i{
|
|
font-size:12px;
|
|
display:block;
|
|
position:absolute;
|
|
height:30px;
|
|
width:30px;
|
|
line-height:30px;
|
|
text-align:center;
|
|
text-indent:0;
|
|
// color:$light-blue2;
|
|
color:$red;
|
|
}
|
|
&:hover{
|
|
background:$highlight-color;
|
|
i{
|
|
color:white;
|
|
}
|
|
}
|
|
}
|
|
&.upvoted .upvote, &.downvoted .downvote{
|
|
cursor:default;
|
|
i{
|
|
color:$blue;
|
|
}
|
|
&:hover{
|
|
background:white;
|
|
}
|
|
}
|
|
&.downvoted .upvote, &.upvoted .downvote{
|
|
cursor:default;
|
|
i{
|
|
color:$light-text;
|
|
}
|
|
&:hover{
|
|
background:white;
|
|
}
|
|
}
|
|
}
|
|
.comment-new{
|
|
@extend .grid-block;
|
|
@extend .cf;
|
|
.comment-field{
|
|
margin-bottom:$grid-margin;
|
|
}
|
|
.comment-submit{
|
|
@extend .cf;
|
|
}
|
|
.comment-page &{
|
|
margin-left:30px;
|
|
position: relative;
|
|
background: #ffffff;
|
|
&:after {
|
|
bottom: 100%;
|
|
border: solid transparent;
|
|
content: " ";
|
|
height: 0;
|
|
width: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
border-color: rgba(255, 255, 255, 0);
|
|
border-bottom-color: #ffffff;
|
|
border-width: 8px;
|
|
left: 20px;
|
|
margin-left: -8px;
|
|
}
|
|
}
|
|
} |