~dricottone/noticable

ref: 785f821660d511f36e29389a186b6cd11acef6a8 noticable/style.css -rw-r--r-- 1.4 KiB
785f8216Dominic Ricottone Release v0.0.4 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
body {
  height: 95vh;
  padding: 0;
}
.sidebar {
  width: 200px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  overflow-x: hidden;
  font-family: "-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji";
}
.sidebar p {
  color: white;
  display: inline-block;
}
.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
}
ul#list-filenames {
  list-style-type: none;
  padding: 0;
}
ul#list-filenames li {
  color: white;
}
ul#list-filenames li.highlight {
  font-weight: bold;
}
#settings input {
  height: 0;
  width: 0;
  visibility: hidden;
}
#settings label {
  top: 0.25em;
  cursor: pointer;
  text-indent: -9999px;
  width: 40px;
  height: 20px;
  background: grey;
  display: inline-block;
  position: relative;
}
#settings label:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  background: white;
  transition: 0.5s;
}
#settings input:checked + label {
  background: seagreen;
}
#settings input:checked + label:after {
  left: calc(100% - 1px);
  transform: translateX(-100%);
}
#settings label:active:after {
  width: 130px;
}
#list-filenames li {
  display: block;
}
.container {
  width: calc(100% - 200px);
  height: 100%;
  margin-left: 200px;
  transition: all 0.4s ease-out;
  display: none;
}
.container.focused {
  display: block;
}
#container-editor {
  border: 1px solid #ccc;
}