Commit graph

470 commits

Author SHA1 Message Date
f4f7ae8f93 Fix bug with multianswers triggering an error 2021-02-21 00:15:03 +01:00
ae9d93138b Add ifnot-tags for multianswers, in order to indicate something is _not_ possible (e.g.: playment:coins=no) 2021-02-20 16:48:42 +01:00
dcdb5b9a22 Small tweaks to translation label 2021-02-20 03:29:55 +01:00
e2d5cefda3 Removed some obsolete lines 2021-02-20 02:39:00 +01:00
7ee3a6065c Add loading from a random URL; fixes #208 2021-02-20 02:37:47 +01:00
09599e9f15 Combine dropped the empty elements, causing them not to be able to update 2021-02-20 02:25:29 +01:00
b24290e464 Small fixes 2021-02-20 02:09:41 +01:00
416a76ae4f Stabilize personal theme, textfield now correctly appears if it is an option in the freeform too 2021-02-20 01:45:51 +01:00
79fc3f54e5 Move slick buttons to a clickable location 2021-02-15 19:06:06 +01:00
f86ce4bc17 Fix deployment 2021-02-15 17:44:19 +01:00
770c8d1dde Fixed opening of popups 2021-02-14 20:36:20 +01:00
bc1863dcb6 Fix hiding and showing of features 2021-02-14 19:45:02 +01:00
d4f107c81a Stabilizing popups part 2: loading new data doesn't close the popup anymore + fix slideshow 2021-02-06 00:05:38 +01:00
b9d5a85cd0 Merge slick carousel 2021-02-05 19:11:19 +01:00
1f4b06ae55 Some work on stabilizing the popups, WIP 2021-02-05 18:58:06 +01:00
8f8ef690a4 Performance improvements 2021-02-05 16:32:37 +01:00
1979aadb49 Add slick-carousel instead of homemade one 2021-01-29 03:23:53 +01:00
1831365597 Small code fixes, fix #198 2021-01-27 02:58:11 +01:00
1b73f0a43a Fix landscape mode 2021-01-27 02:26:57 +01:00
593ac5381a Further refactoring fullscreenelement: removal of hash handling from showDataLayer 2021-01-27 01:14:16 +01:00
e2e48344d6 Stuff more or less works 2021-01-25 04:21:22 +01:00
149e117887 Merge master 2021-01-25 03:23:00 +01:00
00f610c589 Refactoring fullscreenhandling 2021-01-25 03:12:09 +01:00
Tobias
e1daade961 Remove a few new lines and spaces 2021-01-24 22:20:54 +01:00
Tobias
4068931bba Add Tailwind button for save+cancel
- remove custom styles
- add new button styles based on Tailwind classes using @apply
- extend config to allow hover:ring-blue-200 and such
- update the js-files to use new classes

- Only unsure about the `.review-form .save-non-active`, this might need additional Tailwind helper classes in this specific situation. Don't know where it shows up, so could not test.
2021-01-24 22:20:40 +01:00
e1a4c75391 Halfway removing the fullscreenmessage 2021-01-24 18:33:16 +01:00
81f0a21076 Derping around, bit of a dead end due to transform3d in a parent 2021-01-22 01:03:50 +01:00
7f1b78198a Cleaning away fullscreenmessage 2021-01-22 00:40:15 +01:00
6c4b15e33d Add various bug fixes and improvements 2021-01-21 23:39:31 +01:00
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