mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +00:00
Background image fixes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 115 KiB |
BIN
app/images/deep-space-1920x1080.jpg
Normal file
BIN
app/images/deep-space-1920x1080.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 188 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB |
@@ -9,7 +9,6 @@ angular.module('app').directive('shipyardHeader', ['$rootScope', 'Persist', func
|
|||||||
scope.ships = DB.ships;
|
scope.ships = DB.ships;
|
||||||
scope.allBuilds = Persist.builds;
|
scope.allBuilds = Persist.builds;
|
||||||
scope.bs = Persist.state;
|
scope.bs = Persist.state;
|
||||||
console.log(scope);
|
|
||||||
|
|
||||||
$rootScope.$on('$stateChangeStart',function(){
|
$rootScope.$on('$stateChangeStart',function(){
|
||||||
scope.openedMenu = null;
|
scope.openedMenu = null;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
@import 'fonts';
|
@import 'fonts';
|
||||||
@import 'utilities';
|
@import 'utilities';
|
||||||
@import 'icons';
|
@import 'icons';
|
||||||
|
@import 'background-images';
|
||||||
@import 'header';
|
@import 'header';
|
||||||
@import 'shipyard';
|
@import 'shipyard';
|
||||||
@import 'list';
|
@import 'list';
|
||||||
@@ -25,19 +26,9 @@ body {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center center fixed;
|
background-position: center;
|
||||||
-webkit-background-size: cover;
|
background-attachment: fixed;
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
&.deep-space {
|
|
||||||
background-image: url(images/deep-space.jpg);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.docking-bay {
|
|
||||||
background-image: url(images/bay-1920x1080.jpg);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
|
|||||||
8
app/less/background-images.less
Normal file
8
app/less/background-images.less
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
.deep-space {
|
||||||
|
background-image: url(images/deep-space-1920x1080.jpg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.docking-bay {
|
||||||
|
background-image: url(images/bay-1920x1080.jpg);
|
||||||
|
}
|
||||||
@@ -36,15 +36,8 @@
|
|||||||
color: @disabled;
|
color: @disabled;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: @warning-disabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.enabled {
|
&.enabled {
|
||||||
color: @fg;
|
color: @fg;
|
||||||
&:hover {
|
|
||||||
color: @warning;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.consumer {
|
&.consumer {
|
||||||
|
|||||||
Reference in New Issue
Block a user