blob: 0ddc954a25532cb0ac0a060a500d0122f2e12eb7 [file] [log] [blame]
Felix Meschberger919044c2009-09-08 08:09:20 +00001/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18/*
19 * The webconsole.css is the main CSS which sets up the following parts
20 *
21 * div main -> outermost div just inside body
22 * div lead -> the page lead with title and logo
23 * div technav -> the top navigation
24 * div content -> the div surrounding the content being rendered by
25 * the plugin in the renderContent (or service) method
26 *
27 * See also http://felix.apache.org/site/branding-the-web-console.html
Felix Meschberger4f590af2010-02-19 10:55:34 +000028 */
Felix Meschberger919044c2009-09-08 08:09:20 +000029#main {
Felix Meschberger4f590af2010-02-19 10:55:34 +000030 width: 90% !important;
31 margin-left: 5%;
Felix Meschberger919044c2009-09-08 08:09:20 +000032}
Felix Meschberger4f590af2010-02-19 10:55:34 +000033#main img { border: none }
Felix Meschberger919044c2009-09-08 08:09:20 +000034
Felix Meschberger4f590af2010-02-19 10:55:34 +000035
36/* LOGO & BRANDING */
Felix Meschberger919044c2009-09-08 08:09:20 +000037#lead {
Felix Meschberger4f590af2010-02-19 10:55:34 +000038 padding-top: 10px;
39 margin: 0;
40 height: 73px; /* must be the same as logo (#lead p) height */
41}
42#lead h1 { /* This contains the page title */
43 font-size: 26px;
44 font-weight: bold;
45 float: left;
46}
47#lead p { /* This contains the logo */
48 float: right;
49 height: 73px; /* must be the same as #lead height */
Felix Meschberger919044c2009-09-08 08:09:20 +000050}
Felix Meschberger8c532652010-04-07 13:10:15 +000051#lead p img { /* This is the logo */
52 height: 63px; /* must be #lead.height - #lead.padding-top */
53}
Felix Meschberger919044c2009-09-08 08:09:20 +000054
Felix Meschberger919044c2009-09-08 08:09:20 +000055
Felix Meschberger4f590af2010-02-19 10:55:34 +000056/* TOP NAVIGATION */
Felix Meschberger919044c2009-09-08 08:09:20 +000057#technav {
Felix Meschberger4f590af2010-02-19 10:55:34 +000058 font-size: 10px;
59 line-height: 21px;
60 padding: 0;
61 margin: 0;
Felix Meschberger919044c2009-09-08 08:09:20 +000062}
Felix Meschberger4f590af2010-02-19 10:55:34 +000063#technav div {
64 display: inline;
65 padding: .2em 1em;
66 white-space: nowrap;
Felix Meschberger919044c2009-09-08 08:09:20 +000067}
68
Felix Meschberger1c25e9c2012-12-02 18:46:49 +000069/* New Category Based Navigation Tree (FELIX-3769) */
70#navmenu {
71 width: auto;
72}
Felix Meschberger76ba0bc2013-01-12 20:59:31 +000073
Felix Meschberger1c25e9c2012-12-02 18:46:49 +000074#navmenu li.ui-menu-item {
75 width: auto;
76}
Felix Meschberger76ba0bc2013-01-12 20:59:31 +000077
Felix Meschberger1c25e9c2012-12-02 18:46:49 +000078#navmenu li.navMenuItem-0 {
79 display: inline-block;
80}
81
Felix Meschberger76ba0bc2013-01-12 20:59:31 +000082/* Don't display caret on top-level menu (FELIX-3841) */
83#navmenu li.navMenuItem-0 > a > span {
84 display: none;
85}
86
Felix Meschberger919044c2009-09-08 08:09:20 +000087/* CENTRAL CONTENT AREA STYLING */
Valentin Valchev3705cd32010-03-22 11:37:37 +000088#content, .ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-size: 8pt }
89
Felix Meschberger919044c2009-09-08 08:09:20 +000090
Felix Meschberger4f590af2010-02-19 10:55:34 +000091/* used in some plugins - showing ID (long) element in tables */
92.col_Id {
Felix Meschbergerbbcc4b92010-02-21 16:49:16 +000093 width: 5em;
Felix Meschberger919044c2009-09-08 08:09:20 +000094}
95
Felix Meschberger4f590af2010-02-19 10:55:34 +000096/* styling button groups like in the bundles & log plugins */
97.buttonGroup {
98 text-align: right;
99 padding: .5em 1em .5em 0;
100 vertical-align: middle;
101}
102.buttonGroup select {
103 display: inline;
104 float: none;
105 margin: 0;
Felix Meschberger919044c2009-09-08 08:09:20 +0000106}
107
Felix Meschberger4f590af2010-02-19 10:55:34 +0000108/* The following styles are not complete. They usually apply only padding,
109 * margin... mostly *WHERE* the elements are visualised. Visual styling like
110 * colors and fonts are applied automatically by a JavaScript that borrows
111 * the visual element styles from the JQuery UI theme
112 */
113
114/* input box, checkbox & buttons styling */
115.inputText, input.text, input.password, input.file, textarea, select {
116 color: #184054;
117 background-color: #f0f0f0;
118}
119.inputText, input.text, input.password, textarea {
120 border: 1px solid #999999;
121 border-bottom: 1px solid #cccccc;
122 border-right: 1px solid #cccccc;
Felix Meschberger919044c2009-09-08 08:09:20 +0000123}
124
Felix Meschberger4f590af2010-02-19 10:55:34 +0000125/* tables styling - must be in synch with tablesorter CSS */
126td, th { vertical-align: top }
127table.nicetable {
128 width: 100%;
129 text-align: left;
130}
131table.nicetable th, table.nicetable td {
132 border-bottom: 1px solid #cccccc;
133 text-align: left;
134 padding: .2em;
135 padding-left: .8em;
136}
137
138/* tablesorter styling */
139tr .header {
Valentin Valchevf3a00802011-02-08 09:05:35 +0000140 background-image: url(../lib/bg.gif) !important;
141 background-repeat: no-repeat !important;
142 background-position: center right !important;
143 cursor: pointer !important;
Felix Meschberger4f590af2010-02-19 10:55:34 +0000144}
145tr .headerSortUp {
Valentin Valchevf3a00802011-02-08 09:05:35 +0000146 background-image: url(../lib/asc.gif) !important;
Felix Meschberger4f590af2010-02-19 10:55:34 +0000147}
148tr .headerSortDown {
Valentin Valchevf3a00802011-02-08 09:05:35 +0000149 background-image: url(../lib/desc.gif) !important;
Felix Meschberger4f590af2010-02-19 10:55:34 +0000150}
151
152/* status line */
153.statline {
154 margin-top: .5em !important;
155 margin-bottom: .5em !important;
156 padding: .2em;
Felix Meschberger919044c2009-09-08 08:09:20 +0000157}
158
Felix Meschberger8a051972010-02-19 20:01:28 +0000159/* zebra tables */
160.even {
161 /* default background unmodified from JQuery UI Theme */
162}
163
164.odd {
165 /* overwrite background from JQuery UI Theme */
166 background: none !important;
167}
Felix Meschberger05692ef2010-02-20 17:40:03 +0000168
169/*
170 * Common UI style to define button icons like in bundles plugin. The HTML markup is:
171 * <ul class="icons ui-widget">
172 * <li class="dynhover" title="tooltip comes here"><span class="ui-icon ui-icon-refresh">&nbsp;</span></li>
173 * </ul>
174 */
175ul.icons {
176 margin: 0;
177 padding: 0
178}
179ul.icons span.ui-icon {
180 float: left;
181 margin: 0 1px
182}
183ul.icons li {
184 margin: 1px;
185 position: relative;
186 padding: 1px 0;
187 cursor: pointer;
188 float: left;
189 list-style: none
190}
Valentin Valchev508d1802010-08-11 07:25:43 +0000191/* language selection element */
192#langSelect { position: absolute; top: 5px; right: 5px }
193#langSelect img { display: block; padding: 2px 0 }
Carsten Ziegelerd9122d72013-08-24 00:01:32 +0000194
195.filterBox { float: left; margin-left: 1em }
196.servicesFilter { width: 400px; }
197.servicesFilterApply { width: 85px; }
198