mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use shared action sheet
This commit is contained in:
parent
7204e2a9d8
commit
a832af5f4c
6 changed files with 279 additions and 16 deletions
54
dashboard-ui/bower_components/emby-webcomponents/actionsheet/actionsheet.css
vendored
Normal file
54
dashboard-ui/bower_components/emby-webcomponents/actionsheet/actionsheet.css
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
.actionSheet {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.actionSheet.centered .actionSheetContent {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.actionSheetContent {
|
||||
margin: 0 !important;
|
||||
padding: 1em 1em !important;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.actionSheetMenuItem {
|
||||
padding: .4em .5em;
|
||||
margin: 0;
|
||||
text-transform: none;
|
||||
text-align: inherit;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.actionSheetItemIcon {
|
||||
margin-right: 1.5em !important;
|
||||
}
|
||||
|
||||
.actionSheetScroller {
|
||||
max-height: 60%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
/* Override default style being applied by polymer */
|
||||
margin-bottom: 0 !important;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
.actionSheetScroller::-webkit-scrollbar, .actionSheetScroller::-webkit-scrollbar {
|
||||
width: 0 !important;
|
||||
display: none;
|
||||
}
|
||||
|
||||
h1.actionSheetTitle {
|
||||
margin: .5em 0 .7em !important;
|
||||
}
|
||||
|
||||
h2.actionSheetTitle {
|
||||
margin: .25em 0 .55em !important;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue