85d2225e0c
* Fix loading within the CLI * Remove app * Remove promise handle * Add initial travis file * Add libxkbfile dependency * Add libxkbfile-dev * Add build script * Fix malformed bash statement * Remove yarn from script * Improve build script * Extract upx before usage * Only run upx if on linux * Ensure resource directory exists * Pack runnable binary * Export binary with platform * Improve build process * Install upx before running install script * Update typescript version before running nexe * Add os.release() function for multi-platform support * Update travis.yml to improve deployment * Add on CI * Update to v1.31.0 * Add libsecret * Update build target * Skip cleanup * Fix built-in extensions * Add basics for apps * Create custom DNS server * Fix forking within CLI. Fixes TS language features * Fix filename resolve * Fix default extensions path * Add custom dialog * Store workspace path * Remove outfiles * Cleanup * Always authed outside of CLI * Use location.host for client * Remove useless app interface * Remove debug file for building wordlist * Use chromes tcp host * Update patch * Build browser app before packaging * Replace all css containing file:// URLs, fix webviews * Fix save * Fix mkdir
146 lines
3.4 KiB
SCSS
146 lines
3.4 KiB
SCSS
.dialog {
|
|
--primary: #2A2E37;
|
|
--border: black;
|
|
--faded: #a0a1a5;
|
|
--header-background: #161616;
|
|
--header-foreground: white;
|
|
--list-active-selection-background: rgb(0, 120, 160);
|
|
--list-active-selection-foreground: white;
|
|
--list-hover-background: rgb(36, 39, 46);
|
|
font-family: inherit;
|
|
box-shadow: 0 18px 80px 10px rgba(0, 0, 0, 0.1);
|
|
background-color: var(--primary);
|
|
display: flex;
|
|
flex-direction: column;
|
|
user-select: none;
|
|
overflow: hidden;
|
|
border-radius: 5px;
|
|
|
|
.monaco-tl-twistie {
|
|
display: none;
|
|
}
|
|
|
|
.title {
|
|
background-color: var(--header-background);
|
|
color: var(--header-foreground);
|
|
padding: 1px;
|
|
font-size: 11px;
|
|
font-weight: normal;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 4px;
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
min-height: 32px;
|
|
}
|
|
|
|
.path {
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
.path-part {
|
|
padding: 5px;
|
|
border-radius: 3px;
|
|
font-size: 1.2em;
|
|
cursor: pointer;
|
|
|
|
&:not(:first-child) {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
&.active {
|
|
font-weight: bold;
|
|
color: var(--list-active-selection-foreground);
|
|
}
|
|
}
|
|
}
|
|
|
|
.file-area {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.dialog-grid {
|
|
display: grid;
|
|
grid-template-columns: 2fr 0.2fr 0.8fr;
|
|
}
|
|
|
|
.headings {
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.dialog-entry {
|
|
cursor: pointer;
|
|
font-size: 1.2em;
|
|
padding: 0px;
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
|
|
.dialog-entry-info {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.dialog-entry-icon {
|
|
width: 16px;
|
|
height: 19px;
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
margin-bottom: -3px;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var(--list-hover-background);
|
|
}
|
|
|
|
&.active {
|
|
background-color: var(--list-active-selection-background);
|
|
color: var(--list-active-selection-foreground);
|
|
}
|
|
}
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 10px;
|
|
position: relative;
|
|
background: var(--primary);
|
|
border-top: 1px solid var(--border);
|
|
|
|
button:first-child {
|
|
margin-left: auto;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
button {
|
|
background: transparent;
|
|
outline: none;
|
|
border: 0;
|
|
color: var(--faded);
|
|
padding: 10px;
|
|
padding-left: 18px;
|
|
padding-right: 18px;
|
|
transition: 150ms background ease, 150ms color ease;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
|
|
&:hover {
|
|
background: var(--titlebar);
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.monaco-shell .monaco-tree.focused.no-focused-item:focus:before, .monaco-shell .monaco-list:not(.element-focused):focus:before {
|
|
display: none;
|
|
} |