X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgx%2Fgh_ui_style.pas;h=3b55797280a9c11d8edb18a73654f683cd551865;hb=94de7eeb85f9ccafbb301c063de3d2b820af193b;hp=97dcb79eabf279a79678211762adc01faa8525c4;hpb=34282db2f0936591a3686dc3cea00618be20e11f;p=d2df-sdl.git diff --git a/src/gx/gh_ui_style.pas b/src/gx/gh_ui_style.pas index 97dcb79..3b55797 100644 --- a/src/gx/gh_ui_style.pas +++ b/src/gx/gh_ui_style.pas @@ -128,16 +128,17 @@ const defaultStyleStr = 'default {'#10+ ' back-color: #008;'#10+ - ' #active: { text-color: #fff; frame-color: #fff; frame-text-color: #fff; frame-icon-color: #0f0; }'#10+ - ' #inactive: { text-color: #aaa; frame-color: #aaa; frame-text-color: #aaa; frame-icon-color: #0a0; }'#10+ + ' #active: { text-color: #fff; hot-color: #f00; frame-color: #fff; frame-text-color: #fff; frame-icon-color: #0f0; }'#10+ + ' #inactive: { text-color: #aaa; hot-color: #a00; frame-color: #aaa; frame-text-color: #aaa; frame-icon-color: #0a0; }'#10+ ' #disabled: { text-color: #666; frame-color: #888; frame-text-color: #888; frame-icon-color: #080; }'#10+ - ' @simple_text: { text-color: #ff0; #inactive(#active); }'#10+ - ' @cb_listbox: { current-item-back-color: #080; text-color: #ff0; #inactive(#active) { current-item-back-color: #000; } }'#10+ ' @window: { #inactive(#active): { darken: 128; } }'#10+ ' @button: { back-color: #999; text-color: #000; hot-color: #600; #active: { back-color: #fff; hot-color: #c00; } #disabled: { back-color: #444; text-color: #333; hot-color: #333; } }'#10+ - ' @label: { #active: {back-color: #440;} #inactive(#active); }'#10+ + ' @label: { #inactive(#active); }'#10+ ' @static: { text-color: #ff0; #inactive(#active); }'#10+ ' @box: { #inactive(#active); }'#10+ + ' @switchbox: { switch-color: #fff; #active: { back-color: #080; } }'#10+ + ' @checkbox(@switchbox): {}'#10+ + ' @radiobox(@switchbox): {}'#10+ '}'#10+ ''; var