|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
@media windows { |
|
|
|
|
* { |
|
|
|
|
FontFamily: '微软雅黑'; /*不同系统的字体不同,自己根据情况改或者使用内嵌字体*/ |
|
|
|
|
src: url('res://AksWebBrowser/msyh.ttc'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -13,7 +14,8 @@
|
|
|
|
|
|
|
|
|
|
@media linux { |
|
|
|
|
* { |
|
|
|
|
FontFamily: '文泉驿正黑'; |
|
|
|
|
FontFamily: '微软雅黑'; |
|
|
|
|
src: url('res://AksWebBrowser/msyh.ttc'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/*设置窗体标题栏背景颜色圆角*/ |
|
|
|
@ -21,98 +23,37 @@
|
|
|
|
|
IsAntiAlias: true; |
|
|
|
|
Background: #2c2c2c; |
|
|
|
|
CornerRadius:5,5,0,0; |
|
|
|
|
Height:30; |
|
|
|
|
} |
|
|
|
|
#frame { |
|
|
|
|
CornerRadius: 5; |
|
|
|
|
IsAntiAlias: true; |
|
|
|
|
}*/ |
|
|
|
|
Button { |
|
|
|
|
BorderFill: #DCDFE6; |
|
|
|
|
IsAntiAlias: True; |
|
|
|
|
CornerRadius: 4,4,4,4; |
|
|
|
|
Background: #FFFFFF; |
|
|
|
|
#caption { |
|
|
|
|
IsAntiAlias: true; |
|
|
|
|
Background: #2c2c2c; |
|
|
|
|
CornerRadius: 5,5,0,0; |
|
|
|
|
Height: 50; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button[IsMouseOver=true] { |
|
|
|
|
BorderFill: rgb(198,226,255); |
|
|
|
|
Background: rgb(236,245,255); |
|
|
|
|
Foreground: rgb(64,158,255); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button[IsPressed=true] { |
|
|
|
|
BorderFill: rgb(58,142,230); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.primary { |
|
|
|
|
BorderFill: rgb(64,158,255); |
|
|
|
|
CornerRadius: 4,4,4,4; |
|
|
|
|
Background: rgb(64,158,255); |
|
|
|
|
Foreground: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.primary[IsMouseOver=true] { |
|
|
|
|
BorderFill: rgb(102,177,255); |
|
|
|
|
Background: rgb(102,177,255); |
|
|
|
|
Foreground: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.primary[IsPressed=true] { |
|
|
|
|
BorderFill: rgb(58,142,230); |
|
|
|
|
Background: rgb(58,142,230); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.success { |
|
|
|
|
BorderFill: rgb(103,194,58); |
|
|
|
|
CornerRadius: 4,4,4,4; |
|
|
|
|
Background: rgb(103,194,58); |
|
|
|
|
Foreground: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.success[IsMouseOver=true] { |
|
|
|
|
BorderFill: rgb(133,206,97); |
|
|
|
|
Background: rgb(133,206,97); |
|
|
|
|
Foreground: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.success[IsPressed=true] { |
|
|
|
|
BorderFill: rgb(93,175,52); |
|
|
|
|
Background: rgb(93,175,52); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.danger { |
|
|
|
|
BorderFill: rgb(245,108,108); |
|
|
|
|
Background: rgb(245,108,108); |
|
|
|
|
CornerRadius: 4,4,4,4; |
|
|
|
|
Foreground: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.danger[IsMouseOver=true] { |
|
|
|
|
BorderFill: rgb(247,137,137); |
|
|
|
|
Background: rgb(247,137,137); |
|
|
|
|
Foreground: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
.AMenuPageStyle { |
|
|
|
|
Background: #2c2c2c01; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Button.danger[IsPressed=true] { |
|
|
|
|
BorderFill: rgb(221,97,97); |
|
|
|
|
Background: rgb(221,97,97); |
|
|
|
|
.AMenuPageStyle[IsMouseOver=true] { |
|
|
|
|
Background: #00000015; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TextBox, .textBox, DatePicker { |
|
|
|
|
Background: #fff; |
|
|
|
|
#frame { |
|
|
|
|
CornerRadius: 5; |
|
|
|
|
IsAntiAlias: true; |
|
|
|
|
BorderFill: #DCDFE6; |
|
|
|
|
CornerRadius: 4,4,4,4; |
|
|
|
|
BorderStroke: 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.groupPanel TextBox, DatePicker TextBox, .textBox TextBox { |
|
|
|
|
BorderStroke: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.textBox[IsKeyboardFocusWithin=true] { |
|
|
|
|
BorderFill: #1E9FFF; |
|
|
|
|
} |
|
|
|
|
#caption { |
|
|
|
|
Background: rgb(36,48,70); |
|
|
|
|
Height: 40; |
|
|
|
|
Font-Size: 18px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.singleLine { /*单行文本框*/ |
|
|
|
|
AcceptsReturn: false; |
|
|
|
@ -250,7 +191,6 @@ ComboBox {
|
|
|
|
|
MarginLeft: 5; |
|
|
|
|
MarginTop: 2; |
|
|
|
|
MarginBottom: 2; |
|
|
|
|
font-size: 14; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#dropDownBorder { |
|
|
|
@ -471,3 +411,21 @@ TabControl[TabStripPlacement=Left] #headerPanel, TabControl[TabStripPlacement=Ri
|
|
|
|
|
ListBoxItem { |
|
|
|
|
Width: 100%; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#dialogClose, #dialogClose[IsMouseOver=true] { |
|
|
|
|
Background: null; |
|
|
|
|
BorderFill: null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#dialogClose[IsPressed=true] { |
|
|
|
|
Background: null; |
|
|
|
|
BorderFill: null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#dialogClose Line { |
|
|
|
|
StrokeFill: 218,218,218; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#dialogClose[IsMouseOver=true] Line { |
|
|
|
|
StrokeFill: #fff; |
|
|
|
|
} |
|
|
|
|