forked from Mirrors/gomuks
web/css: adjust some values
This commit is contained in:
parent
a31b309e2e
commit
6d744d90ba
6 changed files with 12 additions and 7 deletions
|
@ -27,7 +27,7 @@
|
|||
--button-hover-color: rgba(0, 0, 0, .2);
|
||||
--light-hover-color: rgba(0, 0, 0, .1);
|
||||
|
||||
--composer-background-color: #eeeeee;
|
||||
--composer-background-color: #f0f0f0;
|
||||
|
||||
--timeline-hover-bg-color: #eee;
|
||||
--timeline-highlight-bg-color: rgba(255, 255, 0, .1);
|
||||
|
@ -44,7 +44,7 @@
|
|||
--room-list-entry-selected-color: rgba(0, 0, 0, 0.125);
|
||||
|
||||
--dimmed-overlay-background-color: rgba(0, 0, 0, .75);
|
||||
--modal-box-shadow-color: rgba(0, 0, 0, 0.15);
|
||||
--modal-box-shadow-color: rgba(0, 0, 0, 0.1);
|
||||
|
||||
--emoji-selected-border-color: #cec;
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ div.message-composer {
|
|||
|
||||
> div.composer-media, > div.composer-location {
|
||||
display: flex;
|
||||
padding: .5rem;
|
||||
padding: .5rem .5rem 0;
|
||||
justify-content: space-between;
|
||||
|
||||
> button {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
div.typing-notifications {
|
||||
grid-area: typing;
|
||||
height: 1.6rem;
|
||||
height: 1.5rem;
|
||||
margin: 0 var(--timeline-horizontal-padding);
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
|
|
|
@ -30,7 +30,7 @@ const TypingNotifications = () => {
|
|||
const typing = useRoomTyping(room).filter(u => u !== client.userID)
|
||||
let loader: JSX.Element | null = null
|
||||
if (typing.length > 0) {
|
||||
loader = <PulseLoader size={5} color="var(--primary-color)" />
|
||||
loader = <PulseLoader speedMultiplier={0.5} size={5} color="var(--primary-color)" />
|
||||
}
|
||||
const avatars: JSX.Element[] = []
|
||||
const memberNames: string[] = []
|
||||
|
|
|
@ -22,6 +22,10 @@ blockquote.reply-body {
|
|||
}
|
||||
}
|
||||
|
||||
&.composer {
|
||||
margin: .5rem .5rem 0;
|
||||
}
|
||||
|
||||
&:hover, &.composer {
|
||||
> div.message-text {
|
||||
color: var(--text-color);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
div.timeline-event {
|
||||
width: calc(100% - 2 * var(--timeline-horizontal-padding));
|
||||
max-width: calc(100% - 2 * var(--timeline-horizontal-padding));
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 var(--timeline-horizontal-padding);
|
||||
display: grid;
|
||||
grid-template:
|
||||
|
|
Loading…
Add table
Reference in a new issue