mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 16:20:03 +08:00
171 lines
2.4 KiB
CSS
171 lines
2.4 KiB
CSS
.root {
|
|
margin-left: 20px;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.rootLevel0:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.root:first-child {
|
|
border: 0;
|
|
}
|
|
|
|
.rootLevel0 {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.comment {
|
|
padding-left: 20px;
|
|
flex: auto;
|
|
}
|
|
|
|
.commentLevel0 {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.commentLevel1 {
|
|
border-left: 3px #212121 solid;
|
|
}
|
|
|
|
.commentLevel2 {
|
|
border-left: 2px #6a6a6a solid;
|
|
}
|
|
|
|
.commentLevel3 {
|
|
border-left: 2px #9e9e9e solid;
|
|
}
|
|
|
|
.commentLevel4 {
|
|
border-left: 2px #c1c1c1 solid;
|
|
}
|
|
|
|
.highlightedComment {
|
|
padding-left: 20px;
|
|
border-left: 3px solid rgb(35,118,216);
|
|
}
|
|
|
|
.pendingComment {
|
|
filter: blur(2px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.bylineSecondary {
|
|
color: #696969;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.editedMarker {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hr {
|
|
border: 0;
|
|
height: 0;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
/* element in the top right of the Comment */
|
|
.topRight {
|
|
float: right;
|
|
margin-top: 10px;
|
|
text-align: right;
|
|
}
|
|
|
|
.topRight > * {
|
|
text-align: initial;
|
|
}
|
|
|
|
.topRight .popover {
|
|
margin-top: 1em;
|
|
right: 0px;
|
|
}
|
|
|
|
.topRight .link.active,
|
|
.topRight .active .link {
|
|
padding-bottom: 0.125em;
|
|
border-bottom: 2px solid currentColor;
|
|
}
|
|
|
|
.topRightMenu {
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.editCommentForm {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.editCommentForm .buttonContainerLeft {
|
|
margin-right: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.editCommentForm .buttonContainerLeft .editWindowRemaining {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.editCommentForm .button {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.editWindowAlmostOver {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.link {
|
|
color: #2376D8;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popover {
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Wizard used for Ignore User, Delete Comment confirmations */
|
|
.Wizard {
|
|
background-color: #2E343B;
|
|
color: white;
|
|
padding: 1em;
|
|
max-width: 220px; /* consider moving to better class */
|
|
}
|
|
|
|
.Wizard header {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.Wizard .textAlignRight {
|
|
text-align: right;
|
|
}
|
|
|
|
.commentInfoBar {
|
|
float: right;
|
|
}
|
|
|
|
@keyframes enter {
|
|
0% {background-color: rgba(0, 0, 0, 0);}
|
|
50% {background-color: rgba(255,255,0, 0.2);}
|
|
100% {background-color: rgba(0, 0, 0, 0);}
|
|
}
|
|
|
|
.enter {
|
|
animation: enter 1000ms;
|
|
}
|
|
|
|
.commentRow {
|
|
display: flex;
|
|
flex-flow: row;
|
|
}
|
|
|
|
.commentAvatar {
|
|
max-width: 50px;
|
|
margin-right: 10px;
|
|
}
|