Commit graph

1977 commits

Author SHA1 Message Date
Anton Khorev
2dbe4e6f88 Set default home location zoom when centering the map 2023-08-11 21:44:16 +03:00
Anton Khorev
0e98e2a337 Add undelete home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
dbb3be0a74 Add delete home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
7848643990 Add show home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
a2ff9b38f8 Add user home location change listeners and buttons 2023-08-11 21:44:15 +03:00
Anton Khorev
8f946f1360 Use flex for buttons cell in messages table 2023-08-11 20:51:51 +03:00
Anton Khorev
c751967d0e Change mark message buttons visibility with hidden attr 2023-08-11 20:35:36 +03:00
Anton Khorev
179c70f725 Refactor message mark/delete listeners 2023-08-11 19:57:56 +03:00
Anton Khorev
d0cfde2996 Use Bootstrap nowrap class in messages table 2023-08-11 18:54:39 +03:00
Anton Khorev
e290df896e Put message read/unread/delete buttons in one column 2023-08-11 18:46:51 +03:00
Tom Hughes
f47eeb0632 Merge remote-tracking branch 'upstream/pull/4154' 2023-08-10 22:42:39 +01:00
Anton Khorev
a4b8a91821 Use Bootstrap highlight class in note tables 2023-08-10 21:16:26 +03:00
Anton Khorev
f4da0d34a0 Remove message header custom css 2023-08-10 20:47:41 +03:00
Anton Khorev
2d677df6e2 Remove message date float 2023-08-10 20:23:13 +03:00
Tom Hughes
a02e37250b Merge remote-tracking branch 'upstream/pull/4152' 2023-08-10 18:06:20 +01:00
Tom Hughes
09ce3d6abb Merge remote-tracking branch 'upstream/pull/4153' 2023-08-10 18:01:01 +01:00
Anton Khorev
113c32f65e Remove custom css for OpenID logo 2023-08-10 19:43:54 +03:00
Anton Khorev
ca4555df43 Use Bootstrap inline lists for <dl>s on user pages 2023-08-10 19:12:25 +03:00
Anton Khorev
104b36f678 Remove unnecessary css from diary entry locations 2023-08-10 18:40:05 +03:00
Tom Hughes
eedf8a55e4 Merge remote-tracking branch 'upstream/pull/4132' 2023-08-09 19:20:54 +01:00
Tom Hughes
c65f808244 Merge remote-tracking branch 'upstream/pull/4145' 2023-08-08 18:37:00 +01:00
Anton Khorev
a5a7ee116c Remove 'no home' message css from profile edit form 2023-08-08 20:26:15 +03:00
Anton Khorev
478d80b50c Remove unused user image css from profile edit form 2023-08-08 19:59:50 +03:00
Anton Khorev
0868cf3f17 Remove old rails error css 2023-08-08 05:57:16 +03:00
Anton Khorev
98d1da4b98 Use multiple columns for map controls if they don't fit vertically 2023-08-02 21:00:36 +03:00
Anton Khorev
b4256ae6a3 Stretch login menu buttons in small nav mode 2023-08-02 20:01:48 +03:00
Andy Allan
f884be441d
Merge pull request #4111 from AntonKhorev/hidden-welcome-banner
Hide/show welcome banner with hidden attribute
2023-08-02 16:56:25 +01:00
Andy Allan
5796bf6347
Merge pull request #4112 from AntonKhorev/no-float-inside-sidebar
Remove unnecessary full-width float css from sidebar
2023-08-02 15:54:16 +01:00
Andy Allan
5f0c072ae0
Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs
Remove deprecated attributes from share html
2023-08-02 14:14:55 +01:00
Tom Hughes
60f42ed6d3 Merge remote-tracking branch 'upstream/pull/4114' 2023-07-30 19:00:02 +01:00
Tom Hughes
52bb2a4430 Merge remote-tracking branch 'upstream/pull/4115' 2023-07-30 18:53:30 +01:00
Tom Hughes
2f59c267ad Merge remote-tracking branch 'upstream/pull/4118' 2023-07-30 18:47:10 +01:00
Anton Khorev
c4b5392628 Remove deprecated attributes from share html 2023-07-29 20:34:10 +03:00
Anton Khorev
f5b26a7df0 Remove resize css property from textarea 2023-07-29 19:38:06 +03:00
Anton Khorev
c3500b4b81 Remove display properties from share tabs 2023-07-29 19:26:20 +03:00
Anton Khorev
6fca88ab16 Move map attribution print styles to print.scss 2023-07-28 21:24:52 +03:00
Anton Khorev
2818684df1 Remove unused 0 bottom margin from map ui css 2023-07-28 21:05:05 +03:00
Anton Khorev
1905199b72 Remove unnecessary full-width float css from sidebar 2023-07-28 20:05:28 +03:00
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00
Andy Allan
0a66990911 Simplify menu-icon css
Remove the duplicate display property, since it was force-overridden
by the `!important` keyword in the same definiton. This then makes the
`!important` keywords unnecessary. The menu-icon is floated, and
therefore can't be `inline-block`, so browsers were interpreting that
as `block` all along.
2023-07-26 17:39:36 +01:00
Andy Allan
c23d8bfa6a Remove unused parameter 2023-07-26 17:39:12 +01:00
Andy Allan
7ea3398c79 Remove unused CSS
The browse_details CSS classes were removed in 30ab1e91da and c4090bb150
2023-07-26 17:15:17 +01:00
Andy Allan
e108ec6d48 Avoid using sprockets for combining stylesheets
There are two options for combining stylesheets, using sprockets
(via `require` statements) or using sass (via `@import` statements).

This commit switches to using `@import` statements throughout, to
avoid a bug with libsass that prevents us from using bootstrap 5.2+

See https://github.com/sass/sassc-rails/issues/174

Since R2 is not triggered when `@import`ing a file, we need to
switch the top-level stylesheet names to include the extension. We
can also take the opportunity to remove a level of indirection,
along with removing symlinks which cause problems on some platforms.

* https://github.com/openstreetmap/openstreetmap-website/issues/3984
* https://github.com/openstreetmap/openstreetmap-website/issues/3422
2023-07-12 17:54:51 +01:00
Andy Allan
e9e4b10473
Merge pull request #3907 from Dimitar5555/patch-1
Facelift `offline.html` and use Bootstrap classes for "notifications" under the search bar
2023-06-14 14:08:38 +01:00
Andy Allan
4cfb632b5e Rework the map attribution to avoid raw html in translations. 2023-04-02 10:14:00 +01: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
2f3c2cdb44 Remove unused small.scss symlinks
These should have been removed as part of 5ab682dbbd
2023-03-23 09:46:42 +00:00
Tom Hughes
35c59bff0d Fix "load more" button on search results
Fixes #3969
2023-03-12 17:52:39 +00:00
Tom Hughes
8919c8c404 Use POST for geocoder backends
The geocoder backend calls are a private implementation detail
and using POST enables request forgery checks and makes scraping
of nominatim via the backend calls harder.
2023-03-07 17:24:48 +00:00
Andy Allan
9bb8dd739a Use data attributes to pass alternative button labels
This allows the text to be defined in the html partials, instead
of looking up the i18n via javascript.
2023-02-01 17:24:47 +00:00