~dricottone/noticable

ref: bbd4a2597103fefee9e4f318598c9429eccafe6d noticable/style.css -rw-r--r-- 1.5 KiB
bbd4a259Dominic Ricottone Adding TODO 2 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
86
87
88
body {
  height: 95vh;
  padding: 0;
}
/* TODO: strip out unnecessary CSS after 0.2 refactor */
.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;
  font-size: small;
}
.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;
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
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;
}
.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;
  overflow: hidden;
}