移除color组件多余的z-index
parent
c2ebc91196
commit
0bb5c82acc
|
@ -241,7 +241,6 @@ class Color extends Component {
|
|||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
content: '';
|
||||
|
@ -256,7 +255,6 @@ class Color extends Component {
|
|||
|
||||
.thumb {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
||||
|
@ -293,7 +291,6 @@ class Color extends Component {
|
|||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 0;
|
||||
width: 12px;
|
||||
height: 0;
|
||||
|
||||
|
@ -310,7 +307,6 @@ class Color extends Component {
|
|||
}
|
||||
.hue {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 180px;
|
||||
|
@ -330,7 +326,6 @@ class Color extends Component {
|
|||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 0;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
background: linear-gradient(to right, transparent, #f00);
|
||||
|
@ -340,7 +335,6 @@ class Color extends Component {
|
|||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
z-index: 0;
|
||||
width: 0;
|
||||
height: 12px;
|
||||
|
||||
|
@ -358,7 +352,6 @@ class Color extends Component {
|
|||
|
||||
.alpha {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
|
|
Loading…
Reference in New Issue