From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:50:43 +0800 Subject: [PATCH] Revert "1" --- HDL_ON/UI/CSS/CSS.cs | 90 +++++++++++++++++++++++++++++++++++--------- 1 files changed, 71 insertions(+), 19 deletions(-) diff --git a/HDL_ON/UI/CSS/CSS.cs b/HDL_ON/UI/CSS/CSS.cs index 5b5816a..7ce6015 100644 --- a/HDL_ON/UI/CSS/CSS.cs +++ b/HDL_ON/UI/CSS/CSS.cs @@ -8,64 +8,111 @@ /// 涓昏壊璋� /// #4484F4 /// </summary> - public static uint MainColor = 0xFF4484F4; + public const uint MainColor = 0xFF4484F4; /// <summary> /// 杈呭姪鑹�1 /// #FC9C04 /// </summary> - public static uint AuxiliaryColor1 = 0xFFFC9C04; + public const uint AuxiliaryColor1 = 0xFFFC9C04; /// <summary> /// 杈呭姪鑹�2 /// #FF4747 /// </summary> - public static uint AuxiliaryColor2 = 0xFFFF4747; + public const uint AuxiliaryColor2 = 0xFFFF4747; /// <summary> /// 澶ф爣棰樸�佹鏂� /// #1B2D4D /// </summary> - public static uint FirstLevelTitleColor = 0xFF1B2D4D; + public const uint FirstLevelTitleColor = 0xFF1B2D4D; /// <summary> /// 浜岀骇鏍囬 /// #4E586A /// </summary> - public static uint SecondLevelTitleColor = 0xFF4E586A; + public const uint SecondLevelTitleColor = 0xFF4E586A; /// <summary> /// 姝f枃 /// #798394 /// </summary> - public static uint TextualColor = 0xFF798394 ; + public const uint TextualColor = 0xFF798394 ; /// <summary> /// 鎻愮ず鎬ф枃瀛�1 /// #C0C7D4 /// </summary> - public static uint PromptingColor1 = 0xFFC0C7D4; + public const uint PromptingColor1 = 0xFFC0C7D4; /// <summary> /// 鎻愮ず鎬ф枃瀛�1 /// #DFE1E6 /// </summary> - public static uint PromptingColor2 = 0xFFDFE1E6; + public const uint PromptingColor2 = 0xFFDFE1E6; /// <summary> /// 鍒嗗壊绾� /// #ECEDEE /// </summary> - public static uint DividingLineColor = 0xFFECEDEE; + public const uint DividingLineColor = 0xFFECEDEE; /// <summary> /// 鑳屾櫙棰滆壊 /// #F2F3F7 /// </summary> - public static uint BackgroundColor = 0xFFF2F3F7; + public const uint BackgroundColor = 0xFFF2F3F7; /// <summary> /// 涓昏壊璋冨瓧浣撻鑹� /// 0xFFFFFFFF /// </summary> - public static uint MainBackgroundColor = 0XFFFFFFFF; + public const uint MainBackgroundColor = 0XFFFFFFFF; /// <summary> /// 椤堕儴鍖哄煙鑳屾櫙棰滆壊 /// 0xFFF7F7F7 /// </summary> - public static uint TopViewColor = 0xFFF7F7F7; + public const uint TopViewColor = 0xFFF7F7F7; + + public const uint WarningColor = 0xFFFF4747; + /// <summary> + /// 寮圭獥鍗婇�忔槑鑳屾櫙鑹�1 + /// </summary> + public const uint DialogTransparentColor1 = 0x99000000; + /// <summary> + /// 寮圭獥鍗婇�忔槑鑳屾櫙鑹�2 + /// </summary> + public const uint DialogTransparentColor2 = 0x33000000; + + /// <summary> + /// 90%閫忔槑鐧借壊 + /// </summary> + public const uint TipBgColor1 = 0xE6FFFFFF; + /// <summary> + /// 杩炴帴鐘舵�佹彁绀� + /// 0xFF67D569 + /// </summary> + public const uint LinkTipLocal = 0xFF67D569; + /// <summary> + /// 杩炴帴鐘舵�佹彁绀� + /// 杩炴帴澶辫触 + /// 0xFFFF4747 + /// </summary> + public const uint LinkTipFail = 0xFFFF4747; + + #region 鑷姩鍖� + /// <summary> + /// 鏍囧噯瀛椾綋棰滆壊 + /// </summary> + public const uint textColor = 0XFF1B2D4D; + public const uint textCancelColor = 0XFFC0C7D4; + public const uint textConfirmColor = 0XFF4484F4; + public const uint textRedColor = 0XFFFF4747; + public const uint textWhiteColor = 0XFFFFFFFF; + public const uint viewTop = 0XFFF7F7F7; + public const uint viewMiddle = 0XFFF2F3F7; + public const uint viewLine = 0XFFECEDEE; + public const uint view = 0XFFFFFFFF; + public const uint btnSaveBackgroundColor = 0XFF4484F4; + public const uint viewTrans60lucence = 0x60000000; + public const uint viewTranslucence = 0x00000000; + public const uint textTipColor = 0XFF798394; + public const uint text1Color = 0XFF4E586A; + + #endregion #endregion } @@ -75,40 +122,45 @@ { #region 瀛椾綋澶у皬 /// <summary> + /// 鐗圭骇寮鸿皟瀛楀彿 + /// 26 + /// </summary> + public const int EmphasisFontSize_ExLevel = 26; + /// <summary> /// 涓�绾у己璋冨瓧鍙� /// 24 /// </summary> - public static int EmphasisFontSize_FirstLevel = 24; + public const int EmphasisFontSize_FirstLevel = 24; /// <summary> /// 浜岀骇寮鸿皟瀛楀彿 /// 20 /// </summary> - public static int EmphasisFontSize_Secondary = 20; + public const int EmphasisFontSize_Secondary = 20; /// <summary> /// 澶� 鏍囬瀛椾綋 /// 18 /// </summary> - public static int HeadlineFontSize = 18; + public const int HeadlineFontSize = 18; /// <summary> /// 灏忔爣棰樺瓧鍙� /// 16 /// </summary> - public static int SubheadingFontSize = 16; + public const int SubheadingFontSize = 16; /// <summary> /// 姝f枃瀛楀彿 /// 14 /// </summary> - public static int TextFontSize = 14; + public const int TextFontSize = 14; /// <summary> /// 涓�绾ф彁绀烘�у瓧鍙� /// 12 /// </summary> - public static int PromptFontSize_FirstLevel = 12; + public const int PromptFontSize_FirstLevel = 12; /// <summary> /// 浜岀骇鎻愮ず鎬у瓧鍙� /// 10 /// </summary> - public static int PromptFontSize_SecondaryLevel = 10; + public const int PromptFontSize_SecondaryLevel = 10; #endregion } -- Gitblit v1.8.0