forked from linuswillner/react-console-emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Terminal.js
43 lines (42 loc) · 892 Bytes
/
Terminal.js
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
export default {
container: {
minHeight: '300px',
maxWidth: '100%', // Fill parent before overflowing
maxHeight: '100%', // Fill parent before overflowing
borderRadius: '5px',
overflow: 'auto',
cursor: 'text',
backgroundColor: '#212121',
backgroundSize: 'cover'
},
content: {
padding: '20px',
height: '100%',
fontSize: '15px',
color: '#FFFFFF',
fontFamily: 'monospace'
},
inputArea: {
display: 'inline-flex',
width: '100%'
},
promptLabel: {
paddingTop: '3px',
color: '#EE9C34'
},
inputText: {
fontSize: '15px',
color: '#F0BF81',
fontFamily: 'monospace'
},
input: {
border: '0',
padding: '0 0 0 7px',
margin: '0',
flexGrow: '100',
width: '100%',
height: '22px',
background: 'transparent',
outline: 'none' // Fix for outline showing up on some browsers
}
}