Commit Graph

187 Commits

Author SHA1 Message Date
Leon de Klerk 2cdefa2d7c Fix scroll buttons not showing on resize
Signed-off-by: Leon de Klerk <developer@leondeklerk.com>
2022-09-03 02:23:46 +02:00
taku0 3d51c68725 Respect safe area (notch) of mobile devices
This adds paddings to various containers so that buttons and contents are not
hidden by the notch or the Home indicator (the gray bar at the bottom).

- `src/assets/css/librarybrowser.scss`
  - `.skinHeader`: menu bar at the top.
  - `.padded-left` and `.padded-right`: the heading of library.

- `src/assets/css/site.scss`
  - `.content-primary`, `.padded-bottom-page`, `.page`,
    `.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards.

- `src/elements/emby-scroller/emby-scroller.scss`
  - `.emby-scroller`: the library items.

- `src/assets/css/videoosd.scss`
  - `.videoOsdBottom`: the video playback control buttons and the progress bar.

- `src/components/alphaPicker/style.scss`
  - `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker.

- `src/components/appFooter/appFooter.scss`
  - `.appfooter`: the bottom bar showing the currently playing media.

- `src/components/multiSelect/multiSelect.scss`
  - `.selectionCommandsPanel`: the top bar when selecting multiple media.
    Shown when long-pressing media.

- `src/components/remotecontrol/remotecontrol.scss`
  - `.playlistSectionButton`: the bottom bar for current playlist.
    Shown when touching `.appfooter`.

- `src/components/toast/toast.scss`
  - `.toastContainer`: the toast.  Shown when refreshing metadata.

- `src/index.html`
  - `.mainDrawerHandle`: gesture area for the drawer.
    It seems conflicting with gestures of Safari.

- `src/libraries/navdrawer/navdrawer.scss`
  - `.tmla-mask` and `.touch-menu-la`: the drawer.

- `src/plugins/htmlVideoPlayer/style.scss`
  - `.videoPlayerContainer`: the video area when not fullscreen.
  - `.videoSubtitles`: the video subtitles for some devices, not including
    iPhone.

- `src/plugins/youtubePlayer/style.scss`
  - `.youtubePlayerContainer` container for the YouTube plugin.  Not tested.
2022-08-18 17:34:57 +09:00
grafixeyehero fb04b4b58a remove type prop form IconButtonElement 2022-07-23 18:04:40 +03:00
grafixeyehero 6fb884a212 move to src elements 2022-07-23 18:04:35 +03:00
Madh93 c4ab1a5868 Show subtitle text color setting 2022-06-16 17:19:27 +01:00
Dmitry Lyzo 59adbc348a Escape HTML 2022-03-06 13:29:14 +03:00
Bill Thornton db362599c9 Add titles to emby-scrollbuttons 2022-03-04 11:39:01 -05:00
Bill Thornton 9067b0e397 Fix eslint errors for empty functions/constructors 2022-03-01 10:57:48 -05:00
Bill Thornton a71ed46afb Merge pull request #3459 from dmitrylyzo/button-icons
Add aria-hidden to button icons
2022-02-25 11:50:24 -05:00
Dmitry Lyzo 119df2cc99 Add aria-hidden to button icons 2022-02-25 01:52:14 +03:00
Dmitry Lyzo 9f302dbf72 Make title of ratingbutton state-dependent 2022-02-24 23:56:10 +03:00
Dmitry Lyzo 26bf0d532b Make title of playstatebutton state-dependent 2022-02-24 23:56:10 +03:00
Bill Thornton e77b4b87c1 Fix null parentNode when rendering emby-select in react 2022-01-18 10:24:20 -05:00
grafixeyehero b22a9ed632 apply suggestions 2022-01-02 02:40:11 +03:00
Bill Thornton c4fc8e0145 Merge pull request #2618 from iwalton3/client-custom-css
Allow client custom css and disabling global server custom css.
2021-07-30 22:34:32 -07:00
Dmitry Lyzo f233182573 Add 'scroll on focus' to emby-tabs 2021-04-25 11:27:16 +03:00
Ian Walton 8cae67d9b9 Allow client custom css and disabling global server custom css. 2021-04-24 14:39:47 -04:00
Bill Thornton a3949c1889 Fix sonarqube issues 2021-03-23 11:28:20 -04:00
Bill Thornton f60b7686d0 Remove unused variables 2021-03-23 11:28:16 -04:00
Bill Thornton 34a19e0781 Move elements css files to sass 2021-03-19 13:46:12 -04:00
Bill Thornton 8e77f35657 Move assets css files to sass 2021-03-19 13:46:12 -04:00
Bill Thornton 0d2ede01b3 Fix margin for stacked emby-button elements 2020-12-20 00:29:13 -05:00
Dmitry Lyzo b975f4bf81 Prevent native navigation 2020-12-06 13:29:54 +03:00
Bill Thornton 9155899860 Fix emby-button link handling 2020-12-03 16:09:04 -05:00
Bill Thornton d8f2cc1245 Use static imports for html templates 2020-11-25 00:17:24 -05:00
dkanada 36344af64f Merge branch 'master' into osd-tweak 2020-11-21 22:15:49 +09:00
Nyanmisaka ea8a2d5549 Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-20 23:43:55 +00:00
nyanmisaka 17142dc6d3 tweak osd for narrow view 2020-11-17 22:36:01 +08:00
vitorsemeano 5b5d6a45b0 multiple imports optimized 2020-11-08 12:37:53 +00:00
vitorsemeano ca4d403ce8 Update src/elements/emby-collapse/emby-collapse.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:56:49 +00:00
vitorsemeano dfd729fd69 Update src/elements/emby-collapse/emby-collapse.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:56:28 +00:00
vitorsemeano a3a273e79c Update src/elements/emby-progressring/emby-progressring.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:56:11 +00:00
vitorsemeano beb06871de Update src/elements/emby-scrollbuttons/emby-scrollbuttons.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:55:43 +00:00
vitorsemeano fa6ab87730 Update src/elements/emby-scrollbuttons/emby-scrollbuttons.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:54:36 +00:00
vitorsemeano 179c07c968 Update src/elements/emby-toggle/emby-toggle.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:54:14 +00:00
vitorsemeano b49524e5ea multiple fixes and otimizations 2020-11-07 12:05:09 +00:00
vitorsemeano 5071aedcea extracted connectionManager from site.js
new module ServerConnections for ConnectionManager
all code adapted to this new module
removed Events and ConnectionManager from eslintrc
2020-11-05 23:12:23 +00:00
vitorsemeano e0abc4d386 minor fix for multiselect 2020-11-05 23:11:47 +00:00
Bill Thornton 85acdb3868 Revert emby-button and emby-tabs changes 2020-11-05 23:11:47 +00:00
Bill Thornton 97699d513b Fix class and element names 2020-11-05 23:11:47 +00:00
Bill Thornton 9343318a4f Fix webcomponents imports 2020-11-05 23:11:47 +00:00
Bill Thornton a71b0314d4 Fix apiclient imports 2020-11-05 23:11:47 +00:00
MrTimscampi 7d9208e951 WIP 2020-11-05 23:09:09 +00:00
MrTimscampi bfb8c7c1f6 Make import paths ES6-compatible 2020-11-05 22:58:26 +00:00
dkanada 39eddeb205 run eslint to fix most var instances 2020-10-07 21:12:14 +09:00
MrTimscampi c97d7a6f59 Use connectionManager global 2020-08-30 06:06:47 +02:00
dkanada 3e3a18431f Merge pull request #1819 from MrTimscampi/tabs-tv-fix
Fix tabs always focusing the active tab in TV layout
2020-08-22 07:45:19 +09:00
MrTimscampi 61a7dba964 Fix sonarcloud warning 2020-08-18 20:31:10 +02:00
MrTimscampi 161e1aff2f Fix tabs always focusing the active tab in TV layout 2020-08-18 20:12:19 +02:00
matjaz321 ffcc1181dc small cr fix 2020-08-13 22:41:49 +02:00