Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 1 | /* |
| 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 Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 28 | */ |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 29 | #main { |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 30 | width: 90% !important; |
| 31 | margin-left: 5%; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 32 | } |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 33 | #main img { border: none } |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 34 | |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 35 | |
| 36 | /* LOGO & BRANDING */ |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 37 | #lead { |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 38 | 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 Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 50 | } |
Felix Meschberger | 8c53265 | 2010-04-07 13:10:15 +0000 | [diff] [blame] | 51 | #lead p img { /* This is the logo */ |
| 52 | height: 63px; /* must be #lead.height - #lead.padding-top */ |
| 53 | } |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 54 | |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 55 | |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 56 | /* TOP NAVIGATION */ |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 57 | #technav { |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 58 | font-size: 10px; |
| 59 | line-height: 21px; |
| 60 | padding: 0; |
| 61 | margin: 0; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 62 | } |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 63 | #technav div { |
| 64 | display: inline; |
| 65 | padding: .2em 1em; |
| 66 | white-space: nowrap; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 67 | } |
| 68 | |
Felix Meschberger | 1c25e9c | 2012-12-02 18:46:49 +0000 | [diff] [blame^] | 69 | /* New Category Based Navigation Tree (FELIX-3769) */ |
| 70 | #navmenu { |
| 71 | width: auto; |
| 72 | } |
| 73 | #navmenu li.ui-menu-item { |
| 74 | width: auto; |
| 75 | } |
| 76 | #navmenu li.navMenuItem-0 { |
| 77 | display: inline-block; |
| 78 | } |
| 79 | |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 80 | /* CENTRAL CONTENT AREA STYLING */ |
Valentin Valchev | 3705cd3 | 2010-03-22 11:37:37 +0000 | [diff] [blame] | 81 | #content, .ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-size: 8pt } |
| 82 | |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 83 | |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 84 | /* used in some plugins - showing ID (long) element in tables */ |
| 85 | .col_Id { |
Felix Meschberger | bbcc4b9 | 2010-02-21 16:49:16 +0000 | [diff] [blame] | 86 | width: 5em; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 87 | } |
| 88 | |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 89 | /* styling button groups like in the bundles & log plugins */ |
| 90 | .buttonGroup { |
| 91 | text-align: right; |
| 92 | padding: .5em 1em .5em 0; |
| 93 | vertical-align: middle; |
| 94 | } |
| 95 | .buttonGroup select { |
| 96 | display: inline; |
| 97 | float: none; |
| 98 | margin: 0; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 99 | } |
| 100 | |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 101 | /* The following styles are not complete. They usually apply only padding, |
| 102 | * margin... mostly *WHERE* the elements are visualised. Visual styling like |
| 103 | * colors and fonts are applied automatically by a JavaScript that borrows |
| 104 | * the visual element styles from the JQuery UI theme |
| 105 | */ |
| 106 | |
| 107 | /* input box, checkbox & buttons styling */ |
| 108 | .inputText, input.text, input.password, input.file, textarea, select { |
| 109 | color: #184054; |
| 110 | background-color: #f0f0f0; |
| 111 | } |
| 112 | .inputText, input.text, input.password, textarea { |
| 113 | border: 1px solid #999999; |
| 114 | border-bottom: 1px solid #cccccc; |
| 115 | border-right: 1px solid #cccccc; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 116 | } |
| 117 | |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 118 | /* tables styling - must be in synch with tablesorter CSS */ |
| 119 | td, th { vertical-align: top } |
| 120 | table.nicetable { |
| 121 | width: 100%; |
| 122 | text-align: left; |
| 123 | } |
| 124 | table.nicetable th, table.nicetable td { |
| 125 | border-bottom: 1px solid #cccccc; |
| 126 | text-align: left; |
| 127 | padding: .2em; |
| 128 | padding-left: .8em; |
| 129 | } |
| 130 | |
| 131 | /* tablesorter styling */ |
| 132 | tr .header { |
Valentin Valchev | f3a0080 | 2011-02-08 09:05:35 +0000 | [diff] [blame] | 133 | background-image: url(../lib/bg.gif) !important; |
| 134 | background-repeat: no-repeat !important; |
| 135 | background-position: center right !important; |
| 136 | cursor: pointer !important; |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 137 | } |
| 138 | tr .headerSortUp { |
Valentin Valchev | f3a0080 | 2011-02-08 09:05:35 +0000 | [diff] [blame] | 139 | background-image: url(../lib/asc.gif) !important; |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 140 | } |
| 141 | tr .headerSortDown { |
Valentin Valchev | f3a0080 | 2011-02-08 09:05:35 +0000 | [diff] [blame] | 142 | background-image: url(../lib/desc.gif) !important; |
Felix Meschberger | 4f590af | 2010-02-19 10:55:34 +0000 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | /* status line */ |
| 146 | .statline { |
| 147 | margin-top: .5em !important; |
| 148 | margin-bottom: .5em !important; |
| 149 | padding: .2em; |
Felix Meschberger | 919044c | 2009-09-08 08:09:20 +0000 | [diff] [blame] | 150 | } |
| 151 | |
Felix Meschberger | 8a05197 | 2010-02-19 20:01:28 +0000 | [diff] [blame] | 152 | /* zebra tables */ |
| 153 | .even { |
| 154 | /* default background unmodified from JQuery UI Theme */ |
| 155 | } |
| 156 | |
| 157 | .odd { |
| 158 | /* overwrite background from JQuery UI Theme */ |
| 159 | background: none !important; |
| 160 | } |
Felix Meschberger | 05692ef | 2010-02-20 17:40:03 +0000 | [diff] [blame] | 161 | |
| 162 | /* |
| 163 | * Common UI style to define button icons like in bundles plugin. The HTML markup is: |
| 164 | * <ul class="icons ui-widget"> |
| 165 | * <li class="dynhover" title="tooltip comes here"><span class="ui-icon ui-icon-refresh"> </span></li> |
| 166 | * </ul> |
| 167 | */ |
| 168 | ul.icons { |
| 169 | margin: 0; |
| 170 | padding: 0 |
| 171 | } |
| 172 | ul.icons span.ui-icon { |
| 173 | float: left; |
| 174 | margin: 0 1px |
| 175 | } |
| 176 | ul.icons li { |
| 177 | margin: 1px; |
| 178 | position: relative; |
| 179 | padding: 1px 0; |
| 180 | cursor: pointer; |
| 181 | float: left; |
| 182 | list-style: none |
| 183 | } |
Valentin Valchev | 508d180 | 2010-08-11 07:25:43 +0000 | [diff] [blame] | 184 | /* language selection element */ |
| 185 | #langSelect { position: absolute; top: 5px; right: 5px } |
| 186 | #langSelect img { display: block; padding: 2px 0 } |