Commit Graph

64 Commits

Author SHA1 Message Date
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
Ryan Hartzell d895a4fc6a add eslint no-nested-ternary rule and fix violations 2022-04-27 16:06:24 -07:00
grafixeyehero 9758a0ff1e remove unused onMaskTransitionEnd
apply sonarcloud suggestions
2022-04-15 04:35:43 +03:00
grafixeyehero be609351ef store the new options to fix handleSize undefined 2022-04-15 04:35:41 +03:00
grafixeyehero 7546b05297 apply suggestions 2022-04-15 04:35:40 +03:00
grafixeyehero 5c4527feaf Migrate NavigationDrawer to Es6 2022-04-15 04:35:37 +03:00
Bill Thornton 5a9bf5a05c Merge pull request #3538 from thornbill/move-screensaver-manager 2022-04-01 08:48:29 -04:00
Bill Thornton cf851074b7 Move screensavermanager to scripts 2022-03-31 16:29:56 -04:00
Bill Thornton e2de5e9029 Update libraries comments that reference Vue migration 2022-03-31 15:55:30 -04:00
Dmitry Lyzo 4fb3a46fea Fix conflict with other scrollers 2021-07-31 10:47:46 +03:00
Bill Thornton 76296c494b Move libraries 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
Dmitry Lyzo c2b1d02a33 Merge branch 'master' into return-of-the-scrollbar 2020-11-20 09:28:55 +03:00
vitorsemeano 92b1cb3aa3 removed unecessary console.warn 2020-11-06 00:04:23 +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
Bill Thornton 54d71126d9 Fix currentApiClient references 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
Dmitry Lyzo 517b69550e Fix permanent scrollbar for screensaver 2020-10-31 22:39:30 +03:00
dkanada 237e8ddc4c manual changes for no-var eslint rule 2020-10-08 00:47:23 +09:00
dkanada 39eddeb205 run eslint to fix most var instances 2020-10-07 21:12:14 +09:00
Julien Machiels 3cbe0f7264 Merge branch 'master' into connection-manager-global 2020-09-01 10:16:21 +02:00
MrTimscampi c97d7a6f59 Use connectionManager global 2020-08-30 06:06:47 +02:00
MrTimscampi 98f5bc3d9c Don't constraing end position for scrollers if in TV layout 2020-08-26 19:53:11 +02:00
Cameron dbb6cd9730 Lint 2020-08-07 22:46:12 +01:00
Cameron 33856ba356 Merge branch 'master' into migrate-to-ES6-45 2020-08-07 22:44:19 +01:00
Cameron 0872f3f001 Apply suggestions 2020-08-07 09:27:11 +01:00
Julien Machiels 878ab482cb Update src/libraries/scroller.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-08-06 23:27:26 +02:00
MrTimscampi e7d6bc2889 Don't math twice 2020-08-06 22:25:14 +02:00
MrTimscampi f2e1d03ae9 Migrate scroller to ES6 2020-08-06 21:15:16 +02:00
MrTimscampi 0cd82da8f2 Migrate navdrawer to ES6 2020-08-06 20:59:14 +02:00
Cameron 59b851219f Merge branch 'master' into migrate-to-ES6-45 2020-08-05 20:17:06 +01:00
Xantios Krugor 2a822704d6 Use focusManager.default in non ES6 modules 2020-08-05 12:19:51 +02:00
Xantios Krugor 32e3df7801 Move focusManager to ES6 2020-08-03 14:27:28 +02:00
Cameron 57fb133166 fix yoda 2020-08-02 18:09:17 +01:00
Cameron 5d4b133dcf Merge branch 'master' into migrate-to-ES6-45 2020-08-02 18:00:52 +01:00
Cameron ce2b2d70ab Merge branch 'master' into migrate-to-ES6-48 2020-08-02 15:16:13 +01:00
Dmitry Lyzo 40b6403134 Add ES6 import hack for 'browser' 2020-08-02 15:25:20 +03:00
Cameron 91cd1a75d7 Apply Suggestions 2020-08-02 09:00:26 +01:00
Cameron d63a229e0e fix lint 2020-07-28 21:43:46 +01:00
Cameron f9e79c0a4e Migration of list.js and screensavermanager to ES6 modules 2020-07-28 21:28:16 +01:00
MrTimscampi 6030e9677e Apply suggestions 2020-07-26 12:33:01 +02:00
MrTimscampi dfbb7dfc16 Remove dead code 2020-07-26 12:30:50 +02:00
MrTimscampi ac69f29d5a Fix some Major issues 2020-05-08 10:55:17 +02:00
MrTimscampi 60812f3574 Remove leftover API client file 2020-05-07 21:57:50 +02:00
MrTimscampi 45d8c5bc3a Merge remote-tracking branch 'upstream/master' into apiclient-be-gone 2020-05-07 16:37:48 +02:00
MrTimscampi ff7b69e5d6 Remove unused file visibleinviewport.js 2020-05-01 15:08:30 +02:00
MrTimscampi 33f19c0bef Remove apiclient from tree 2020-05-01 12:08:41 +02:00
dkanada 9243301fdb remove object assign and headroom files 2020-04-25 10:43:27 +09:00