mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 09:25:09 +00:00
Add responsiveness (First draft)
This commit is contained in:
committed by
Francis Lachapelle
parent
516e5fd303
commit
48b74b0f6b
@@ -91,9 +91,9 @@
|
||||
'hue-3': 'A700'
|
||||
})
|
||||
.accentPalette('sogo-green', {
|
||||
'default': '300',
|
||||
'default': '500',
|
||||
'hue-1': '200',
|
||||
'hue-2': '500',
|
||||
'hue-2': '300',
|
||||
'hue-3': 'A700'
|
||||
})
|
||||
.backgroundPalette('sogo-paper', {
|
||||
@@ -146,6 +146,12 @@
|
||||
templateUrl: 'bottomSheetTemplate.html'
|
||||
});
|
||||
};
|
||||
$scope.toggleDetailView = function() {
|
||||
$timeout(function() {
|
||||
var view = angular.element(document.getElementById('detailView'));
|
||||
view.toggleClass('sg-open');
|
||||
})
|
||||
};
|
||||
$scope.$watch(function() {
|
||||
return $mdMedia(sgConstant['gt-md']);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user