Add poster hover effects

This commit is contained in:
Prayag
2021-01-13 16:02:20 +05:30
parent db829681d1
commit 769ebaf694

View File

@@ -248,7 +248,7 @@
"name": "Fonts",
"options": [
{
"type": "googleFonts"
"type": "googleFonts"
},
{
"type": "number",
@@ -264,7 +264,7 @@
"name": "Accent color",
"description": "Choose a custom accent color to use with the theme.",
"css": ".countIndicator {background: rgba($,0.8);}.playedIndicator, .innerCardFooter /*Accenting*/.button-flat:hover {background: rgba($,0.25);}.paper-icon-button-light:hover { background-color: rgba($,0.25) !important;}.subtitleappearance-preview { background: linear-gradient(140deg,rgba($),#111) !important;}.navMenuOption-selected, .selectionCommandsPanel { background: rgba($, 0.8) !important;}.raised,.fab,a[data-role='button'] { background: rgba($, 0.8) !important;transition: all 0.2s !important;} /*Glow accent*/ .raised.homeLibraryButton {box-shadow: 0px 0px 5px rgba($, 0) !important; border: solid 1px rgba($,0) !important;}.cardOverlayContainer:hover,.dialog,..raised.homeLibraryButton:hover { box-shadow: 0px 0px 5px rgb($) !important; border: solid 1px rgba($,0.6) !important;}.cardOverlayContainer { border: solid 1px rgba($,0.0) !important;}",
"default": "#303030"
"default": "#303030"
},
{
"type": "colorPicker",
@@ -304,6 +304,21 @@
{
"name": "Miscellaneous",
"options": [
{
"type": "selector",
"name": "Poster card hover effect",
"description": "Changes the hover effect on Movie/TV show/Music poster card.",
"selections": [
{
"name": "Scale in and out",
"css": "/*Dynamic Poster effect-option1*/.cardBox-bottompadded{margin-bottom; 1em !important;}.itemsContainer>.card>.cardBox {margin: 1em;background: rgba(0,0,0,0.5);transition: transform .2s;}.cardBox:hover {transform: scale(1.1);}"
},
{
"name": "Pop up and down",
"css": "/*Dynamic Poster effect-option2*/.itemsContainer>.card>.cardBox {margin: 1em;background: rgba(0,0,0,0.5);transition: transform .2s, box-shadow .2s;}.cardBox:hover {transform: translatey(-5px);box-shadow: 0px 5px 10px black;}"
}
]
}
{
"type": "colorPicker",
"mode": "hex",