Commit graph

441 commits

Author SHA1 Message Date
Tobias
15a9441b1d Fix question styling (but break click action)
This fixes the styling but breaks the click action. Clicking on the text itself also triggers the action, clicking on the blank sapce next to it changes the label but does not trigger the action.

Generally speaking the style is easier to apply to an element that wraps the in put and the label-text. This could be the label-tag or a different wrapper.
2021-01-21 06:03:34 +01:00
Tobias
1b6178a66a Questions: Add border botton
First try to differentiate one question/answer from the next.
2021-01-21 05:55:52 +01:00
Tobias
743a972a50 Questions: Remove <br> Tags
Instead use block elements
2021-01-21 05:55:25 +01:00
Tobias
e1568876b8 Refactor htmlElement to Template literals
Makes it a bit easier to read.
2021-01-21 05:53:59 +01:00
Tobias
61964a801f Remove empty spaces
Default Setting by my editor. Let me know I you want to keep them.
2021-01-21 05:52:36 +01:00
Tobias
8f8e5f7636 Migrate .answer to Tailwind
- Remove custom CSS
- Add more landscape:* helper classes
2021-01-21 05:19:33 +01:00
Tobias
7a2f4fa44a Migrate featureinfobox to Tailwind
- migrate featureinfobox to Tailwind
- migrate featureinfobox-content to Tailwind
- migrate fullscreenmessage-content to Tailwind so we can delete css/fullscreenmessagebox.css

The landscape-mode is somethign that Tailwind does not support AFAIK. Instead, I migrated the one css-definition that was left over but required to a tailwind-like class name `.landscape\:max-h-screen`. Note the escaped colon with is required so css supports colon based class names.
2021-01-21 05:05:10 +01:00
Tobias
b8377630af Migrate featurebox-title (…) to Tailwind (2)
Forgot those in e3b7c7d
2021-01-20 23:02:27 +01:00
Tobias
e3b7c7ddc6 Migrate featurebox-title (…) to Tailwind 2021-01-20 23:00:11 +01:00
Tobias
d9040db12a Add label for language switcher
This is what I meant with " Optionally add translation for the lang-switcher-label". I added it inline since I dont know how the translation system works, yet. Feel free to revert this change; the label is not too importat IMO.
2021-01-20 22:24:00 +01:00
Tobias
871f512c0d Move border custom css to Tailwind Class
- migrate custom css to Tailwind class
- introduce class-parameter for `AsImageElement`
- migrate width of login button to Tailwind class
2021-01-20 21:48:47 +01:00
db91c5ead4 Fixing css styling bugs, most works correctly now 2021-01-18 19:36:19 +01:00
923b86b507 Experimenting with tailwind: splitting the index intro into a separate class; adding the logo 2021-01-18 02:51:42 +01:00
6864ba4fd6 Merge branch 'master' into add-tailwind-for-homepage 2021-01-18 01:52:37 +01:00
0fee4cae58 Fix build 2021-01-18 01:48:08 +01:00
ccc1f8eff5 Small fixes 2021-01-17 23:06:05 +01:00
Tobias
de1ac89425 Fixme comment to add the logo to the index-header 2021-01-17 21:15:14 +01:00
Tobias
4c59ea3b1e Tailwind for List of Themes
Style the list of themes with Tailwind. Add wrapper around the list of themes.

The non-linked list items are still TODO.

Also move the Streetcomplete-Note below the list and also the custom-build-Request-Line.
2021-01-17 21:14:48 +01:00
Tobias
740b54e476 Use Combine instead of VerticalCombine
This gets rid of the added SPAN-tag with ID.
2021-01-17 21:11:57 +01:00
Tobias
40b6b97521 Tailwind the Language picker
Changes the style and gives Class the ability to receive css-classes. There should also be a label-text given; something like "Change language" which is then hidden for `sr-only`.
2021-01-17 21:06:54 +01:00
Tobias
415010ba47 Reset Loading message once loaded
The message was visible on the page in situations when there was content above. This resets it at least for one situation.
2021-01-17 21:05:20 +01:00
Tobias
c2ee058682 Remove a few empty spaces and line breaks
Most it is done by my editor automatically.
2021-01-17 21:04:37 +01:00
f33fe081d0 Add caching into local storage for a faster map experience 2021-01-15 00:29:07 +01:00
092c12a449 Add overview of all themes if none are defined 2021-01-14 22:25:11 +01:00
303485df7e Add bicycle tube vending machines 2021-01-09 02:11:43 +01:00
641b59bca5 Add ornament 2021-01-09 00:03:21 +01:00
2f57010202 Fix back button; add title 2021-01-08 18:02:07 +01:00
6e77504854 Add back button on simpleAddUI 2021-01-08 16:49:42 +01:00
ddea3d2fc1 Small css tweaks, fix layer filtering 2021-01-08 14:23:12 +01:00
2a31badd3d New roaming rendering system which allows layers to push questions, badges and title-icons to all the other layers, improve bike-clean-services 2021-01-08 03:57:18 +01:00
77ffdc093a More styling tweaks 2021-01-08 02:13:44 +01:00
9a412c6b74 Workaround: popups move into zoom vertically too now on desktop 2021-01-07 20:11:07 +01:00
7dc7cc283d Add return to map button on layer panel 2021-01-07 15:19:50 +01:00
3f2608524e Last css tweaks 2021-01-07 05:10:27 +01:00
701ce3e89a Css tweaks 2021-01-07 04:50:12 +01:00
489c6fc3c0 Fix self-closing popup 2021-01-06 13:18:33 +01:00
66018cb421 Move runningFromConsole to utils 2021-01-06 02:21:50 +01:00
c359d43b15 Add standalone bicycle library theme, search now opens the popup of the found object 2021-01-06 02:09:04 +01:00
a35b80afbb Fix rendering of multianswers without explicit 'render'-field 2021-01-06 01:11:07 +01:00
52d9b2f452 Stabilizing popup behaviour 2021-01-05 16:59:12 +01:00
6557c51493 Better OH viz 2021-01-05 03:33:41 +01:00
a782266a2f Add bicycle libraries 2021-01-05 02:59:29 +01:00
85a6894c92 Use proper description in layerconfig 2021-01-05 01:30:59 +01:00
4dacfd157a Automatically cluster maps with more then 250 elements 2021-01-05 00:21:00 +01:00
46b05d7410 Performance improvement 2021-01-04 23:46:35 +01:00
5523603e70 Tweaks to popup closing behaviour 2021-01-04 23:36:02 +01:00
baf41cb79d Fixing adding multiple points 2021-01-04 22:59:11 +01:00
32bc1433b4 A new element now shows up directly on the map 2021-01-04 22:14:56 +01:00
c548c26158 Expose clustering in layoutConfig 2021-01-04 20:09:07 +01:00
db66689705 Add working clustering! 2021-01-04 18:55:10 +01:00