Włączanie i wyłączanie trybu komentowania
This commit is contained in:
@@ -222,4 +222,50 @@ input:checked+.slider:before {
|
||||
z-index: 100001;
|
||||
pointer-events: auto !important;
|
||||
/* Żeby dało się w nie klikać nawet w trybie blokady */
|
||||
}
|
||||
|
||||
/* Ukrywanie pinesek */
|
||||
body.comments-hidden .comment-marker {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Dialog listy wszystkich komentarzy */
|
||||
#all-comments-dialog {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
|
||||
z-index: 100005;
|
||||
width: 500px;
|
||||
max-width: 90vw;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#all-comments-dialog-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
z-index: 100004;
|
||||
display: none;
|
||||
backdrop-filter: blur(2px);
|
||||
}
|
||||
|
||||
.comment-list-item {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
.comment-list-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.comment-list-item:hover {
|
||||
background: #f9f9f9;
|
||||
}
|
||||
Reference in New Issue
Block a user