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