OSDN Git Service

import source-tree based svn r84.
[bluegriffon/BlueGriffon.git] / themes / win / classic / tabeditor.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Mozilla Public License Version
5  * 1.1 (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  * for the specific language governing rights and limitations under the
12  * License.
13  *
14  * The Original Code is BlueGriffon.
15  *
16  * The Initial Developer of the Original Code is
17  * Disruptive Innovations SARL.
18  * Portions created by the Initial Developer are Copyright (C) 2006
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Original author
23  *
24  * Alternatively, the contents of this file may be used under the terms of
25  * either the GNU General Public License Version 2 or later (the "GPL"), or
26  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27  * in which case the provisions of the GPL or the LGPL are applicable instead
28  * of those above. If you wish to allow use of your version of this file only
29  * under the terms of either the GPL or the LGPL, and not to allow others to
30  * use your version of this file under the terms of the MPL, indicate your
31  * decision by deleting the provisions above and replace them with the notice
32  * and other provisions required by the GPL or the LGPL. If you do not delete
33  * the provisions above, a recipient may use your version of this file under
34  * the terms of any one of the MPL, the GPL or the LGPL.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
39
40 /* ::::: tabs ::::: */
41 /* Tabstrip */
42 .tabeditor-tabs {
43   -moz-appearance: -moz-win-browsertabbar-toolbox;
44   background: -moz-dialog url("chrome://bluegriffon/skin/tabeditor-tabs-bkgnd.png") repeat-x;
45 }
46
47 .tabs-container:not([overflow="true"]) {
48   -moz-padding-start: 3px;
49 }
50
51 /* Tabs */
52 .tabeditor-tab {
53   -moz-appearance: none;
54   background: url("chrome://bluegriffon/skin/tab-bkgnd.png") repeat-x;
55   margin: 3px 0px 4px;
56   padding: 0px 1px 1px 0px;
57   border: 2px solid;
58   border-right-width: 1px;
59   border-bottom: none;
60   -moz-border-radius-topleft: 2px;
61   -moz-border-radius-topright: 2px;
62   -moz-border-top-colors: ThreeDShadow rgba(255,255,255,.3);
63   -moz-border-right-colors: rgba(0,0,0,.1);
64   -moz-border-left-colors: ThreeDShadow rgba(255,255,255,.3);
65 }
66
67 .tabeditor-tab:hover,
68 .tabeditor-tab[selected="true"] {
69   border-width: 1px;
70   -moz-border-radius-topleft: 4px;
71   -moz-border-radius-topright: 4px;
72   -moz-border-top-colors: ThreeDShadow;
73   -moz-border-right-colors: ThreeDShadow;
74   -moz-border-left-colors: ThreeDShadow;
75 }
76
77 .tabeditor-tab:not([selected="true"]):hover {
78   margin: 2px 0px 4px;
79   padding: 2px 1px 1px;
80   background-image: url("chrome://bluegriffon/skin/tab-hover-bkgnd.png");
81 }
82
83 .tabeditor-tab[selected="true"] {
84   margin: 2px 0px 3px;
85   padding: 1px;
86   background-image: url("chrome://bluegriffon/skin/tab-active-bkgnd.png");
87   background-color: -moz-dialog;
88   font-weight: bold;
89 }
90
91 .tabeditor-tab[busy] > .tab-icon-image {
92   list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
93 }
94
95 .tab-icon-image {
96   margin-top: 1px;
97   -moz-margin-start: 7px;
98   -moz-margin-end: 3px;
99   width: 16px;
100   height: 16px;
101   list-style-image: url("chrome://global/skin/icons/folder-item.png");
102   -moz-image-region: rect(0px, 16px, 16px, 0px);
103 }
104
105 .tabs-bottom {
106   height: 4px;
107   margin: 0px;
108   background: -moz-dialog url("chrome://bluegriffon/skin/tabstrip-bottom.png") repeat;
109   border-top: 1px solid threedshadow;
110   border-bottom: 1px solid threedshadow;
111 }
112
113 tabpanels {
114   -moz-appearance: none;
115 }
116
117 /* tabeditor-tab focus ring */
118 .tab-text {
119   border: 1px dotted transparent;
120 }
121
122 .tabeditor-tab[selected="true"]:focus > .tab-text {
123   border: 1px dotted -moz-DialogText;
124 }
125