Experimental changes in preparation for auto-update support.
This commit is contained in:
@@ -976,7 +976,7 @@ p {
|
||||
* * */
|
||||
|
||||
/* Logo image. */
|
||||
#image_seal {
|
||||
/*#image_seal {
|
||||
height: 70px;
|
||||
width: auto;
|
||||
position: relative;
|
||||
@@ -984,8 +984,99 @@ p {
|
||||
border: 2px solid white;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
|
||||
}*/
|
||||
|
||||
#image_seal {
|
||||
height: 70px;
|
||||
width: auto;
|
||||
position: relative;
|
||||
border: 2px solid white;
|
||||
box-sizing: border-box;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
#image_seal_container {
|
||||
position: relative;
|
||||
height: 70px;
|
||||
width: 70px;
|
||||
border-radius: 50%;
|
||||
margin-top: 50px;
|
||||
}
|
||||
#image_seal_container[update]:before,
|
||||
#image_seal_container[update]:after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 15px #43c628;
|
||||
animation: glow-grow 4s ease-out infinite;
|
||||
}
|
||||
#image_seal_container[update]:after {
|
||||
animation-delay: 2s;
|
||||
}
|
||||
@keyframes glow-grow {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(1);
|
||||
}
|
||||
80% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: scale(1.5);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
/*
|
||||
#image_seal {
|
||||
height: 70px;
|
||||
width: auto;
|
||||
position: relative;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
#image_seal_container {
|
||||
position: relative;
|
||||
height: 70px;
|
||||
width: 70px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid white;
|
||||
margin-top: 50px;
|
||||
}
|
||||
#image_seal_container:before,
|
||||
#image_seal_container:after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 15px #43c628;
|
||||
animation: glow-grow 3.25s ease-out infinite;
|
||||
}
|
||||
#image_seal_container{
|
||||
animation-delay: 0s;
|
||||
}
|
||||
@keyframes glow-grow {
|
||||
0% {
|
||||
opacity: 0.8;
|
||||
transform: scale(1.02);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1.07);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1.02);
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
*/
|
||||
/* * *
|
||||
* Landing View (Bottom Styles) | Right Content
|
||||
* * */
|
||||
|
||||
@@ -74,9 +74,11 @@ exports.validateSelected = async function(){
|
||||
ConfigManager.updateAuthAccount(current.uuid, session.accessToken)
|
||||
ConfigManager.save()
|
||||
} catch(err) {
|
||||
if(err && err.message === 'ForbiddenOperationException'){
|
||||
return false
|
||||
console.debug('Error while validating selected profile:', err)
|
||||
if(err && err.error === 'ForbiddenOperationException'){
|
||||
// What do we do?
|
||||
}
|
||||
return false
|
||||
}
|
||||
return true
|
||||
} else {
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<div id="landingContainer" style="display: none;">
|
||||
<div id="upper">
|
||||
<div id="left">
|
||||
<img id="image_seal" src="assets/images/WesterosSealCircle.png"/>
|
||||
<div id="image_seal_container">
|
||||
<img id="image_seal" src="assets/images/WesterosSealCircle.png"/>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user