mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-18 09:30:02 +00:00
wip
This commit is contained in:
parent
faecb9b501
commit
4d86850bc7
@ -1,5 +1,3 @@
|
|||||||
// TODO test toastr
|
|
||||||
|
|
||||||
app-root {
|
app-root {
|
||||||
background: #1D272D;
|
background: #1D272D;
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
box-shadow: 0 1px 0 rgba(0,0,0,.25);
|
box-shadow: 0 1px 0 rgba(0,0,0,.25);
|
||||||
padding: 7px 12px;
|
padding: 7px 12px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
display: block !important;
|
||||||
|
border: none !important;
|
||||||
width: auto;
|
width: auto;
|
||||||
flex-basis: auto;
|
flex-basis: auto;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
@ -15,10 +17,12 @@
|
|||||||
|
|
||||||
&.toast-error {
|
&.toast-error {
|
||||||
background-color: #BD362F;
|
background-color: #BD362F;
|
||||||
|
color: white !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.toast-info {
|
&.toast-info {
|
||||||
background-color: #555;
|
background-color: #555;
|
||||||
|
color: #eee !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ export class StartPageComponent {
|
|||||||
return this.domSanitizer.bypassSecurityTrustHtml(icon ?? '')
|
return this.domSanitizer.bypassSecurityTrustHtml(icon ?? '')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||||
buttonsTrackBy (_, btn: Command): any {
|
buttonsTrackBy (_, btn: Command): any {
|
||||||
return btn.label + btn.icon
|
return btn.label + btn.icon
|
||||||
}
|
}
|
||||||
|
@ -156,21 +156,21 @@ export class ProfilesService {
|
|||||||
callback: () => resolve(p),
|
callback: () => resolve(p),
|
||||||
}))]
|
}))]
|
||||||
|
|
||||||
// TODO try {
|
try {
|
||||||
// const { SettingsTabComponent } = window['nodeRequire']('tabby-settings')
|
const { SettingsTabComponent } = window['nodeRequire']('tabby-settings')
|
||||||
// options.push({
|
options.push({
|
||||||
// name: this.translate.instant('Manage profiles'),
|
name: this.translate.instant('Manage profiles'),
|
||||||
// icon: 'fas fa-window-restore',
|
icon: 'fas fa-window-restore',
|
||||||
// weight: 10,
|
weight: 10,
|
||||||
// callback: () => {
|
callback: () => {
|
||||||
// this.app.openNewTabRaw({
|
this.app.openNewTabRaw({
|
||||||
// type: SettingsTabComponent,
|
type: SettingsTabComponent,
|
||||||
// inputs: { activeTab: 'profiles' },
|
inputs: { activeTab: 'profiles' },
|
||||||
// })
|
})
|
||||||
// resolve(null)
|
resolve(null)
|
||||||
// },
|
},
|
||||||
// })
|
})
|
||||||
// } catch { }
|
} catch { }
|
||||||
|
|
||||||
if (this.getProviders().some(x => x.supportsQuickConnect)) {
|
if (this.getProviders().some(x => x.supportsQuickConnect)) {
|
||||||
options.push({
|
options.push({
|
||||||
|
@ -7,6 +7,7 @@ $button-hover-bg: rgba(0, 0, 0, .25);
|
|||||||
$button-active-bg: rgba(0, 0, 0, .5);
|
$button-active-bg: rgba(0, 0, 0, .5);
|
||||||
|
|
||||||
@import '~bootstrap/scss/bootstrap.scss';
|
@import '~bootstrap/scss/bootstrap.scss';
|
||||||
|
@import "./theme.vendor.scss";
|
||||||
|
|
||||||
window-controls {
|
window-controls {
|
||||||
svg {
|
svg {
|
||||||
|
3
tabby-core/src/theme.vendor.scss
Normal file
3
tabby-core/src/theme.vendor.scss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
// $alert-border-radius: 0;
|
||||||
|
// @mixin border-radius ($r) {}
|
||||||
|
@import "../../node_modules/ngx-toastr/toastr-bs5-alert.scss";
|
Loading…
x
Reference in New Issue
Block a user