Skip to content

Commit

Permalink
More cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsage committed Jan 27, 2023
1 parent 4a5daf2 commit 048d525
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"pycache",
"Rescan",
"Rottne",
"sandboxed",
"savegame",
"SCCS",
"scriptonly",
Expand Down
1 change: 0 additions & 1 deletion DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Mod Assistant requires Yarn to build. Note that for windows, you may have to ru

- [Yarn Install](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable)


## Build and Run

If using VSCode, the build files already exist, just press `F5` to run the program. If running from the command line, use
Expand Down
16 changes: 10 additions & 6 deletions renderer/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,34 @@
width: 10px;
}
::-webkit-scrollbar-track {
/* background: #2f2e2e; */
/* background: rgb(59 59 59 / 20%); */
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #3b3b3b65;
/* border-radius: 10px; */
}
::-webkit-scrollbar-thumb:hover {
background: #4a4a4a65;
}
::-webkit-scrollbar-track-piece:start { margin-top: 142px; }
::-webkit-scrollbar-track-piece:end { margin-bottom: 35px; }

#scroll-bar-fake {
z-index: -1;
width: 6px;
height: calc(100vh - 176px);
top:141px; right:2px;
background-color:rgba(66, 66, 66, 0.273);
}
.scroll_col, .scroll_mod { width: 6px; }

td.folder-icon:not(.collapsed)::after {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' viewBox='0 0 320 512'%3E%3Cpath style='fill:white;' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
/* padding: 0 7px; */
padding-left: 7px;
vertical-align: text-top;
}
td.folder-icon.collapsed::after {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 256 512'%3E%3Cpath style='fill:white;' d='M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z'/%3E%3C/svg%3E");
padding-left: 3px;
/* padding: 0 5px; */
vertical-align: text-top;
}td.folder-icon {
width: 81px;
Expand Down Expand Up @@ -114,7 +118,7 @@

</head>
<body class="d-flex flex-column h-100 overflow-custom2">
<div id="scroll-bar-fake" class="position-fixed d-flex flex-column" style="z-index: -1; width: 6px; height: calc(100vh - 176px); top:141px; right:2px; background-color:rgba(66, 66, 66, 0.273)">
<div id="scroll-bar-fake" class="position-fixed d-flex flex-column">

</div>
<div id="lang-style-div">
Expand Down
2 changes: 1 addition & 1 deletion renderer/renderJS/assist_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ window.mods.receive('fromMain_modList', (opts) => {
fsgUtil.notesDefault(opts.notes, collection, 'notes_admin'),
opts.modList[collection].mods.length
))
scrollTable.push(`<div class="${collection} flex-grow-1" style="width: 6px;"></div>${scrollRows.join('')}`)
scrollTable.push(`<div class="${collection} scroll_col flex-grow-1"></div>${scrollRows.join('')}`)
const selectCollName = `${opts.modList[collection].name}${window.mods.getCollDesc(collection)}`

optList.push(fsgUtil.buildSelectOpt(`collection--${collection}`, selectCollName, selectedList, false, opts.foldersMap[collection]))
Expand Down

0 comments on commit 048d525

Please sign in to comment.