Commit Graph

82 Commits

Author SHA1 Message Date
James Lyne
89c56e176b Some style refactoring
- Use CSS variables for UI element size/spacing
- Make buttons smaller on smaller screens
- Reduce location size on smaller screens
- Add common leaflet-control-button class for all button-y controls
2021-08-26 00:54:40 +01:00
James Lyne
90ec2080ee Add tooltip support 2021-07-29 03:06:05 +01:00
James Lyne
5cf353cd8a Update license headers 2021-07-26 01:05:08 +01:00
James Lyne
dd17bc63bd Avoid applying the base background colour twice to buttons in leaflet-controls 2021-07-22 23:18:18 +01:00
James Lyne
636bebd237 Focus style improvements
- Replace js :focus-visible polyfill with css
- Improve fallback :focus styles
2021-07-22 02:48:09 +01:00
James Lyne
f2b810f56b Reduce layer list padding 2021-07-21 16:19:39 +01:00
James Lyne
028cb4e1af Player list search 2021-07-21 16:19:18 +01:00
James Lyne
fbe252472f Add setting for displaying players above/below other markers (Fixes #14) 2021-07-20 20:27:07 +01:00
James Lyne
ee910453d5 Make menu buttons transparent by default properly 2021-07-19 00:37:57 +01:00
James Lyne
bfe3814aa9 Make menu buttons transparent by default 2021-07-19 00:35:42 +01:00
James Lyne
362ac3cbdc Respect --border-radius in zoom control (Fixes #36) 2021-06-23 17:57:52 +01:00
James Lyne
c2a43f6414 Fix indentation 2021-06-22 18:25:19 +01:00
James Lyne
0698085d98 Improve display of long layer names (Fixes #32) 2021-06-22 18:24:22 +01:00
James Lyne
ce80666949 Remove max marker width 2021-06-12 22:48:42 +01:00
James Lyne
c76d1c1e49 Mobile notification styles 2021-05-29 01:34:53 +01:00
James Lyne
326ca094c8 Various zindex fixes 2021-05-29 01:34:45 +01:00
James Lyne
701f27fee6 Fix control spacing on right side of map 2021-05-29 00:52:28 +01:00
James Lyne
0ca26beb8e Keyboard event handling and focus styles for layers 2021-05-28 23:25:55 +01:00
James Lyne
dd1a1b3c97 Context menu keyboard event handling and general improvements 2021-05-28 22:36:16 +01:00
James Lyne
af3ef17ec4 Make layers toggle on click like other UI elements 2021-05-28 19:14:06 +01:00
James Lyne
9e65a5859c Chatbox styling/accessibility improvements 2021-05-28 15:55:17 +01:00
James Lyne
aee164f8c0 Use global box shadow for popups 2021-05-28 15:21:05 +01:00
James Lyne
57133c5681 Use aria attributes for active etc states 2021-05-28 00:14:51 +01:00
James Lyne
dc4bb67a5e Radio button style fixes 2021-05-28 00:14:27 +01:00
James Lyne
e1c56c201e Use radio buttons for server list 2021-05-27 18:18:26 +01:00
James Lyne
72772881b6 Split button placeholder into mixins for easier use with non-button elements 2021-05-27 17:34:14 +01:00
James Lyne
42d14ca5c9 Reorganise leaflet styles 2021-05-27 17:33:43 +01:00
James Lyne
6f11542b33 Fix notification styles 2021-05-27 00:01:09 +01:00
James Lyne
e65b70acc4 Use sans-serif for zoom buttons 2021-05-25 23:48:30 +01:00
James Lyne
7250ffed05 Focused style improvements 2021-05-25 23:27:25 +01:00
James Lyne
0841640e76 Various styling fixes 2021-05-25 20:38:51 +01:00
James Lyne
22102eae65 Handle focusing better when opening/closing context menu 2021-05-25 14:22:04 +01:00
James Lyne
609b265951 Add copied to clipboard notifications 2021-05-25 14:21:37 +01:00
James Lyne
23a0de7692 Use :focus-visible instead of :focus, with polyfill 2021-05-25 00:22:49 +01:00
James Lyne
2ffe57c38a Add shadows to UI elements 2021-05-24 21:57:53 +01:00
James Lyne
025ecf6148 Context menu style improvements + mobile 2021-05-24 18:24:08 +01:00
James Lyne
b64dc19c39 Add space between menu items 2021-05-24 17:34:03 +01:00
James Lyne
647f3b4106 Make focused buttons more obvious 2021-05-24 17:16:18 +01:00
James Lyne
302077c9c1 Use .menu styling for other menu-y things 2021-05-24 17:16:07 +01:00
James Lyne
a8ec660ffd Map context menu 2021-05-24 16:42:32 +01:00
James Lyne
5550f7e220 Fix button font 2021-05-24 16:39:37 +01:00
James Lyne
6eec608eb1 Improve handling of component config updates 2021-05-18 22:01:07 +01:00
James Lyne
64fe37e35c Respect dynmap showlayercontrol setting 2021-05-18 21:05:11 +01:00
James Lyne
5716cb1e48 Inline more css to prevent splash screen jumping 2021-05-18 17:14:16 +01:00
James Lyne
167aebf6f5 Update app container element 2021-05-18 15:45:27 +01:00
James Lyne
36d2be4100 Move to native css variables 2021-05-15 23:24:29 +01:00
James Lyne
2251ca3e25 Popup restyling
- Add max height and make scrollable
- Move close button outside of popup to allow padding reduction and make room for possible scrollbar
2021-01-26 17:45:53 +00:00
James Lyne
d721286ea3 Use px for media queries to work around iOS bugs 2021-01-25 02:27:35 +00:00
James Lyne
1cd6e27dbc Fix iOS font size weirdness 2021-01-25 02:03:24 +00:00
James Lyne
bd6863fa38 Remove unused css 2021-01-24 22:51:55 +00:00