diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/cloud-ui.css | 104 | ||||
-rw-r--r-- | css/common.css | 118 | ||||
-rw-r--r-- | css/dashboard-common.css | 83 | ||||
-rw-r--r-- | css/dashboard.css | 67 | ||||
-rw-r--r-- | css/fonts/Roboto_Condensed/LICENSE.txt | 202 | ||||
-rw-r--r-- | css/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf | bin | 0 -> 141796 bytes | |||
-rw-r--r-- | css/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf | bin | 0 -> 141384 bytes | |||
-rw-r--r-- | css/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf | bin | 0 -> 140396 bytes | |||
-rwxr-xr-x | css/fonts/fontawesome-webfont.ttf | bin | 0 -> 112160 bytes | |||
-rw-r--r-- | css/hosts-files.css | 142 | ||||
-rw-r--r-- | css/legacy-toolbar-button.css | 46 | ||||
-rw-r--r-- | css/logger-ui.css | 233 | ||||
-rw-r--r-- | css/popup.css | 691 | ||||
-rw-r--r-- | css/raw-settings.css | 18 | ||||
-rw-r--r-- | css/user-rules.css | 162 |
15 files changed, 1866 insertions, 0 deletions
diff --git a/css/cloud-ui.css b/css/cloud-ui.css new file mode 100644 index 0000000..609b3cd --- /dev/null +++ b/css/cloud-ui.css @@ -0,0 +1,104 @@ +#cloudWidget { + background: url("../img/cloud.png") hsl(216, 100%, 93%); + border-radius: 3px; + margin: 0.5em 0; + padding: 1em 1em 0 1em; + position: relative; + } +#cloudWidget.hide { + display: none; + } +#cloudWidget > button { + display: inline-block; + font-family: FontAwesome; + font-size: 160%; + font-style: normal; + font-weight: normal; + line-height: 1; + padding: 0.2em 0.25em 0.1em 0.25em; + position: relative; + vertical-align: baseline; + } +#cloudWidget > button[disabled] { + visibility: hidden; + } +#cloudWidget > button.error { + color: red; + } +#cloudPush:after { + content: '\f0ee'; + } +#cloudPull:before, +#cloudPullAndMerge:before { + content: '\f0ed'; +} +#cloudPullAndMerge { + margin: 0 0.25em; + } +#cloudPullAndMerge:after { + content: '\f067'; + font-size: 50%; + position: absolute; + right: 0; + top: 10%; + } +#cloudWidget > span { + color: gray; + display: inline-block; + font-size: 90%; + margin: 0 1em; + padding: 0; + vertical-align: bottom; + white-space: pre; + } +#cloudError { + color: red; + margin: 0; + padding: 0.5em 0; + } +#cloudError > span { + font-size: x-small; + } +#cloudWidget > #cloudCog { + cursor: pointer; + display: inline-block; + font-size: 110%; + margin: 0; + opacity: 0.5; + padding: 4px; + position: absolute; + top: 0; + } +body[dir="ltr"] #cloudWidget > #cloudCog { + right: 0; + } +body[dir="rtl"] #cloudWidget > #cloudCog { + left: 0; + } +#cloudWidget > #cloudCog:hover { + opacity: 1; + } +#cloudWidget > #cloudOptions { + align-items: center; + -webkit-align-items: center; + background-color: rgba(0, 0, 0, 0.75); + bottom: 0; + display: none; + justify-content: center; + -webkit-justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 2000; + } +#cloudWidget > #cloudOptions.show { + display: flex; + display: -webkit-flex; + } +#cloudWidget > #cloudOptions > div { + background-color: white; + border-radius: 3px; + padding: 1em; + text-align: center; + } diff --git a/css/common.css b/css/common.css new file mode 100644 index 0000000..225aa30 --- /dev/null +++ b/css/common.css @@ -0,0 +1,118 @@ +@font-face { + font-family: 'httpsb'; + font-style: normal; + font-weight: normal; + src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf) format('truetype'); +} +@font-face { + font-family: 'httpsb'; + font-style: normal; + font-weight: bold; + src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf) format('truetype'); +} +@font-face { + font-family: 'httpsb'; + font-style: normal; + font-weight: 100; + src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Light.ttf) format('truetype'); +} +@font-face { + font-family: 'FontAwesome'; + src: url('fonts/fontawesome-webfont.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} +.fa { + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + vertical-align: baseline; + display: inline-block; + } + +body[dir="ltr"] { + direction: ltr; + } +body[dir="rtl"] { + direction: rtl; + } + +/* http://stackoverflow.com/questions/2011142/how-to-change-the-style-of-title-attribute-inside-the-anchor-tag?answertab=votes */ +*[data-i18n-tip] { + position: relative; + cursor: pointer; + } +*[data-i18n-tip]:after { + content: ""; + opacity: 0; + } +*[data-i18n-tip]:hover:after { + background-color: #fffffa; + border: 1px solid gray; + border-radius: 3px; + box-shadow: 1px 1px 3px gray; + color: black; + content: attr(data-tip); + font: 12px sans-serif; + line-height: 140%; + min-width: 25vw; + opacity: 1; + padding: 4px 6px; + pointer-events: none; + position: absolute; + text-align: start; + top: 110%; + -webkit-transition: opacity 0.15s 0.5s; + transition: opacity 0.15s 0.5s; + white-space: pre-line; + z-index: 20; + } +body[dir="ltr"] .tip-anchor-left[data-i18n-tip]:hover:after, +body[dir="rtl"] .tip-anchor-right[data-i18n-tip]:hover:after { + left: -3vw; + } +body[dir="ltr"] .tip-anchor-right[data-i18n-tip]:hover:after, +body[dir="rtl"] .tip-anchor-left[data-i18n-tip]:hover:after { + right: -3vw; + } +button.custom { + padding: 0.6em 1em; + border: 1px solid transparent; + border-color: #ccc #ccc #bbb #bbb; + border-radius: 3px; + background-color: hsl(216, 0%, 75%); + background-image: linear-gradient(#f2f2f2, #dddddd); + background-repeat: repeat-x; + color: #000; + opacity: 0.8; + } +button.custom:hover { + opacity: 1.0; + } +button.custom.important { + padding: 0.6em 1em; + border: 1px solid transparent; + border-color: #ffcc7f #ffcc7f hsl(36, 100%, 73%); + border-radius: 3px; + background-color: hsl(36, 100%, 75%); + background-image: linear-gradient(#ffdca8, #ffcc7f); + background-repeat: repeat-x; + color: #222; + opacity: 0.8; + } +button.custom.important:hover { + opacity: 1.0; + } +button.custom.disabled, +button.custom[disabled] { + border-color: #ddd #ddd hsl(36, 0%, 85%); + background-color: hsl(36, 0%, 72%); + background-image: linear-gradient(#f2f2f2, #dddddd); + color: #666; + opacity: 0.6; + pointer-events: none; + } +code { + font-size: 90%; + } diff --git a/css/dashboard-common.css b/css/dashboard-common.css new file mode 100644 index 0000000..59e24e4 --- /dev/null +++ b/css/dashboard-common.css @@ -0,0 +1,83 @@ +body { + background-color: #fff; + color: #000; + margin: 0; + padding: 0 0.5em 0 0.5em; + font: 15px/1.4 sans-serif; + } +body > *:first-child { + margin-top: 0; + } +h2, h3 { + margin: 1em 0; + font-family: sans-serif; + } +h2 { + font-size: 18px; + } +h2:nth-of-type(1) { + margin-top: 0; + } +h3 { + font-size: 16px; + } +h2 + * { + padding: 0; + } +html.ltr h2 + * { + margin: 0 0 0 1em; + } +html.rtl h2 + * { + margin: 0 1em 0 0; + } +a { + text-decoration: none; + } +button { + padding: 0.3em 0.5em; + } +input[disabled] + label { + color: gray; + } +.para { + width: 40em; + } + +.whatisthis { + margin: 0 0 0 8px; + border: 0; + font-family: FontAwesome; + padding: 0 0 4px 0; + cursor: pointer; + opacity: 0.4; + } +.whatisthis:before { + content: '\f059'; + } +.whatisthis:hover { + opacity: 1.0; + } +.whatisthis-expandable { + background-color: #F8F8F8; + border: 1px dotted #aaa; + display: none; + font-size: smaller; + margin: 0.5em 0 1em 1.25em; + padding: 0.5em; + white-space: pre-line; + } +.whatisthis-expandable > p { + margin-top: 1em; + margin-bottom: 0; + } +.whatisthis-expandable > p:first-child { + margin-top: 0; + } +.whatisthis-expandable.whatisthis-expanded { + display: block; + } +.warn { + margin: 0; + padding: 5px; + background-color: #FEDAE0; + } diff --git a/css/dashboard.css b/css/dashboard.css new file mode 100644 index 0000000..0b728ca --- /dev/null +++ b/css/dashboard.css @@ -0,0 +1,67 @@ +body { + margin: 0; + border: 0; + padding: 0; + font: 15px sans-serif; + position: relative; + width: 100vw; + height: 100vh; + overflow: hidden; + } +#dashboard-nav { + margin: 0; + border: 0; + padding: 0; + position: absolute; + top: 0; + width: 100vw; + height: 50px; + z-index: 10; + } +#dashboard-nav-widgets { + margin: 0; + border-bottom: 1px solid #ccc; + padding: 4px 0 0 0; + white-space: nowrap; + background-color: white; + } +#dashboard-nav-widgets span { + padding: 0 0.5em; + font-size: larger; + } +.tabButton { + margin: 0; + border: 1px solid #ccc; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + padding: 4px; + display: inline-block; + position: relative; + top: 1px; + color: black; + background-color: #eee; + font: inherit; + cursor: pointer; + text-decoration: none; + } +.tabButton:focus { + outline: 0; + } +.tabButton:active,.tabButton:visited { + color: inherited; + } +.tabButton.selected { + border-bottom: 1px solid white; + background-color: white; + } +iframe { + margin: 0; + border: 0; + padding: 0; + background-color: transparent; + overflow: auto; + position: absolute; + top: 50px; + width: 100%; + height: calc(100% - 50px); + } diff --git a/css/fonts/Roboto_Condensed/LICENSE.txt b/css/fonts/Roboto_Condensed/LICENSE.txt new file mode 100644 index 0000000..75b5248 --- /dev/null +++ b/css/fonts/Roboto_Condensed/LICENSE.txt @@ -0,0 +1,202 @@ +
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/css/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf b/css/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf Binary files differnew file mode 100644 index 0000000..48dd635 --- /dev/null +++ b/css/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf diff --git a/css/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf b/css/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf Binary files differnew file mode 100644 index 0000000..a6e368d --- /dev/null +++ b/css/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf diff --git a/css/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf b/css/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf Binary files differnew file mode 100644 index 0000000..65bf32a --- /dev/null +++ b/css/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf diff --git a/css/fonts/fontawesome-webfont.ttf b/css/fonts/fontawesome-webfont.ttf Binary files differnew file mode 100755 index 0000000..96a3639 --- /dev/null +++ b/css/fonts/fontawesome-webfont.ttf diff --git a/css/hosts-files.css b/css/hosts-files.css new file mode 100644 index 0000000..656535a --- /dev/null +++ b/css/hosts-files.css @@ -0,0 +1,142 @@ +@keyframes spin { + 0% { transform: rotate(0deg); -webkit-transform: rotate(0deg); } + 12.5% { transform: rotate(45deg); -webkit-transform: rotate(45deg); } + 25% { transform: rotate(90deg); -webkit-transform: rotate(90deg); } + 37.5% { transform: rotate(135deg); -webkit-transform: rotate(135deg); } + 50% { transform: rotate(180deg); -webkit-transform: rotate(180deg); } + 67.5% { transform: rotate(225deg); -webkit-transform: rotate(225deg); } + 75% { transform: rotate(270deg); -webkit-transform: rotate(270deg); } + 87.5% { transform: rotate(315deg); -webkit-transform: rotate(315deg); } + } +ul { + padding: 0; + list-style-type: none; + } +ul#options { + margin-top: 0; + } +ul#options li { + margin-bottom: 0.5em; + } +ul#lists { + margin: 0.5em 0 0 0; + padding: 0; + } +li.listEntry { + margin: 0 auto 0 auto; + padding: 0.2em 0; + } +body[dir="ltr"] li.listEntry { + margin-left: 1em; + margin-right: 0em; + } +body[dir="rtl"] li.listEntry { + margin-left: 0em; + margin-right: 1em; + } +li.listEntry > * { + margin-right: 0.5em; + text-indent: 0; + unicode-bidi: embed; + } +li.listEntry > a:nth-of-type(2) { + font-size: 13px; + opacity: 0.5; + } +li.listEntry.toRemove > input[type="checkbox"] { + visibility: hidden; + } +li.listEntry.toRemove > a.content { + text-decoration: line-through; + } +li.listEntry > .fa { + color: inherit; + display: none; + font-size: 110%; + opacity: 0.5; + vertical-align: baseline; + } +li.listEntry > a.fa:hover { + opacity: 1; + } +li.listEntry.support > a.support { + display: inline-block; + } +li.listEntry > a.remove, +li.listEntry > a.remove:visited { + color: darkred; + } +li.listEntry.external > a.remove { + display: inline-block; + } +li.listEntry.mustread > a.mustread { + display: inline-block; + } +li.listEntry.mustread > a.mustread:hover { + color: mediumblue; + } +li.listEntry > .counts { + display: none; + font-size: smaller; +} +li.listEntry > input[type="checkbox"]:checked ~ .counts { + display: inline; +} +li.listEntry span.status { + color: #444; + cursor: default; + display: none; +} +li.listEntry span.status:hover { + opacity: 1; + } +li.listEntry span.unsecure { + color: darkred; + } +li.listEntry.unsecure > input[type="checkbox"]:checked ~ span.unsecure { + display: inline-block; + } +li.listEntry span.failed { + color: darkred; + } +li.listEntry.failed span.failed { + display: inline-block; + } +li.listEntry span.cache { + cursor: pointer; + } +li.listEntry.cached:not(.obsolete) > input[type="checkbox"]:checked ~ span.cache { + display: inline-block; + } +li.listEntry span.obsolete { + color: hsl(36, 100%, 40%); + } +body:not(.updating) li.listEntry.obsolete > input[type="checkbox"]:checked ~ span.obsolete { + display: inline-block; + } +li.listEntry span.updating { + transform-origin: 50% 46%; + } +body.updating li.listEntry.obsolete > input[type="checkbox"]:checked ~ span.updating { + animation: spin 1s step-start infinite; + display: inline-block; + } +.dim { + opacity: 0.5; + } +#externalLists { + margin: 2em auto 0 auto; + } +body[dir="ltr"] #externalListsDiv { + margin-left: 1em; + } +body[dir="rtl"] #externalListsDiv { + margin-right: 1em; + } +#externalHostsFiles { + box-sizing: border-box; + font-size: smaller; + width: 100%; + height: 12em; + white-space: pre; + } diff --git a/css/legacy-toolbar-button.css b/css/legacy-toolbar-button.css new file mode 100644 index 0000000..a6408ee --- /dev/null +++ b/css/legacy-toolbar-button.css @@ -0,0 +1,46 @@ +#umatrix-legacy-button { + list-style-image: url('../img/browsericons/icon19-19.png'); +} +#umatrix-legacy-button.off { + list-style-image: url('../img/browsericons/icon19-off.png'); +} + +toolbar[iconsize="small"] #umatrix-legacy-button { + list-style-image: url('../img/browsericons/icon19-19.png'); +} +toolbar[iconsize="small"] #umatrix-legacy-button.off { + list-style-image: url('../img/browsericons/icon19-off.png'); +} +#umatrix-legacy-button[badge]::before { + background: #000; + color: #fff; + content: attr(badge); + font: bold 10px sans-serif; + margin-top: -2px; + padding: 0 2px; + position: fixed; +} +/* This hack required because if the before content changes it de-pops the + popup (without firing any events). So just hide it instead. Note, can't + actually *hide* it, or the same thing happens. +**/ +#umatrix-legacy-button[badge=""]::before { + padding: 0; +} + +/* Override off state when in palette */ +toolbarpaletteitem #umatrix-legacy-button.off { + list-style-image: url('../img/browsericons/icon19-12.png'); +} + +/* Override badge when in palette */ +toolbarpaletteitem #umatrix-legacy-button[badge]::before { + content: none; +} + +/* Prevent pale moon from showing the arrow underneath the button */ +/* https://github.com/chrisaljoudi/uBlock/issues/1449#issuecomment-112112761 */ +#umatrix-legacy-button .toolbarbutton-menu-dropmarker { + display: none; + -moz-box-orient: horizontal; +} diff --git a/css/logger-ui.css b/css/logger-ui.css new file mode 100644 index 0000000..120fc73 --- /dev/null +++ b/css/logger-ui.css @@ -0,0 +1,233 @@ +body { + background-color: white; + border: 0; + box-sizing: border-box; + -moz-box-sizing: border-box; + color: black; + margin: 0; + overflow-x: hidden; + padding: 0; + width: 100%; + } +#toolbar { + background-color: white; + border: 0; + border-bottom: 1px solid #ccc; + box-sizing: border-box; + -moz-box-sizing: border-box; + left: 0; + margin: 0; + padding: 0.5em 1em; + position: fixed; + top: 0; + width: 100%; + z-index: 10; + } +#toolbar .button { + background-color: white; + border: none; + box-sizing: border-box; + -moz-box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-size: 150%; + margin: 0; + padding: 8px; + } +#toolbar .button.disabled { + opacity: 0.2; + pointer-events: none; + } +#toolbar .button:hover { + background-color: #eee; + } +#toolbar > div { + white-space: nowrap; + } +#toolbar > div:first-of-type { + font-size: 120%; + } +#toolbar > div > * { + vertical-align: middle; + } +#pageSelector { + width: 28em; + padding: 0.2em 0; + } +body #compactViewToggler.button:before { + content: '\f102'; + } +body.compactView #compactViewToggler.button:before { + content: '\f103'; + } +#filterButton { + opacity: 0.25; + } +body.f #filterButton { + opacity: 1; + } +#filterInput.bad { + background-color: #fee; + } +#maxEntries { + margin: 0 2em; + } +input:focus { + background-color: #ffe; + } +#content { + font-family: "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + font-size: 13px; + width: 100%; + } + +#content table { + border: 0; + border-collapse: collapse; + direction: ltr; + table-layout: fixed; + width: 100%; + } +#content table > colgroup > col:nth-of-type(1) { + width: 4.6em; + } +#content table > colgroup > col:nth-of-type(2) { + width: 2.2em; + } +#content table > colgroup > col:nth-of-type(3) { + width: 2.2em; + } +#content table > colgroup > col:nth-of-type(4) { + width: 5.4em; + } +#content table > colgroup > col:nth-of-type(5) { + width: calc(100% - 14.4em); + } +#content table tr { + background-color: #fafafa; + } +body.f table tr.f { + display: none; + } +#content table tr:nth-of-type(2n+1) { + background-color: #eee; + } + +#content table tr.cat_info { + color: #00f; + } +#content table tr.blocked { + color: #f00; + } +#content table tr.doc { + background-color: #666; + color: white; + text-align: center; + } + +body #content td { + border: 1px solid #ccc; + min-width: 0.5em; + padding: 3px; + vertical-align: top; + white-space: normal; + word-break: break-all; + word-wrap: break-word; + } +#content table tr td:first-of-type { + border-left: none; + } +#content table tr td:last-of-type { + border-right: none; + } +body.compactView #content tr:not(.vExpanded) td { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + +#content table tr td:nth-of-type(1) { + cursor: default; + text-align: right; + white-space: nowrap; + } +#content table tr td:nth-of-type(2) { + text-align: center; + white-space: nowrap; + } +#content table tr.tab_bts > td:nth-of-type(2):before { + content: '\f070'; + font: 1em FontAwesome; + } +#content table tr.tab:not(.canMtx) { + opacity: 0.3; + } +#content table tr.tab:not(.canMtx):hover { + opacity: 0.7; + } +#content table tr.tab:not(.canMtx) > td:nth-of-type(2):before { + content: '\f00d'; + font: 1em FontAwesome; + } +body:not(.popupOn) #content table tr.canMtx td:nth-of-type(2) { + cursor: zoom-in; + } +body:not(.popupOn) #content table tr.canMtx td:nth-of-type(2):hover { + background: #ccc; + } +#content table tr.cat_net td:nth-of-type(3) { + font: 12px monospace; + text-align: center; + white-space: nowrap; + } +#content table tr.cat_net td:nth-of-type(5) { + } +#content table tr.cat_net td:nth-of-type(5) > span > * { + opacity: 0.6; + } +#content table tr.cat_net td:nth-of-type(5) > span > b:first-of-type { + opacity: 1; + } + +#popupContainer { + background: white; + border: 1px solid gray; + display: none; + overflow: hidden; + position: fixed; + right: 1em; + top: 0; + z-index: 200; + } +body.popupOn #popupContainer { + display: block; + } +#popupContainer > div { + background: #888; + border: 0; + } +#popupContainer > div { + text-align: right; + } +#popupContainer > div > span { + color: #ccc; + cursor: pointer; + display: inline-block; + font: 14px FontAwesome; + padding: 3px; + } +#popupContainer > div > span:hover { + color: white; + } +#popupContainer > iframe { + border: 0; + padding: 0; + margin: 0; + width: 100%; + } +#popupContainer.hide { + width: 6em !important; + } +#popupContainer.hide > iframe { + display: none; + } diff --git a/css/popup.css b/css/popup.css new file mode 100644 index 0000000..b5a468b --- /dev/null +++ b/css/popup.css @@ -0,0 +1,691 @@ +body { + background-color: white; + border: 0; + float: left; + font: 14px httpsb,sans-serif; + margin: 0; + min-height: 16em; + min-width: 32em; + opacity: 1; + overflow-x: hidden; + overflow-y: auto; + padding: 0; + position: relative; + } +*:focus { + outline: none; + } +a { + color: inherit; + text-decoration: none; + } + +#version { + font-size: 10px; + font-weight: normal; + } +#gotoDashboard { + background-color: #444; + border: 0; + color: #bbb; + cursor: pointer; + display: block; + font-size: 12px; + line-height: 12px; + margin: 0; + padding: 3px 0; + position: relative; + text-align: center; + } +#gotoDashboard > span:last-of-type { + opacity: 0.5; + position: absolute; + } +body[dir="ltr"] #gotoDashboard > span:last-of-type { + left: 3px; + } +body[dir="rtl"] #gotoDashboard > span:last-of-type { + right: 3px; + } + +.paneHead { + background-color: white; + left: 0; + padding: 0; + position: fixed; + right: 0; + top: 0; + z-index: 100; + } +.paneContent { + padding-top: 5.5em; + } + + +.paneHead > a:first-child { + background-color: #444; + border: 0; + border-bottom: 1px solid white; + color: #bbb; + cursor: pointer; + display: block; + font-family: sans-serif; + line-height: 12px; + margin: 0; + padding: 2px 0; + text-align: center; + } +#toolbarContainer { + display: flex; + justify-content: space-between; +} +.toolbar { + border: 0; + display: inline-flex; + margin: 0; + padding: 0; + } + +body .toolbar button { + background-color: white; + border: 0; + color: black; + cursor: pointer; + margin: 0; + padding: 0.2em 0.2em 0.1em 0.2em; + position: relative; + } +body .toolbar button:hover { + background-color: #eee; + } +body .toolbar button.disabled { + color: #ccc; + } +body .toolbar button.fa { + font: 1.7em FontAwesome; + min-width: 1.4em; + } +#mtxSwitch_matrix-off.switchTrue { + color: #a00; + } + +#mtxSwitches > li { + align-items: center; + color: #888; + display: flex; + } +#mtxSwitches > li.switchTrue { + color: #000; + } +#mtxSwitches > li > svg { + display: inline; + height: 1em; + margin-right: 0.4em; + width: 1.5em; + } +#mtxSwitches > li > svg * { + fill-opacity: 1; + opacity: 1; + stroke: none; + } +#mtxSwitches > li.relevant > svg .dot { + fill: #aaa; + } +#mtxSwitches > li.switchTrue.relevant > svg .dot { + fill: #eee; + } +#mtxSwitches > li > svg .off, +#mtxSwitches > li.switchTrue > svg .on, +#mtxSwitches > li.relevant > svg .dot { + display: block; + } +#mtxSwitches > li > svg .on, +#mtxSwitches > li > svg .dot, +#mtxSwitches > li.switchTrue > svg .off { + display: none; + } +#mtxSwitches > li > span[data-i18n] { + flex-grow: 1; + } +#mtxSwitches > li > a { + color: #000; + opacity: 0; + } +#mtxSwitches > li:hover > a { + opacity: 0.1; + } +#mtxSwitches > li > a:hover { + opacity: 0.8; + } + +.dropdown-menu-capture { + background-color: transparent; + border: 0; + bottom: 0; + display: none; + left: 0; + margin: 0; + padding: 0; + position: fixed; + right: 0; + top: 0; + z-index: 300; + } +.dropdown-menu-capture.show { + display: block; + } +.dropdown-menu { + border: 0; + display: inline-block; + margin: 0; + padding: 3px 0 0 0; + position: absolute; + white-space: normal; + } +.dropdown-menu > ul { + margin: 0; + border: 0; + border: 1px solid #ccc; + border-radius: 4px; + padding: 0; + background-color: white; + list-style-type: none; + } +.dropdown-menu > ul > li.dropdown-menu-entry { + border: 0; + color: black; + cursor: pointer; + margin: 0; + padding: 0.2em 0.25em; + white-space: nowrap; + } +.dropdown-menu > ul > li.dropdown-menu-entry:hover { + background: #eee; + } +.dropdown-menu > ul > li.dropdown-menu-entry-divider { + border-top: 1px solid #ccc; + margin: 0.5em 0; + } +.dropdown-menu.show { + display: block; + } + +#buttonReload { + margin-left: 1em; + } + +button > span.badge { + padding: 1px 1px; + display: inline-block; + font-size: 40%; + position: absolute; + right: 1px; + bottom: 1px; + color: #000; + background-color: rgba(240,240,240,0.75) + } +button.disabled > span.badge { + display: none; + } +#buttonPresets + .dropdown-menu { + position: fixed; + left: 10vw; + width: 80vw; + } +.presetInfo { + margin: 0.25em 0.5em; + text-align: center; + } +.presetEntry { + margin: 0.25em 0.25em; + border-radius: 3px; + padding: 0.5em; + display: inline-block; + cursor: pointer; + background-color: #eee; + } +.presetEntry .fa { + margin-right: 0.25em; + font-size: 110%; + } +.presetEntry:hover { + background-color: #80e2ff; + } +#presetMore > *:first-child { + margin: 0; + padding: 0; + text-align: center; + color: #888; + cursor: pointer; + font-size: 13px; + } +#presetMore > *:first-child + div { + margin: 0.25em 0 0 0; + padding: 0.25em 0 0 0; + display: none; + text-align: center; + } +#presetMore > *:first-child + div.show { + display: block; + } +#presetMore > *:first-child + div > * { + vertical-align: middle; + } +#presetMoreRecipe { + border: 1px solid #aaa; + width: 75%; + height: 4em; + overflow: hidden; + resize: none; + font-size: 10px; + color: #888; + } +#presetMoreRecipe.bad { + border: 1px solid #fcc; + color: #aaa; + } +#presetMoreWrite.bad { + visibility: hidden; + } + +/* I think this is obsolete */ +.dropdown-menu > li > a > i { + padding: 0 6px; + font-size: 1.2em; + } + +body .toolbar .scope { + background-color: #ccc; + border: 1px solid #ccc; + box-sizing: content-box; + -moz-box-sizing: content-box; + display: inline-flex; + color: white; + margin: 0; + padding: 1px; + cursor: pointer; + } +body .toolbar .scope > span { + align-items: center; + display: inline-flex; + } +body .toolbar .scope > span > span { + pointer-events: none; + white-space: nowrap; + } +body .toolbar #specificScope { + direction: ltr; + justify-content: flex-end; + width: 16em; + } +body .toolbar #specificScope.on { + background-color: #24c; + border-color: #24c; + } +body .toolbar #specificScope > span { + background-color: #ccc; + justify-content: flex-end; + } +body .toolbar #specificScope > span.on { + background-color: #24c; + } +body .toolbar #specificScope > span:first-of-type:not(.on):hover, +body .toolbar #specificScope > span:first-of-type:not(.on):hover ~ span:not(.on), +body .toolbar #specificScope > span:not(.on) + span:not(.on):hover, +body .toolbar #specificScope > span:not(.on) + span:not(.on):hover ~ span:not(.on) { + background-color: #999; + } +body .toolbar #specificScope > span:first-of-type:not(.on):hover ~ span, +body .toolbar #specificScope > span:not(.on) + span:not(.on):hover ~ span, +body .toolbar #specificScope > span.on + span:hover, +body .toolbar #specificScope > span.on + span:hover ~ span { + background-color: #139; + } +body .toolbar #specificScope > span:first-of-type { + flex: 1; + } +body .toolbar #globalScope { + justify-content: center; + margin-left: 1px; + width: 1.8em; + } +body .toolbar #globalScope.on { + background-color: #000; + border-color: #000; + } +body .toolbar #globalScope:not(.on):hover { + background-color: #999; + border-color: #999; + } +body .toolbar .scopeRel { + color: #24c; + } +body.globalScope .toolbar .scopeRel { + color: #000; + } +body.globalScope .toolbar .scopeRel.disabled { + color: #ccc; + } + +.matrix { + text-align: left; + } +.matRow { + white-space: nowrap; + } +.matCell { + margin: 1px 1px 0 0; + border: 1px dotted rgba(0,0,0,0.2); + padding: 6px 1px 3px 1px; + display: inline-block; + box-sizing: content-box; + -moz-box-sizing: content-box; + width: 2.6em; + white-space: nowrap; + text-align: center; + line-height: 110%; + position: relative; + } + +#matHead { + border-top: 1px dotted #ccc; + padding-top: 1px; + margin: 1px 0 0 0; + } +.paneHead .matCell:nth-child(2) { + letter-spacing: -0.3px; + } + +.paneContent .matrix .matRow > .matCell:first-child { + font-weight: 100; + } +.paneContent .matrix .matRow > .matCell:first-child > b { + font-weight: normal; + } + +/* RFC 3987 Internationalized Resource Identifiers (IRIs) -- 4.4 */ +.matrix .matRow > .matCell:first-child { + direction: ltr; + text-align: right; + unicode-bidi: embed; + width: 16em; + } +.matrix .matGroup.g4 .matRow.ro > .matCell:first-child { + direction: inherit; + } +.matrix .matRow.l2 > .matCell:first-child { + margin-left: 1px; + width: calc(16em - 1px); + } +.matrix .matRow > .matCell:hover { + border-style: solid; + } +.matrix .matGroup .matSection { + margin: 2px 0 0 0; + border: 0; + padding: 0; + /* background-color: rgba(0,0,0,0.05); */ + } +.matrix .matGroup.g0 .matSection:first-child { + margin-top: 0; + } +.matrix .matGroup.g4 .matSection:first-child { + margin-top: 0; + } +/* Collapsing of domains */ +.matrix .matSection .matRow.meta { + display: none; + } +.matrix .matSection.collapsible.collapsed .matRow.meta { + display: block; + } +.matrix .matSection.collapsible.collapsed .matRow.l1:not(.meta) { + display: none; + } +.matrix .matSection.collapsible.collapsed .matRow.l2.collapsible { + display: none; + } + +/* Collapsing of blacklisted */ +.matrix .g4Meta { + margin: 0; + padding: 0; + border: 0; + height: 6px; + background: url('../img/matrix-group-hide.png') no-repeat center top, + url('../img/matrix-group-hline.png') repeat-x center top 3px; + opacity: 0.2; + cursor: pointer; + } +.matrix .g4Meta:hover { + opacity: 0.4; + } +.matrix .g4Meta.g4Collapsed { + background: url('../img/matrix-group-show.png') no-repeat center top, + url('../img/matrix-group-hline.png') repeat-x center top 3px; + } +.matrix .g4Meta.g4Collapsed ~ .matSection { + display: none; + } +body.powerOff .matrix .g4Meta.g4Collapsed ~ .matSection { + display: block; + } +.matrix .g4Meta ~ .matRow.ro { + display: none; + } +.matrix .g4Meta.g4Collapsed ~ .matRow.ro { + display: block; + } +body.powerOff .matrix .g4Meta.g4Collapsed ~ .matRow.ro { + display: none; + } +.matrix .matGroup .g4Meta + *,.matrix .matGroup .g4Meta + * + * { + margin-top: 0; + padding-top: 0; + } + +/* Cell coloring */ +.t81 { + color: white; + background-color: #c00; + } +.t82 { + color: white; + background-color: #080; + } +.t1 { + border-color: #debaba; + color: black; + background-color: #f8d0d0; + } +.t2 { + border-color: #bad6ba; + color: black; + background-color: #d0f0d0; + } +.matCell.p81 { + background-image: url('../img/permanent-black-small.png'); + background-repeat: no-repeat; + background-position: -1px -1px; + } +.matCell.p82 { + background-image: url('../img/permanent-white-small.png'); + background-repeat: no-repeat; + background-position: -1px -1px; + } + +/* Cell coloring for color blind-friendly (hopefully) */ +body.colorblind .t81 { + color: white; + background-color: rgb(0, 19, 110); + } +body.colorblind .t82 { + border-color: rgb(255, 194, 57); + color: black; + background-color: rgb(255, 194, 57); + } +body.colorblind .t1 { + border-color: rgba(0, 19, 110, 0.3); + color: black; + background-color: rgba(0, 19, 110, 0.2); + } +body.colorblind .t2 { + border-color: rgba(255, 194, 57, 0.3); + color: black; + background-color: rgba(255, 194, 57, 0.2); + } +body.colorblind .matCell.p81 { + background-image: url('../img/permanent-black-small-cb.png'); + } +body.colorblind .matCell.p82 { + background-image: url('../img/permanent-white-small-cb.png'); + } + + +.matRow.rw .matCell { + cursor: pointer; + } +body.powerOff .matRow.rw .matCell { + cursor: auto; + opacity: 0.6; + } + +.top { + font-weight: bold; + } + +#cellHotspots { + margin: 0; + border: 0; + padding: 0; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 10; + } +#whitelist, #blacklist { + margin: 0; + border: 0; + padding: 0; + position: absolute; + left: 0; + width: 100%; + height: 50%; + background: transparent; + } +#whitelist { + top: 0; + } +#blacklist { + top: 50%; + } +body.powerOff #whitelist, body.powerOff #blacklist { + display: none; + } +.rw .matCell.t1 #whitelist:hover { + background-color: #080; + opacity: 0.25; + } +body.colorblind .rw .matCell.t1 #whitelist:hover, +body.colorblind .rw .matCell.t2 #whitelist:hover { + background-color: rgb(255, 194, 57); + opacity: 0.6; + } +.rw .matCell.t2 #whitelist:hover { + background-color: #080; + opacity: 0.25; + } +.matCell.t81 #whitelist:hover { + background-color: transparent; + } +.matCell.t82 #whitelist:hover { + background-color: transparent; + } +.rw .matCell.t1 #blacklist:hover { + background-color: #c00; + opacity: 0.25; + } +body.colorblind .rw .matCell.t1 #blacklist:hover, +body.colorblind .rw .matCell.t2 #blacklist:hover { + background-color: rgb(0, 19, 110); + opacity: 0.4; + } +.rw .matCell.t2 #blacklist:hover { + background-color: #c00; + opacity: 0.25; + } +.matCell.t81 #blacklist:hover { + background-color: transparent; + } +.matCell.t82 #blacklist:hover { + background-color: transparent; + } +#domainOnly { + margin: 0; + border: 1px solid gray; + border-radius: 3px; + padding: 0 1px; + position: absolute; + font-size: 1.1em; + left: 20%; + bottom: -20%; + display: none; + color: black; + background-color: white; + opacity: 0.25; + z-index: 10000; + cursor: pointer; + } +.matSection #domainOnly .fa:before { + content: '\f106'; + } +.matSection.collapsed #domainOnly .fa:before { + content: '\f107'; + } +.matSection.collapsible .matRow.l1 .matCell:nth-of-type(1):hover #domainOnly { + display: block; + } +#matHead #domainOnly .fa:before { + content: '\f106'; + } +#matHead.collapsed #domainOnly .fa:before { + content: '\f107'; + } +#matHead.collapsible .matRow .matCell:nth-of-type(1):hover #domainOnly { + display: block; + } +#domainOnly:hover { + opacity: 1; + } + +/* No data was found for the tab */ + +body.noTabFound .paneHead, +body.noTabFound .paneContent { + display: none; + } +body.noTabFound #noTabFound { + align-items: center; + color: gray; + display: flex; + font-size: xx-large; + height: 100vh; + justify-content: center; + } + +/* Mobile-friendly rules */ + +body.hConstrained { + overflow-x: auto; + } +body.hConstrained .paneHead { + left: auto; + position: absolute; + right: auto; + width: 100%; + } +body[data-touch="true"] .matCell { + line-height: 200%; + } diff --git a/css/raw-settings.css b/css/raw-settings.css new file mode 100644 index 0000000..4d9e49d --- /dev/null +++ b/css/raw-settings.css @@ -0,0 +1,18 @@ +body { + display: flex; + flex-direction: column; + height: 100vh; + justify-content: space-between; + } +p { + margin: 0.5em 0; + } +textarea { + box-sizing: border-box; + flex-grow: 1; + resize: none; + text-align: left; + white-space: pre; + width: 100%; + word-wrap: normal; + } diff --git a/css/user-rules.css b/css/user-rules.css new file mode 100644 index 0000000..8142edb --- /dev/null +++ b/css/user-rules.css @@ -0,0 +1,162 @@ +div > p:first-child { + margin-top: 0; + } +div > p:last-child { + margin-bottom: 0; + } +#diff { + border: 0; + margin: 0; + padding: 0; + white-space: nowrap; +} +#diff > .pane { + border: 0; + box-sizing: box-border; + display: inline-block; + margin: 0; + padding: 0; + position: relative; + vertical-align: top; + white-space: normal; + width: calc(50% - 2px); + } +#diff > .pane > div { + padding: 0 0 1em 0; + text-align: center; + } +#diff > .pane > div > span { + float: left; + } +body[dir="ltr"] #revertButton:after { + content: '\2009\f061'; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + vertical-align: baseline; + display: inline-block; + } +body[dir="rtl"] #revertButton:after { + content: '\2009\f060'; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + vertical-align: baseline; + display: inline-block; + } +body[dir="ltr"] #commitButton:before { + content: '\f060\2009'; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + vertical-align: baseline; + display: inline-block; + } +body[dir="rtl"] #commitButton:before { + content: '\f061\2009'; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + vertical-align: baseline; + display: inline-block; + } +#revertButton, +#commitButton, +#diff.edit #editEnterButton { + opacity: 0.25; + pointer-events: none; + } +#editStopButton, +#editCancelButton { + display: none; + } +#diff.dirty:not(.edit) #revertButton, +#diff.dirty:not(.edit) #commitButton { + opacity: 1; + pointer-events: auto; + } +#diff.edit #editStopButton, +#diff.edit #editCancelButton { + display: initial; + } +#diff.edit #importButton, +#diff.edit #exportButton { + display: none; + } +#diff ul { + border: 0; + border-top: 1px solid #eee; + list-style-type: none; + margin: 0; + overflow: hidden; + padding: 1em 0 0 0; + } +#diff ul, +#diff textarea { + font: 12px/1.8 monospace; + } +#diff.edit .right ul { + visibility: hidden; + } +#diff .left { + padding: 0 0 0 0; + } +#diff .right > ul { + color: #888; + } +#diff li { + background-color: white; + direction: ltr; + padding: 0; + text-align: left; + white-space: nowrap; + } +#diff li:nth-of-type(2n+0) { + background-color: #eee; + } +#diff .right li { + cursor: pointer; + } +#diff .right li:hover { + background-color: #ffc; + color: #000; + } +#diff .right li.notLeft { + color: #000; + } +#diff .right li.notLeft:hover { + text-decoration: line-through; + } +#diff .right li.notRight { + color: #000; + } +#diff .right li.toRemove { + color: #000; + text-decoration: line-through; + } +#diff textarea { + border: 0; + border-top: 1px solid #eee; + direction: ltr; + height: 100%; + left: 0; + margin: 0; + overflow: hidden; + overflow-y: auto; + padding: 1em 0 0 0; + position: absolute; + resize: none; + visibility: hidden; + white-space: pre; + width: 100%; + } +#diff.edit textarea { + visibility: visible; + } +.hidden { + display: none; + } |