|
@@ -33,16 +33,10 @@ implementation
|
|
|
|
|
|
procedure TDemoStylesWindow.DemoStylesWindowCreate(Sender: TObject);
|
|
procedure TDemoStylesWindow.DemoStylesWindowCreate(Sender: TObject);
|
|
begin
|
|
begin
|
|
- FBody:=TBody.Create(Self);
|
|
|
|
- with Body do begin
|
|
|
|
- Name:='Body';
|
|
|
|
- Parent:=Self;
|
|
|
|
- end;
|
|
|
|
-
|
|
|
|
FCSSStyleInspector:=TCSSStyleInspector.Create(Self);
|
|
FCSSStyleInspector:=TCSSStyleInspector.Create(Self);
|
|
with CSSStyleInspector do begin
|
|
with CSSStyleInspector do begin
|
|
Name:='CSSStyleInspector';
|
|
Name:='CSSStyleInspector';
|
|
- Parent:=Body;
|
|
|
|
|
|
+ Parent:=Self;
|
|
end;
|
|
end;
|
|
|
|
|
|
Stylesheet.Text:=':root { color: #fff; font-size: 15px; background-color: #333; }';
|
|
Stylesheet.Text:=':root { color: #fff; font-size: 15px; background-color: #333; }';
|