Selecting all present players can be tedious, especially if they are many or when multiple messagess need to be sent. Add two new buttons to the toolbar that allow pre-filling the form with all connected players, or all players. Add translations and icons for those new tools.
49 lines
1.2 KiB
CSS
49 lines
1.2 KiB
CSS
/* For some reason toolbar icons work as classes ? */
|
|
.mm-chat-bubble {
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
background-size: cover;
|
|
cursor: pointer;
|
|
image-rendering: pixelated;
|
|
background-image: url("/modules/the-mills-messages/assets/chat_bubble.webp");
|
|
}
|
|
|
|
.mm-bubble-above-two-players {
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
background-size: cover;
|
|
cursor: pointer;
|
|
image-rendering: pixelated;
|
|
background-image: url("/modules/the-mills-messages/assets/bubble_above_two_players.webp");
|
|
}
|
|
|
|
.mm-bubble-above-three-players {
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
background-size: cover;
|
|
cursor: pointer;
|
|
image-rendering: pixelated;
|
|
background-image: url("/modules/the-mills-messages/assets/bubble_above_three_players.webp");
|
|
}
|
|
|
|
/*
|
|
* Override Foundry's `.application .scrollable`, whose right margin does not work
|
|
* with ProseMirror's editor internal divs which need a 0 right margin.
|
|
*/
|
|
.mm-send-dialog .scrollable {
|
|
margin-right: 0 !important;
|
|
padding-right: 0.2rem !important;
|
|
}
|
|
|
|
/* Prevent the message window from getting too big. */
|
|
.mm-dialog {
|
|
max-width: 60%;
|
|
}
|
|
|
|
/* Separator between messages from the same sender */
|
|
.mm-separator {
|
|
|
|
}
|