mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 02:43:46 +08:00
354 lines
5.5 KiB
CSS
354 lines
5.5 KiB
CSS
html, body {
|
|
width:auto;
|
|
height:auto;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Lato', sans-serif;
|
|
font-family: 'Open Sans', sans-serif;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
margin: 0px;
|
|
padding: 0px 0px 50px 0px;
|
|
}
|
|
|
|
.expandForSignin {
|
|
min-height: 600px;
|
|
}
|
|
|
|
button {
|
|
padding: 5px 10px;
|
|
margin: 5px;
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
button:hover {
|
|
border-radius: 2px;
|
|
color: #FFF;
|
|
background-color: rgb(155, 155, 155);
|
|
}
|
|
|
|
button i {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
.screen-reader-text {
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
height: 1px;
|
|
width: 1px;
|
|
overflow: hidden;
|
|
position: absolute !important;
|
|
}
|
|
|
|
/* Notification styles */
|
|
#coral-notif {
|
|
position: fixed;
|
|
border: 0;
|
|
background: rgb(105,105,105);
|
|
color: white;
|
|
border-radius: 2px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Info Box Styles */
|
|
.coral-plugin-infobox-info {
|
|
top: 0;
|
|
border: 0;
|
|
background: rgb(35,118,216);
|
|
color: white;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
font-weight: bold;
|
|
display: block;
|
|
}
|
|
|
|
/* Question Box Styles */
|
|
.coral-plugin-questionbox-info {
|
|
top: 0;
|
|
border: 0;
|
|
background: rgb(213,213,213);
|
|
color: black;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding-left: 0px;
|
|
margin-bottom: 0px;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
display: block;
|
|
}
|
|
|
|
.coral-plugin-questionbox-icon {
|
|
border: 0;
|
|
background: black;
|
|
color: white;
|
|
padding: 20px;
|
|
margin-left: 0px !important;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.hidden {
|
|
visibility: hidden;
|
|
display: none;
|
|
}
|
|
|
|
.commentStream {
|
|
/* prevent absolutely positioned final permalink popover from being clipped */
|
|
padding-bottom: 50px;
|
|
min-height: 600px;
|
|
position: relative;
|
|
}
|
|
|
|
/* Comment Box Styles */
|
|
.coral-plugin-commentbox-container {
|
|
display: flex;
|
|
}
|
|
|
|
.coral-plugin-commentbox-textarea {
|
|
flex: 1;
|
|
padding: 5px;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.coral-plugin-commentbox-button-container {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.coral-plugin-commentbox-button {
|
|
float: right;
|
|
margin-top: 10px;
|
|
padding: 5px 10px;
|
|
background: rgb(105, 105, 105);
|
|
color: #FFF;
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.coral-plugin-commentbox-username {
|
|
width: 50%;
|
|
padding-left: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.coral-plugin-commentbox-char-count {
|
|
color: #ccc;
|
|
text-align: right;
|
|
}
|
|
|
|
.coral-plugin-commentbox-char-max {
|
|
color: #d50000;
|
|
}
|
|
|
|
/* Comment styles */
|
|
.comment {
|
|
margin-bottom: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.coral-plugin-commentcontent-text {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.coral-plugin-author-name-text {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
font-weight: bolder;
|
|
}
|
|
|
|
.coral-plugin-author-name-bio-flag {
|
|
float: right;
|
|
}
|
|
|
|
|
|
/* Reply styles */
|
|
|
|
.comment .reply {
|
|
margin: 0px 0px 10px 20px;
|
|
}
|
|
|
|
/* Comment Action Styles */
|
|
|
|
.commentActionsRight, .replyActionsRight {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
width: 50%;
|
|
}
|
|
.commentActionsLeft, .replyActionsLeft {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
|
|
.material-icons {
|
|
font-size: 12px !important;
|
|
margin-left: 3px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.likedButton {
|
|
color: rgb(0,134,227);
|
|
}
|
|
|
|
.flaggedIcon {
|
|
color: #F00;
|
|
}
|
|
|
|
.coral-plugin-pubdate-text {
|
|
color: #CCC;
|
|
display: inline-block;
|
|
}
|
|
|
|
.coral-plugin-permalinks-container {
|
|
/*position: relative;*/
|
|
z-index: 2;
|
|
}
|
|
|
|
.coral-plugin-permalinks-popover {
|
|
display: none;
|
|
background-color: white;
|
|
border: 1px solid black;
|
|
width: calc(100% - 15px);
|
|
position: absolute;
|
|
top: 70px;
|
|
right: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
.coral-plugin-permalinks-popover.active {
|
|
display: block;
|
|
}
|
|
|
|
.coral-plugin-permalinks-copy-field {
|
|
display: block;
|
|
width: calc(100% - 5px);
|
|
}
|
|
|
|
.coral-plugin-permalinks-copied-text {
|
|
float: right;
|
|
margin: 8px;
|
|
}
|
|
|
|
/* Flag Styles */
|
|
|
|
.coral-plugin-flags-container {
|
|
position: relative;
|
|
}
|
|
|
|
.coral-plugin-flags-popup span {
|
|
min-width: 280px;
|
|
bottom: 36px;
|
|
position: absolute;
|
|
right: 10px;
|
|
}
|
|
|
|
.coral-plugin-flags-popup-form {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.coral-plugin-flags-popup-header {
|
|
font-weight: bolder;
|
|
font-size: 1.33rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.coral-plugin-flags-popup-radio {
|
|
margin:5px;
|
|
}
|
|
|
|
.coral-plugin-flags-popup-radio-label {
|
|
margin:5px;
|
|
font-weight: 700;
|
|
font-size: .9rem;
|
|
}
|
|
|
|
.coral-plugin-flags-popup-counter {
|
|
float: left;
|
|
margin-top: 21px;
|
|
color: #999;
|
|
}
|
|
|
|
.coral-plugin-flags-popup-button {
|
|
float: right;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.coral-plugin-flags-reason-text {
|
|
margin-left: 20px;
|
|
margin-top: 5px;
|
|
width: 75%;
|
|
}
|
|
|
|
/* Close comments */
|
|
|
|
.close-comments-intro-wrapper {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.close-comments-intro-wrapper button {
|
|
width: 300px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.close-comments-intro-wrapper button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.close-comments-message {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 100px;
|
|
}
|
|
|
|
.close-comments-confirm-wrapper {
|
|
float: right;
|
|
}
|
|
|
|
.close-comments-alert {
|
|
background-color: #d65344;
|
|
color: white;
|
|
font-size: 1.33rem;
|
|
padding: 5px;
|
|
}
|
|
|
|
.close-comments-alert i.material-icons {
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
/* Load More */
|
|
|
|
button.coral-load-more {
|
|
width: 100%;
|
|
text-align: center;
|
|
color: #FFF;
|
|
background-color: #2376D8;
|
|
}
|
|
|
|
button.coral-load-more:hover {
|
|
background-color: #4399FF;
|
|
}
|
|
|
|
.coral-load-more-replies {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.coral-load-more-replies button.coral-load-more {
|
|
width: initial;
|
|
}
|