mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibWeb: Use resource scheme for icons in internal pages
This commit is contained in:
parent
44d623d588
commit
b39d99cf2f
Notes:
sideshowbarker
2024-07-16 22:26:05 +09:00
Author: https://github.com/bplaat
Commit: b39d99cf2f
Pull-request: https://github.com/SerenityOS/serenity/pull/22437
Reviewed-by: https://github.com/trflynn89
7 changed files with 4 additions and 23 deletions
|
@ -28,13 +28,13 @@
|
|||
background-size: contain;
|
||||
}
|
||||
.folder {
|
||||
background-image: url('@resource_directory_url@/icons/32x32/filetype-folder.png');
|
||||
background-image: url('resource://icons/32x32/filetype-folder.png');
|
||||
}
|
||||
.file {
|
||||
background-image: url('@resource_directory_url@/icons/32x32/filetype-unknown.png');
|
||||
background-image: url('resource://icons/32x32/filetype-unknown.png');
|
||||
}
|
||||
.open-parent {
|
||||
background-image: url('@resource_directory_url@/icons/16x16/open-parent-directory.png');
|
||||
background-image: url('resource://icons/16x16/open-parent-directory.png');
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<img src="@resource_directory_url@/icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
|
||||
<img src="resource://icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
|
||||
<h1>Failed to load @failed_url@</h1>
|
||||
</header>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue