first part of syncing LCARStrek with Firefox 54 browser windows theme changes
[themes.git] / LCARStrek / browser / pageInfo.css
index 41497df5c8f4df577129bdf5f2f02f279920b4e9..8e95be04d6c43f6d68864b9577d45b9e88efaacf 100644 (file)
@@ -1,47 +1,15 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (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.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998-2004
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Kevin Gerich  <webmail@kmgerich.com>
- *   Daniel Brooks <db48x@yahoo.com>
- *   Florian QUEZE <f.qu@queze.net>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @import "chrome://global/skin/";
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
+
 /* View buttons */
 #viewGroup {
-  -moz-padding-start: 10px;
+  padding-inline-start: 10px;
 }
 
 #viewGroup > radio {
@@ -67,7 +35,7 @@
 
 #topBar {
   border-bottom: 2px solid #9C9CFF;
-  -moz-padding-start: 10px;
+  padding-inline-start: 10px;
   background-color: #000000;
   color: #FF9F00;
 }
@@ -126,19 +94,34 @@ tree {
 }
 
 row > label {
-  padding: 3px 0;
+  padding: 0;
+  margin-top: 0;
+  margin-bottom: 0;
+  min-height: 19px; /* match textbox */
 }
 
 textbox {
   background: transparent !important;
   border: none;
   padding: 0px;
-  margin-top: 1px;
+  margin-top: 0px;
   -moz-appearance: none;
 }
 
+/* This would be ideal but doesn't work */
+/*
+html|*.textbox-input > .anonymous-div,
+html|*.textbox-input::placeholder {
+  line-height: 1em !important;
+}
+*/
+
+textbox[readonly="true"] html|*.textbox-input {
+  max-height: 1em; /* work around the above rule that does not work */
+}
+
 textbox.header {
-  -moz-margin-start: 0;
+  margin-inline-start: 0;
 }
 
 .iframe {
@@ -156,14 +139,14 @@ textbox[disabled] {
 }
 
 /* General Tab */
-groupbox.collapsable caption .caption-icon { 
+groupbox.collapsable caption .caption-icon {
   width: 9px;
   height: 9px;
   background-repeat: no-repeat;
   background-position: center;
-  -moz-margin-start: 2px;
-  -moz-margin-end: 2px;
-  background-image: url("chrome://global/skin/tree/twisty-open.gif");
+  margin-inline-start: 2px;
+  margin-inline-end: 2px;
+  background-image: url("chrome://global/skin/tree/twisty.svg#open-hover");
 }
 
 groupbox.collapsable[closed="true"] {
@@ -172,17 +155,39 @@ groupbox.collapsable[closed="true"] {
   -moz-appearance: none;
 }
 
-groupbox.collapsable[closed="true"] caption .caption-icon { 
-  background-image: url("chrome://global/skin/tree/twisty-closed.gif");
+groupbox.collapsable[closed="true"] > caption > .caption-icon {
+  background-image: url("chrome://global/skin/tree/twisty.svg#clsd-hover");
+}
+
+groupbox.collapsable > caption:hover { 
+  background-color: #FFCF00;
 }
 
-groupbox tree { 
-  margin: 0 3px;
+groupbox.treebox {
+  padding: 0;
+}
+
+groupbox.treebox > tree {
+  margin: 2px;
+  margin-top: 0;
+  border: none;
+  border-top-right-radius: 0;
+  border-top-left-radius: 0;
+}
+
+groupbox.treebox > tree > treecols > treecol {
   border: none;
+  border-bottom: 1px solid #FF9F00;
+  background-color: #A09090;
+  border-radius: 0;
+}
+
+groupbox.treebox > tree > treechildren::-moz-tree-cell {
+  padding: 0 3px;
 }
 
-#securityBox description { 
-  -moz-margin-start: 10px;
+#securityBox description {
+  margin-inline-start: 10px;
 }
 
 #general-security-identity {
@@ -227,8 +232,8 @@ treechildren::-moz-tree-cell-text(broken) {
 #feedListbox richlistitem {
   padding-top: 6px;
   padding-bottom: 6px;
-  -moz-padding-start: 7px;
-  -moz-padding-end: 7px;
+  padding-inline-start: 7px;
+  padding-inline-end: 7px;
   min-height: 25px;
   border-bottom: 1px dotted #9C9CFF;
 }
@@ -246,7 +251,7 @@ treechildren::-moz-tree-cell-text(broken) {
   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
 }
 */
-.feedTitle { 
+.feedTitle {
   font-weight: bold;
 }
 
@@ -265,8 +270,8 @@ treechildren::-moz-tree-cell-text(broken) {
 .permission {
   padding-top: 6px;
   padding-bottom: 6px;
-  -moz-padding-start: 7px;
-  -moz-padding-end: 7px;
+  padding-inline-start: 7px;
+  padding-inline-end: 7px;
   min-height: 25px;
   border-bottom: 1px dotted #9C9CFF;
 }
@@ -289,10 +294,19 @@ treechildren::-moz-tree-cell-text(broken) {
 }
  
 #securityPanel .fieldLabel {
-  margin: 2px 10px 3px 10px;
+  margin: 0px 10px;
 }
 
 #securityPanel .fieldValue {
   font-weight: bold;
-  margin: 2px 10px 0px 10px;
+  margin: 0px 10px;
+}
+
+#securityPanel row {
+  -moz-box-align: center;
+}
+
+#security-technical-box > .fieldValue,
+#security-technical-box > .fieldLabel {
+  margin-bottom: .5em;
 }