CSS: no more shadows (requires too much CPU)
This commit is contained in:
parent
46fe01089d
commit
9e79537b6e
3 changed files with 19 additions and 38 deletions
|
|
@ -97,21 +97,7 @@ ul {
|
|||
/* list-style-position: ; */
|
||||
}
|
||||
|
||||
.insetParent {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.insetChild {
|
||||
position: absolute;
|
||||
box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.75);
|
||||
height: 20px;
|
||||
z-index: 10;
|
||||
pointer-events: none;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
|
||||
.onTop {
|
||||
box-shadow: 0 -10px 10px 10px rgba(0, 0, 0, 0.75);
|
||||
box-shadow: 0 -10px 20px 10px rgba(0, 0, 0, 0.75);
|
||||
z-index: 1;
|
||||
}
|
||||
|
|
@ -77,19 +77,3 @@ button.active {
|
|||
max-height: 100vh;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.line {
|
||||
border-bottom: solid 1px #000;
|
||||
height: 10px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.line .content {
|
||||
background-color: #FFF;
|
||||
display: inline;
|
||||
padding: 0 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue