From 7c478f69966dea859c5cc36cd43840ea02a9d709 Mon Sep 17 00:00:00 2001 From: chinons098 Date: Mon, 28 Oct 2024 11:37:10 -0400 Subject: [PATCH] css changes for dialog --- .../dialog/dialog.component.css | 10 ++- .../dialog/dialog.component.html | 6 +- .../shared/system-service/menu.services.ts | 9 ++ .../system-apps/cheetah/cheetah.component.css | 3 + .../cheetah/cheetah.component.html | 10 +-- src/app/system-files/constants.ts | 84 ++++++++++++++++++- 6 files changed, 112 insertions(+), 10 deletions(-) diff --git a/src/app/shared/system-component/dialog/dialog.component.css b/src/app/shared/system-component/dialog/dialog.component.css index 436f2c0..34135ae 100644 --- a/src/app/shared/system-component/dialog/dialog.component.css +++ b/src/app/shared/system-component/dialog/dialog.component.css @@ -264,12 +264,19 @@ right: 0; } -/*Info Notification*/ +/*Warning Notification*/ .warning-dialog-main-container{ width: 400px; height: 130px; } +.warning-dialog-heading-text{ + position: absolute; + left: 2%; + top: 5px; + font-size: 11px; +} + .warning-dialog-mid-section1{ display: flex; height: 80px; @@ -318,6 +325,7 @@ right: 0; width: 100%; font-weight: normal; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + white-space: pre; } /*Tail Section*/ diff --git a/src/app/shared/system-component/dialog/dialog.component.html b/src/app/shared/system-component/dialog/dialog.component.html index b29fddf..d3f48f7 100644 --- a/src/app/shared/system-component/dialog/dialog.component.html +++ b/src/app/shared/system-component/dialog/dialog.component.html @@ -75,9 +75,9 @@

-
-

Shortcut

-
+
+

Shortcut

+
diff --git a/src/app/shared/system-service/menu.services.ts b/src/app/shared/system-service/menu.services.ts index be04244..3804c6d 100644 --- a/src/app/shared/system-service/menu.services.ts +++ b/src/app/shared/system-service/menu.services.ts @@ -14,6 +14,7 @@ export class MenuService{ private _isPasteActive = false; private _path = 'NOPATH'; private _actions = ''; + private _stageData = ''; pinToTaskBar: Subject = new Subject(); unPinFromTaskBar: Subject = new Subject(); @@ -54,4 +55,12 @@ export class MenuService{ getActions():string{ return this._actions; } + + setStageData(stageData:string):void{ + this._stageData = stageData; + } + + getStageData():string{ + return this._stageData; + } } \ No newline at end of file diff --git a/src/app/system-apps/cheetah/cheetah.component.css b/src/app/system-apps/cheetah/cheetah.component.css index ec4f498..73e5c7a 100644 --- a/src/app/system-apps/cheetah/cheetah.component.css +++ b/src/app/system-apps/cheetah/cheetah.component.css @@ -99,6 +99,9 @@ background-color: #f0f0f0; } +.cheetah-div{ + width: 100%; +} .os-info{ height: 100%; width: 100%; diff --git a/src/app/system-apps/cheetah/cheetah.component.html b/src/app/system-apps/cheetah/cheetah.component.html index 7ba99f4..9374602 100644 --- a/src/app/system-apps/cheetah/cheetah.component.html +++ b/src/app/system-apps/cheetah/cheetah.component.html @@ -1,6 +1,6 @@ -
+
-
+

@@ -23,9 +23,9 @@

-

{{name}}

-

{{version}}

-

{{year}}

+

{{name}}

+

{{version}}

+

{{year}}

\ No newline at end of file diff --git a/src/app/system-files/constants.ts b/src/app/system-files/constants.ts index 575ddc5..09be866 100644 --- a/src/app/system-files/constants.ts +++ b/src/app/system-files/constants.ts @@ -73,4 +73,86 @@ export class Constants{ '.cpp', '.html' ] -} \ No newline at end of file +} + + + + + +/* eslint-disable @typescript-eslint/no-namespace */ +// namespace Constants{ + +// export const EMPTY_STRING = ''; +// export const ROOT = '/'; +// export const DOUBLE_SLASH = '//'; +// export const OSDISK = 'OSDisk (C:)'; +// export const THISPC = 'This PC'; +// export const URL = '.url'; +// export const SHORTCUT = 'Shortcut'; +// export const BASE = 'osdrive'; +// export const IMAGE_BASE_PATH = 'osdrive/Cheetah/System/Imageres/'; +// export const NEW_FOLDER = 'New Folder'; +// export const CHEETAH = 'cheetah'; + +// export const DEFAULT_MENU_ORDER = 'DefaultMenuOrder'; +// export const DEFAULT_FILE_MENU_ORDER = 'DefaultFileMenuOrder'; +// export const DEFAULT_FOLDER_MENU_ORDER = 'DefaultFolderMenuOrder'; +// export const FILE_EXPLORER_FILE_MENU_ORDER = 'FileExplorerFolderMenuOrder'; +// export const FILE_EXPLORER_FOLDER_MENU_ORDER = 'FileExplorerfolderMenuOrder'; +// export const FILE_EXPLORER_UNIQUE_MENU_ORDER = 'FileExploreruniqueMenuOrder'; + +// export const TASK_BAR_MENU_OPTION = 'taskbar-menu'; +// export const NESTED_MENU_OPTION = 'nested-menu'; +// export const FILE_EXPLORER_FILE_MANAGER_MENU_OPTION = 'file-explorer-file-manager-menu'; + +// export const IMAGE_FILE_EXTENSIONS = [ +// '.jpg', +// '.png', +// '.avif', +// '.bmp', +// '.ico', +// '.jpeg', +// '.tiff', +// '.tif', +// '.svg', +// '.webp', +// '.xlm' +// ] + +// export const VIDEO_FILE_EXTENSIONS = [ +// '.mp4', +// '.webm', +// '.ogg', +// '.mkv' +// ] + +// export const AUDIO_FILE_EXTENSIONS = [ +// '.mp3', +// '.flac', +// '.aac', +// '.dolby', +// '.mpeg', +// '.opus', +// '.m4a', +// '.ogg', +// '.oga', +// '.wav', +// '.caf', +// '.weba', +// '.webm' +// ] + +// export const PROGRAMING_LANGUAGE_FILE_EXTENSIONS = [ +// '.js', +// '.js.map', +// '.map', +// '.mjs', +// '.ts', +// '.cs', +// '.java', +// '.py', +// '.c', +// '.cpp', +// '.html' +// ] +// } \ No newline at end of file