fix: add patternfly styles

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-05-15 21:57:36 +02:00
parent 0203318276
commit 6e7b609178
Signed by: mfocko
GPG key ID: 7C47D46246790496
3 changed files with 14 additions and 24 deletions

View file

@ -7,6 +7,11 @@
rel="stylesheet"
/>
<link href="style.css" rel="stylesheet" />
<link
rel="stylesheet"
href="https://unpkg.com/@patternfly/patternfly/patternfly.css"
crossorigin="anonymous"
/>
</head>
<body>
@ -19,7 +24,7 @@
size="14"
autofocus
/>
<input type="submit" value="Insert" />
<input class="pf-c-button pf-m-primary" type="submit" value="Insert" />
</form>
<form id="deleteTree" onSubmit="return deleteCallback()">
<input
@ -29,7 +34,7 @@
maxlength="4"
size="14"
/>
<input type="submit" value="Delete" />
<input class="pf-c-button pf-m-primary" type="submit" value="Delete" />
</form>
<table>

View file

@ -7,6 +7,11 @@
rel="stylesheet"
/>
<link href="style.css" rel="stylesheet" />
<link
rel="stylesheet"
href="https://unpkg.com/@patternfly/patternfly/patternfly.css"
crossorigin="anonymous"
/>
</head>
<body>
@ -19,7 +24,7 @@
size="14"
autofocus
/>
<input type="submit" value="Insert" />
<input class="pf-c-button pf-m-primary" type="submit" value="Insert" />
</form>
<form id="deleteTree" onSubmit="return deleteCallback()">
<input
@ -29,7 +34,7 @@
maxlength="4"
size="14"
/>
<input type="submit" value="Delete" />
<input class="pf-c-button pf-m-primary" type="submit" value="Delete" />
</form>
<p>Current operation: <span id="comment"></span></p>

View file

@ -1,23 +1,3 @@
.node circle {
fill: #ecf0f1;
stroke: #3498db;
stroke-opacity: 0.8;
stroke-width: 2.5px;
}
.text {
font-family: "Open Sans", sans-serif;
fill: #3498db;
font-size: 16px;
}
.link {
fill: none;
stroke: #3498db;
stroke-opacity: 0.8;
stroke-width: 2px;
}
form {
display: inline;
}