rationalized styling

This commit is contained in:
dcore94 2023-03-28 11:47:33 +02:00
parent 69b513b67e
commit 2bde19052f
1 changed files with 7 additions and 1 deletions

View File

@ -110,6 +110,12 @@ class CCPInfrastructureList extends HTMLElement{
<div class="ccp_infrastructure_controller"> <div class="ccp_infrastructure_controller">
<link href="https://cdn.dev.d4science.org/ccp/css/common.css" rel="stylesheet"> <link href="https://cdn.dev.d4science.org/ccp/css/common.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style>
.ccp-infrastructure-list{
list-style: none;
padding-left: 0;
}
</style>
<div class="card"> <div class="card">
<div class="card-header" style="padding:0.5rem"> <div class="card-header" style="padding:0.5rem">
<div class="ccp-toolbar-header"> <div class="ccp-toolbar-header">
@ -117,7 +123,7 @@ class CCPInfrastructureList extends HTMLElement{
<span name="header" class="mr-2">Infrastructures</span> <span name="header" class="mr-2">Infrastructures</span>
</div> </div>
<div class="ccp-toolbar-right"> <div class="ccp-toolbar-right">
<button name="refresh" class="btn btn-primary ccp_toolbar_button" title="Refresh"> <button name="refresh" class="btn btn-primary ccp-toolbar-button" title="Refresh">
<svg viewBox="0 0 48 48"><path d="M24 40q-6.65 0-11.325-4.675Q8 30.65 8 24q0-6.65 4.675-11.325Q17.35 8 24 8q4.25 0 7.45 1.725T37 14.45V8h3v12.7H27.3v-3h8.4q-1.9-3-4.85-4.85Q27.9 11 24 11q-5.45 0-9.225 3.775Q11 18.55 11 24q0 5.45 3.775 9.225Q18.55 37 24 37q4.15 0 7.6-2.375 3.45-2.375 4.8-6.275h3.1q-1.45 5.25-5.75 8.45Q29.45 40 24 40Z"></path></svg> <svg viewBox="0 0 48 48"><path d="M24 40q-6.65 0-11.325-4.675Q8 30.65 8 24q0-6.65 4.675-11.325Q17.35 8 24 8q4.25 0 7.45 1.725T37 14.45V8h3v12.7H27.3v-3h8.4q-1.9-3-4.85-4.85Q27.9 11 24 11q-5.45 0-9.225 3.775Q11 18.55 11 24q0 5.45 3.775 9.225Q18.55 37 24 37q4.15 0 7.6-2.375 3.45-2.375 4.8-6.275h3.1q-1.45 5.25-5.75 8.45Q29.45 40 24 40Z"></path></svg>
</button> </button>
</div> </div>