Tom Hughes
cb143bb5f1
Merge remote-tracking branch 'upstream/pull/3703'
2022-09-19 17:46:46 +01:00
Tom Hughes
a685b3a6fc
Merge remote-tracking branch 'upstream/pull/3702'
2022-09-19 17:46:04 +01:00
Anton Khorev
bb99ba3977
Remove unused icon list css from welcome pages
2022-09-19 14:38:56 +03:00
Anton Khorev
ec3dad11d5
Remove unused tooltips css
2022-09-19 12:21:13 +03:00
Anton Khorev
7c4dff7445
Vertically center about page icons with flex align-items
2022-09-19 11:48:57 +03:00
Tom Hughes
79f0796325
Merge remote-tracking branch 'upstream/pull/3699'
2022-09-18 18:35:58 +01:00
Tom Hughes
364a56dfc3
Merge remote-tracking branch 'upstream/pull/3698'
2022-09-18 18:34:51 +01:00
Tom Hughes
e24b624547
Merge remote-tracking branch 'upstream/pull/3697'
2022-09-18 18:32:12 +01:00
Anton Khorev
a22094c5cf
Remove old map sidebar close button css
2022-09-17 13:53:21 +03:00
Anton Khorev
10babd39b0
Remove background image-related css from about page
...
Background images are no longer used on the page so these properties are not required.
2022-09-17 13:09:41 +03:00
Anton Khorev
e5002d9c70
Remove buttons css class used only on new note page
2022-09-17 11:03:04 +03:00
Anton Khorev
7d31a659ab
Remove unused pager secondary nav css
2022-09-17 10:09:35 +03:00
Andy Allan
4d1f83d6bb
Use bootstrap breakpoint mixin
...
This has the same end result, but is more clear than an arbitrary
pixel number.
2022-09-14 17:32:43 +01:00
Andy Allan
a3474de4d8
Use bootstrap utility classes for showing the new user arm
...
The original value was close to the 'lg' breakpoint, but the 'md'
breakpoint is fine for this too.
2022-09-14 17:32:43 +01:00
Andy Allan
5ab682dbbd
Combine small.scss into common.scss
...
We've moved away from the idea of having extra rules for small screens,
and instead follow the bootstrap convention of designing for small
screens first and overriding those rules if needed for larger screens.
Having a separate file remaining for a limited number of small screen
rules is therefore counter-productive. Moving the remaining rules into
common.scss, adjacent to the related rules for larger screen, makes
the behaviour easier to understand, as well as making it easier to
refactor the rules to a small-screen-first approach.
2022-09-14 17:32:43 +01:00
Anton Khorev
78b4ff4a29
Simplify css for text selection with stretched link
2022-09-02 16:22:54 +03:00
Anton Khorev
f1cf1be64a
Put span inside stretched link to improve text selection
2022-09-02 16:03:52 +03:00
Anton Khorev
5da7215873
Stretch changeset links in history lists
2022-09-01 22:45:09 +03:00
Andy Allan
f6dd80e87d
Use named arguments for button-variant mixins
...
This is much clearer than relying on positional arguments, and is
also required for future upgrades to bootstrap.
2022-08-31 14:42:03 +01:00
Andy Allan
f16d497703
Remove the user menu focus overrides
...
This restores the outline effect when the button is focussed using
keyboard navigation.
Refs #3633
2022-08-03 18:59:32 +01:00
Tom Hughes
7e5d47e6a8
Merge remote-tracking branch 'upstream/pull/3644'
2022-08-03 18:45:47 +01:00
Andy Allan
d235b12767
Enable focus styling for leaflet control buttons
...
Fixes #3633
2022-08-03 14:58:40 +01:00
Andy Allan
08020fff63
Switch reverse_directions link to use a button
...
This makes it keyboard selectable, and also preserves the event
handler.
Refs #3637
2022-08-03 14:10:52 +01:00
Anton Khorev
bb868e0b11
Merge master with css changes
2022-07-27 21:28:12 +03:00
Anton Khorev
0322ed4295
Changed close buttons of banner and other leaflet sidebars to Bootstrap
2022-07-27 20:22:20 +03:00
Anton Khorev
5ed2bfc950
Changed sidebar close button to Bootstrap
2022-07-27 19:35:29 +03:00
Andy Allan
1bf671f684
Rework welcome and fixthemap pages
...
* Use lead class for lede paragraphs
* Change headings to start from h2
* Remove custom css and use bootstrap utilities where required
2022-07-27 16:32:16 +01:00
Andy Allan
64b470aa3c
Remove font size overrides for code and pre blocks
...
These are taken care of, where necessary, by bootstrap
2022-07-27 13:24:07 +01:00
Andy Allan
f1d60e05c4
Remove font size overrides from sidebar headings
...
These were interfering with the response font sizing via RFS
2022-07-27 13:23:03 +01:00
Andy Allan
2b97658786
Bootstrap 5: Fix table striping background colour
2022-07-20 18:49:10 +01:00
Andy Allan
9963fcffc0
Bootstrap 5: Override button text colours, force to white
2022-07-20 14:43:00 +01:00
Andy Allan
ac07a79078
Use bootstrap variables to style links
...
Bootstrap 5 now has a hover color, and instead of trying to override
with CSS, it's easier to use the variables instead.
2022-07-20 14:43:00 +01:00
Andy Allan
a4af46ef47
Bootstrap 5: Override float attribute on legends
...
I don't fully understand why bootstrap added this in v5, as the
discussion on the issue tracker isn't clear. But we neither want
nor need this.
2022-07-20 14:41:55 +01:00
Tom Hughes
b86390d303
Use a button element for button_to
2022-02-21 19:11:58 +00:00
Tom Hughes
4eecd59a5d
Merge remote-tracking branch 'upstream/pull/3380'
2021-11-25 17:15:54 +00:00
Andy Allan
c343f3ed3e
Prevent flash messages from expanding offscreen
...
Because we are using an edge-to-edge layout for the flash messages,
the negative margins on the row were expanding the element offscreen.
Bootstrap provides a "no-gutter" class for removing these margins,
but that also drops the spacing between columns which we want to preserve.
So instead we use a margin override on the row only.
Additionally, drop some padding css in favour of a utility class
Fixes #3351
Bug was introduced in 3dd639c8d0
2021-11-24 14:32:36 +00:00
Andy Allan
675f72fe35
Use flex grid to position changeset discussion subscribe button
...
This avoids needing any floats. Also remove buttons class from two
locations, since there is a min-width on that class and it affects
the button styling negatively for standalone buttons
2021-11-24 12:24:16 +00:00
Andy Allan
8249b41a83
Remove some unused thumbnail rules
...
These are all done with flex grids now, so no need to float the image anywhere
2021-11-24 12:24:16 +00:00
Andy Allan
cb68450ac7
Simplify margins when showing diary entries
2021-11-24 12:24:16 +00:00
Andy Allan
514ec41c58
Remove unused browse-field style rules
2021-11-24 12:24:16 +00:00
Andy Allan
3bc20b6f21
Pass classes to override the default thumbnail_tiny style, rather than having another selector overriding
2021-11-24 12:24:16 +00:00
Andy Allan
52cd62bf13
Replace CSS-driven borders with bootstrap borders
...
This makes future refactoring easier, since the elements will
retain their borders even if the hierarchy changes.
Also round some maps and the legale section since I think those now
look nicer.
2021-11-24 12:24:16 +00:00
Andy Allan
300cd884ec
Use flex grid instead of floating to position changeset element paging nav
...
This works much better when either the heading or the paging is long.
The heading was moved into the partial to avoid repetitive grid definitions
2021-11-24 12:07:49 +00:00
Andy Allan
846bacd665
Remove the custom flash styling for sidebar flashes
...
The flash partial is now based on flexbox, so these positioning classes
are no longer required
2021-11-24 12:07:31 +00:00
Andy Allan
b43aaa1d58
Remove the floating from the sidebar close buttons
...
These are mostly positioned with flexbox, and those that aren't
are covered by the similar close-wrap selector elsewhere in this file
2021-11-24 12:07:07 +00:00
Tom Hughes
425818913b
Merge remote-tracking branch 'upstream/pull/3363'
2021-11-10 18:26:34 +00:00
Andy Allan
9c9bf153cd
Simplify user_image and user_thumbnail css
...
Now that all uses of the images and thumbnails have been migrated
to flex grids, we can remove the margin and padding from the original
css classes and revert to using them.
2021-11-10 15:30:42 +00:00
Andy Allan
a9ca2fe7e7
fixup popup
2021-11-10 15:29:28 +00:00
Andy Allan
6283d0a47a
Rework diary comments to use flex grid rather than floats and margins
2021-11-10 14:32:13 +00:00
Andy Allan
abe8551506
Remove custom css overrides for the users list
...
The margins on the buttons aren't needed since the table has a bottom
margin, and the button class has never been applied since it was
incorrectly in the id field. The table row override had no effect since
the cells have their own vertical-alignment set.
2021-11-03 18:35:42 +00:00