mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
now using SCSS for better theming support
This commit is contained in:
parent
e75f48d148
commit
25f88b7ae9
@ -5,7 +5,11 @@
|
|||||||
"projects": {
|
"projects": {
|
||||||
"paperless-ui": {
|
"paperless-ui": {
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"schematics": {},
|
"schematics": {
|
||||||
|
"@schematics/angular:component": {
|
||||||
|
"style": "scss"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": "",
|
"root": "",
|
||||||
"sourceRoot": "src",
|
"sourceRoot": "src",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
@ -25,8 +29,7 @@
|
|||||||
"src/assets"
|
"src/assets"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"node_modules/bootstrap/dist/css/bootstrap.min.css",
|
"src/styles.scss"
|
||||||
"src/styles.css"
|
|
||||||
],
|
],
|
||||||
"scripts": []
|
"scripts": []
|
||||||
},
|
},
|
||||||
@ -90,7 +93,7 @@
|
|||||||
"src/assets"
|
"src/assets"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css"
|
"src/styles.scss"
|
||||||
],
|
],
|
||||||
"scripts": []
|
"scripts": []
|
||||||
}
|
}
|
||||||
@ -121,6 +124,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}},
|
}
|
||||||
|
},
|
||||||
"defaultProject": "paperless-ui"
|
"defaultProject": "paperless-ui"
|
||||||
}
|
}
|
@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
templateUrl: './app.component.html',
|
templateUrl: './app.component.html',
|
||||||
styleUrls: ['./app.component.css']
|
styleUrls: ['./app.component.scss']
|
||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ import { DocumentDetailComponent } from '../document-detail/document-detail.comp
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-app-frame',
|
selector: 'app-app-frame',
|
||||||
templateUrl: './app-frame.component.html',
|
templateUrl: './app-frame.component.html',
|
||||||
styleUrls: ['./app-frame.component.css']
|
styleUrls: ['./app-frame.component.scss']
|
||||||
})
|
})
|
||||||
export class AppFrameComponent implements OnInit, OnDestroy {
|
export class AppFrameComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-delete-dialog',
|
selector: 'app-delete-dialog',
|
||||||
templateUrl: './delete-dialog.component.html',
|
templateUrl: './delete-dialog.component.html',
|
||||||
styleUrls: ['./delete-dialog.component.css']
|
styleUrls: ['./delete-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class DeleteDialogComponent implements OnInit {
|
export class DeleteDialogComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import { AbstractInputComponent } from '../abstract-input';
|
|||||||
}],
|
}],
|
||||||
selector: 'app-input-check',
|
selector: 'app-input-check',
|
||||||
templateUrl: './check.component.html',
|
templateUrl: './check.component.html',
|
||||||
styleUrls: ['./check.component.css']
|
styleUrls: ['./check.component.scss']
|
||||||
})
|
})
|
||||||
export class CheckComponent extends AbstractInputComponent<boolean> {
|
export class CheckComponent extends AbstractInputComponent<boolean> {
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import { AbstractInputComponent } from '../abstract-input';
|
|||||||
}],
|
}],
|
||||||
selector: 'app-input-date-time',
|
selector: 'app-input-date-time',
|
||||||
templateUrl: './date-time.component.html',
|
templateUrl: './date-time.component.html',
|
||||||
styleUrls: ['./date-time.component.css']
|
styleUrls: ['./date-time.component.scss']
|
||||||
})
|
})
|
||||||
export class DateTimeComponent implements OnInit,ControlValueAccessor {
|
export class DateTimeComponent implements OnInit,ControlValueAccessor {
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import { AbstractInputComponent } from '../abstract-input';
|
|||||||
}],
|
}],
|
||||||
selector: 'app-input-select',
|
selector: 'app-input-select',
|
||||||
templateUrl: './select.component.html',
|
templateUrl: './select.component.html',
|
||||||
styleUrls: ['./select.component.css']
|
styleUrls: ['./select.component.scss']
|
||||||
})
|
})
|
||||||
export class SelectComponent extends AbstractInputComponent<number> {
|
export class SelectComponent extends AbstractInputComponent<number> {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ import { TagService } from 'src/app/services/rest/tag.service';
|
|||||||
}],
|
}],
|
||||||
selector: 'app-input-tags',
|
selector: 'app-input-tags',
|
||||||
templateUrl: './tags.component.html',
|
templateUrl: './tags.component.html',
|
||||||
styleUrls: ['./tags.component.css']
|
styleUrls: ['./tags.component.scss']
|
||||||
})
|
})
|
||||||
export class TagsComponent implements OnInit, ControlValueAccessor {
|
export class TagsComponent implements OnInit, ControlValueAccessor {
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import { AbstractInputComponent } from '../abstract-input';
|
|||||||
}],
|
}],
|
||||||
selector: 'app-input-text',
|
selector: 'app-input-text',
|
||||||
templateUrl: './text.component.html',
|
templateUrl: './text.component.html',
|
||||||
styleUrls: ['./text.component.css']
|
styleUrls: ['./text.component.scss']
|
||||||
})
|
})
|
||||||
export class TextComponent extends AbstractInputComponent<string> {
|
export class TextComponent extends AbstractInputComponent<string> {
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ import { Component, Input, OnInit } from '@angular/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-page-header',
|
selector: 'app-page-header',
|
||||||
templateUrl: './page-header.component.html',
|
templateUrl: './page-header.component.html',
|
||||||
styleUrls: ['./page-header.component.css']
|
styleUrls: ['./page-header.component.scss']
|
||||||
})
|
})
|
||||||
export class PageHeaderComponent implements OnInit {
|
export class PageHeaderComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import { TAG_COLOURS, PaperlessTag } from 'src/app/data/paperless-tag';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-tag',
|
selector: 'app-tag',
|
||||||
templateUrl: './tag.component.html',
|
templateUrl: './tag.component.html',
|
||||||
styleUrls: ['./tag.component.css']
|
styleUrls: ['./tag.component.scss']
|
||||||
})
|
})
|
||||||
export class TagComponent implements OnInit {
|
export class TagComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import { Toast, ToastService } from 'src/app/services/toast.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-toasts',
|
selector: 'app-toasts',
|
||||||
templateUrl: './toasts.component.html',
|
templateUrl: './toasts.component.html',
|
||||||
styleUrls: ['./toasts.component.css']
|
styleUrls: ['./toasts.component.scss']
|
||||||
})
|
})
|
||||||
export class ToastsComponent implements OnInit, OnDestroy {
|
export class ToastsComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ export interface Statistics {
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-dashboard',
|
selector: 'app-dashboard',
|
||||||
templateUrl: './dashboard.component.html',
|
templateUrl: './dashboard.component.html',
|
||||||
styleUrls: ['./dashboard.component.css']
|
styleUrls: ['./dashboard.component.scss']
|
||||||
})
|
})
|
||||||
export class DashboardComponent implements OnInit {
|
export class DashboardComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ import { TagEditDialogComponent } from '../manage/tag-list/tag-edit-dialog/tag-e
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-detail',
|
selector: 'app-document-detail',
|
||||||
templateUrl: './document-detail.component.html',
|
templateUrl: './document-detail.component.html',
|
||||||
styleUrls: ['./document-detail.component.css']
|
styleUrls: ['./document-detail.component.scss']
|
||||||
})
|
})
|
||||||
export class DocumentDetailComponent implements OnInit {
|
export class DocumentDetailComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import { DocumentService } from 'src/app/services/rest/document.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-card-large',
|
selector: 'app-document-card-large',
|
||||||
templateUrl: './document-card-large.component.html',
|
templateUrl: './document-card-large.component.html',
|
||||||
styleUrls: ['./document-card-large.component.css']
|
styleUrls: ['./document-card-large.component.scss']
|
||||||
})
|
})
|
||||||
export class DocumentCardLargeComponent implements OnInit {
|
export class DocumentCardLargeComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import { DocumentService } from 'src/app/services/rest/document.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-card-small',
|
selector: 'app-document-card-small',
|
||||||
templateUrl: './document-card-small.component.html',
|
templateUrl: './document-card-small.component.html',
|
||||||
styleUrls: ['./document-card-small.component.css']
|
styleUrls: ['./document-card-small.component.scss']
|
||||||
})
|
})
|
||||||
export class DocumentCardSmallComponent implements OnInit {
|
export class DocumentCardSmallComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import { SaveViewConfigDialogComponent } from './save-view-config-dialog/save-vi
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-list',
|
selector: 'app-document-list',
|
||||||
templateUrl: './document-list.component.html',
|
templateUrl: './document-list.component.html',
|
||||||
styleUrls: ['./document-list.component.css']
|
styleUrls: ['./document-list.component.scss']
|
||||||
})
|
})
|
||||||
export class DocumentListComponent implements OnInit {
|
export class DocumentListComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-save-view-config-dialog',
|
selector: 'app-save-view-config-dialog',
|
||||||
templateUrl: './save-view-config-dialog.component.html',
|
templateUrl: './save-view-config-dialog.component.html',
|
||||||
styleUrls: ['./save-view-config-dialog.component.css']
|
styleUrls: ['./save-view-config-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class SaveViewConfigDialogComponent implements OnInit {
|
export class SaveViewConfigDialogComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ import { TagService } from 'src/app/services/rest/tag.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-filter-editor',
|
selector: 'app-filter-editor',
|
||||||
templateUrl: './filter-editor.component.html',
|
templateUrl: './filter-editor.component.html',
|
||||||
styleUrls: ['./filter-editor.component.css']
|
styleUrls: ['./filter-editor.component.scss']
|
||||||
})
|
})
|
||||||
export class FilterEditorComponent implements OnInit {
|
export class FilterEditorComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import { ToastService } from 'src/app/services/toast.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-correspondent-edit-dialog',
|
selector: 'app-correspondent-edit-dialog',
|
||||||
templateUrl: './correspondent-edit-dialog.component.html',
|
templateUrl: './correspondent-edit-dialog.component.html',
|
||||||
styleUrls: ['./correspondent-edit-dialog.component.css']
|
styleUrls: ['./correspondent-edit-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class CorrespondentEditDialogComponent extends EditDialogComponent<PaperlessCorrespondent> {
|
export class CorrespondentEditDialogComponent extends EditDialogComponent<PaperlessCorrespondent> {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import { CorrespondentEditDialogComponent } from './correspondent-edit-dialog/co
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-correspondent-list',
|
selector: 'app-correspondent-list',
|
||||||
templateUrl: './correspondent-list.component.html',
|
templateUrl: './correspondent-list.component.html',
|
||||||
styleUrls: ['./correspondent-list.component.css']
|
styleUrls: ['./correspondent-list.component.scss']
|
||||||
})
|
})
|
||||||
export class CorrespondentListComponent extends GenericListComponent<PaperlessCorrespondent> {
|
export class CorrespondentListComponent extends GenericListComponent<PaperlessCorrespondent> {
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import { ToastService } from 'src/app/services/toast.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-type-edit-dialog',
|
selector: 'app-document-type-edit-dialog',
|
||||||
templateUrl: './document-type-edit-dialog.component.html',
|
templateUrl: './document-type-edit-dialog.component.html',
|
||||||
styleUrls: ['./document-type-edit-dialog.component.css']
|
styleUrls: ['./document-type-edit-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class DocumentTypeEditDialogComponent extends EditDialogComponent<PaperlessDocumentType> {
|
export class DocumentTypeEditDialogComponent extends EditDialogComponent<PaperlessDocumentType> {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import { DocumentTypeEditDialogComponent } from './document-type-edit-dialog/doc
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-type-list',
|
selector: 'app-document-type-list',
|
||||||
templateUrl: './document-type-list.component.html',
|
templateUrl: './document-type-list.component.html',
|
||||||
styleUrls: ['./document-type-list.component.css']
|
styleUrls: ['./document-type-list.component.scss']
|
||||||
})
|
})
|
||||||
export class DocumentTypeListComponent extends GenericListComponent<PaperlessDocumentType> {
|
export class DocumentTypeListComponent extends GenericListComponent<PaperlessDocumentType> {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import { LogService } from 'src/app/services/rest/log.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-logs',
|
selector: 'app-logs',
|
||||||
templateUrl: './logs.component.html',
|
templateUrl: './logs.component.html',
|
||||||
styleUrls: ['./logs.component.css']
|
styleUrls: ['./logs.component.scss']
|
||||||
})
|
})
|
||||||
export class LogsComponent implements OnInit {
|
export class LogsComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import { SavedViewConfigService } from 'src/app/services/saved-view-config.servi
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-settings',
|
selector: 'app-settings',
|
||||||
templateUrl: './settings.component.html',
|
templateUrl: './settings.component.html',
|
||||||
styleUrls: ['./settings.component.css']
|
styleUrls: ['./settings.component.scss']
|
||||||
})
|
})
|
||||||
export class SettingsComponent implements OnInit {
|
export class SettingsComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import { ToastService } from 'src/app/services/toast.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-tag-edit-dialog',
|
selector: 'app-tag-edit-dialog',
|
||||||
templateUrl: './tag-edit-dialog.component.html',
|
templateUrl: './tag-edit-dialog.component.html',
|
||||||
styleUrls: ['./tag-edit-dialog.component.css']
|
styleUrls: ['./tag-edit-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class TagEditDialogComponent extends EditDialogComponent<PaperlessTag> {
|
export class TagEditDialogComponent extends EditDialogComponent<PaperlessTag> {
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import { TagEditDialogComponent } from './tag-edit-dialog/tag-edit-dialog.compon
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-tag-list',
|
selector: 'app-tag-list',
|
||||||
templateUrl: './tag-list.component.html',
|
templateUrl: './tag-list.component.html',
|
||||||
styleUrls: ['./tag-list.component.css']
|
styleUrls: ['./tag-list.component.scss']
|
||||||
})
|
})
|
||||||
export class TagListComponent extends GenericListComponent<PaperlessTag> {
|
export class TagListComponent extends GenericListComponent<PaperlessTag> {
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-not-found',
|
selector: 'app-not-found',
|
||||||
templateUrl: './not-found.component.html',
|
templateUrl: './not-found.component.html',
|
||||||
styleUrls: ['./not-found.component.css']
|
styleUrls: ['./not-found.component.scss']
|
||||||
})
|
})
|
||||||
export class NotFoundComponent implements OnInit {
|
export class NotFoundComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import { SearchHitHighlight } from 'src/app/data/search-result';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-result-hightlight',
|
selector: 'app-result-hightlight',
|
||||||
templateUrl: './result-hightlight.component.html',
|
templateUrl: './result-hightlight.component.html',
|
||||||
styleUrls: ['./result-hightlight.component.css']
|
styleUrls: ['./result-hightlight.component.scss']
|
||||||
})
|
})
|
||||||
export class ResultHightlightComponent implements OnInit {
|
export class ResultHightlightComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import { SearchService } from 'src/app/services/rest/search.service';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-search',
|
selector: 'app-search',
|
||||||
templateUrl: './search.component.html',
|
templateUrl: './search.component.html',
|
||||||
styleUrls: ['./search.component.css']
|
styleUrls: ['./search.component.scss']
|
||||||
})
|
})
|
||||||
export class SearchComponent implements OnInit {
|
export class SearchComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "bootstrap";
|
||||||
|
|
||||||
|
|
||||||
.toolbaricon {
|
.toolbaricon {
|
||||||
width: 1.2em;
|
width: 1.2em;
|
Loading…
x
Reference in New Issue
Block a user