snort/packages/app/src/Element/Reactions.css

95 lines
1.7 KiB
CSS
Raw Normal View History

2023-02-08 21:10:26 +00:00
.reactions-modal .modal-body {
padding: 24px 32px;
background-color: #1b1b1b;
border-radius: 16px;
position: relative;
2023-05-10 12:29:07 +00:00
min-height: 33vh;
2023-02-08 21:10:26 +00:00
}
2023-05-10 12:29:07 +00:00
.light .reactions-modal .modal-body {
2023-02-09 11:24:15 +00:00
background-color: var(--note-bg);
}
2023-02-08 21:10:26 +00:00
@media (max-width: 720px) {
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body {
2023-02-08 21:10:26 +00:00
padding: 12px 16px;
max-width: calc(100vw - 32px);
2023-02-08 21:10:26 +00:00
}
}
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .close {
2023-02-08 21:10:26 +00:00
position: absolute;
top: 12px;
right: 16px;
color: var(--font-secondary-color);
cursor: pointer;
}
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .close:hover {
2023-02-08 21:10:26 +00:00
color: var(--font-tertiary-color);
}
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .reactions-header {
2023-02-08 21:10:26 +00:00
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 32px;
}
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .reactions-header h2 {
2023-02-08 21:10:26 +00:00
margin: 0;
flex-grow: 1;
font-weight: 600;
font-size: 16px;
line-height: 19px;
}
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .body {
2023-02-08 21:10:26 +00:00
overflow: scroll;
2023-05-10 12:29:07 +00:00
height: 40vh;
2023-02-08 21:10:26 +00:00
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none; /* Firefox */
}
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .body::-webkit-scrollbar {
2023-02-08 21:10:26 +00:00
display: none;
}
.reactions-item {
2023-05-10 12:29:07 +00:00
display: grid;
grid-template-columns: 52px auto;
2023-02-08 21:10:26 +00:00
align-items: center;
margin-bottom: 24px;
}
.reactions-item .reaction-icon {
display: flex;
align-items: center;
justify-content: center;
}
.reactions-item .follow-button {
margin-left: auto;
}
.reactions-item .zap-reaction-icon {
width: 52px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.reactions-item .zap-amount {
margin-top: 10px;
font-weight: 500;
font-size: 14px;
line-height: 17px;
}
@media (max-width: 520px) {
2023-05-10 12:29:07 +00:00
.reactions-modal .modal-body .tab.disabled {
2023-02-08 21:10:26 +00:00
display: none;
}
}