Merge pull request #79 from RepoDevil/request
Combine CSS into nested selector
This commit is contained in:
commit
dec9a200ce
@ -66,21 +66,6 @@ introSkipper.injectCss = function () {
|
|||||||
let styleElement = document.createElement("style");
|
let styleElement = document.createElement("style");
|
||||||
styleElement.id = "introSkipperCss";
|
styleElement.id = "introSkipperCss";
|
||||||
styleElement.innerText = `
|
styleElement.innerText = `
|
||||||
@media (hover:hover) and (pointer:fine) {
|
|
||||||
#skipIntro .paper-icon-button-light:hover:not(:disabled) {
|
|
||||||
color: black !important;
|
|
||||||
background-color: rgba(47, 93, 98, 0) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#skipIntro .paper-icon-button-light.show-focus:focus {
|
|
||||||
transform: scale(1.04) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#skipIntro.upNextContainer {
|
|
||||||
width: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
#skipIntro {
|
#skipIntro {
|
||||||
padding: 0 1px;
|
padding: 0 1px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -95,15 +80,23 @@ introSkipper.injectCss = function () {
|
|||||||
-webkit-transition: ease-out 0.4s;
|
-webkit-transition: ease-out 0.4s;
|
||||||
-moz-transition: ease-out 0.4s;
|
-moz-transition: ease-out 0.4s;
|
||||||
transition: ease-out 0.4s;
|
transition: ease-out 0.4s;
|
||||||
}
|
@media (hover:hover) and (pointer:fine) {
|
||||||
|
.paper-icon-button-light:hover:not(:disabled) {
|
||||||
#skipIntro #btnSkipSegmentText {
|
color: black !important;
|
||||||
padding-right: 3px;
|
background-color: rgba(47, 93, 98, 0) !important;
|
||||||
padding-bottom: 2px;
|
}
|
||||||
}
|
}
|
||||||
|
.paper-icon-button-light.show-focus:focus {
|
||||||
@media (max-width: 1080px) {
|
transform: scale(1.04) !important;
|
||||||
#skipIntro {
|
}
|
||||||
|
#btnSkipSegmentText {
|
||||||
|
padding-right: 3px;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
}
|
||||||
|
&.upNextContainer {
|
||||||
|
width: unset;
|
||||||
|
}
|
||||||
|
@media (max-width: 1080px) {
|
||||||
right: 10%;
|
right: 10%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user