fix: add patternfly styles
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
0203318276
commit
6e7b609178
3 changed files with 14 additions and 24 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
20
style.css
20
style.css
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue