Commit graph

935 commits

Author SHA1 Message Date
pietervdvn e2d5cefda3 Removed some obsolete lines 2021-02-20 02:39:00 +01:00
pietervdvn 7ee3a6065c Add loading from a random URL; fixes #208 2021-02-20 02:37:47 +01:00
pietervdvn 09599e9f15 Combine dropped the empty elements, causing them not to be able to update 2021-02-20 02:25:29 +01:00
Pieter Vander Vennet 5a358a2abc
Merge pull request #209 from pietervdvn/dependabot/npm_and_yarn/marked-2.0.0
Bump marked from 1.1.1 to 2.0.0
2021-02-20 02:10:06 +01:00
pietervdvn b24290e464 Small fixes 2021-02-20 02:09:41 +01:00
pietervdvn 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
pietervdvn 79fc3f54e5 Move slick buttons to a clickable location 2021-02-15 19:06:06 +01:00
pietervdvn f86ce4bc17 Fix deployment 2021-02-15 17:44:19 +01:00
pietervdvn 770c8d1dde Fixed opening of popups 2021-02-14 20:36:20 +01:00
pietervdvn bc1863dcb6 Fix hiding and showing of features 2021-02-14 19:45:02 +01:00
dependabot[bot] e5e2dd7c2f
Bump marked from 1.1.1 to 2.0.0
Bumps [marked](https://github.com/markedjs/marked) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.1.1...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 22:07:48 +00:00
pietervdvn d4f107c81a Stabilizing popups part 2: loading new data doesn't close the popup anymore + fix slideshow 2021-02-06 00:05:38 +01:00
pietervdvn b9d5a85cd0 Merge slick carousel 2021-02-05 19:11:19 +01:00
pietervdvn 1f4b06ae55 Some work on stabilizing the popups, WIP 2021-02-05 18:58:06 +01:00
pietervdvn 8f8ef690a4 Performance improvements 2021-02-05 16:32:37 +01:00
pietervdvn 49f78d5604 Fix leaflet: areas wouldn't show up anymore 2021-02-05 16:08:35 +01:00
pietervdvn 1979aadb49 Add slick-carousel instead of homemade one 2021-01-29 03:23:53 +01:00
pietervdvn 5192ece1ed Ignore parcel cache 2021-01-27 03:09:06 +01:00
pietervdvn 0fc8bbe1ed Show 'about mapcomplete' on index 2021-01-27 03:08:46 +01:00
pietervdvn 1831365597 Small code fixes, fix #198 2021-01-27 02:58:11 +01:00
pietervdvn 1b73f0a43a Fix landscape mode 2021-01-27 02:26:57 +01:00
pietervdvn 593ac5381a Further refactoring fullscreenelement: removal of hash handling from showDataLayer 2021-01-27 01:14:16 +01:00
pietervdvn e2e48344d6 Stuff more or less works 2021-01-25 04:21:22 +01:00
pietervdvn 149e117887 Merge master 2021-01-25 03:23:00 +01:00
pietervdvn 00f610c589 Refactoring fullscreenhandling 2021-01-25 03:12:09 +01:00
Pieter Vander Vennet 67349ee539
Merge pull request #202 from tordans/tailwind-buttons
Tailwind buttons
2021-01-25 00:36:38 +01:00
Tobias 2eecdfb9de Trying to add the landscape media query to the config
But this seems to be non-working, see https://github.com/pietervdvn/MapComplete/issues/200
2021-01-24 22:22:03 +01:00
Tobias 397a4414f3 Move custom max-height-version to Config
As it turns out, the config does work once you restart the server … 🤦
2021-01-24 22:21:28 +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
Tobias 2342d369d0 Shorten the "skip question" button text in GER
Same meaning, shorter size.
2021-01-24 22:17:12 +01:00
pietervdvn 3e69de3161 Updated translations 2021-01-24 19:00:43 +01:00
pietervdvn e1a4c75391 Halfway removing the fullscreenmessage 2021-01-24 18:33:16 +01:00
pietervdvn 81f0a21076 Derping around, bit of a dead end due to transform3d in a parent 2021-01-22 01:03:50 +01:00
pietervdvn 7f1b78198a Cleaning away fullscreenmessage 2021-01-22 00:40:15 +01:00
Pieter Vander Vennet 9959b8ef51
Merge pull request #183 from tordans/add-tailwind-for-homepage
Add TailwindCSS and apply it on the homepage
2021-01-21 23:58:10 +01:00
pietervdvn 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 3f34e288db Introduce max-h-65vh
I need this to refactor the featureinfobox and sub-classes.

Ideally we could add this class via tailwind.config.js but for some reason it does not work; the class does not appear in the index.css file.

As a workaround I added it differently, but still we should probably figure out why the config file does not work as expeced.
2021-01-21 04:48:52 +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 f5504d28f4 Migrate centermessage to Tailwind
Migrate most attributes to Tailwind classes. The box is a bit wider now, which is OK IMO. The z-index could be migrated to a custom Tailwind config-entry later. The transition has probably a Tailwind version as well (to be checked later…).
2021-01-20 22:14:26 +01:00
Tobias 66cb835ff0 Use parent-border for profile pic
This changes the layout slighly. The image has a sharp edge to the right, which works very well IMO. We would also add custom tailwind border classes if needed.
2021-01-20 21:58:15 +01:00