-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
150 lines (129 loc) · 2.83 KB
/
style.css
File metadata and controls
150 lines (129 loc) · 2.83 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* 1. Base Styles */
body {
font-family: monospace;
background-color: #f0f0f0;
color: #333;
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
}
/* 2. Layout */
#button-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
gap: 10px;
}
#button-group {
display: flex;
gap: 5px;
}
#terminal {
border: 1px solid #333;
background-color: #ffffff;
padding: 10px;
height: calc(100vh - 80px);
overflow-y: auto;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
/* 3. Components */
#repo-input {
flex-grow: 1;
height: 60px;
line-height: 60px;
font-size: 18px;
padding: 0 15px;
border: 1px solid #ccc;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 16px 12px;
padding-right: 35px;
}
datalist {
background: white;
border: 1px solid #ccc;
border-radius: 0 0 4px 4px;
max-height: 200px;
overflow-y: auto;
}
datalist option {
padding: 8px 12px;
cursor: pointer;
}
datalist option:hover {
background-color: #f0f0f0;
}
#button-container button {
height: 60px;
line-height: 60px;
font-size: 18px;
background-color: #e0e0e0;
color: black;
border: 1px solid #ccc;
padding: 0 15px;
cursor: pointer;
margin-left: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s;
}
#output {
white-space: pre-wrap;
color: #333;
font-size: 18px;
flex-grow: 1;
overflow-y: auto;
}
#output div:nth-child(odd) {
background-color: #f0f0f0;
}
#output div:nth-child(even) {
background-color: #e9e9e9;
}
#status-fields {
display: flex;
gap: 10px;
font-size: 16px;
color: #666;
}
#status-fields span {
padding: 2px 5px;
border-radius: 3px;
background-color: #f8f8f8;
}
#stale-count {
display: none;
}
/* 4. States */
#button-container button:hover {
background-color: #d0d0d0;
}
#status-fields span:hover {
background-color: #e8e8e8;
}
#button-container.disabled {
opacity: 0.6;
cursor: not-allowed;
}
#button-container.disabled #repo-input,
#button-container.disabled button {
pointer-events: none;
cursor: not-allowed;
}
#button-container.disabled #repo-input {
background-color: #f0f0f0;
}
/* 5. Animations */
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.spin .dice {
display: inline-block;
transition: transform 1s linear;
animation: spin 1s linear infinite;
}