1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00

move styles for font logo management interface to external stylesheet

This commit is contained in:
Kiripolszky Károly 2018-02-21 19:50:58 +01:00
parent 3f6800dcdc
commit d15fbda038
3 changed files with 13 additions and 3 deletions

View file

@ -333,6 +333,16 @@
height: 18px;
}
#font-logo-preview-container {
background:rgba(0, 255, 0, 0.4);
margin-bottom: 10px;
}
#font-logo-preview {
background:rgba(0, 255, 0, 1);
line-height: 0;
}
.tab-osd .content_wrapper {
height: calc(100% - 70px);
}

View file

@ -1834,7 +1834,7 @@ TABS.osd.initialize = function (callback) {
// font preview window
var $preview = $('.font-preview'),
$logoPreview = $('.logo-preview');
$logoPreview = $('#font-logo-preview');
// init structs once, also clears current font
FONT.initData();

View file

@ -126,8 +126,8 @@
</div>
<h1 class="tab_title" i18n="osdSetupLogo" />
<div class="helpicon cf_tip" i18n_title="osdSetupReplaceLogoHelp"></div>
<div class="content_wrapper" style="background:#00dd00; line-height: 0; margin-bottom:10px">
<div class="logo-preview" style="background:#00ff00">
<div id="font-logo-preview-container" class="content_wrapper">
<div id="font-logo-preview">
<!-- this will be resized at runtime -->
</div>
</div>