File size: 3,752 Bytes
2a94fea eb25def 2a94fea |
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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
/* static/style.css */
:root {
--bg-color: #f4f6f8;
--panel-bg: #ffffff;
--border-color: #e1e4e8;
--text-color: #24292e;
--primary-color: #0366d6;
--danger-color: #d73a49;
--warning-color: #f9a825;
--success-color: #28a745;
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
body {
font-family: var(--font-family);
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
padding: 20px;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: var(--panel-bg);
border: 1px solid var(--border-color);
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
header {
padding: 20px;
border-bottom: 1px solid var(--border-color);
}
h1 { margin: 0; }
h2 { margin-top: 0; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.main-layout {
display: flex;
gap: 20px;
padding: 20px;
}
.settings-panel {
flex: 1;
}
.log-panel {
flex: 2;
display: flex;
flex-direction: column;
}
fieldset {
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 15px;
margin-bottom: 20px;
}
legend {
font-weight: 600;
padding: 0 5px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: 500;
}
input[type="text"], input[type="password"], textarea {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-bottom: 10px;
font-family: inherit;
}
textarea {
resize: vertical;
}
.options .radio-group, .options .checkbox-group {
display: block;
margin-bottom: 10px;
}
.radio-group label, .checkbox-group {
font-weight: normal;
display: inline-flex;
align-items: center;
margin-right: 15px;
}
input[type="radio"], input[type="checkbox"] {
margin-right: 5px;
}
.controls {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.btn {
padding: 10px 15px;
border: none;
border-radius: 6px;
font-size: 1em;
cursor: pointer;
color: white;
}
.btn:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.btn-primary { background-color: var(--primary-color); }
.btn-danger { background-color: var(--danger-color); }
.btn-warning { background-color: var(--warning-color); }
#log-output {
flex-grow: 1;
background-color: #24292e;
color: #f6f8fa;
padding: 15px;
border-radius: 6px;
overflow-y: auto;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 0.85em;
white-space: pre-wrap;
word-wrap: break-word;
}
.help-panel {
padding: 20px;
}
.trl-docs h3, .trl-docs h4 {
border-bottom: 1px solid var(--border-color);
padding-bottom: 8px;
margin-top: 20px;
}
.trl-docs ul {
list-style-type: none;
padding-left: 0;
}
.trl-docs li {
margin-bottom: 10px;
}
.trl-docs code {
background-color: #eef;
padding: 2px 5px;
border-radius: 4px;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.trl-docs pre code {
display: block;
padding: 10px;
white-space: pre-wrap;
}
.template-buttons {
margin-top: 15px;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
}
.template-buttons label {
margin-bottom: 0; /* Override default label margin */
font-weight: normal;
}
.btn-template {
background-color: #f6f8fa;
color: var(--text-color);
border: 1px solid var(--border-color);
font-size: 0.9em;
padding: 5px 10px;
}
.btn-template:hover {
background-color: #f1f3f6;
border-color: #c8c9cc;
} |