Skip to content

Commit

Permalink
[0.31.0] KOGITO-9597: Broken error page layout (#1902)
Browse files Browse the repository at this point in the history
  • Loading branch information
treblereel committed Aug 4, 2023
1 parent 0d3d1c0 commit 672769f
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,7 @@ public class StunnerLienzoCore {
public void init() {

StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.patternflycss().getText());
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.bootstrapjs().getText());
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.bootstrapselect().getText());
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.animate().getText());
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.fontawesome().getText());
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.uberfirepatternfly().getText());
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.patternflyadditions().getText());
PatternFlyBundle.INSTANCE.bootstrapcss().getText());

ScriptInjector.fromString(PatternFlyBundle.INSTANCE.jquery().getText())
.setWindow(ScriptInjector.TOP_WINDOW)
Expand All @@ -66,17 +54,31 @@ public void init() {
.setWindow(ScriptInjector.TOP_WINDOW)
.inject();

StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.bootstrapselect().getText());

StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.animate().getText());

ScriptInjector.fromString(PatternFlyBundle.INSTANCE.gwtbootstrap3().getText())
.setWindow(ScriptInjector.TOP_WINDOW)
.inject();

ScriptInjector.fromString(PatternFlyBundle.INSTANCE.patternflyjs().getText())
.setWindow(ScriptInjector.TOP_WINDOW)
.inject();
StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.fontawesome().getText());

StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.patternflycss().getText());

StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.patternflyadditions().getText());

ScriptInjector.fromString(PatternFlyBundle.INSTANCE.patternflyjs().getText())
.setWindow(ScriptInjector.TOP_WINDOW)
.inject();

StyleInjector.injectStylesheet(
PatternFlyBundle.INSTANCE.uberfirepatternfly().getText());

LienzoCore.get().setDefaultImageSelectionMode(ImageSelectionMode.SELECT_BOUNDS);
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

.blank-slate-pf {
background-color: transparent;
border: none;
background-color: transparent !important;
border: none !important;
}

.pficon-warning-triangle-o,
.pficon-warning-triangle-o:before {
color: gray;
color: gray !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>SW Editor</title>
<link rel="stylesheet" href="org.kie.workbench.common.stunner.sw.KogitoSWEditor/css/patternfly.min.css" />
</head>
<body>
<!-- To turn off/on remote communication in the client bus -->
Expand Down

0 comments on commit 672769f

Please sign in to comment.