Suguru Hirahara
78a98415eb
Set common width, white-space, and display values to MessageTimestamp ( #8818 )
...
* Add mx_MessageTimestamp to mx_PinnedEventTile_timestamp
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply display: block globally to enable the width declaration
- Unset display and width value of timestamp on pinned messages card
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply nowrap globally
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* MessageTimestamp on ThreadsList - Remove width setting and add font-size setting
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant font-size declaration from Threadview
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Fix timestamp position of timestamp on ThreadView in IRC layout
- GroupLayout is modern layout, not IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant font-size declaration from IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant color setting from timestamp on file panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Cancel the default width to set a gap between the event tile line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply user-select: none globally
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-30 13:37:43 +02:00
Suguru Hirahara
2a4992c56a
Move mx_DisambiguatedProfile out of mx_EventTile:not([data-layout=bubble]) ( #8899 )
...
* Move mx_DisambiguatedProfile out of mx_EventTile:not([data-layout=bubble])
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove declarations which have not worked due to 'mx_EventTile:not([data-layout=bubble])'
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - inline-block
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Include mx_DisambiguatedProfile
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Include mx_DisambiguatedProfile:hover
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* yarn run lint:style --fix
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move mx_DisambiguatedProfile out of mx_EventTile:not([data-layout=bubble]) on TimelineCard
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove duplicate declarations on ReplyTile inherited from mx_EventTile .mx_DisambiguatedProfile
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant declarations - FilePanel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-29 22:38:23 +00:00
Suguru Hirahara
4ad8b1934c
Stop using :not() pseudo class for mx_MImageBody to decrease the specificity of the rule for images on file panel ( #8886 )
2022-06-25 14:19:02 +02:00
Šimon Brandner
bff1ef31d6
Use styled mxids in member list v2 ( #8110 )
...
* Revert "Revert "Use styled mxids in member list (#6328 )" (#8107 )"
This reverts commit 709e6e78d2
.
* Fix disambiguated profile for bubbles
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-03-22 16:14:55 -06:00
Travis Ralston
709e6e78d2
Revert "Use styled mxids in member list ( #6328 )" ( #8107 )
...
This reverts commit 5d28e0533d
.
2022-03-21 19:58:38 -06:00
Šimon Brandner
5d28e0533d
Use styled mxids in member list ( #6328 )
...
* Add DisambiguatedProfile
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Give DisambiguatedProfile some nice options
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use DisambiguatedProfile in member tile
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Basic handling of text overflow
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use name instead of rawDisplayName
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* This seems to make more sense
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Reodred
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* rethemedex
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix color
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Appease the linter
* Re-apply UserIdentifier patch
Co-authored-by: Matthew Hodgson <matthew@matrix.org>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-03-22 01:08:43 +00:00
Germain Souquet
02b08888b5
Use modern layout in file and notification panel
2021-07-22 16:00:41 +02:00
Travis Ralston
097cc858ce
Remove hover effect from files in the files panel
2021-07-19 10:07:16 -06:00
Šimon Brandner
548cd38a5c
Remove weird margin from the file panel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 08:22:43 +02:00
Travis Ralston
24d0950b7e
Adjust layout and formatting of notifications / file cards
...
This follows some polish time with a designer.
The placeholder text on the two panels was tracking up/down when the width was changed. This is fixed by adjusting some of the flexbox properties to center it more safely.
We also spent some time making the notifications panel more legible while we wait for the overhaul to land.
2020-09-17 09:23:06 -06:00
Jorik Schellekens
271eeeabee
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/style-fighting
2020-08-04 15:04:56 +01:00
Bruno Windels
5a3bda7eea
Add title and icon to empty state of file and notification panel
2020-08-03 13:30:56 +02:00
Jorik Schellekens
1d6c2b786e
File panel spacing and corner rounding
2020-07-27 16:21:41 +01:00
Jorik Schellekens
6cf9166c4a
Use variables for the rem values.
...
It's become obvious that these random floating points everywhere
are unwieldy. Now they're all in one place with some fairly logical
variable names which will help out in design->implementation phase.
2020-03-31 15:26:23 +01:00
Jorik Schellekens
da34e6241d
Make all 'font-size's and 'line-height's rem
...
Font size of the whole app would ideally be controlled by a single
value. This value is currently hard coded using the :root CSS selector.
It is the intention to make this value configurable within riot. In the
interim all font-sizes have been converted to rem by the simple process
of regex. Replacing px values with their equivalent rem values assuming
a font size of 15px and then rounded to three decimal places, which was
the base at the time of this transformation.
I'm expecting another commit cleaning up rem values but I thought it
best to leave that to review.
This commit doesn't address any scaling issues. I thought it better to
land this unwieldy, mechanical, invisible change before the others
otherwise the pr would be impossible to review thoroughly.
2020-03-30 18:23:46 +01:00
Bruno Windels
eb4220a836
scroll panels should be in flex container so they don't grow w/ content
2019-11-06 10:34:22 +01:00
David Baker
eb6f3f6008
Fix up some CSS things stylelint was complaining about
...
And also disable a load of rules that feel like they're probably
causing more headaches than they fix.
2019-04-09 15:03:13 +01:00
Bruno Windels
4e773c2665
Make right panel a dark-panel instead of every descendant.
...
Also move bg color central.
2018-11-06 14:47:58 +01:00
Bruno Windels
8c62dddb32
one big commit, sorry
...
changing looks of input & buttons
changing background color of right panels
moving invite button around
change margins and paddings in memberlist
2018-10-24 13:50:58 +02:00
Matthew Hodgson
8538cc1666
fix regressions introduced by 00b7cc512b
2018-04-29 04:41:30 +01:00
Matthew Hodgson
79d3cca6e9
move components' CSS to be in the same repo as their JS
2018-04-12 00:23:58 +01:00