Firefox fixes

This commit is contained in:
Igor Zhukov 2014-05-26 19:59:39 +04:00
parent bc0660a464
commit 4a1c2018bd
2 changed files with 15 additions and 4 deletions

View File

@ -2535,7 +2535,8 @@ img.chat_modal_participant_photo {
.tg_range_wrap { .tg_range_wrap {
line-height: 18px; line-height: 18px;
} }
input.tg_range { input.tg_range,
input.tg_range::-moz-range-track {
cursor: pointer; cursor: pointer;
outline: none !important; outline: none !important;
-webkit-appearance: none; -webkit-appearance: none;
@ -2543,15 +2544,14 @@ input.tg_range {
max-width: 362px; max-width: 362px;
display: inline-block; display: inline-block;
background: #c7c7c7; background: #c7c7c7;
margin: 0;
height: 3px; height: 3px;
line-height: 18px; line-height: 18px;
vertical-align: top; vertical-align: top;
margin: 8px 0; margin: 8px 0;
border-radius: 2px; border-radius: 2px;
} }
input.tg_range::-webkit-slider-thumb { input.tg_range::-webkit-slider-thumb {
border: 0;
-webkit-appearance: none; -webkit-appearance: none;
background: #568cb5; background: #568cb5;
width: 12px; width: 12px;
@ -2560,6 +2560,15 @@ input.tg_range::-webkit-slider-thumb {
overflow: hidden; overflow: hidden;
} }
input.tg_range::-moz-range-thumb {
border: 0;
background: #568cb5;
width: 12px;
height: 12px;
border-radius: 6px;
overflow: hidden;
}
.icon-volume-outer { .icon-volume-outer {
display: inline-block; display: inline-block;
background: #c7c7c7; background: #c7c7c7;

View File

@ -1491,8 +1491,10 @@ angular.module('myApp.controllers', [])
if (settings[1]) { if (settings[1]) {
$scope.notify.volume = 0; $scope.notify.volume = 0;
} else { } else if (settings[3] !== false) {
$scope.notify.volume = settings[3] > 0 && Math.ceil(settings[3] * 10) || 0; $scope.notify.volume = settings[3] > 0 && Math.ceil(settings[3] * 10) || 0;
} else {
$scope.notify.volume = 5;
} }
$scope.notify.volumeOf4 = function () { $scope.notify.volumeOf4 = function () {