collapse.css 979 Bytes
Newer Older
Patrick's avatar
Patrick committed
1
.collapsible {
Patrick's avatar
Patrick committed
2
    background-color: #121212;
Patrick's avatar
Patrick committed
3
4
5
6
7
8
9
10
11
12
13
14
15
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
  }
  
  .active, .collapsible:hover {
    background-color: #555;
  }
Patrick's avatar
Patrick committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  .collapsible2 {
    background-color: #242424;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
  }
  
  .active, .collapsible2:hover {
    background-color: #555;
  }
Patrick's avatar
Patrick committed
31
32
33
34
35
36
37
  
  .content {
    padding: 0 18px;
    padding-bottom: 10px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  }

  
.switch-toggle {
  float: left;
  background: #242729;
}
.switch-toggle input {
 position: absolute;
 opacity: 0;
}
.switch-toggle input + label {
 width: 3rem;
 float:left;
 text-align:center;
 color: #fff;
 cursor: pointer;
}
.switch-toggle input:checked + label {
 background: green;
}