2022-01-13 13:00:31 +00:00
|
|
|
/*!
|
2023-12-19 14:36:33 +00:00
|
|
|
* # Fomantic-UI 2.9.3 - Comment
|
2023-08-17 09:47:40 +00:00
|
|
|
* https://github.com/fomantic/Fomantic-UI/
|
2022-01-13 13:00:31 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Released under the MIT license
|
2023-08-17 09:47:40 +00:00
|
|
|
* https://opensource.org/licenses/MIT
|
2022-01-13 13:00:31 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Standard
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
2022-01-13 13:00:31 +00:00
|
|
|
Comments
|
2023-08-17 09:47:40 +00:00
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
max-width: 650px;
|
|
|
|
}
|
|
|
|
.ui.comments:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.ui.comments:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
2022-01-13 13:00:31 +00:00
|
|
|
Comment
|
2023-08-17 09:47:40 +00:00
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment {
|
|
|
|
position: relative;
|
|
|
|
background: none;
|
|
|
|
margin: 0.5em 0 0;
|
|
|
|
padding: 0.5em 0 0;
|
|
|
|
border: none;
|
|
|
|
border-top: none;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
.ui.comments .comment:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
2022-01-13 13:00:31 +00:00
|
|
|
Nested Comments
|
2023-08-17 09:47:40 +00:00
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment > .comments {
|
|
|
|
margin: 0 0 0.5em 0.5em;
|
|
|
|
padding: 1em 0 1em 1em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.comments .comment > .comments::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.ui.comments .comment > .comments .comment {
|
|
|
|
border: none;
|
|
|
|
border-top: none;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
|
|
|
Avatar
|
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment .avatar {
|
|
|
|
display: block;
|
|
|
|
width: 2.5em;
|
|
|
|
height: auto;
|
|
|
|
float: left;
|
|
|
|
margin: 0.2em 0 0;
|
|
|
|
}
|
|
|
|
.ui.comments .comment img.avatar,
|
|
|
|
.ui.comments .comment .avatar img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
2022-01-13 13:00:31 +00:00
|
|
|
Content
|
2023-08-17 09:47:40 +00:00
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment > .content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* If there is an avatar move content over */
|
|
|
|
.ui.comments .comment > .avatar ~ .content {
|
|
|
|
margin-left: 3.5em;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
|
|
|
Author
|
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment .author {
|
|
|
|
font-size: 1em;
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.ui.comments .comment a.author {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.ui.comments .comment a.author:hover {
|
|
|
|
color: #1e70bf;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
|
|
|
Metadata
|
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment .metadata {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
color: rgba(0, 0, 0, 0.4);
|
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
|
|
|
.ui.comments .comment .metadata > * {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
}
|
|
|
|
.ui.comments .comment .metadata > :last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
2022-01-13 13:00:31 +00:00
|
|
|
Comment Text
|
2023-08-17 09:47:40 +00:00
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment .text {
|
|
|
|
margin: 0.25em 0 0.5em;
|
|
|
|
font-size: 1em;
|
|
|
|
word-wrap: break-word;
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
line-height: 1.3;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
|
|
|
User Actions
|
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments .comment .actions {
|
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
|
|
|
.ui.comments .comment .actions a {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.75em 0 0;
|
|
|
|
color: rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
.ui.comments .comment .actions a:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.ui.comments .comment .actions a.active,
|
|
|
|
.ui.comments .comment .actions a:hover {
|
|
|
|
color: rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
|
|
|
Reply Form
|
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments > .reply.form {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
.ui.comments .comment .reply.form {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
.ui.comments .reply.form textarea {
|
|
|
|
font-size: 1em;
|
|
|
|
height: 12em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
State
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.ui.collapsed.comments,
|
|
|
|
.ui.comments .collapsed.comments,
|
|
|
|
.ui.comments .collapsed.comment {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Variations
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
|
|
|
Threaded
|
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.threaded.comments .comment > .comments {
|
|
|
|
margin: -1.5em 0 -1em 1.25em;
|
|
|
|
padding: 3em 0 2em 2.25em;
|
2023-08-17 09:47:40 +00:00
|
|
|
box-shadow: -1px 0 0 rgba(34, 36, 38, 0.15);
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
|
|
|
Minimal
|
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.minimal.comments .comment .actions {
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
transition: opacity 0.2s ease;
|
2023-08-17 09:47:40 +00:00
|
|
|
transition-delay: 0.1s;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
|
|
|
.ui.minimal.comments .comment > .content:hover > .actions {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* -------------------
|
2022-01-13 13:00:31 +00:00
|
|
|
Sizes
|
2023-08-17 09:47:40 +00:00
|
|
|
-------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.comments {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
.ui.mini.comments {
|
|
|
|
font-size: 0.78571429rem;
|
|
|
|
}
|
|
|
|
.ui.tiny.comments {
|
|
|
|
font-size: 0.85714286rem;
|
|
|
|
}
|
|
|
|
.ui.small.comments {
|
|
|
|
font-size: 0.92857143rem;
|
|
|
|
}
|
|
|
|
.ui.large.comments {
|
|
|
|
font-size: 1.14285714rem;
|
|
|
|
}
|
|
|
|
.ui.big.comments {
|
|
|
|
font-size: 1.28571429rem;
|
|
|
|
}
|
|
|
|
.ui.huge.comments {
|
|
|
|
font-size: 1.42857143rem;
|
|
|
|
}
|
|
|
|
.ui.massive.comments {
|
|
|
|
font-size: 1.71428571rem;
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* -------------------
|
|
|
|
Inverted
|
|
|
|
-------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.inverted.comments .comment {
|
2023-08-17 09:47:40 +00:00
|
|
|
background-color: #1b1c1d;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
|
|
|
.ui.inverted.comments .comment .author,
|
|
|
|
.ui.inverted.comments .comment .text {
|
|
|
|
color: rgba(255, 255, 255, 0.9);
|
|
|
|
}
|
|
|
|
.ui.inverted.comments .comment .metadata,
|
|
|
|
.ui.inverted.comments .comment .actions a {
|
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
|
}
|
|
|
|
.ui.inverted.comments .comment a.author:hover,
|
|
|
|
.ui.inverted.comments .comment .actions a.active,
|
|
|
|
.ui.inverted.comments .comment .actions a:hover {
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
.ui.inverted.threaded.comments .comment > .comments {
|
2023-08-17 09:47:40 +00:00
|
|
|
box-shadow: -1px 0 0 #555;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
2023-12-19 14:36:33 +00:00
|
|
|
.ui.disabled.comments,
|
|
|
|
.ui.comments .disabled.comment {
|
|
|
|
opacity: 0.45;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-01-13 13:00:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Theme Overrides
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
2023-08-17 09:47:40 +00:00
|
|
|
Site Overrides
|
2022-01-13 13:00:31 +00:00
|
|
|
*******************************/
|
|
|
|
|