Fix opacity issue
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 52s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 52s
This commit is contained in:
parent
64d6fbfe89
commit
6de299bd50
1 changed files with 7 additions and 0 deletions
|
@ -673,12 +673,19 @@ footer img {
|
||||||
|
|
||||||
.excerpt-gradient-top {
|
.excerpt-gradient-top {
|
||||||
background: var(--docsearch-searchbox-background) !important;
|
background: var(--docsearch-searchbox-background) !important;
|
||||||
|
opacity: 0.5;
|
||||||
clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
|
clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
|
||||||
transform: translateY(-7px) rotateZ(180deg);
|
transform: translateY(-7px) rotateZ(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.excerpt-gradient-bottom {
|
.excerpt-gradient-bottom {
|
||||||
background: var(--docsearch-searchbox-background) !important;
|
background: var(--docsearch-searchbox-background) !important;
|
||||||
|
opacity: 0.5;
|
||||||
clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
|
clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
|
||||||
transform: translateY(7px);
|
transform: translateY(7px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selected .excerpt-gradient-top,
|
||||||
|
.selected .excerpt-gradient-bottom {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue