body { font-family: Arial, sans-serif; margin: 0; padding: 20px; background-color: #f4f4f4; } h1, h2 { color: #333; } #fileList { list-style-type: none; padding: 10px; max-height: 400px; overflow-y: auto; margin: 0; background-color: #eee; border: 3px solid #1697e2; border-radius: 10px; } #fileList li { cursor: pointer; padding: 10px; background-color: #fff; margin-bottom: 5px; border: 2px solid #333; border-radius: 5px; transition: background-color 0.3s; } #fileList li:hover { background-color: #bbb; } #fileList li.selected { border-color: #fabb00; } #fileContent { background-color: #fff; border: 1px solid #ddd; padding: 10px; margin-top: 20px; white-space: pre-wrap; } .button-container { display: flex; justify-content: center; align-items: center; } #refreshButton { padding: 4px 10px; min-width: 80px; border: none; font: inherit; color: #373030; border-radius: 10px; outline: none; text-decoration: none; cursor: default; font-weight: 400; background: #fff; box-shadow: 0px 0px 1px #0000004d, 0px 1px 1px #00000066; } #refreshButton:hover { /* hover MUST come before active */ background: linear-gradient(#0000004d, #00000066); color: #fff; position: relative; } #refreshButton:active { background: linear-gradient(#4faefc, #006bff); color: #fff; position: relative; } .history-item { border: 3px solid black; border-radius: 5px; padding: 0px; /* padding-bottom: 5%; */ margin-bottom: 15px; overflow-x: hidden; white-space: normal; /* overflow-x: auto; Enables horizontal scrolling */ /* white-space: nowrap; Keeps content in a single line */ max-height: 450px; /* Adjust as needed for 25 lines */ overflow: hidden; position: relative; } .shadow { height: 30px; /* Height of the shadow */ background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4)); position: absolute; bottom: 0; left: 0; right: 0; pointer-events: none; /* Ensures the shadow doesn't interfere with interaction */ display: none; /* Initially hidden */ } .has-shadow .shadow { display: block; } .content-container { max-height: 400px; /* Adjust as needed */ overflow-y: auto; position: relative; padding: 10px; } .content-container pre { white-space: pre-wrap; /* Wrap lines and preserve whitespace */ overflow-wrap: break-word; /* Handle long words */ } .container { max-width: 1000px; margin: 0 auto; /* Centers the container */ padding: 20px; /* Optional: for some inner spacing */ } .role-bar { background-color: #fff; padding: 5px 10px; margin: 0; border-bottom: 1px solid #fff; font-size: 18px; display: flex; align-items: center; background-repeat: no-repeat; background-size: 22px 22px; padding-left: 35px; /* Adjust according to your icon size */ padding-right: 35px; /* Same padding on the right for balance */ } .role-bar.user { background-image: url("icons/computer.png"); background-color: #9cdcff; justify-content: flex-end; /* Aligns content to the right */ background-position: right 10px center; /* Moves the image to the right */ text-align: right; /* Text aligned right */ } .role-bar.tool { background-image: url("icons/computer.png"); background-color: #1eacf8; justify-content: flex-end; /* Aligns content to the right */ background-position: right 10px center; /* Moves the image to the right */ text-align: right; /* Text aligned right */ } .role-bar.system { background-image: url("icons/computer.png"); background-color: #8aa8bd; justify-content: center; /* Center the flex container contents */ background-position: calc(50% - 32px) center; /* Adjust position */ text-align: center; /* Center the text */ } .role-bar.system span { padding-left: 32px; } .role-bar.subroutine { background-image: url("icons/computer.png"); background-color: #7bb776; justify-content: center; background-position: calc(50% - 45px) center; text-align: center; } .role-bar.subroutine span { padding-left: 45px; } .role-bar.model-patch { background-image: url("icons/swellama_blue.png"); background-color: #bdbdbd; justify-content: center; background-position: calc(50% - 45px) center; text-align: center; } .role-bar.gold-patch { background-image: url("icons/swellama_blue.png"); background-color: #ffc65b; justify-content: center; background-position: calc(50% - 46px) center; text-align: center; } .role-bar.gold-patch span { padding-left: 46px; } .role-bar.test-patch { background-image: url("icons/swellama_blue.png"); background-color: #8888ff; justify-content: center; background-position: calc(50% - 46px) center; text-align: center; } .role-bar.test-patch span { padding-left: 46px; } .role-bar.assistant { background-image: url("icons/swe-agent-logo-50.png"); background-color: #fff7ec; background-position: left 10px center; } .role-bar.evaluation-report { background-image: url("icons/swellama_blue.png"); background-color: #86ad7a; justify-content: center; background-position: calc(50% - 96px) center; text-align: center; } .role-bar.evaluation-report span { padding-left: 23px; } .history-item.user { border-color: #1697e2; } .history-item.tool { border-color: #1483c3; } .history-item.system { border-color: #004b80; } .history-item.subroutine { border-color: #006b00; } .history-item.gold-patch { border-color: #fabb00; } .history-item.assistant { border-color: rgb(0, 0, 0); } .history-item.test-patch { border-color: #7373d9; } .history-item.evaluation-report { border-color: #35614b; } /* filepath-tree stuff */ .filepath { display: flex; flex-direction: column; /* Changes layout to one part per line */ align-items: flex-start; /* Aligns parts to the start of the container */ font-size: 16px; gap: 10px; padding: 5px; background-color: #f4f4f4; } .part { border: 1px solid #ddd; white-space: nowrap; /* Prevents wrapping within parts */ padding: 5px; background-color: #fff; border-radius: 5px; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fade-in { animation: fadeIn 1s ease-out; }