|
1 | 1 | @font-face { |
2 | | - font-family: 'Fira Code'; |
3 | | - src: url('fonts/FiraCode-Regular.otf') format('opentype'); |
4 | | -} |
5 | | -html, |
6 | | -body, |
7 | | -.paren-soup, |
8 | | -.CodeMirror { |
9 | | - -webkit-font-feature-settings: 'liga' on, 'calt' on; |
10 | | - -webkit-font-smoothing: antialiased; |
11 | | - text-rendering: optimizeLegibility; |
12 | | - font-family: 'Fira Code'; |
13 | | - font-size: 16px; |
14 | | - height: 100%; |
15 | | - margin: 0; |
16 | | -} |
17 | | -html, |
18 | | -body { |
19 | | - overflow: hidden; |
20 | | -} |
21 | | -.editor { |
22 | | - position: fixed; |
23 | | - top: 60px; |
24 | | - left: 300px; |
25 | | - right: 0px; |
26 | | - bottom: 0px; |
| 2 | + font-family: 'Fira Code'; |
| 3 | + src: url('fonts/FiraCode-Regular.otf') format('opentype'); |
| 4 | +} |
| 5 | +html, body, .paren-soup, .CodeMirror { |
| 6 | + -webkit-font-feature-settings: "liga" on, "calt" on; |
| 7 | + -webkit-font-smoothing: antialiased; |
| 8 | + text-rendering: optimizeLegibility; |
| 9 | + font-family: 'Fira Code'; |
| 10 | + font-size: 16px; |
| 11 | + height: 100%; |
| 12 | + margin: 0; |
| 13 | +} |
| 14 | +html, body { |
| 15 | + overflow: hidden; |
| 16 | +} |
| 17 | +.outer-editor { |
| 18 | + position: fixed; |
| 19 | + top: 0px; |
| 20 | + left: 300px; |
| 21 | + right: 0px; |
| 22 | + bottom: 0px; |
27 | 23 | } |
28 | 24 | .toolbar { |
29 | | - position: fixed; |
30 | | - left: 300px; |
31 | | - right: 0px; |
32 | | - height: 60px; |
33 | | - z-index: 100; |
| 25 | + height: 60px; |
| 26 | + z-index: 100; |
| 27 | +} |
| 28 | +.paren-soup, .CodeMirror { |
| 29 | + height: calc(100% - 60px); |
34 | 30 | } |
35 | 31 | .paren-soup { |
36 | | - overflow: scroll; |
| 32 | + overflow: auto; |
37 | 33 | } |
38 | 34 | .paren-soup .content { |
39 | | - height: 100%; |
40 | | - padding-right: 150px; |
| 35 | + min-height: 100%; |
| 36 | + padding-right: 150px; |
41 | 37 | } |
42 | 38 | .settings { |
43 | | - position: fixed; |
44 | | - left: 0px; |
45 | | - height: 60px; |
46 | | - padding: 5px 10px; |
| 39 | + position: fixed; |
| 40 | + left: 0px; |
| 41 | + height: 60px; |
| 42 | + padding: 5px; |
47 | 43 | } |
48 | 44 | .leftsidebar { |
49 | | - position: fixed; |
50 | | - left: 0px; |
51 | | - top: 60px; |
52 | | - bottom: 0px; |
53 | | - padding: 0px 5px; |
54 | | - box-sizing: border-box; |
55 | | - z-index: 1; |
56 | | -} |
57 | | -.tree-view { |
58 | | - overflow: auto; |
59 | | - height: 100%; |
60 | | -} |
61 | | -.resizer { |
62 | | - width: 8px; |
63 | | - height: 100%; |
64 | | - position: absolute; |
65 | | - top: 0; |
66 | | - right: 0; |
67 | | - cursor: ew-resize; |
68 | | - z-index: 1; |
69 | | -} |
70 | | -.resizer:hover .resizer-button { |
71 | | - display: block; |
72 | | - cursor: pointer; |
73 | | -} |
74 | | -.resizer-button { |
75 | | - width: 30px; |
76 | | - height: 60px; |
77 | | - position: absolute; |
78 | | - transform: translate3d(-0, -50%, 0); |
79 | | - overflow: hidden; |
80 | | - display: none; |
81 | | -} |
82 | | -.resizer-button-inner { |
83 | | - height: 60px; |
84 | | - width: 60px; |
85 | | - background: #6e6e6e; |
86 | | - display: flex; |
87 | | - justify-content: center; |
88 | | - align-items: center; |
89 | | -} |
90 | | -.resizer-button.left { |
91 | | - left: -25px; |
92 | | -} |
93 | | -.resizer-button.left .resizer-button-inner { |
94 | | - border-radius: 50% 0 0 50%; |
95 | | -} |
96 | | -.resizer-button.right { |
97 | | - left: 0px; |
98 | | -} |
99 | | -.resizer-button.right .resizer-button-inner { |
100 | | - border-radius: 0 50% 50% 0; |
101 | | - left: -30px; |
102 | | - position: absolute; |
103 | | -} |
104 | | -.resizer-button-inner span { |
105 | | - position: relative; |
106 | | - color: #fff; |
107 | | -} |
108 | | -.resizer-button.right .resizer-button-inner span { |
109 | | - left: 12px; |
110 | | -} |
111 | | -.resizer-button.left .resizer-button-inner span { |
112 | | - left: -12px; |
| 45 | + position: fixed; |
| 46 | + width: 300px; |
| 47 | + left: 0px; |
| 48 | + top: 60px; |
| 49 | + bottom: 0px; |
| 50 | + padding: 5px; |
| 51 | + overflow: auto; |
113 | 52 | } |
114 | 53 | .rightsidebar { |
115 | | - margin: 5px; |
116 | | - position: fixed; |
117 | | - width: 150px; |
118 | | - right: 0px; |
119 | | - top: 50px; |
120 | | - bottom: 0px; |
121 | | - padding: 5px; |
122 | | - overflow: auto; |
| 54 | + margin: 5px; |
| 55 | + position: fixed; |
| 56 | + width: 150px; |
| 57 | + right: 0px; |
| 58 | + top: 50px; |
| 59 | + bottom: 0px; |
| 60 | + padding: 5px; |
| 61 | + overflow: auto; |
123 | 62 | } |
124 | 63 | li { |
125 | | - white-space: nowrap; |
126 | | - overflow: hidden; |
| 64 | + white-space: nowrap; |
| 65 | + overflow: hidden; |
127 | 66 | } |
128 | 67 | .lower-half { |
129 | | - position: fixed; |
130 | | - top: 50%; |
131 | | - right: 0px; |
132 | | - border: none; |
133 | | - height: 50%; |
134 | | - width: 100%; |
| 68 | + position: fixed; |
| 69 | + left: 300px; |
| 70 | + top: 50%; |
| 71 | + border: none; |
| 72 | + padding-right: 300px; |
| 73 | + height: 50%; |
| 74 | + width: 100%; |
135 | 75 | } |
136 | 76 | .card { |
137 | | - float: left; |
138 | | - padding: 10px; |
139 | | - margin: 10px; |
| 77 | + float: left; |
| 78 | + padding: 10px; |
| 79 | + margin: 10px; |
140 | 80 | } |
141 | 81 | .overlay { |
142 | | - position: fixed; |
143 | | - top: 50px; |
144 | | - left: 300px; |
145 | | - right: 0px; |
146 | | - bottom: 0px; |
| 82 | + position: fixed; |
| 83 | + top: 50px; |
| 84 | + left: 300px; |
| 85 | + right: 0px; |
| 86 | + bottom: 0px; |
147 | 87 | } |
0 commit comments