-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (101 loc) · 4.4 KB
/
style.css
File metadata and controls
120 lines (101 loc) · 4.4 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
:root {
--bg: #030305;
--card-bg: rgba(25, 25, 35, 0.6);
--border: rgba(255, 255, 255, 0.08);
--accent: #007aff;
--accent-glow: rgba(0, 122, 255, 0.3);
--success: #32d74b;
--text: #ffffff;
--text-dim: #a1a1aa;
}
body {
background-color: var(--bg);
color: var(--text);
font-family: 'Plus Jakarta Sans', sans-serif;
margin: 0;
overflow: hidden; /* Prevent body scrolling */
height: 100vh;
}
/* Background Depth Orbs */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.3; }
#orb-1 { width: 350px; height: 350px; background: var(--accent); top: -5%; right: -5%; }
#orb-2 { width: 250px; height: 250px; background: #5e5ce6; bottom: 0%; left: -5%; }
header {
height: 70px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem;
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
}
.brand { font-size: 0.75rem; letter-spacing: 2px; font-weight: 800; }
.brand b { color: var(--accent); }
.system-status { font-size: 0.6rem; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
/* Pulse Animation */
.pulse { width: 6px; height: 6px; background: var(--success); border-radius: 50%; box-shadow: 0 0 10px var(--success); }
/* The Viewport-Lock Engine */
.viewport-lock {
display: grid;
grid-template-columns: 1fr 1fr;
height: calc(100vh - 70px);
gap: 1.5rem;
padding: 1.5rem;
box-sizing: border-box;
}
.panel {
background: var(--card-bg);
backdrop-filter: blur(30px) saturate(150%);
border: 1px solid var(--border);
border-radius: 24px;
padding: 1.5rem;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.flex-grow-wrapper {
flex: 1;
min-height: 0; /* Necessary for nested scrolling */
}
.scroll-y { overflow-y: auto; padding-right: 5px; }
/* Components */
.panel-tag { font-size: 0.65rem; font-weight: 800; color: var(--accent); letter-spacing: 1.5px; margin-bottom: 1.2rem; }
textarea {
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border);
color: #64d2ff; padding: 1.2rem; border-radius: 12px;
font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; line-height: 1.6; outline: none; resize: none;
}
.primary-btn, .success-btn {
width: 100%; padding: 1rem; margin-top: 1rem; border-radius: 12px;
border: none; font-weight: 800; font-size: 0.75rem; cursor: pointer; transition: 0.2s;
}
.primary-btn { background: var(--accent); color: white; box-shadow: 0 5px 15px var(--accent-glow); }
.success-btn { background: var(--success); color: #000; }
button:hover { transform: translateY(-2px); filter: brightness(1.1); }
button:disabled { background: #222; color: #555; transform: none; box-shadow: none; cursor: not-allowed; }
.input-card {
background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
padding: 1.2rem; border-radius: 16px; margin-bottom: 1.2rem; transition: 0.2s;
}
.input-card:hover { border-color: var(--accent); }
.input-card.invalid { border-color: #ff453a; }
label { display: block; font-size: 0.7rem; font-weight: 600; color: var(--text-dim); margin-bottom: 0.8rem; }
input[type="text"], select {
width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--border);
border-radius: 8px; color: white; padding: 0.75rem; outline: none;
}
/* Terminal View */
.terminal-view {
background: #000; border: 1px solid #1c1c1e; padding: 1.2rem; border-radius: 16px;
margin-top: 1.2rem; font-family: 'JetBrains Mono', monospace;
}
.terminal-head { display: flex; justify-content: space-between; font-size: 0.5rem; color: #555; margin-bottom: 0.8rem; }
#copy-btn { background: transparent; border: 1px solid #333; color: #888; border-radius: 4px; padding: 2px 8px; cursor: pointer; }
#copy-btn:hover { color: white; border-color: white; }
#command-text { color: var(--success); font-size: 0.75rem; margin: 0; line-height: 1.5; word-break: break-all; }
.toggle-row { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; color: var(--text-dim); }
.path-row, .repeat-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.path-row button, .add-btn, .repeat-row button { background: #1c1c1e; color: white; border: 1px solid var(--border); font-size: 0.6rem; border-radius: 6px; padding: 0.5rem 1rem; cursor: pointer; }
.hidden { display: none; }