Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
103 lines (88 loc) · 2.3 KB
/
Copy pathstyles.css
File metadata and controls
103 lines (88 loc) · 2.3 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* --- 1. Terminal View Styles --- */
.termux-terminal-container {
display: flex;
flex-direction: column;
height: 100%;
background-color: #1e1e1e;
color: #cccccc;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 13px;
padding: 10px;
overflow: hidden;
}
.termux-terminal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 5px;
border-bottom: 1px solid #44475a;
margin-bottom: 5px;
}
.termux-terminal-title {
font-weight: bold;
color: #bd93f9;
}
.termux-terminal-output {
flex-grow: 1;
overflow-y: auto;
white-space: pre-wrap;
word-break: break-all;
padding-bottom: 10px;
}
.termux-terminal-line { margin-bottom: 2px; }
.termux-terminal-line.command { color: #f1fa8c; font-weight: bold; }
.termux-terminal-line.output { color: #f8f8f2; }
.termux-terminal-line.error { color: #ff5555; }
.termux-terminal-line.system { color: #6272a4; font-style: italic; }
.termux-terminal-input-area {
display: flex;
align-items: center;
border-top: 1px solid #44475a;
padding-top: 5px;
}
.termux-terminal-prompt {
color: #50fa7b; margin-right: 5px; font-weight: bold;
}
.termux-terminal-input-area input {
background: transparent;
border: none;
color: #f8f8f2;
flex-grow: 1;
font-family: inherit;
outline: none;
}
/* --- 2. New Code Block Button (Android Optimized) --- */
.termux-code-block-wrap {
position: relative;
display: block;
}
.termux-run-button {
position: absolute;
top: 10px; /* Moved down slightly for better alignment */
right: 50px; /* Moved left (away from edge) */
z-index: 10;
/* Auto width to fit text */
width: auto;
height: 32px;
padding: 0 12px;
/* Flex to align icon + text */
display: flex;
align-items: center;
gap: 6px; /* Space between icon and text */
background-color: var(--interactive-accent);
color: var(--text-on-accent);
border-radius: 6px;
border: none;
font-size: 14px; /* Readable text size */
font-weight: bold;
opacity: 0.9;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.termux-run-button:active {
opacity: 1;
transform: scale(0.96);
}
.termux-run-button svg {
width: 16px;
height: 16px;
}