Browse Source

startup window agama modes explained

v0.25
pbca26 7 years ago
parent
commit
f7787c4961
  1. 44
      assets/mainWindow/css/loading.css
  2. 12
      assets/mainWindow/js/loading.js

44
assets/mainWindow/css/loading.css

@ -175,6 +175,7 @@ body.agama-app-settings-window {
top: 0;
right: 0;
cursor: pointer;
z-index: 100;
}
.btn-close img {
@ -467,3 +468,46 @@ small {
.padding-top-40 {
padding-top: 40px;
}
.agama-modes-help {
background: rgba(255, 255, 255, 0.85);
width: 420px;
height: auto;
position: absolute;
color: #000;
border-radius: 4px;
font-weight: normal;
font-size: 14px;
text-align: left;
padding: 10px;
top: 60px;
left: 40px;
z-index: 1000;
}
.agama-modes-help .close-btn {
float: right;
width: 10px;
height: 10px;
cursor: pointer;
}
.pointer {
cursor: pointer;
}
.mode-desc {
top: 173px;
position: absolute;
}
.mode-desc.native {
left: 88px;
}
.mode-desc.spv {
left: 293px;
}
.intro {
position: relative;
top: -15px;
}

12
assets/mainWindow/js/loading.js

@ -1,6 +1,16 @@
// TODO: merge into react app
let _configCopy;
function toggleMainWindowHelp() {
const _help = $('.agama-modes-help');
if (_help.is(':visible')) {
_help.hide();
} else {
_help.show();
}
}
function toggleDropdown(type) {
const _dropdown = $('.dropdown-menu.' + (type === 'lite' ? 'lite' : 'native'));
@ -10,7 +20,7 @@ function toggleDropdown(type) {
_dropdown.addClass('hide');
}
$('.dropdown-menu.' + (type === 'lite' ? 'native' : 'lite')).addClass('hide');;
$('.dropdown-menu.' + (type === 'lite' ? 'native' : 'lite')).addClass('hide');
}
function initSettingsForm() {

Loading…
Cancel
Save