Commit graph

429 commits

Author SHA1 Message Date
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
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
7ea3398c79 Remove unused CSS
The browse_details CSS classes were removed in 30ab1e91da and c4090bb150
2023-07-26 17:15:17 +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
Anton Khorev
28060080e8 Replace spinners in html.erb templates 2022-11-01 00:08:41 +03:00
Andy Allan
aa78da82fe
Merge pull request #3694 from AntonKhorev/share-button-group
Use Bootstrap button group for share tabs
2022-10-19 16:24:08 +01:00
Andy Allan
0917201893
Merge pull request #3704 from AntonKhorev/leaflet-control-groups
Group map controls explicitly
2022-10-19 15:42:08 +01:00
Tom Hughes
d6586275e9 Unflip the heading text on the new user screen for RTL languages
Fixes #3752
2022-10-12 08:48:29 +01:00
danieldegroot2
6e7fbc9a87
Fix margin
Fix unexpected margin
2022-09-22 17:46:32 +02:00
Anton Khorev
cfc9a8fe03 Change map ui sidebar height together with map height 2022-09-21 16:50:14 +03:00
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
3f5c3a9d92 Specify border/spacing values in stylesheet 2022-09-19 19:10:46 +03:00
Anton Khorev
6acb032d4c Set borders and spacing for control groups directly in js
Previous stylesheet code is more complicated.
2022-09-19 18:50:04 +03:00
Anton Khorev
7904b49bb1 Group map controls 2022-09-19 18:20:34 +03: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
Anton Khorev
79c524832e Use button group for share tabs 2022-09-17 08:34:53 +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