This commit is contained in:
Raymond Hill 2014-12-06 15:28:19 -02:00
parent ec4077665c
commit dfe8eab846
1 changed files with 9 additions and 6 deletions

View File

@ -679,6 +679,7 @@ var startPicker = function(details) {
var pickerStyle = document.createElement('style');
pickerStyle.setAttribute('scoped', '');
pickerStyle.style.setProperty('display', 'none', 'important');
pickerStyle.textContent = [
'#µBlock, #µBlock * {',
'background: transparent;',
@ -695,11 +696,13 @@ var startPicker = function(details) {
'margin: 0;',
'max-width: none;',
'min-height: 0;',
'min-width: 0;',
'outline: 0;',
'overflow: visible;',
'padding: 0;',
'text-transform: none;',
'vertical-align: baseline;',
'width: auto;',
'z-index: auto;',
'}',
'#µBlock {',
@ -707,11 +710,11 @@ var startPicker = function(details) {
'top: 0;',
'left: 0;',
'}',
'#µBlock ul, #µBlock li {',
'#µBlock ul, #µBlock li, #µBlock div {',
'display: block;',
'}',
'#µBlock button {',
'border: 1px solid #aaa;',
'border: 1px solid #aaa !important;',
'padding: 6px 8px 4px 8px;',
'box-sizing: border-box;',
'box-shadow: none;',
@ -755,14 +758,14 @@ var startPicker = function(details) {
'fill: rgba(255,0,0,0.25);',
'}',
'#µBlock > div {',
'padding: 4px;',
'background-color: rgba(255,255,255,0.9);',
'bottom: 4px;',
'display: none;',
'font: 12px sans-serif;',
'padding: 4px;',
'position: fixed;',
'right: 4px;',
'bottom: 4px;',
'width: 30em;',
'font: 12px sans-serif;',
'background-color: rgba(255,255,255,0.9);',
'z-index: 5999999999;',
'}',
'#µBlock.paused > div {',