Commit Graph

876 Commits

Author SHA1 Message Date
Fabien Basmaison 953dff90bb cover: tweak styles:
- `optimizeQuality` > `smooth` (CSS language evolution)
- Use `auto` instead of a fixed width.
- Add exceptions for heights and apply them to some previously modified templates.
- Remove `is-large` exception.
- Widen the content column on list curation.
2021-04-25 15:37:46 +02:00
Fabien Basmaison 23985e4357 Merge branch 'main' into frontend-book-cover 2021-04-25 11:24:21 +02:00
Fabien Basmaison eea8b4e750 cover: Handle covers with specific heights:
- Have an explicit contextual class on `cover-container`.
- Use more flexible, consistent and searchable variable name for passing classes to covers.
- Consistently use `'…'` with django variables.
- Give the option to not hide covers to screen readers.
- consitently give a title to the cover container if `alt_text` exists.
- [lists] Remove `.content` which is applying too extensive default styles.
2021-04-24 21:27:05 +02:00
Fabien Basmaison 783cc6edf0 cover: List curation:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
- Style headings.
- Replace table with definition list.
- Clip cover container to avoid caption overflowing.
2021-04-24 15:49:30 +02:00
Fabien Basmaison 75a69988e4 cover: List:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
2021-04-24 14:24:25 +02:00
Fabien Basmaison 9ea91d8e7c cover: Search layout: Reduce padding around covers. 2021-04-24 12:56:38 +02:00
Fabien Basmaison 7f0b3184a1 cover: Use book-cover as component:
- Avoid specifying context-dependent values in CSS for components. Those values can be defined by the context calling the component.
- Use `<figure>` with optional caption.
- Reduce redundant markup.
- Allow more variables to be passed to the book-cover (image path and class for the container).
- Hide the book cover to screen readers.
2021-04-24 12:48:55 +02:00
Mouse Reeve 9ba0aec6d9 Show subtitles when titles are very short 2021-04-23 14:58:48 -07:00
Mouse Reeve cbdf573261
Merge pull request #991 from bookwyrm-social/character-encoding
Fixes character encoding bug
2021-04-23 12:06:04 -07:00
Mouse Reeve d31827e5aa
Merge pull request #975 from reesporte/main
spanish translation updates
2021-04-23 12:03:03 -07:00
Mouse Reeve 607e98b331 Fixes character encoding error 2021-04-23 11:53:45 -07:00
Mouse Reeve 74ccaf27fa Tag removal migration 2021-04-22 18:23:23 -07:00
reese 6915b195ce translated some strings 2021-04-22 16:28:57 -05:00
Joachim 00e6d0524f Accessibility: add language to `lang` attr on `html` tag
I only use the first subtag of the language string given by `get_language()`, because `get_language()` returns an all-lowercase string, and I don't know if it'll be considered valid by browsers.
2021-04-22 20:41:58 +02:00
Mouse Reeve 1472f7d919 Restores markdown rendering in book description previews 2021-04-22 06:58:21 -07:00
Mouse Reeve 85b1c920cd
Merge pull request #973 from joachimesque/dropdown-style
Dropdown component design fixes
2021-04-21 13:08:41 -07:00
Joachim 720109564d Fix condition 2021-04-21 21:35:42 +02:00
Joachim 265c38e877 Update direct message button style 2021-04-21 21:31:58 +02:00
Joachim 2987029a7d Remove useless style on non-dropdown element 2021-04-21 19:37:12 +02:00
Joachim c86800be01 Remove padding and add radius to menu
Without padding, the children's lack of radius mask the radius. Using is-clipped helps clip with the parent's radius
2021-04-21 19:36:59 +02:00
Joachim df72061c57 Improve menu action styles 2021-04-21 19:36:11 +02:00
Joachim 544dbda4ad Move menu item styles to menu item 2021-04-21 19:35:50 +02:00
Joachim f01b7fbd15 Design and a11y fixes on Create Status forms
- Use `field` CSS class to better respect Bulma styles
- Fix buggy `id` on content field, causing a11y problems
- Fix progress control & select styles
- Various small style fixes
2021-04-21 18:34:04 +02:00
Mouse Reeve d62cf3fecb Merge branch 'main' into smaller-statuses 2021-04-20 14:02:23 -07:00
Mouse Reeve 92bd5ab291
Merge pull request #970 from bookwyrm-social/display-fixes
Display fixes
2021-04-20 13:59:32 -07:00
Mouse Reeve f4abd7b797 Linter fix 2021-04-20 13:50:53 -07:00
Mouse Reeve 5fc1e3f2fe Fixes merge regression for localized timestamps 2021-04-20 13:50:05 -07:00
Mouse Reeve afde94d4c2
Merge branch 'main' into smaller-statuses 2021-04-20 13:48:21 -07:00
Mouse Reeve baa423bb69
Merge pull request #967 from bookwyrm-social/date-localization
Fixes localization weirdness with dates
2021-04-20 13:44:34 -07:00
Mouse Reeve c07dcb5458 Remove spaceless templatetags that cause rendering issues in statuses 2021-04-20 13:38:25 -07:00
Mouse Reeve 7012f95d6d Use input instead of textarea for series 2021-04-20 13:07:55 -07:00
Mouse Reeve d47bbde651 Only one row of footer on list items 2021-04-20 13:02:43 -07:00
Mouse Reeve cbccb07252 Fixes display of replies 2021-04-20 11:18:59 -07:00
Mouse Reeve 9e5ebf9807 Move stars into header for ratings 2021-04-20 11:06:14 -07:00
Mouse Reeve 07dbc4c6c0 Much longer "full" version of trimmed text 2021-04-20 09:56:01 -07:00
Mouse Reeve 978760475f More compact display of statuses 2021-04-20 09:54:02 -07:00
Mouse Reeve 0a37b4665c Adds control for moderator to set user group 2021-04-19 17:29:29 -07:00
Mouse Reeve 11aa8baa53 Fixes tests and notifications page 2021-04-19 16:33:28 -07:00
Mouse Reeve 6a50c021ce Try naturalday for published date 2021-04-19 16:30:15 -07:00
Mouse Reeve 70a819951e Fixes localization weirdness with dates 2021-04-19 16:18:29 -07:00
Mouse Reeve 35cb3fa8fc Updates tests 2021-04-19 16:08:01 -07:00
Mouse Reeve da19089d34 Changes language from "deactivate" to "suspend" 2021-04-19 15:55:28 -07:00
Mouse Reeve 1542866b6c Adds user admin view 2021-04-19 15:40:51 -07:00
Mouse Reeve 0dd8b33991 Moves user admin templates into snippets 2021-04-19 15:19:55 -07:00
Mouse Reeve 788e282dce Moves user admin pages into their own directory 2021-04-19 15:12:36 -07:00
Mouse Reeve d69ce8cbbd
Merge pull request #923 from SavinaRoja/584-sorting-lists
584 sorting of lists
2021-04-19 14:37:50 -07:00
Pablo Barton fa75438070 per review, removing custom pagination for booklist and handling all pending books at the end of the list 2021-04-18 14:46:28 -04:00
Fabien Basmaison 415d6c4e3f Remove spacing between publisher info blocks. 2021-04-18 18:24:32 +02:00
Fabien Basmaison 66c72c8b41 Add book identifiers to list of Editions:
- Add template for identifiers.
- Remove `space-between` that adds too much space on narrow views.
- Apply the `content` class only on publisher infos to avoid applying automatic styles to the description list.
2021-04-18 15:59:02 +02:00
Pablo Barton 9031184176 addressing some review 2021-04-17 21:31:38 -04:00