mirror of https://github.com/akveo/blur-admin
refactor(theme): remove skin related files
parent
43e50fc6fa
commit
cd8666a452
|
@ -14,6 +14,5 @@ angular.module('BlurAdmin', [
|
||||||
'angular-progress-button-styles',
|
'angular-progress-button-styles',
|
||||||
|
|
||||||
'BlurAdmin.theme',
|
'BlurAdmin.theme',
|
||||||
'BlurAdmin.pages',
|
'BlurAdmin.pages'
|
||||||
'BlurAdmin.tplSkin'
|
|
||||||
]);
|
]);
|
|
@ -9,7 +9,7 @@
|
||||||
.controller('AreaChartCtrl', AreaChartCtrl);
|
.controller('AreaChartCtrl', AreaChartCtrl);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function AreaChartCtrl($scope, layoutColors, $element, tplSkinChartWatcherHelper, layoutPaths) {
|
function AreaChartCtrl($scope, layoutColors, $element, layoutPaths) {
|
||||||
var id = $element[0].getAttribute('id');
|
var id = $element[0].getAttribute('id');
|
||||||
var areaChart = AmCharts.makeChart(id, {
|
var areaChart = AmCharts.makeChart(id, {
|
||||||
type: 'serial',
|
type: 'serial',
|
||||||
|
@ -136,8 +136,6 @@
|
||||||
pathToImages: layoutPaths.images.amChart
|
pathToImages: layoutPaths.images.amChart
|
||||||
});
|
});
|
||||||
|
|
||||||
//tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, areaChart);
|
|
||||||
|
|
||||||
areaChart.addListener('dataUpdated', zoomAreaChart);
|
areaChart.addListener('dataUpdated', zoomAreaChart);
|
||||||
|
|
||||||
function zoomAreaChart() {
|
function zoomAreaChart() {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.controller('BarChartCtrl', BarChartCtrl);
|
.controller('BarChartCtrl', BarChartCtrl);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function BarChartCtrl($scope, layoutColors, $element, tplSkinChartWatcherHelper, layoutPaths) {
|
function BarChartCtrl($scope, layoutColors, $element, layoutPaths) {
|
||||||
var id = $element[0].getAttribute('id');
|
var id = $element[0].getAttribute('id');
|
||||||
var barChart = AmCharts.makeChart(id, {
|
var barChart = AmCharts.makeChart(id, {
|
||||||
type: 'serial',
|
type: 'serial',
|
||||||
|
@ -86,7 +86,5 @@
|
||||||
creditsPosition: 'top-right',
|
creditsPosition: 'top-right',
|
||||||
pathToImages: layoutPaths.images.amChart
|
pathToImages: layoutPaths.images.amChart
|
||||||
});
|
});
|
||||||
|
|
||||||
//tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, barChart);
|
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.controller('FunnelChartCtrl', FunnelChartCtrl);
|
.controller('FunnelChartCtrl', FunnelChartCtrl);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function FunnelChartCtrl($scope, $element, tplSkinChartWatcherHelper, layoutPaths, layoutColors) {
|
function FunnelChartCtrl($scope, $element, layoutPaths, layoutColors) {
|
||||||
var id = $element[0].getAttribute('id');
|
var id = $element[0].getAttribute('id');
|
||||||
var funnelChart = AmCharts.makeChart(id, {
|
var funnelChart = AmCharts.makeChart(id, {
|
||||||
type: 'funnel',
|
type: 'funnel',
|
||||||
|
@ -65,8 +65,5 @@
|
||||||
creditsPosition: 'bottom-left',
|
creditsPosition: 'bottom-left',
|
||||||
pathToImages: layoutPaths
|
pathToImages: layoutPaths
|
||||||
});
|
});
|
||||||
|
|
||||||
//tplSkinChartWatcherHelper.watchFunnelChanges($scope, funnelChart);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.controller('LineChartCtrl', LineChartCtrl);
|
.controller('LineChartCtrl', LineChartCtrl);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function LineChartCtrl($scope, layoutColors, $element, tplSkinChartWatcherHelper, layoutPaths) {
|
function LineChartCtrl($scope, layoutColors, $element, layoutPaths) {
|
||||||
var id = $element[0].getAttribute('id');
|
var id = $element[0].getAttribute('id');
|
||||||
var lineChart = AmCharts.makeChart(id, {
|
var lineChart = AmCharts.makeChart(id, {
|
||||||
type: 'serial',
|
type: 'serial',
|
||||||
|
@ -144,8 +144,6 @@
|
||||||
pathToImages: layoutPaths.images.amChart
|
pathToImages: layoutPaths.images.amChart
|
||||||
});
|
});
|
||||||
|
|
||||||
//tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, lineChart);
|
|
||||||
|
|
||||||
lineChart.addListener('rendered', zoomChart);
|
lineChart.addListener('rendered', zoomChart);
|
||||||
if (lineChart.zoomChart) {
|
if (lineChart.zoomChart) {
|
||||||
lineChart.zoomChart();
|
lineChart.zoomChart();
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.controller('PieChartCtrl', PieChartCtrl);
|
.controller('PieChartCtrl', PieChartCtrl);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function PieChartCtrl($scope, $element, tplSkinChartWatcherHelper, layoutPaths, layoutColors) {
|
function PieChartCtrl($element, layoutPaths, layoutColors) {
|
||||||
var id = $element[0].getAttribute('id');
|
var id = $element[0].getAttribute('id');
|
||||||
var pieChart = AmCharts.makeChart(id, {
|
var pieChart = AmCharts.makeChart(id, {
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
|
@ -128,8 +128,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//tplSkinChartWatcherHelper.watchDonutChanges($scope, pieChart);
|
|
||||||
|
|
||||||
pieChart.addListener('init', handleInit);
|
pieChart.addListener('init', handleInit);
|
||||||
|
|
||||||
pieChart.addListener('rollOverSlice', function (e) {
|
pieChart.addListener('rollOverSlice', function (e) {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.controller('DashboardLineChartCtrl', DashboardLineChartCtrl);
|
.controller('DashboardLineChartCtrl', DashboardLineChartCtrl);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function DashboardLineChartCtrl($scope, tplSkinManager, tplSkinChartWatcherHelper, layoutColors, layoutPaths) {
|
function DashboardLineChartCtrl(layoutColors, layoutPaths) {
|
||||||
var chartData = [
|
var chartData = [
|
||||||
{ date: new Date(2012, 11), value: 0, value0: 0 },
|
{ date: new Date(2012, 11), value: 0, value0: 0 },
|
||||||
{ date: new Date(2013, 0), value: 15000, value0: 19000},
|
{ date: new Date(2013, 0), value: 15000, value0: 19000},
|
||||||
|
@ -43,8 +43,6 @@
|
||||||
{ date: new Date(2015, 1), value: 49800, value0: 13000}
|
{ date: new Date(2015, 1), value: 49800, value0: 13000}
|
||||||
];
|
];
|
||||||
|
|
||||||
//var chartColorProfile = tplSkinManager.getChartColorProfile();
|
|
||||||
|
|
||||||
var chart = AmCharts.makeChart('amchart', {
|
var chart = AmCharts.makeChart('amchart', {
|
||||||
type: 'serial',
|
type: 'serial',
|
||||||
theme: 'blur',
|
theme: 'blur',
|
||||||
|
@ -114,8 +112,6 @@
|
||||||
pathToImages: layoutPaths.images.amChart
|
pathToImages: layoutPaths.images.amChart
|
||||||
});
|
});
|
||||||
|
|
||||||
//tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, chart);
|
|
||||||
|
|
||||||
function zoomChart() {
|
function zoomChart() {
|
||||||
chart.zoomToDates(new Date(2013, 3), new Date(2014, 0));
|
chart.zoomToDates(new Date(2013, 3), new Date(2014, 0));
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,14 +12,8 @@
|
||||||
.directive('baPanel', baPanel);
|
.directive('baPanel', baPanel);
|
||||||
|
|
||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
function baPanel(baPanel, $document, $window, tplSkinManager) {
|
function baPanel(baPanel) {
|
||||||
return angular.extend({}, baPanel, {
|
return angular.extend({}, baPanel, {
|
||||||
link: function($scope){
|
|
||||||
$scope.panelType = tplSkinManager.getActiveSkin().panelType;
|
|
||||||
$scope.$on('tplSkinChanged', function(){
|
|
||||||
$scope.panelType = tplSkinManager.getActiveSkin().panelType;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
template: function(el, attrs) {
|
template: function(el, attrs) {
|
||||||
var res = '<div class="panel {{panelType}} full-invisible ' + (attrs.baPanelClass || '') + '" zoom-in ba-panel-blur>';
|
var res = '<div class="panel {{panelType}} full-invisible ' + (attrs.baPanelClass || '') + '" zoom-in ba-panel-blur>';
|
||||||
res += baPanel.template(el, attrs);
|
res += baPanel.template(el, attrs);
|
||||||
|
@ -28,5 +22,4 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -1,71 +0,0 @@
|
||||||
/**
|
|
||||||
* @author v.lugovsky
|
|
||||||
* created on 18.11.2015
|
|
||||||
*/
|
|
||||||
(function() {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var SKIN_CLASS_PREFIX = 'badmin';
|
|
||||||
|
|
||||||
var ADMIN_STYLES = [
|
|
||||||
{
|
|
||||||
name: 'Transparent (beta)',
|
|
||||||
bodyClass: SKIN_CLASS_PREFIX + '-transparent',
|
|
||||||
panelType: "panel-blur",
|
|
||||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/02_transparent.jpg',
|
|
||||||
chartColorProfile: 'transparent'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Default',
|
|
||||||
bodyClass: '',
|
|
||||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/01_default.jpg',
|
|
||||||
panelType: "panel-white",
|
|
||||||
chartColorProfile: 'whitePanel'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Peachy',
|
|
||||||
bodyClass: SKIN_CLASS_PREFIX + '-peachy',
|
|
||||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/04_peachy.jpg',
|
|
||||||
panelType: "panel-white",
|
|
||||||
chartColorProfile: 'whitePanel'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Blue',
|
|
||||||
bodyClass: SKIN_CLASS_PREFIX + '-blue',
|
|
||||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/03_blue.jpg',
|
|
||||||
panelType: "panel-white",
|
|
||||||
chartColorProfile: 'whitePanel'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Material',
|
|
||||||
bodyClass: SKIN_CLASS_PREFIX + '-material',
|
|
||||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/05_material.jpg',
|
|
||||||
panelType: "panel-white",
|
|
||||||
chartColorProfile: 'whitePanel'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Transblue (beta)',
|
|
||||||
bodyClass: SKIN_CLASS_PREFIX + '-transblue',
|
|
||||||
panelType: "panel-blur",
|
|
||||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/06_transblue.jpg',
|
|
||||||
chartColorProfile: 'transparent'
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
var SKIN_CHART_COLORS = {
|
|
||||||
whitePanel: {
|
|
||||||
fontColors: undefined,
|
|
||||||
axisColors: '#7b7b7b'
|
|
||||||
},
|
|
||||||
transparent: {
|
|
||||||
fontColors: '#FFFFFF',
|
|
||||||
axisColors: '#FFFFFF'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
angular.module('BlurAdmin.tplSkin')
|
|
||||||
.constant('tplSkinClassPrefix', SKIN_CLASS_PREFIX)
|
|
||||||
.constant('tplSkinEnum', ADMIN_STYLES)
|
|
||||||
.constant('tplSkinChartColors', SKIN_CHART_COLORS);
|
|
||||||
|
|
||||||
})();
|
|
|
@ -1,14 +0,0 @@
|
||||||
/**
|
|
||||||
* @author v.lugovksy
|
|
||||||
* created on 16.12.2015
|
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* @author v.lugovsky
|
|
||||||
* created on 16.12.2015
|
|
||||||
*/
|
|
||||||
(function () {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
angular.module('BlurAdmin.tplSkin', []);
|
|
||||||
|
|
||||||
})();
|
|
|
@ -1,67 +0,0 @@
|
||||||
/**
|
|
||||||
* @author v.lugovsky
|
|
||||||
* created on 27.11.2015
|
|
||||||
*/
|
|
||||||
(function() {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
angular.module('BlurAdmin.tplSkin')
|
|
||||||
.service('tplSkinChartWatcherHelper', tplSkinChartWatcherHelper);
|
|
||||||
|
|
||||||
tplSkinChartWatcherHelper.$inject = ['tplSkinManager'];
|
|
||||||
function tplSkinChartWatcherHelper(tplSkinManager) {
|
|
||||||
|
|
||||||
this.watchAxisChartStyleChanges = function(scope, chart) {
|
|
||||||
_doUpdateStyles();
|
|
||||||
scope.$on('tplSkinChanged', _doUpdateStyles);
|
|
||||||
|
|
||||||
function _doUpdateStyles() {
|
|
||||||
var chartColorProfile = tplSkinManager.getChartColorProfile();
|
|
||||||
chart.color = chartColorProfile.fontColors;
|
|
||||||
chart.categoryAxis.color = chartColorProfile.fontColors;
|
|
||||||
chart.categoryAxis.axisColor = chartColorProfile.axisColors;
|
|
||||||
chart.valueAxes[0].color = chartColorProfile.fontColors;
|
|
||||||
chart.valueAxes[0].axisColor = chartColorProfile.axisColors;
|
|
||||||
chart.validateNow();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.watchChartColorChanges = function(scope, chart) {
|
|
||||||
_doUpdateStyles();
|
|
||||||
scope.$on('tplSkinChanged', _doUpdateStyles);
|
|
||||||
|
|
||||||
function _doUpdateStyles() {
|
|
||||||
var chartColorProfile = tplSkinManager.getChartColorProfile();
|
|
||||||
chart.color = chartColorProfile.fontColors;
|
|
||||||
chart.validateNow();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.watchDonutChanges = function(scope, chart) {
|
|
||||||
_doUpdateStyles();
|
|
||||||
scope.$on('tplSkinChanged', _doUpdateStyles);
|
|
||||||
|
|
||||||
function _doUpdateStyles() {
|
|
||||||
var chartColorProfile = tplSkinManager.getChartColorProfile();
|
|
||||||
chart.color = chartColorProfile.fontColors;
|
|
||||||
chart.legend.color = chartColorProfile.fontColors;
|
|
||||||
chart.labelTickColor = chartColorProfile.axisColors;
|
|
||||||
chart.validateNow();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.watchFunnelChanges = function(scope, chart) {
|
|
||||||
_doUpdateStyles();
|
|
||||||
scope.$on('tplSkinChanged', _doUpdateStyles);
|
|
||||||
|
|
||||||
function _doUpdateStyles() {
|
|
||||||
var chartColorProfile = tplSkinManager.getChartColorProfile();
|
|
||||||
chart.color = chartColorProfile.fontColors;
|
|
||||||
chart.labelTickColor = chartColorProfile.axisColors;
|
|
||||||
chart.validateNow();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
})();
|
|
|
@ -1,50 +0,0 @@
|
||||||
/**
|
|
||||||
* @author v.lugovsky
|
|
||||||
* created on 18.11.2015
|
|
||||||
*/
|
|
||||||
(function() {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
angular.module('BlurAdmin.tplSkin')
|
|
||||||
.service('tplSkinManager', tplSkinManager);
|
|
||||||
|
|
||||||
tplSkinManager.$inject = ['$rootScope', '$document', 'tplSkinClassPrefix', 'tplSkinChartColors', 'tplSkinEnum'];
|
|
||||||
function tplSkinManager($rootScope, $document, tplSkinClassPrefix, tplSkinChartColors, tplSkinEnum) {
|
|
||||||
|
|
||||||
var activeSkin = tplSkinEnum[0];
|
|
||||||
|
|
||||||
this.setActiveSkin = function(skin) {
|
|
||||||
activeSkin = skin;
|
|
||||||
if (activeSkin) {
|
|
||||||
_removeSkinBodyClassIfPresent();
|
|
||||||
_addSkinBodyClass(activeSkin);
|
|
||||||
$rootScope.$broadcast('tplSkinChanged');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
this.getActiveSkin = function(){
|
|
||||||
return activeSkin;
|
|
||||||
};
|
|
||||||
|
|
||||||
this.getChartColorProfile = function() {
|
|
||||||
return tplSkinChartColors[activeSkin.chartColorProfile];
|
|
||||||
};
|
|
||||||
|
|
||||||
function _removeSkinBodyClassIfPresent() {
|
|
||||||
var body = $document[0].body;
|
|
||||||
var $body = angular.element(body);
|
|
||||||
body.className.split(/\s+/).forEach(function(className) {
|
|
||||||
if (className.indexOf(tplSkinClassPrefix) === 0) {
|
|
||||||
$body.removeClass(className);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function _addSkinBodyClass(skin) {
|
|
||||||
angular.element($document[0].body).addClass(skin.bodyClass);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.setActiveSkin(activeSkin);
|
|
||||||
}
|
|
||||||
|
|
||||||
})();
|
|
|
@ -1,25 +0,0 @@
|
||||||
/**
|
|
||||||
* @author v.lugovsky
|
|
||||||
* created on 18.11.2015
|
|
||||||
*/
|
|
||||||
(function() {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
angular.module('BlurAdmin.tplSkin')
|
|
||||||
.directive('tplSkinPanel', tplSkinPanel);
|
|
||||||
|
|
||||||
tplSkinPanel.$inject = ['tplSkinEnum', 'tplSkinManager'];
|
|
||||||
function tplSkinPanel(tplSkinEnum, tplSkinManager) {
|
|
||||||
return {
|
|
||||||
templateUrl: 'app/tplSkin/tplSkinPanel.html',
|
|
||||||
link: function(scope) {
|
|
||||||
scope.skins = tplSkinEnum;
|
|
||||||
|
|
||||||
scope.setActiveSkin = function(option) {
|
|
||||||
tplSkinManager.setActiveSkin(option);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
})();
|
|
|
@ -1,10 +0,0 @@
|
||||||
<div class="tpl-skin-panel">
|
|
||||||
<div class="tpl-skin-option" ng-repeat="skin in skins" ng-click="setActiveSkin(skin)">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-6">
|
|
||||||
<img class="skin-thumbnail" ng-src="{{ skin.thumbnailUrl }}" />
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 text-col" ng-bind="skin.name"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -47,6 +47,16 @@
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ct-area {
|
||||||
|
fill-opacity: .5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ct-label{
|
||||||
|
color: $default-text;
|
||||||
|
opacity: 0.9;
|
||||||
|
fill: rgba(255,255,255,.9);
|
||||||
|
}
|
||||||
|
|
||||||
.ct-chart .ct-label{
|
.ct-chart .ct-label{
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
@ -102,16 +112,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body.badmin-transparent{
|
|
||||||
.ct-area {
|
|
||||||
fill-opacity: .5;
|
|
||||||
}
|
|
||||||
.ct-label{
|
|
||||||
color: $default-text;
|
|
||||||
opacity: 0.9;
|
|
||||||
fill: rgba(255,255,255,.9);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 992px) {
|
@media screen and (min-width: 992px) {
|
||||||
.row.morris-up {
|
.row.morris-up {
|
||||||
> div {
|
> div {
|
||||||
|
|
|
@ -10,21 +10,28 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mail-navigation-container {
|
.mail-navigation-container {
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
height: 550px;
|
||||||
|
transition: width 0.5s;
|
||||||
color: $default-text;
|
color: $default-text;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
.mail-navigation {
|
.mail-navigation {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-weight: $font-light;
|
font-weight: $font-light;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 10px 10px 10px 30px;
|
padding: 10px 10px 10px 30px;
|
||||||
|
margin-left: 0;
|
||||||
transition: 0.8s padding ease;
|
transition: 0.8s padding ease;
|
||||||
.new-mails {
|
.new-mails {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 150px;
|
left: 150px;
|
||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
background-color: $primary-light;
|
background-color: transparent;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
@ -32,26 +39,29 @@
|
||||||
transition: 0.8s left ease;
|
transition: 0.8s left ease;
|
||||||
}
|
}
|
||||||
&.active {
|
&.active {
|
||||||
background-color: $primary-light;
|
background: rgba(black, 0.2);
|
||||||
|
color: white;
|
||||||
|
transition: background-color .5s ease;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $primary-light;
|
background-color: rgba(black, 0.3);
|
||||||
}
|
}
|
||||||
.new-mails {
|
.new-mails {
|
||||||
color: $primary-light;
|
background-color: transparent;
|
||||||
background-color: $default;
|
color: $default;
|
||||||
}
|
}
|
||||||
transition: background-color .2s ease, 0.8s padding ease;
|
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $border-light;
|
background-color: rgba(black, 0.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.compose-button {
|
.compose-button {
|
||||||
margin: 7px 0;
|
margin: 7px 0;
|
||||||
|
text-align: center;
|
||||||
.btn {
|
.btn {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
font-weight: $font-light;
|
font-weight: $font-light;
|
||||||
background-color: $dribble-color;
|
border: $border 2px solid;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,12 +134,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-container, .side-message-navigation, .mail-navigation-container {
|
.message-container, .side-message-navigation {
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 550px;
|
height: 550px;
|
||||||
transition: width 0.5s;
|
transition: width 0.5s;
|
||||||
|
width: calc(100% - 200px);
|
||||||
|
border-bottom-right-radius: 5px;
|
||||||
|
border-top-right-radius: 5px;
|
||||||
|
border-left: 1px solid rgba(0, 0, 0, 0.12);
|
||||||
|
box-shadow: -1px 0 0 0 rgba(255, 255, 255, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.side-message-navigation {
|
.side-message-navigation {
|
||||||
|
@ -755,40 +770,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body.badmin-transparent {
|
body.badmin-transparent {
|
||||||
.mail-navigation-container {
|
|
||||||
overflow: hidden;
|
|
||||||
width: 200px;
|
|
||||||
padding: 0;
|
|
||||||
.mail-navigation {
|
|
||||||
margin-left: 0;
|
|
||||||
.new-mails {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
&.active {
|
|
||||||
background: rgba(black, 0.2);
|
|
||||||
color: white;
|
|
||||||
transition: background-color .5s ease;
|
|
||||||
.new-mails {
|
|
||||||
background-color: transparent;
|
|
||||||
color: $default;
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
background-color: rgba(black, 0.3);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
background-color: rgba(black, 0.1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container, .side-message-navigation{
|
|
||||||
width: calc(100% - 200px);
|
|
||||||
border-bottom-right-radius: 5px;
|
|
||||||
border-top-right-radius: 5px;
|
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.12);
|
|
||||||
box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.12);
|
|
||||||
}
|
|
||||||
|
|
||||||
.side-message-navigation {
|
.side-message-navigation {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -203,7 +203,6 @@ input.search-input {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.badmin-transparent {
|
|
||||||
.table {
|
.table {
|
||||||
& > thead {
|
& > thead {
|
||||||
& > tr {
|
& > tr {
|
||||||
|
@ -259,7 +258,6 @@ body.badmin-transparent {
|
||||||
color: $default-text;
|
color: $default-text;
|
||||||
border-bottom: dashed 1px $border;
|
border-bottom: dashed 1px $border;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
th {
|
||||||
font-weight: $font-normal;
|
font-weight: $font-normal;
|
||||||
|
|
|
@ -720,7 +720,6 @@ a.fc-more {
|
||||||
.fc-day-grid-container.fc-scroller {
|
.fc-day-grid-container.fc-scroller {
|
||||||
height: auto!important;
|
height: auto!important;
|
||||||
}
|
}
|
||||||
body.badmin-transparent{
|
|
||||||
|
|
||||||
.calendar-panel.panel .panel-body{
|
.calendar-panel.panel .panel-body{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -767,4 +766,3 @@ body.badmin-transparent{
|
||||||
color: $default-text;
|
color: $default-text;
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
}
|
|
|
@ -21,7 +21,8 @@
|
||||||
.popular-app-cost {
|
.popular-app-cost {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 20px 22px;
|
padding: 20px 22px;
|
||||||
border-bottom: 1px solid $border;
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
||||||
|
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.12);
|
||||||
}
|
}
|
||||||
.popular-app-info {
|
.popular-app-info {
|
||||||
padding: 20px 22px;
|
padding: 20px 22px;
|
||||||
|
@ -38,14 +39,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body.badmin-transparent {
|
|
||||||
.popular-app-img {
|
|
||||||
border-top-right-radius: 5px;
|
|
||||||
border-top-left-radius: 5px;
|
|
||||||
}
|
|
||||||
.popular-app-cost {
|
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
||||||
box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
body.badmin-blue {
|
|
||||||
background-image: url(../../../assets/img/blue-bg.jpg);
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
body.badmin-peachy {
|
|
||||||
background-image: url(../../../assets/img/peachy-bg.jpg);
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
body.badmin-material {
|
|
||||||
background: #039be6;
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
body.badmin-transblue {
|
|
||||||
background-image: url(../../../assets/img/transblue-bg.jpg);
|
|
||||||
|
|
||||||
@include overrideColors(#fff);
|
|
||||||
@include overridePanelBg(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9));
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
body.badmin-grey {
|
|
||||||
background: #bdbdbd;
|
|
||||||
}
|
|
Loading…
Reference in New Issue