Backgrounds: Restore drawer title header (#4809) * Backgrounds: Restore drawer title header * Change add background icon

e5ceafddb1cc4df0111be12cd7343832b95036d6

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
3 files changed, +13 -4Showing whitespace changes
public/css/backgrounds.css+1 -0
@@ -63,6 +63,7 @@
63 display: flex;63 display: flex;
64 gap: 5px;64 gap: 5px;
65 width: 100%;65 width: 100%;
66 align-items: baseline;
66}67}
6768
68/* Control buttons in header */69/* Control buttons in header */
public/css/mobile-styles.css+5 -0
@@ -97,6 +97,11 @@
97 max-width: 100dvw;97 max-width: 100dvw;
98 }98 }
9999
100 #add_background_button_top>span,
101 #auto_background>span {
102 display: none;
103 }
104
100 #extensions_settings,105 #extensions_settings,
101 #extensions_settings2 {106 #extensions_settings2 {
102 width: 100% !important;107 width: 100% !important;
public/index.html+7 -4
@@ -5383,10 +5383,9 @@
5383 <div id="Backgrounds" class="drawer-content closedDrawer bg-drawer-layout">5383 <div id="Backgrounds" class="drawer-content closedDrawer bg-drawer-layout">
5384 <div id="bg-header-fixed">5384 <div id="bg-header-fixed">
5385 <div class="bg-header-row-1">5385 <div class="bg-header-row-1">
5386 <label for="add_bg_button" id="add_background_button_top" class="menu_button menu_button_icon" data-i18n="[title]Add a new background" title="Add a new background">5386 <h3 class="margin0">
5387 <i class="fa-solid fa-plus"></i>5387 <span data-i18n="Backgrounds">Backgrounds</span>
5388 <span data-i18n="Add Background">Add Background</span>5388 </h3>
5389 </label>
5390 <span class="expander"></span>5389 <span class="expander"></span>
5391 <select id="background_fitting" class="text_pole" data-i18n="[title]Background Fitting" title="Background Fitting">5390 <select id="background_fitting" class="text_pole" data-i18n="[title]Background Fitting" title="Background Fitting">
5392 <option value="classic" data-i18n="Classic">Classic</option>5391 <option value="classic" data-i18n="Classic">Classic</option>
@@ -5399,6 +5398,10 @@
5399 <i class="fa-solid fa-wand-magic"></i>5398 <i class="fa-solid fa-wand-magic"></i>
5400 <span data-i18n="Auto-select">Auto-select</span>5399 <span data-i18n="Auto-select">Auto-select</span>
5401 </div>5400 </div>
5401 <label for="add_bg_button" id="add_background_button_top" class="menu_button menu_button_icon" data-i18n="[title]Add a new background" title="Add a new background">
5402 <i class="fa-solid fa-upload"></i>
5403 <span data-i18n="Add Background">Add Background</span>
5404 </label>
5402 </div>5405 </div>
5403 <div class="bg-header-row-2">5406 <div class="bg-header-row-2">
5404 <input id="bg-filter" class="text_pole" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." />5407 <input id="bg-filter" class="text_pole" type="search" data-i18n="[placeholder]Search..." placeholder="Search..." />