diff options
author | gorhill <rhill@raymondhill.net> | 2015-01-06 11:44:06 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-01-06 11:44:06 -0500 |
commit | 881e8111d87b45b3dc9f01a7f59bad20b25a313a (patch) | |
tree | c28998d81f8db3586bbb9645327aec2df689b3cf /src/css | |
parent | 3a5c2cfa57140b5fc01034bae5063b2f7c2766e8 (diff) | |
download | uBlock-881e8111d87b45b3dc9f01a7f59bad20b25a313a.zip uBlock-881e8111d87b45b3dc9f01a7f59bad20b25a313a.tar.gz uBlock-881e8111d87b45b3dc9f01a7f59bad20b25a313a.tar.bz2 |
"advanced user" flag + rearranging a bit dashboard
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/common.css | 4 | ||||
-rw-r--r-- | src/css/popup.css | 45 |
2 files changed, 5 insertions, 44 deletions
diff --git a/src/css/common.css b/src/css/common.css index 0fd5e80..93fcd65 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -18,14 +18,14 @@ cursor: pointer; position: relative; } -[data-tip]:hover:after { +body:not(.advancedUser) [data-tip]:hover:after { background-color: #ffffee; border: 1px solid gray; border-radius: 3px; box-shadow: 1px 1px 3px gray; color: black; content: attr(data-tip); - font: 11px sans-serif; + font: 12px sans-serif; left: 0; line-height: 130%; min-width: 55%; diff --git a/src/css/popup.css b/src/css/popup.css index cb0ac5e..5d67f49 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -62,6 +62,7 @@ body[dir="rtl"] #panes > div:nth-of-type(2) { } #panes > div:nth-of-type(1) { + min-width: 150px; padding: 4px 5px 0 5px; } p { @@ -115,43 +116,17 @@ p { color: #444; } -#dfToggler::before { +body.advancedUser #dfToggler::before { color: gray; content: '+\202F'; cursor: pointer; font-size: 14px; line-height: 14px; } -#panes.dfEnabled #dfToggler::before { +body.advancedUser #panes.dfEnabled #dfToggler::before { content: '\2212\202F'; } -.dynamicFiltering div > .tip { - background-color: #fffff4; - border: 1px solid #888; - border-radius: 5px; - bottom: 20%; - box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.8); - display: none; - font-size: small; - left: 8%; - padding: 0.25em; - position: fixed; - right: 8%; - text-align: center; - } -.dynamicFiltering div:not(.blocked):hover > .tip:nth-of-type(1) { - display: block; - } -.dynamicFiltering div.blocked:hover > .tip:nth-of-type(2) { - display: block; - } -.dynamicFiltering div > .tip code { - background-color: #f8f8f8; - font: normal monospace; - padding: 1px 0; - } - #dynamicFilteringContainer { border: 0; font-size: 12px; @@ -269,17 +244,3 @@ p { #dynamicFilteringContainer span.bRule #actionSelector > span:nth-of-type(3) { visibility: hidden; } -#hotspotTip { - background-color: #ffe; - border: 1px dotted #ddb; - border-radius: 5px; - height: 50vh; - opacity: 1; - padding: 4px; - position: fixed; - right: 10px; - text-align: center; - top: 25vh; - width: 20vw; - z-index: 100; - }
\ No newline at end of file |