+
BlurAdmin
+
-
-
-
-
+
+
+
+
-
diff --git a/src/app/theme/pageTop/pageTop.scss b/src/app/theme/pageTop/pageTop.scss
index 1abbb35b..5876d14a 100644
--- a/src/app/theme/pageTop/pageTop.scss
+++ b/src/app/theme/pageTop/pageTop.scss
@@ -156,7 +156,7 @@ a.collapse-menu-link {
}
@media (max-width: $resXXS) {
- .user-profile{
+ .user-profile {
min-width: 136px;
}
a.refresh-data {
@@ -171,6 +171,6 @@ a.collapse-menu-link {
}
}
-.profile-toggle-link{
+.profile-toggle-link {
cursor: pointer;
}
diff --git a/src/app/theme/pipes/image/profile-picture.pipe.ts b/src/app/theme/pipes/image/profile-picture.pipe.ts
index 832e5344..82cec888 100644
--- a/src/app/theme/pipes/image/profile-picture.pipe.ts
+++ b/src/app/theme/pipes/image/profile-picture.pipe.ts
@@ -4,7 +4,7 @@ import {layoutPaths} from '../../theme.constants';
@Pipe({name: 'profilePicture'})
export class ProfilePicturePipe implements PipeTransform {
- transform(input: string, args:string[]): string {
+ transform(input:string, args:string[]):string {
let ext = args[0] || 'png';
return layoutPaths.images.profile + input + '.' + ext;
}
diff --git a/src/app/theme/sass/_buttons.scss b/src/app/theme/sass/_buttons.scss
index af24a34e..d70b7262 100644
--- a/src/app/theme/sass/_buttons.scss
+++ b/src/app/theme/sass/_buttons.scss
@@ -45,7 +45,7 @@ $hover: 24;
}
&.btn-default {
@include styleButton(transparent, $default);
- &:focus, &:active:hover, &.active:hover, &:hover{
+ &:focus, &:active:hover, &.active:hover, &:hover {
background-color: rgba(0, 0, 0, 0.2);
color: $default;
}
@@ -124,7 +124,6 @@ button.btn.btn-danger {
}
}
-
button.btn.btn-inverse {
@include buttonColor($help-text, $help-text);
color: $default;
@@ -134,8 +133,6 @@ button.btn.btn-inverse {
}
}
-
-
.btn-with-icon {
i {
margin-right: 10px;
diff --git a/src/app/theme/sass/_icons.scss b/src/app/theme/sass/_icons.scss
index bb92753a..40b8d264 100644
--- a/src/app/theme/sass/_icons.scss
+++ b/src/app/theme/sass/_icons.scss
@@ -22,7 +22,6 @@
@include svg-icon-class('person', 80, 80);
@include svg-icon-class('refresh', 80, 80);
-
@mixin png-icon($url, $width, $height) {
display: inline-block;
width: $width + px;
@@ -37,4 +36,4 @@
}
}
-//@include icon-png-class('arrival-icon', 11, 11);
\ No newline at end of file
+//@include icon-png-class('arrival-icon', 11, 11);
diff --git a/src/app/theme/sass/_layout.scss b/src/app/theme/sass/_layout.scss
index c026f502..da7258e0 100644
--- a/src/app/theme/sass/_layout.scss
+++ b/src/app/theme/sass/_layout.scss
@@ -1,6 +1,6 @@
$left-space: 180px;
-@include scrollbars(.5em, #d9d9d9, rgba(0,0,0,0));
+@include scrollbars(.5em, #d9d9d9, rgba(0, 0, 0, 0));
html {
position: relative;
@@ -18,14 +18,12 @@ body {
@include main-background();
}
-
-@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
-{
- html{
+@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
+ html {
overflow: hidden;
height: 100%;
}
- body{
+ body {
overflow: auto;
height: 100%;
}
@@ -36,9 +34,10 @@ a {
outline: 0 !important;
}
-.body-bg{
+.body-bg {
display: none;
}
+
.al-header {
display: block;
height: 49px;
@@ -194,8 +193,8 @@ a {
}
.full-invisible {
- visibility: hidden!important;
+ visibility: hidden !important;
* {
- visibility: hidden!important;
+ visibility: hidden !important;
}
-}
\ No newline at end of file
+}
diff --git a/src/app/theme/sass/_preloader.scss b/src/app/theme/sass/_preloader.scss
index 3d0df0ef..d8adea99 100644
--- a/src/app/theme/sass/_preloader.scss
+++ b/src/app/theme/sass/_preloader.scss
@@ -6,6 +6,7 @@
transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
}
}
+
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg); /* Firefox 16+*/
@@ -74,4 +75,4 @@
animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
}
-}
\ No newline at end of file
+}
diff --git a/src/app/theme/sass/_table.scss b/src/app/theme/sass/_table.scss
index 6501b72d..3a67c5e5 100644
--- a/src/app/theme/sass/_table.scss
+++ b/src/app/theme/sass/_table.scss
@@ -241,23 +241,23 @@ body.badmin-transparent {
background-color: rgba(0, 0, 0, 0.1);
}
.table > tbody > tr.primary > td {
- background-color: rgba($primary,0.7);
+ background-color: rgba($primary, 0.7);
border: none;
}
.table > tbody > tr.success > td {
- background-color: rgba($success,0.7);
+ background-color: rgba($success, 0.7);
border: none;
}
.table > tbody > tr.warning > td {
- background-color: rgba($warning,0.7);
+ background-color: rgba($warning, 0.7);
border: none;
}
.table > tbody > tr.danger > td {
- background-color: rgba($danger,0.7);
+ background-color: rgba($danger, 0.7);
border: none;
}
.table > tbody > tr.info > td {
- background-color: rgba($info,0.7);
+ background-color: rgba($info, 0.7);
border: none;
}
@@ -282,21 +282,21 @@ th {
.table-striped > tbody > tr > td {
border: none;
}
+
.pagination > li > a,
-.pagination > li > span{
+.pagination > li > span {
color: $default;
border-color: $default;
}
-
.pagination > li:first-of-type > a,
-.pagination > li:first-of-type > span{
+.pagination > li:first-of-type > span {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.pagination > li:last-of-type > a,
-.pagination > li:last-of-type > span{
+.pagination > li:last-of-type > span {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
@@ -314,11 +314,11 @@ th {
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
-.pagination > li > span:focus{
- background-color: rgba(0,0,0,.2);
+.pagination > li > span:focus {
+ background-color: rgba(0, 0, 0, .2);
color: $default;
}
.editable-buttons .btn-with-icon i {
- margin-right: 0;
-}
\ No newline at end of file
+ margin-right: 0;
+}
diff --git a/src/app/theme/sass/bootstrap-overrides/_panel.scss b/src/app/theme/sass/bootstrap-overrides/_panel.scss
index 98b79685..67ec8975 100644
--- a/src/app/theme/sass/bootstrap-overrides/_panel.scss
+++ b/src/app/theme/sass/bootstrap-overrides/_panel.scss
@@ -128,7 +128,7 @@ $panel-heading-font-size: 16px;
}
}
-.panel.bootstrap-panel{
+.panel.bootstrap-panel {
.panel-body, .panel-heading {
p, div, span {
color: $default-text;
@@ -136,12 +136,12 @@ $panel-heading-font-size: 16px;
}
}
-.accordion-panel.panel.bootstrap-panel{
+.accordion-panel.panel.bootstrap-panel {
&.panel-primary,
&.panel-success,
&.panel-info,
&.panel-warning,
- &.panel-danger{
+ &.panel-danger {
.panel-heading {
p, div, span {
color: rgba(255, 255, 255, 0.8);
@@ -150,8 +150,8 @@ $panel-heading-font-size: 16px;
}
}
-.panel-group .panel.accordion-panel{
- .panel-heading{
+.panel-group .panel.accordion-panel {
+ .panel-heading {
border-bottom: 0;
}
}
@@ -170,15 +170,14 @@ $panel-heading-font-size: 16px;
height: 120px;
}
-.footer-panel{
+.footer-panel {
height: 142px;
}
-.light-text{
+.light-text {
font-weight: $font-light;
}
-
/*
.panel-group .panel {
border-radius: 0;
diff --git a/src/app/theme/sass/conf/_mixins.scss b/src/app/theme/sass/conf/_mixins.scss
index bf34aae7..c43ee361 100644
--- a/src/app/theme/sass/conf/_mixins.scss
+++ b/src/app/theme/sass/conf/_mixins.scss
@@ -41,6 +41,7 @@
@mixin bg-nr($relativeUrl) {
background: url($images-root + $relativeUrl) no-repeat 0 0;
}
+
@mixin bg($relativeUrl) {
background: url($images-root + $relativeUrl);
}
@@ -93,22 +94,22 @@
@mixin overrideColors($color) {
p,
- h1,h2,h3,h4,h5,h6,
+ h1, h2, h3, h4, h5, h6,
.pie-chart-item,
- .panel-heading>.dropdown .dropdown-toggle,
+ .panel-heading > .dropdown .dropdown-toggle,
.panel-title,
ol.blur span,
ul.blur,
.popular-app-cost,
.popular-app-info,
- .panel-title>.small,
- .panel-title>.small>a,
- .panel-title>a,
- .panel-title>small,
- .panel-title>small>a,
+ .panel-title > .small,
+ .panel-title > .small > a,
+ .panel-title > a,
+ .panel-title > small,
+ .panel-title > small > a,
.traffic-text span,
.form-group label,
- .help-block{
+ .help-block {
color: $color;
}
.feed-message .message-time, .text-muted {
@@ -125,4 +126,4 @@
.progress {
background: $color;
}
-}
\ No newline at end of file
+}
diff --git a/src/app/theme/sass/conf/_variables.scss b/src/app/theme/sass/conf/_variables.scss
index 2f8a3df3..6d9747be 100644
--- a/src/app/theme/sass/conf/_variables.scss
+++ b/src/app/theme/sass/conf/_variables.scss
@@ -1,6 +1,6 @@
$font-family: 'Roboto', sans-serif;
-$view-total :rgba(0,0,0,.4);
+$view-total: rgba(0, 0, 0, .4);
$activelink: $primary;
$hoverlink: $primary-dark;
diff --git a/src/app/theme/sidebar/sidebar.component.ts b/src/app/theme/sidebar/sidebar.component.ts
index 1fc788e7..11c14f7a 100644
--- a/src/app/theme/sidebar/sidebar.component.ts
+++ b/src/app/theme/sidebar/sidebar.component.ts
@@ -6,34 +6,35 @@ import {SidebarService} from './sidebar.service';
import {SidebarStateService} from './sidebarState.service';
@Component({
- selector: 'sidebar',
- encapsulation: ViewEncapsulation.None,
- styles: [ require('./sidebar.scss') ],
- template: require('./sidebar.html'),
- providers: [SidebarService],
- directives: [],
- pipes: []
+ selector: 'sidebar',
+ encapsulation: ViewEncapsulation.None,
+ styles: [require('./sidebar.scss')],
+ template: require('./sidebar.html'),
+ providers: [SidebarService],
+ directives: [],
+ pipes: []
})
export class Sidebar {
@Input('routes') routes;
- menuItems: Array
;
- menuHeight: number;
- isMenuCollapsed: boolean;
+ menuItems:Array;
+ menuHeight:number;
+ isMenuCollapsed:boolean;
- showHoverElem: boolean;
- hoverElemHeight: number;
- hoverElemTop: number;
+ showHoverElem:boolean;
+ hoverElemHeight:number;
+ hoverElemTop:number;
- outOfArea: number = -200;
+ outOfArea:number = -200;
- isMenuShouldCollapsed: boolean = false;
+ isMenuShouldCollapsed:boolean = false;
- constructor(private elementRef: ElementRef,
- private router: Router,
- private _sidebarService: SidebarService,
- private _sidebarStateService: SidebarStateService) { }
+ constructor(private elementRef:ElementRef,
+ private router:Router,
+ private _sidebarService:SidebarService,
+ private _sidebarStateService:SidebarStateService) {
+ }
ngOnInit() {
this.menuItems = this._sidebarService.getMenuItems(this.routes);
@@ -57,11 +58,11 @@ export class Sidebar {
this.updateSidebarHeight();
}
- menuExpand () {
+ menuExpand() {
this.menuCollapseStateChange(false);
}
- menuCollapse () {
+ menuCollapse() {
this.menuCollapseStateChange(true);
}
@@ -70,9 +71,9 @@ export class Sidebar {
this._sidebarStateService.stateChanged(this.isMenuCollapsed);
}
- hoverItem ($event) {
+ hoverItem($event) {
this.showHoverElem = true;
- this.hoverElemHeight = $event.currentTarget.clientHeight;
+ this.hoverElemHeight = $event.currentTarget.clientHeight;
// TODO: get rid of magic 66 constant
this.hoverElemTop = $event.currentTarget.getBoundingClientRect().top - 66;
}
@@ -82,7 +83,7 @@ export class Sidebar {
this.menuHeight = this.elementRef.nativeElement.childNodes[0].clientHeight - 84;
}
- toggleSubMenu ($event, item) {
+ toggleSubMenu($event, item) {
var submenu = $($event.currentTarget).next();
if (this.isMenuCollapsed) {
@@ -99,7 +100,7 @@ export class Sidebar {
}
private selectMenuItem() {
- let isCurrent = (instruction) => (instruction ? this.router.isRouteActive(this.router.generate([instruction])): false);
+ let isCurrent = (instruction) => (instruction ? this.router.isRouteActive(this.router.generate([instruction])) : false);
this.menuItems.forEach(function (menu) {
diff --git a/src/app/theme/sidebar/sidebar.html b/src/app/theme/sidebar/sidebar.html
index 7bc04535..1b51071e 100644
--- a/src/app/theme/sidebar/sidebar.html
+++ b/src/app/theme/sidebar/sidebar.html
@@ -7,22 +7,27 @@
{{ item.title }}
-