initial commit
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
||||
.switchery {
|
||||
position: relative;
|
||||
box-sizing: content-box;
|
||||
display: inline-block;
|
||||
width: 45px;
|
||||
height: 24px;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-color: #fff;
|
||||
background-clip: content-box;
|
||||
border: 1px solid #e4eaec;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.switchery > small {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: #fff;
|
||||
border-radius: 100%;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
|
||||
}
|
||||
|
||||
.switchery-small {
|
||||
width: 33px;
|
||||
height: 21px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.switchery-small > small {
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
.switchery-large {
|
||||
width: 66px;
|
||||
height: 36px;
|
||||
border-radius: 36px;
|
||||
}
|
||||
|
||||
.switchery-large > small {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
Reference in New Issue
Block a user