|
| 1 | +/*Design for Terminal*/ |
| 2 | +@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro'); |
| 3 | + |
| 4 | +#terminal-body { |
| 5 | + background: rgb(26, 26, 26); |
| 6 | + margin: 0; |
| 7 | + width: 100%; |
| 8 | + height: 100%; |
| 9 | + overflow: hidden; |
| 10 | +} |
| 11 | + |
| 12 | +#terminal { |
| 13 | + font-family: 'Source Code Pro', monospace; |
| 14 | + color: rgb(223, 223, 223); |
| 15 | + background: rgb(26, 26, 26); |
| 16 | + font-size: 12px; |
| 17 | + line-height: 14px; |
| 18 | + padding: 10px 10px 0; |
| 19 | + box-sizing: border-box; |
| 20 | + height: 500px; |
| 21 | + max-height: 500px; |
| 22 | + overflow-y: auto; |
| 23 | + overflow-x: hidden; |
| 24 | + border-radius: 5px 5px 0 0; |
| 25 | +} |
| 26 | + |
| 27 | +#terminal > .cmd { |
| 28 | + padding: 1px 0; |
| 29 | +} |
| 30 | + |
| 31 | +@keyframes cursorblink { |
| 32 | + 0% { |
| 33 | + background: transparent; |
| 34 | + } |
| 35 | + 100% { |
| 36 | + background: rgba(170, 170, 170, 0.9); |
| 37 | + } |
| 38 | +} |
| 39 | + |
| 40 | +@-webkit-keyframes cursorblink { |
| 41 | + 0% { |
| 42 | + background: transparent; |
| 43 | + } |
| 44 | + 100% { |
| 45 | + background: rgba(170, 170, 170, 0.9); |
| 46 | + } |
| 47 | +} |
| 48 | + |
| 49 | +#terminal_input { |
| 50 | + width: 100%; |
| 51 | + background: rgb(26, 26, 26); |
| 52 | + border-radius: 0 0 5px 5px; |
| 53 | + padding: 5px 10px; |
| 54 | +} |
| 55 | + |
| 56 | +.terminal_input--input { |
| 57 | + height: 0; |
| 58 | + width: 0; |
| 59 | + position: absolute; |
| 60 | + top: -20px; |
| 61 | +} |
| 62 | + |
| 63 | +.terminal_input--text, .terminal_input--prompt { |
| 64 | + line-height: 14px; |
| 65 | + width: 100%; |
| 66 | + vertical-align: middle; |
| 67 | + font-size: 12px; |
| 68 | + font-family: 'Source Code Pro', monospace; |
| 69 | + margin-bottom: 0; |
| 70 | + background: transparent; |
| 71 | + color: rgb(223, 223, 223); |
| 72 | +} |
| 73 | + |
| 74 | +.terminal_input--text:before, .terminal_input--text:after { |
| 75 | + content: ""; |
| 76 | + display: inline-block; |
| 77 | + width: 7px; |
| 78 | + height: 14px; |
| 79 | + margin: 0 0 -12px -6px; |
| 80 | + vertical-align: middle; |
| 81 | +} |
| 82 | + |
| 83 | +.terminal_input--text:after { |
| 84 | + position: relative; |
| 85 | + bottom: 8px; |
| 86 | + left: 8px; |
| 87 | + background: #ff00; |
| 88 | + animation: cursorblink 0.6s linear infinite alternate; |
| 89 | + -webkit-animation: cursorblink 0.6s linear infinite alternate; |
| 90 | +} |
| 91 | + |
| 92 | +.terminal_input--input { |
| 93 | + color: transparent; |
| 94 | + background-color: transparent; |
| 95 | + border: 0; |
| 96 | + outline: none; |
| 97 | +} |
| 98 | + |
| 99 | +.terminal-notify { |
| 100 | + position: absolute; |
| 101 | + right: 30px; |
| 102 | + bottom: 30px; |
| 103 | + padding: 3.5px 7px; |
| 104 | + border-radius: 3px; |
| 105 | + background: #fff; |
| 106 | + color: #000; |
| 107 | + opacity: .5; |
| 108 | + font-size: 16px; |
| 109 | + cursor: pointer; |
| 110 | +} |
| 111 | + |
| 112 | +.terminal-notify:hover { |
| 113 | + opacity: .9; |
| 114 | +} |
| 115 | + |
| 116 | +.ansi-black-fg { color: rgb(0, 0, 0); } |
| 117 | +.ansi-red-fg { color: rgb(166, 0, 44); } |
| 118 | +.ansi-green-fg { color: rgb(55, 106, 27); } |
| 119 | +.ansi-yellow-fg { color: rgb(241, 133, 24); } |
| 120 | +.ansi-blue-fg { color: rgb(17, 56, 163); } |
| 121 | +.ansi-magenta-fg { color: rgb(67, 0, 117); } |
| 122 | +.ansi-cyan-fg { color: rgb(18, 95, 105); } |
| 123 | +.ansi-white-fg { color: rgb(255, 255, 255); } |
| 124 | +.ansi-bright-black-fg { color: rgb(51, 51, 51); } |
| 125 | +.ansi-bright-red-fg { color: rgb(223, 45, 39); } |
| 126 | +.ansi-bright-green-fg { color: rgb(105, 175, 45); } |
| 127 | +.ansi-bright-yellow-fg { color: rgb(254, 232, 57); } |
| 128 | +.ansi-bright-blue-fg { color: rgb(68, 145, 240); } |
| 129 | +.ansi-bright-magenta-fg { color: rgb(151, 50, 174); } |
| 130 | +.ansi-bright-cyan-fg{ color: rgb(37, 173, 98); } |
| 131 | +.ansi-bright-white-fg { color: rgb(208, 208, 208); } |
| 132 | + |
| 133 | +.ansi-black-bg { background: rgb(0, 0, 0); } |
| 134 | +.ansi-red-bg { background: rgb(166, 0, 44); } |
| 135 | +.ansi-green-bg { background: rgb(55, 106, 27); } |
| 136 | +.ansi-yellow-bg { background: rgb(241, 133, 24); } |
| 137 | +.ansi-blue-bg { background: rgb(17, 56, 163); } |
| 138 | +.ansi-magenta-bg { background: rgb(67, 0, 117); } |
| 139 | +.ansi-cyan-bg { background: rgb(18, 95, 105); } |
| 140 | +.ansi-white-bg { background: rgb(255, 255, 255); } |
| 141 | +.ansi-bright-black-bg { background: rgb(51, 51, 51); } |
| 142 | +.ansi-bright-red-bg { background: rgb(223, 45, 39); } |
| 143 | +.ansi-bright-green-bg { background: rgb(105, 175, 45); } |
| 144 | +.ansi-bright-yellow-bg { background: rgb(254, 232, 57); } |
| 145 | +.ansi-bright-blue-bg { background: rgb(68, 145, 240); } |
| 146 | +.ansi-bright-magenta-bg { background: rgb(151, 50, 174); } |
| 147 | +.ansi-bright-cyan-bg { background: rgb(37, 173, 98); } |
| 148 | +.ansi-bright-white-bg { background: rgb(208, 208, 208); } |
0 commit comments