Commit graph

547 commits

Author SHA1 Message Date
Anton Khorev
41f7670ee2 Remove $spacer css from sidebar content 2023-11-14 08:22:43 +03:00
Tom Hughes
4ed7387551 Merge remote-tracking branch 'upstream/pull/4343' 2023-11-13 18:44:16 +00:00
Tom Hughes
b8609d2eae Merge remote-tracking branch 'upstream/pull/4340' 2023-11-13 18:39:32 +00:00
Anton Khorev
138aaf0f7a Remove custom css and large left margin for map noscript message 2023-11-13 12:24:51 +03:00
Anton Khorev
65e1ee6836 Remove custom css and unnecessary div nesting of welcome panel 2023-11-13 10:11:42 +03:00
Anton Khorev
77be0e3225 Remove relative position from sidebar child divs other than banners 2023-11-13 09:46:11 +03:00
Anton Khorev
8a3607860e Set banner close button background/opacity with Bootstrap 2023-11-12 10:17:06 +03:00
Anton Khorev
afce238f6c Use dark theme to invert banner close button 2023-11-12 10:13:48 +03:00
Anton Khorev
abf5342845 Remove some print-related custom css 2023-10-20 17:26:51 +03:00
Tom Hughes
83d9f1f164 Merge remote-tracking branch 'upstream/pull/4295' 2023-10-17 18:49:58 +01:00
Tom Hughes
2ce6bf383a Merge remote-tracking branch 'upstream/pull/4294' 2023-10-17 18:47:24 +01:00
Anton Khorev
74a87d55e7 Replace secondary nav buttons custom css with classes 2023-10-17 17:35:14 +03:00
Anton Khorev
3fc971d03c Enable focus outline on More button 2023-10-17 17:21:25 +03:00
Anton Khorev
7eee48b761 Decrease directions button height to match Go button 2023-10-17 12:26:29 +03:00
Anton Khorev
afdfda9557 Remove some h1/logo custom css 2023-10-16 12:32:06 +03:00
Anton Khorev
0fae5627a5 Remove <picture>s around <img srcset=...> 2023-10-03 03:06:12 +03:00
Tom Hughes
95041ec81a Merge remote-tracking branch 'upstream/pull/4269' 2023-10-02 18:53:14 +01:00
Anton Khorev
94fead62ec Remove <picture> from logo 2023-10-02 04:12:47 +03:00
Anton Khorev
665f6d3d95 Write button instead of link for 'Where is this?' 2023-10-01 18:16:35 +03:00
Anton Khorev
e6e478f5b0 Make search input a direct child of input group 2023-10-01 17:49:31 +03:00
Andy Allan
14936150ac
Merge pull request #3690 from AntonKhorev/search-form-no-group
Stick search input and Go button together with flex instead of input group
2023-09-27 17:36:35 +01:00
Andy Allan
1253bdcdc5 Use bootstrap badges to implement count-number badges
This leaves bootstrap to take care of most aspects, while retaining
the current colours and font weights.
2023-08-30 18:11:56 +01:00
Tom Hughes
6982903ae7 Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
Tom Hughes
e6a8b40098 Make the close icon on banners more visible
Fixes #4165
2023-08-14 08:31:10 +01:00
Tom Hughes
7912b7620f Add support for dark banner images that need a white close icon 2023-08-13 21:57:09 +01:00
Tom Hughes
ec89709b5b Allow a srcset to be specified for banners 2023-08-13 09:37:27 +01:00
Anton Khorev
033c032ed6 Add home location condition to user model 2023-08-11 21:44:15 +03:00
Tom Hughes
eae9c15b75 Merge remote-tracking branch 'upstream/pull/4131' 2023-08-02 17:01:05 +01:00
Andy Allan
98b1e5f76c Switch to bootstrap recommended viewport definition
Original version was introduced in 6674873478
and has not been changed since.

Google's PageSpeed Insights tool also flagged this up as an accessibility
issue, since it previously prohibited users zooming into the site.
2023-08-02 16:07:13 +01:00
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00
Dimitar
318064b2a7 Facelift offline.html and use Bootstrap classes for "notifications"
Update site_controller_test.rb

Update site_controller_test.rb

Remove whitespace

Reset Settings.status after test is done

Update test for offline page

Update site_controller.rb

Fix indentation

Update offline controller

Update offline.html.erb

Remove flash CSS classes and fix missed tests

Updated tests

Address most PR comments

Update _flash.html.erb

Update _flash.html.erb

Update edit.html.erb

Update offline.html.erb
2023-03-26 13:57:51 +03:00
Andy Allan
f78c032b07 Use buttons for dropdown toggles
These elements don't link to another page, and so there's no need
to use a link that leads to nowhere.
2022-12-22 09:56:56 +00:00
Tom Hughes
8cef62cd2c Merge remote-tracking branch 'upstream/pull/3301' 2022-11-22 18:47:24 +00:00
Andy Allan
efdaecdbf3
Merge pull request #3779 from AntonKhorev/spinner
Replace searching.gif images with Bootstrap spinners
2022-11-16 16:22:18 +00:00
Anton Khorev
28060080e8 Replace spinners in html.erb templates 2022-11-01 00:08:41 +03:00
Anton Khorev
6c415ef142 Add aria-label to close buttons 2022-10-31 23:54:58 +03:00
Anton Khorev
03f266fa48 Stick search input and Go button together with flex instead of input group 2022-09-14 23:15:28 +03:00
Adam Hoyle
7e5cbe87ed Merge branch 'master' into feature/add-communities-page
# Conflicts:
#	Gemfile.lock
#	package.json
#	yarn.lock
2022-09-10 16:13:17 +01:00
Andy Allan
04ff7d4ee8
Merge pull request #3666 from AntonKhorev/flex-close-buttons
Position close buttons with flexbox
2022-08-31 15:04:45 +01:00
Anton Khorev
f41b5558b7 Position directions close button with flex 2022-08-28 00:32:50 +03:00
Anton Khorev
8d9ec26421 Fix reverse directions button closing tag 2022-08-27 19:24:54 +03: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
Andy Allan
6b69655812
Merge pull request #3631 from AntonKhorev/bootstrap-close
Use Bootstrap close button
2022-08-03 11:47:08 +01:00
Tom Hughes
e9f62a8c30 Rename piwik to matomo and merge configuration into settings 2022-08-01 22:42:04 +01:00
Anton Khorev
66e526c2d5 Changed directions close button to Bootstrap 2022-07-27 20:54:47 +03:00
Anton Khorev
0322ed4295 Changed close buttons of banner and other leaflet sidebars to Bootstrap 2022-07-27 20:22:20 +03:00
Andy Allan
6078e2f68e Bootstrap 5: Use dropdown-menu-end for dropdown alignment 2022-07-20 19:34:19 +01:00
Andy Allan
721044ad01 Bootstrap 5: Use symmetrical padding in toggled dropdown
Required since pl-* classes have been removed, but also works fine
without bringing start/end considerations into play.
2022-07-20 18:43:45 +01:00
Andy Allan
235ca0b4f3 Bootstrap 5: data-toggle renamed to data-bs-toggle for dropdown menus 2022-07-20 14:43:00 +01:00
Andy Allan
02a6ec60ec Bootstrap 5: Update manual select boxes to use form-select class 2022-07-20 14:41:55 +01:00