mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45: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.allBuilds = Persist.builds;
|
||||
scope.bs = Persist.state;
|
||||
console.log(scope);
|
||||
|
||||
$rootScope.$on('$stateChangeStart',function(){
|
||||
scope.openedMenu = null;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
@import 'fonts';
|
||||
@import 'utilities';
|
||||
@import 'icons';
|
||||
@import 'background-images';
|
||||
@import 'header';
|
||||
@import 'shipyard';
|
||||
@import 'list';
|
||||
@@ -25,19 +26,9 @@ body {
|
||||
overflow-x: hidden;
|
||||
background-image: none;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center fixed;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-position: center;
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
|
||||
&.deep-space {
|
||||
background-image: url(images/deep-space.jpg);
|
||||
}
|
||||
|
||||
&.docking-bay {
|
||||
background-image: url(images/bay-1920x1080.jpg);
|
||||
}
|
||||
}
|
||||
|
||||
#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;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: @warning-disabled;
|
||||
}
|
||||
|
||||
&.enabled {
|
||||
color: @fg;
|
||||
&:hover {
|
||||
color: @warning;
|
||||
}
|
||||
}
|
||||
|
||||
&.consumer {
|
||||
|
||||
Reference in New Issue
Block a user