fin visually
This commit is contained in:
@@ -147,10 +147,9 @@ body {
|
||||
overflow: hidden;
|
||||
width: 50px;
|
||||
height: 60px;
|
||||
margin-right: auto;
|
||||
/* "visibility" is used to toggle visibility, opacity is fixed to be similar
|
||||
to that of the loading indicator when it is visible. */
|
||||
opacity: 0.6;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.pswp-ente .pswp__error .pswp__icn {
|
||||
|
||||
@@ -17,9 +17,10 @@
|
||||
|
||||
const paths = {
|
||||
// "@mui/icons-material/InfoOutlined"
|
||||
info: '<path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"',
|
||||
// TODO(PS): This transform is temporary, audit later.
|
||||
info: '<path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8" transform="translate(3.5, 3.5)"',
|
||||
// "@mui/icons-material/ErrorOutline"
|
||||
error: '<path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"',
|
||||
error: '<path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8" transform="translate(10, 5.7) scale(0.85)"',
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -40,7 +41,6 @@ const paths = {
|
||||
*/
|
||||
export const createPSRegisterElementIconHTML = (name: "info") => ({
|
||||
isCustomSVG: true,
|
||||
// TODO(PS): This transform is temporary, audit later.
|
||||
inner: `${paths[name]} transform="translate(3.5, 3.5)" id="pswp__icn-${name}"`,
|
||||
inner: `${paths[name]} id="pswp__icn-${name}"`,
|
||||
outlineID: `pswp__icn-${name}`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user