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