mirror of https://github.com/rancher/ui.git
Fix registrty edit, about image
This commit is contained in:
parent
266ea2cc8f
commit
0f124f8b0e
|
|
@ -1,8 +1,5 @@
|
||||||
<div class="parachute"></div>
|
<div class="logo-text">
|
||||||
<div class="text-center">
|
<div class="parachute"></div>
|
||||||
<img src="assets/images/logo_text.svg" width="300">
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table align="center" class="fixed">
|
<table align="center" class="fixed">
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ export default Ember.Route.extend({
|
||||||
var registry = this.modelFor('registry');
|
var registry = this.modelFor('registry');
|
||||||
return Ember.Object.create({
|
return Ember.Object.create({
|
||||||
registry: registry,
|
registry: registry,
|
||||||
credential: registry.get('credentials.firstObject')
|
credential: registry.get('credentials.lastObject')
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,26 +13,38 @@
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logo-text {
|
||||||
|
background-image: url(images/logo_text.svg);
|
||||||
|
background-size: 300px;
|
||||||
|
background-position: center 30px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
height: 110px;
|
||||||
|
}
|
||||||
|
|
||||||
.parachute {
|
.parachute {
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
animation: parachute-animation 20s linear infinite forwards;
|
animation: parachute-animation 20s linear forwards;
|
||||||
background-image: url(images/logo_parachute.svg);
|
background-image: url(images/logo_parachute.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
position: absolute;
|
position: relative;
|
||||||
width: 74px;
|
width: 74px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
top: -100px;
|
top: -10px;
|
||||||
left: -200px;
|
left: calc(50% - 227px);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes parachute-animation {
|
@keyframes parachute-animation {
|
||||||
from {
|
0% {
|
||||||
transform: translate(0,0) scale(1);
|
transform: translate(0,0) scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
25% {
|
||||||
transform: translate(1000px,400px) scale(0);
|
transform: translate(0,0) scale(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: translate(-100px,500px) scale(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
export var platform = (navigator.platform||'').toLowerCase();
|
export var platform = (navigator.platform||'').toLowerCase();
|
||||||
//export var isLinuxy = platform.indexOf('linux') >= 0;
|
export var isLinuxy = platform.indexOf('linux') >= 0 || platform.indexOf('unix') >= 0;
|
||||||
export var isMac = platform.indexOf('mac') >= 0;
|
export var isMac = platform.indexOf('mac') >= 0;
|
||||||
//var isWin = platform.indexOf('win') >= 0;
|
export var isWin = platform.indexOf('win') >= 0;
|
||||||
|
|
||||||
export var alternateKey = 'ctrlKey';
|
export var alternateKey = 'ctrlKey';
|
||||||
export var alternateLabel = 'Control';
|
export var alternateLabel = 'Control';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue