blob: 2219e9440ab9749a080afd56f7ecc516d81105d8 [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 Meschberger919044c2009-09-08 08:09:20 +000069/* CENTRAL CONTENT AREA STYLING */
Valentin Valchev3705cd32010-03-22 11:37:37 +000070#content, .ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-size: 8pt }
71
Felix Meschberger919044c2009-09-08 08:09:20 +000072
Felix Meschberger4f590af2010-02-19 10:55:34 +000073/* used in some plugins - showing ID (long) element in tables */
74.col_Id {
Felix Meschbergerbbcc4b92010-02-21 16:49:16 +000075 width: 5em;
Felix Meschberger919044c2009-09-08 08:09:20 +000076}
77
Felix Meschberger4f590af2010-02-19 10:55:34 +000078/* styling button groups like in the bundles & log plugins */
79.buttonGroup {
80 text-align: right;
81 padding: .5em 1em .5em 0;
82 vertical-align: middle;
83}
84.buttonGroup select {
85 display: inline;
86 float: none;
87 margin: 0;
Felix Meschberger919044c2009-09-08 08:09:20 +000088}
89
Felix Meschberger4f590af2010-02-19 10:55:34 +000090/* The following styles are not complete. They usually apply only padding,
91 * margin... mostly *WHERE* the elements are visualised. Visual styling like
92 * colors and fonts are applied automatically by a JavaScript that borrows
93 * the visual element styles from the JQuery UI theme
94 */
95
96/* input box, checkbox & buttons styling */
97.inputText, input.text, input.password, input.file, textarea, select {
98 color: #184054;
99 background-color: #f0f0f0;
100}
101.inputText, input.text, input.password, textarea {
102 border: 1px solid #999999;
103 border-bottom: 1px solid #cccccc;
104 border-right: 1px solid #cccccc;
Felix Meschberger919044c2009-09-08 08:09:20 +0000105}
106
Felix Meschberger4f590af2010-02-19 10:55:34 +0000107/* tables styling - must be in synch with tablesorter CSS */
108td, th { vertical-align: top }
109table.nicetable {
110 width: 100%;
111 text-align: left;
112}
113table.nicetable th, table.nicetable td {
114 border-bottom: 1px solid #cccccc;
115 text-align: left;
116 padding: .2em;
117 padding-left: .8em;
118}
119
120/* tablesorter styling */
121tr .header {
122 background-image: url(../lib/bg.gif);
123 background-repeat: no-repeat;
124 background-position: center right;
125 cursor: pointer;
126}
127tr .headerSortUp {
128 background-image: url(../lib/asc.gif);
129}
130tr .headerSortDown {
131 background-image: url(../lib/desc.gif);
132}
133
134/* status line */
135.statline {
136 margin-top: .5em !important;
137 margin-bottom: .5em !important;
138 padding: .2em;
Felix Meschberger919044c2009-09-08 08:09:20 +0000139}
140
Felix Meschberger8a051972010-02-19 20:01:28 +0000141/* zebra tables */
142.even {
143 /* default background unmodified from JQuery UI Theme */
144}
145
146.odd {
147 /* overwrite background from JQuery UI Theme */
148 background: none !important;
149}
Felix Meschberger05692ef2010-02-20 17:40:03 +0000150
151/*
152 * Common UI style to define button icons like in bundles plugin. The HTML markup is:
153 * <ul class="icons ui-widget">
154 * <li class="dynhover" title="tooltip comes here"><span class="ui-icon ui-icon-refresh">&nbsp;</span></li>
155 * </ul>
156 */
157ul.icons {
158 margin: 0;
159 padding: 0
160}
161ul.icons span.ui-icon {
162 float: left;
163 margin: 0 1px
164}
165ul.icons li {
166 margin: 1px;
167 position: relative;
168 padding: 1px 0;
169 cursor: pointer;
170 float: left;
171 list-style: none
172}