From b1234db8f242feb7cd4d65c5b39dbd5d39d26b1f Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 23 Oct 2011 20:25:08 +0200 Subject: [PATCH] finish synching LCARStrek with Firefox 7 changes --- LCARStrek/browser/browser.css | 14 ++++ LCARStrek/browser/highlighter.css | 105 ++++++++++++++++++++++++++ LCARStrek/browser/places/places.css | 9 +-- LCARStrek/browser/tabview/tabview.css | 13 +--- 4 files changed, 124 insertions(+), 17 deletions(-) create mode 100644 LCARStrek/browser/highlighter.css diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 3c5faec2..97b7e51e 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -507,6 +507,16 @@ menuitem.bookmark-item { -moz-image-region: auto; } +.bookmark-item[cutting] > .toolbarbutton-icon, +.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { + opacity: 0.5; +} + +.bookmark-item[cutting] > .toolbarbutton-text, +.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { + opacity: 0.7; +} + /* ::::: primary toolbar buttons ::::: */ .toolbarbutton-1 { @@ -1761,6 +1771,10 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- list-style-image: url("chrome://global/skin/icons/loading.gif"); } +.alltabs-item[tabIsVisible] { + background-color: #402800; +} + /* Tabstrip close button */ .tabs-closebutton { -moz-box-flex: 1; diff --git a/LCARStrek/browser/highlighter.css b/LCARStrek/browser/highlighter.css new file mode 100644 index 00000000..6a3236b9 --- /dev/null +++ b/LCARStrek/browser/highlighter.css @@ -0,0 +1,105 @@ +/* ***** 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 the Mozilla Inspector Module. + * + * The Initial Developer of the Original Code is + * The Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2011 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Rob Campbell (original author) + * Paul Rouget + * + * 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 ***** */ + +body { + margin: 0; + overflow: hidden; +} + +#close-button { + background-image: url("KUI-close.png"); + border: none; + padding: 0; + width: 24px; + height: 24px; + position: fixed; + top: 12px; + right: 12px; + z-index: 1; + cursor: pointer; +} + +.veil { + background-color: rgba(0, 0, 0, 0.5); +} + +.veil, #veil-middlebox, #veil-transparentbox { + -moz-transition: 0.1s; + -moz-transition-timing-function: linear; +} + +#veil-container { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +#veil { + width: 100%; + height: 100%; + display: -moz-box; + -moz-box-orient: vertical; +} + +#veil-topbox, #veil-bottombox { + width: 100%; +} + +#veil-bottombox { + -moz-box-flex: 1; +} + +#veil-middlebox { + display: -moz-box; + -moz-box-orient: horizontal; +} + +#veil-leftbox, #veil-rightbox { + height: 100%; +} + +#veil-rightbox { + -moz-box-flex: 1; +} + +#veil { + vertical-align: top; +} + diff --git a/LCARStrek/browser/places/places.css b/LCARStrek/browser/places/places.css index 21bd2606..39a0fafb 100644 --- a/LCARStrek/browser/places/places.css +++ b/LCARStrek/browser/places/places.css @@ -109,13 +109,12 @@ treechildren::-moz-tree-image(title, query, folder, open) { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); } -treechildren::-moz-tree-row(session-start) { - border-top:1px dotted #9C9CFF; - font-weight: bold; +treechildren::-moz-tree-image(cutting) { + opacity: 0.5; } -treechildren::-moz-tree-cell-text(date, session-continue) { - color: #E7ADE7; +treechildren::-moz-tree-cell-text(cutting) { + opacity: 0.7; } /* Browser Sidebars */ diff --git a/LCARStrek/browser/tabview/tabview.css b/LCARStrek/browser/tabview/tabview.css index b36bc6f4..3018c2db 100644 --- a/LCARStrek/browser/tabview/tabview.css +++ b/LCARStrek/browser/tabview/tabview.css @@ -11,6 +11,7 @@ body { ----------------------------------*/ .tab { + margin: 4px; padding-top: 4px; -moz-padding-end: 6px; padding-bottom: 6px; @@ -19,7 +20,6 @@ body { border-radius: 0.4em; border: 1px solid #9C9CFF; cursor: pointer; - margin: 4px; } .tab canvas, @@ -117,8 +117,6 @@ html[dir=rtl] .expander { bottom: -20px; text-align: center; width: 94.5%; - white-space: nowrap; - overflow: hidden; } .stacked { @@ -168,15 +166,6 @@ html[dir=rtl] .expander { /* Tab GroupItem ----------------------------------*/ -.tabInGroupItem { - box-shadow: none; - background-color: #000000; -} - -.tabInGroupItem .favicon { - background-color: #000000; -} - .groupItem { cursor: move; background-color: #000000; -- 2.35.3