Commit graph

185 commits

Author SHA1 Message Date
Andy Allan
3fdf1e204a Remove unnecessary margin-tops 2021-03-03 17:16:31 +00:00
Andy Allan
926576881f Remove final uses of the deemphasize class 2021-03-03 15:51:11 +00:00
Andy Allan
df1ec6b680 Remove standard-form CSS rules 2021-02-24 14:48:10 +00:00
Andy Allan
f7b8b114a6 Convert the search forms to bootstrap
This moves the forms to a flex grid, albeit with a little twiddling
to get things working in a compact space.
2021-02-24 12:21:51 +00:00
Andy Allan
3debff60ef Merge branch 'pull/3091' 2021-02-24 10:49:39 +00:00
Andy Allan
00dbe5f4a4 Use the bootstrap spacer variable as the basis for spacing calcuation, and match mb-1 definition 2021-02-24 10:35:28 +00:00
mxdanger
ea92d66cc0 Add btn-wrapper class 2021-02-17 18:27:41 -08:00
Andy Allan
f9b0490afc Update terms form to use bootstrap 2021-02-10 15:09:29 +00:00
Andy Allan
1dc1c03225 Rework welcome message to use bootstrap buttons
I also reworked the layout to use flex utilities and avoid using a white button border as a spacing hack. In future this will be better done with start/end utilities, avoiding the need to be fancy with negative margins.
2021-02-03 13:44:52 +00:00
Andy Allan
05dd681abf Refactor the export form to use bootstrap form controls
I started refatoring the export inputs to use a flex grid instead of
floats, but this is perhaps the one place on the whole site where left/right
makes sense since even in rtl we want min_lon on the left.
2021-02-03 13:44:52 +00:00
Andy Allan
8e02c98c3f Refactor diary comment form to use bootstrap 2021-01-20 15:38:10 +00:00
Andy Allan
76146baf60 Remove spacing tweaks and legacy pagination spacing CSS
No need to fight against something that we no longer use.
2021-01-06 15:40:53 +00:00
Andy Allan
547459314b Refactor diary entry forms to use a custom form builder 2020-12-24 13:32:41 +00:00
Andy Allan
170ea3399b Ensure richtext editing style rules are only applied on standard forms 2020-12-24 13:32:41 +00:00
Andy Allan
c192bd0d40 Use bootstrap utility class instead of custom css 2020-12-16 17:34:12 +00:00
mxdanger
aad1c1b933 Add updated authentication logos 2020-11-13 20:02:00 -08:00
Andy Allan
94008d9059 Fix remaining unstyled buttons by moving to bootstrap buttons 2020-08-19 14:54:36 +02:00
Tom Hughes
c24c2e481c Merge remote-tracking branch 'upstream/pull/2667' 2020-08-05 21:50:08 +01:00
Tom Hughes
8a013c0a96 Merge remote-tracking branch 'upstream/pull/2711' 2020-07-15 21:31:18 +01:00
Andy Allan
89a57f33ef Remove unused warning css 2020-07-15 19:34:19 +02:00
Andy Allan
0c098c3a1d Convert data feature warning to use bootstrap alert
Also rearrange dialog to fit with standard sidebar layouts, so that
the close icon and load buttons are not within the paragraph.

There may be a better way to construct this!
2020-07-15 19:34:19 +02:00
Andy Allan
a9f751ec45 Remove unnecessary css
Images have no border in modern browsers, and bootstrap's reset also
sets this.
2020-07-15 13:58:56 +02:00
Andy Allan
b4e7f5eaca Remove unused css 2020-07-15 12:27:15 +02:00
Andy Allan
d89a30421c Use bootstrap backgrounds and text utilities for read issue reports 2020-07-15 12:12:35 +02:00
Andy Allan
e157b37ce5 Rename nav-related body classes
This makes it clearer that the classes are only for navigation menu
matters. Other things should be done on media queries, or ideally,
using bootstrap components like grids.

This has a side effect of removing the smaller font size from the
body when the navigation menu is in the small-nav state.
2020-07-15 11:40:02 +02:00
Andy Allan
46bd1a9a2e Remove webkit-appearance: none
This is the default anyway, and we don't need this for anything specific.
2020-07-15 11:19:29 +02:00
Andy Allan
3f6fd290d7 Rework the about header size change to be based on the screen width, not the menu state
Also reworks to be mobile-first
2020-07-15 10:48:04 +02:00
Andy Allan
988446c307 Remove dead CSS code - nothing has the user_map class 2020-07-15 10:35:19 +02:00
Tom Hughes
cfb2f2988c Merge remote-tracking branch 'upstream/pull/2698' 2020-07-08 19:10:01 +01:00
Tom Hughes
efa2c20bff Merge remote-tracking branch 'upstream/pull/2696' 2020-07-08 19:09:55 +01:00
Andy Allan
1977e66ace Use bootstrap text-muted in place of custom deemphasze class
This avoids changing anything related to forms, since they will be
switched over to bootstrap separately.
2020-07-08 18:30:15 +02:00
Andy Allan
6d9434e14d Remove some extraneous css
The trace part is actually removing html, but I thought it was CSS
when I first noticed the blank space on the page.
2020-07-08 16:57:49 +02:00
Andy Allan
8192c0bd17 Rework the users#show page to avoid custom column css
This uses bootstrap instead, ensuring the map shows before the
text on small screens, but to the right of it on md+ widths. The
height of the map also changes at this breakpoint instead of being
based on the menu width (body.small).

The account edit page was also changed to match the content_map
changes, and a full width map is now used. This can be changed, if
required, using bootstrap breakpoints but I like it as it is.
2020-07-08 16:46:15 +02:00
Andy Allan
8cd83426cc Make the back button not look disabled
This switches the message buttons to use bootstrap, so that we can have a back button that looks clickable.

Alternative implementation of #2386
2020-07-04 11:20:46 +02:00
Andy Allan
8d2271699b Use bootstrap_form as the formbuilder for GPX upload form
This also uses the recommended bs-custom-file-input javascript plugin
for the file input control.
2020-07-01 17:23:02 +02:00
Andy Allan
54616e9612 Add bootstrap_form formbuilder gem 2020-07-01 17:23:02 +02:00
Andy Allan
627f2493fa Refactor away from global form control styling
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.

The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Andy Allan
055a976051 Remove custom table styling
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Andy Allan
5fdada204c Use bootstrap table striping to replace hand-cycled table stripes
This cuts down on the complexity of having to use the `cycle` function
and makes the templates easier to read. CSS-based striping has been
around for many years.

The CSS is in order to keep our custom colour for striped tables.
2020-03-18 12:14:24 +01:00
Andy Allan
b0c50ab344 Enable remaining bootstrap components
Fixes #2511
2020-03-18 11:16:03 +01:00
hikemaniac
74142661e3 Moved CSS rule 2020-03-14 16:39:21 +01:00
hikemaniac
ed076ebd61 Fix border-radius for search query input field 2020-03-14 16:06:46 +01:00
Andy Allan
9ce2822b3d Fix border spacing for sidebar tags and routing tables
The reset code for border spacing was removed in 5c933868db and
led to minor artifacts in these two tables.
2020-01-30 13:34:56 +01:00
Andy Allan
404024f621 Tweak the dropdown menu hover and active colours 2020-01-29 18:23:47 +01:00
Andy Allan
b97d2d98ae Further tweaks to the navigation dropdown button colours 2020-01-29 18:23:47 +01:00
Andy Allan
523f84d103 Don't highlight border when hovering on user-menu button 2020-01-29 18:23:47 +01:00
Andy Allan
5ce212de83 Styling for disabled edit button 2020-01-29 18:23:47 +01:00
Andy Allan
290d2a2308 Tweak positioning of inbox count on the user menu button 2020-01-29 18:23:47 +01:00
Andy Allan
e5c33c119a Switch to bootstrap for dropdowns and tooltips
Due to the javascript involved, it was more straightforward to combine
the two together. Moving to bootstrap v4 for dropdowns required some
redesign of the dropdown menu html, and the opportunity was taken to
move to using standard buttons for those menus.
2020-01-29 18:23:47 +01:00
Andy Allan
a3795cddbb Move the search results to use list-group-flush 2020-01-16 12:39:13 +01:00