mirror of
https://github.com/papercss/papercss
synced 2024-06-17 13:15:28 +02:00
Switch components - stylelint fix 5 :) I installed stylelint to my editor.. next time will less commits.
This commit is contained in:
parent
0e198c9fcc
commit
84d81adae5
|
@ -162,14 +162,14 @@ select {
|
||||||
|
|
||||||
.paper-switch-slider {
|
.paper-switch-slider {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
border: 2px solid $primary;
|
||||||
|
border-bottom-left-radius: 15px 255px;
|
||||||
|
border-bottom-right-radius: 225px 15px;
|
||||||
|
border-top-left-radius: 255px 15px;
|
||||||
|
border-top-right-radius: 15px 225px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
border: 2px solid $primary;
|
|
||||||
border-top-left-radius: 255px 15px;
|
|
||||||
border-bottom-left-radius: 15px 255px;
|
|
||||||
border-bottom-right-radius: 225px 15px;
|
|
||||||
border-top-right-radius: 15px 225px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
transition: 0.4s;
|
transition: 0.4s;
|
||||||
|
@ -257,16 +257,17 @@ select {
|
||||||
}
|
}
|
||||||
|
|
||||||
.paper-switch-tile {
|
.paper-switch-tile {
|
||||||
|
cursor: pointer;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
margin: 40px 0 0 40px;
|
margin: 40px 0 0 40px;
|
||||||
perspective: 1000px;
|
perspective: 1000px;
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
transform-style: preserve-3d;
|
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
transform-style: preserve-3d;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.paper-switch-tile-card {
|
.paper-switch-tile-card {
|
||||||
box-shadow: 2px 8px 4px -5px rgba(0, 0, 0, 0.2);
|
box-shadow: 2px 8px 4px -5px rgba(0, 0, 0, 0.2);
|
||||||
|
@ -306,8 +307,8 @@ select {
|
||||||
box-shadow: 2px 8px 8px -5px rgba(0, 0, 0, 0.3);
|
box-shadow: 2px 8px 8px -5px rgba(0, 0, 0, 0.3);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
line-height: 70px;
|
line-height: 70px;
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue