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

View file

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