Merge pull request #86 from Carve/82-remove-lock-icon-does-not-show-up

82 remove lock icon does not show up
This commit is contained in:
CJ Ratliff 2024-11-17 01:41:13 -05:00 committed by GitHub
commit acbdef8a40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 6 deletions

View File

@ -922,14 +922,18 @@ td.statusBarSeparator {
} }
#rememberBtn { #rememberBtn {
background: url("../images/object-locked.svg") center center / 24px no-repeat var(--color-background-popup); background: url('data:image/svg+xml,<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m22.58889 13.856795h-13.1776846v-3.690063c0-3.2959186 2.9557016-5.9772288 6.5888426-5.9772288 3.633136 0 6.588842 2.6814977 6.588842 5.9772288zm3.515031.03355v-3.723984c0-5.0541989-4.532547-9.16636116-10.103873-9.16636116-5.571329 0-10.1038769 4.11216226-10.1038769 9.16636116v3.72398c-.7962418.150954-1.3961709.793694-1.3961709 1.560369v13.955002c0 .879047.7884216 1.594288 1.7575164 1.594288h19.4849724c.969092 0 1.757511-.715241 1.757511-1.594288v-13.955002c0-.766675-.599832-1.408677-1.396079-1.560372z" fill="%23ff8c00" stroke-width="1.980014" /></svg>') center center / 24px no-repeat var(--color-background-popup);
height: 38px; height: 38px;
padding: 4px 6px; padding: 4px 6px;
width: 38px; width: 38px;
} }
#rememberBtn.disabled { #rememberBtn svg {
filter: grayscale(100%); fill: var(--darkmode-primary);
}
#rememberBtn.disabled svg {
fill: gray;
} }
#deleteFromDiskCB { #deleteFromDiskCB {

View File

@ -53,7 +53,7 @@
@font-face { @font-face {
font-family: "Google Sans"; font-family: "Google Sans";
font-display: swap; font-display: swap;
src: url(GoogleSans/GoogleSans-Black.woff) format("woff"), url(GoogleSans/GoogleSans-Black.ttf) format("truetype"); src: url(GoogleSans/GoogleSans-Bold.woff) format("woff"), url(GoogleSans/GoogleSans-Bold.ttf) format("truetype");
font-weight: 900; font-weight: 900;
font-style: normal font-style: normal
} }
@ -61,7 +61,7 @@
@font-face { @font-face {
font-family: "Google Sans"; font-family: "Google Sans";
font-display: swap; font-display: swap;
src: url(GoogleSans/GoogleSans-BlackItalic.woff) format("woff"), url(GoogleSans/GoogleSans-BlackItalic.ttf) format("truetype"); src: url(GoogleSans/GoogleSans-BoldItalic.woff) format("woff"), url(GoogleSans/GoogleSans-BoldItalic.ttf) format("truetype");
font-weight: 900; font-weight: 900;
font-style: italic font-style: italic
} }

View File

@ -3,7 +3,8 @@
<span class="deletionGridItem confirmDialogWarning"></span> <span class="deletionGridItem confirmDialogWarning"></span>
<span class="deletionGridItem dialogMessage" id="deleteTorrentMessage"></span> <span class="deletionGridItem dialogMessage" id="deleteTorrentMessage"></span>
<span class="deletionGridItem"> <span class="deletionGridItem">
<button class="disabled" type="button" id="rememberBtn" title="Remember choice" aria-label="Remember choice" disabled></button> <button id="rememberBtn" class="disabled" type="button" title="Remember choice" style="vertical-align: middle; padding: 4px 6px;" disabled="">
<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg" style="height: 24px; width: 24px;"><path d="m22.58889 13.856795h-13.1776846v-3.690063c0-3.2959186 2.9557016-5.9772288 6.5888426-5.9772288 3.633136 0 6.588842 2.6814977 6.588842 5.9772288zm3.515031.03355v-3.723984c0-5.0541989-4.532547-9.16636116-10.103873-9.16636116-5.571329 0-10.1038769 4.11216226-10.1038769 9.16636116v3.72398c-.7962418.150954-1.3961709.793694-1.3961709 1.560369v13.955002c0 .879047.7884216 1.594288 1.7575164 1.594288h19.4849724c.969092 0 1.757511-.715241 1.757511-1.594288v-13.955002c0-.766675-.599832-1.408677-1.396079-1.560372z" fill="#ff8c00" stroke-width="1.980014" style="fill: var(--color-border-default);"></path></svg></button>
</span> </span>
<span class="deletionGridItem"> <span class="deletionGridItem">
<input type="checkbox" id="deleteFromDiskCB"> <input type="checkbox" id="deleteFromDiskCB">

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB