Fix Authenticator remove button

This commit is contained in:
Benjamin Bädorf 2022-11-28 15:28:56 +01:00
parent 493fea8994
commit b488fe24a2
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
4 changed files with 133 additions and 128 deletions

View file

@ -10,7 +10,7 @@
<link rel="icon" href="${url.resourcesPath}/img/pub.solar.svg" /> <link rel="icon" href="${url.resourcesPath}/img/pub.solar.svg" />
<link href="${url.resourcesPath}/css/index.css?v3" rel="stylesheet" /> <link href="${url.resourcesPath}/css/index.css?v4" rel="stylesheet" />
<script defer src="${url.resourcesPath}/js/background.js" type="text/javascript"></script> <script defer src="${url.resourcesPath}/js/background.js" type="text/javascript"></script>
<script defer src="${url.resourcesPath}/js/i18n.js" type="text/javascript"></script> <script defer src="${url.resourcesPath}/js/i18n.js" type="text/javascript"></script>

View file

@ -38,8 +38,8 @@
<input type="hidden" id="stateChecker" name="stateChecker" value="${stateChecker}"> <input type="hidden" id="stateChecker" name="stateChecker" value="${stateChecker}">
<input type="hidden" id="submitAction" name="submitAction" value="Delete"> <input type="hidden" id="submitAction" name="submitAction" value="Delete">
<input type="hidden" id="credentialId" name="credentialId" value="${credential.id}"> <input type="hidden" id="credentialId" name="credentialId" value="${credential.id}">
<button id="remove-mobile" class="btn btn-default"> <button id="remove-mobile" class="ps-button ps-button_small">
<i class="pficon pficon-delete"></i> ${msg("doRemove")}
</button> </button>
</form> </form>
</td> </td>

View file

@ -1,9 +1,9 @@
.ps-button { .ps-button {
padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
line-height: 1.2rem; padding: 0.5em 1em;
border: 2px solid var(--foreground); line-height: 1.2em;
border-radius: 1.5rem; border: 0.125em solid var(--foreground);
border-radius: 1.5em;
background-color: var(--background-darker-2); background-color: var(--background-darker-2);
cursor: pointer; cursor: pointer;
@ -13,7 +13,7 @@
} }
&_primary { &_primary {
border: 4px solid var(--foreground); border: 0.25em solid var(--foreground);
background-color: var(--background); background-color: var(--background);
color: var(--foreground); color: var(--foreground);
font-weight: bold; font-weight: bold;
@ -24,4 +24,9 @@
color: var(--background); color: var(--background);
} }
} }
&_small {
font-size: 0.8rem;
padding: 0.25em 0.7em;
}
} }

View file

@ -13,7 +13,7 @@
<link rel="icon" href="${url.resourcesPath}/img/pub.solar.svg" /> <link rel="icon" href="${url.resourcesPath}/img/pub.solar.svg" />
<link href="${url.resourcesPath}/css/index.css?v3" rel="stylesheet" /> <link href="${url.resourcesPath}/css/index.css?v4" rel="stylesheet" />
<script defer src="${url.resourcesPath}/js/background.js" type="text/javascript"></script> <script defer src="${url.resourcesPath}/js/background.js" type="text/javascript"></script>
<script defer src="${url.resourcesPath}/js/i18n.js" type="text/javascript"></script> <script defer src="${url.resourcesPath}/js/i18n.js" type="text/javascript"></script>