1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/components/emby-scrollbuttons/emby-scrollbuttons.css

61 lines
1.4 KiB
CSS
Raw Normal View History

2018-10-23 01:13:23 +03:00
.emby-scrollbuttons-scroller {
position: relative;
2018-10-23 01:13:23 +03:00
}
.scrollbuttoncontainer {
position: absolute;
top: 10%;
bottom: 35%;
2018-10-23 01:13:23 +03:00
align-items: center;
justify-content: center;
z-index: 1;
font-size: 3em;
color: #fff;
display: none;
overflow: hidden;
2018-10-23 01:13:23 +03:00
}
.scrollbuttoncontainer-left {
background: rgba(20, 20, 20, .5);
background: -moz-linear-gradient(left,#000 0,rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(left,#000 0,rgba(0,0,0,0) 100%);
background: linear-gradient(to right,#000,rgba(0,0,0,0));
2018-10-23 01:13:23 +03:00
}
.scrollbuttoncontainer-right {
background: rgba(20, 20, 20, .5);
background: -moz-linear-gradient(right,#000 0,rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(right,#000 0,rgba(0,0,0,0) 100%);
background: linear-gradient(to left,#000,rgba(0,0,0,0));
2018-10-23 01:13:23 +03:00
}
.emby-scrollbuttons-scroller:hover .scrollbuttoncontainer {
display: flex;
}
.scrollbuttoncontainer-left {
left: 0;
}
.scrollbuttoncontainer-right {
right: 0;
2018-10-23 01:13:23 +03:00
}
.emby-scrollbuttons-scrollbutton {
margin: 0 -.2em;
transition: transform 160ms ease-out;
2018-10-23 01:13:23 +03:00
}
.scrollbuttoncontainer:hover > .emby-scrollbuttons-scrollbutton {
transform: scale(1.3, 1.3);
2018-10-23 01:13:23 +03:00
}
.emby-scrollbuttons-scrollbutton:after {
content: '';
display: none !important;
2018-10-23 01:13:23 +03:00
}
.emby-scrollbuttons-scrollbutton:focus {
color: inherit !important;
}