Select Git revision
Comments.css
Comments.css 2.67 KiB
.comments-title {
font-size: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
margin-top: 0.5rem;
}
.comments-input {
resize: none;
display : block;
height: 2.4rem;
width: 100%;
max-height: 10rem;
overflow-x: hidden;
overflow-y: auto;
padding: 0.2rem;
border-radius: 0.5rem;
}
.comments-input::placeholder {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.comments-side-bar {
width: 25%;
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
}
.comments-full-size {
width: 100%;
}
.comments-scroll-bar {
flex: 1;
display: flex;
flex-direction: column;
overflow-y: auto;
}
.infos-scroll-bar {
direction: rtl;
}
.comment {
display: flex;
flex-direction: column;
border: 1px solid black;
border-radius: 0.5rem;
margin: 1rem;
padding: 0.5rem;
}
.comment-content {
margin-bottom: 0.5rem;
text-align: left;
word-wrap: break-word;
}
.comment-date {
font-size: 0.7rem;
align-self: flex-start;
margin-left: 0.2rem;
}
.comment-input-container {
display: flex;
width: 100%;
padding-left: 1rem;
}
.comment-input-button {
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(17, 2, 145);
color: white;
height: 2.4rem;
width: 2.4rem;
border-radius: 0.5rem;
padding: 0.2rem;
font-size: 1.5rem;
}
.comment-input-button:hover {
background-color: rgb(18, 0, 177);
}
.no-comments {
height: 100%;
display: flex;
align-items: center;
padding: 1.5rem;
justify-content: center;
}
.comments-loading {
margin-top: 2rem;
height: 100%;
}
.infos-loading {
direction: ltr;
}
#comments-icon-left, #comments-icon-right {
height: 2rem;
width: 2rem;
margin-right: 0.5rem;
}
.comment-title {
font-size: 0.8rem;
text-align: right;
}
.comment-title-infos {
font-size : 1.2rem;
}
.comment-delete-button {
margin-left: 1rem;
}
@media only screen and (max-width: 600px) {
.comments-side-bar {
width: 0px;
}
#comments-icon-left, #comments-icon-right {
position: absolute;
top: 0;
height: 3rem;
width: 3rem;
margin: 0.5rem;
padding: 0.5rem;
border-radius: 5px;
}
#comments-icon-left {
left: 0;
}
#comments-icon-right {
right: 0;
}
.comments-title {
font-size: 2rem;
}
.no-comments {
font-size: 1.4rem;
}
.comment-input-container {
padding-left: 0rem;
}
.comments-input {
max-height: 5rem;
}
}