Project

General

Profile

1
/*
2
 *
3
 * Main stylesheet for Switchery.
4
 * http://abpetkov.github.io/switchery/
5
 *
6
 */
7

    
8
.switchery {
9
    background-color: #fff;
10
    border: 1px solid #dfdfdf;
11
    border-radius: 20px;
12
    cursor: pointer;
13
    display: inline-block;
14
    height: 30px;
15
    position: relative;
16
    vertical-align: middle;
17
    width: 50px;
18

    
19
    -webkit-box-sizing: content-box;
20
    -moz-box-sizing: content-box;
21
    box-sizing: content-box;
22
}
23

    
24
.switchery > small {
25
    background: #fff;
26
    border-radius: 100%;
27
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
28
    height: 30px;
29
    position: absolute;
30
    top: 0;
31
    width: 30px;
32
}
    (1-1/1)