Felix Meschberger | b582336 | 2010-03-12 12:11:39 +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 admin.css is currently a collection of a lot of CSS styles, which should |
| 20 | * be cleaned up for more appropriate and targeted stylings. |
| 21 | * |
| 22 | * This stylesheet is loaded by the AbstractWebConsolePlugin before the |
| 23 | * stylesheet addressed by the BrandingPlugin.getMainStyleSheet() method, which |
| 24 | * is the webconsole.css by default. |
| 25 | * |
| 26 | * See also http://felix.apache.org/site/branding-the-web-console.html |
| 27 | */ |
| 28 | |
| 29 | /******************************************************************************* |
| 30 | * The content and container classes were previously used to uniformly render |
| 31 | * tables (before the tablelayout class has been added below). |
| 32 | * For backwards compatibility we keep these classes for now to enable |
| 33 | * existing plugins to still render somewhat nice. |
| 34 | */ |
| 35 | table.content { |
| 36 | clear: both; |
| 37 | font-size: 10px; |
| 38 | line-height: 13px; |
| 39 | border: 1px solid #AAAAAA; |
| 40 | padding: 0px; |
| 41 | margin: 0px; |
| 42 | margin-top: 26px; |
| 43 | margin-bottom: 26px; |
| 44 | text-align: left; |
| 45 | } |
| 46 | |
| 47 | tr.content { |
| 48 | } |
| 49 | |
| 50 | td.content { |
| 51 | color: #333333; |
| 52 | border-bottom: 1px solid #cccccc; |
| 53 | vertical-align: middle; |
| 54 | padding: 5px; |
| 55 | } |
| 56 | |
| 57 | td.aligntop { |
| 58 | vertical-align: top; |
| 59 | } |
| 60 | |
| 61 | td.content img { |
| 62 | width: 10px; |
| 63 | height: 10px; |
| 64 | } |
| 65 | |
| 66 | td.disabled { |
| 67 | color: #999999; |
| 68 | } |
| 69 | |
| 70 | th.content { |
| 71 | color: #333333; |
| 72 | border-bottom: 1px solid #cccccc; |
| 73 | text-align: left; |
| 74 | padding: 5px; |
| 75 | padding-left: 10px; |
| 76 | font-weight: bold; |
| 77 | } |
| 78 | |
| 79 | .right { |
| 80 | text-align: right; |
| 81 | } |
| 82 | .center { |
| 83 | text-align: center; |
| 84 | } |
| 85 | |
| 86 | th.container { |
| 87 | color: #6181A9; |
| 88 | background-color: #f0f0f0; |
| 89 | } |
| 90 | |
| 91 | th.important { |
| 92 | color: #B81833; |
| 93 | } |
| 94 | |
| 95 | .important { |
| 96 | color: #B81833; |
| 97 | } |
| 98 | |
| 99 | .clearleft { |
| 100 | clear: left; |
| 101 | } |
| 102 | |
| 103 | .clearboth { |
| 104 | clear: both; |
| 105 | } |
| 106 | /******************************************************************************/ |
| 107 | |
| 108 | |
| 109 | /******************************************************************************* |
| 110 | * The tablelayout class hass been used recently to render tables in a uniform |
| 111 | * way. Some existing plugins might still use the tablelayout class. |
| 112 | */ |
| 113 | table.tablelayout { |
| 114 | border-left: 1px solid #6181A9; |
| 115 | border-right: 1px solid #6181A9; |
| 116 | border-collapse: collapse; |
| 117 | font-family:arial; |
| 118 | background-color: #CDCDCD; |
| 119 | font-size: 8pt; |
| 120 | width: 100%; |
| 121 | text-align: left; |
| 122 | } |
| 123 | table.tablelayout tbody tr { |
| 124 | border-left: 1px solid #6181A9; |
| 125 | border-right: 1px solid #6181A9; |
| 126 | } |
| 127 | |
| 128 | table.tablelayout thead tr th, table.tablelayout tfoot tr th { |
| 129 | background-color: #e6EEEE; |
| 130 | border: 1px solid #6181A9; |
| 131 | font-size: 8pt; |
| 132 | padding: 4px; |
| 133 | } |
| 134 | table.tablelayout thead tr .header { |
| 135 | background-image: url(../imgs/bg.gif); |
| 136 | background-repeat: no-repeat; |
| 137 | background-position: center right; |
| 138 | cursor: pointer; |
| 139 | } |
| 140 | table.tablelayout tbody td { |
| 141 | color: #3D3D3D; |
| 142 | border-top: 1px solid #6181A9; |
| 143 | border-bottom: 1px solid #6181A9; |
| 144 | padding: 4px; |
| 145 | background-color: #FFF; |
| 146 | vertical-align: top; |
| 147 | } |
| 148 | table.tablelayout tbody tr.odd td { |
| 149 | background-color:#F0F0F6; |
| 150 | } |
| 151 | table.tablelayout thead tr .headerSortUp { |
| 152 | background-image: url(../imgs/asc.gif); |
| 153 | } |
| 154 | table.tablelayout thead tr .headerSortDown { |
| 155 | background-image: url(../imgs/desc.gif); |
| 156 | } |
| 157 | table.tablelayout thead tr .headerSortDown, table.tablelayout thead tr .headerSortUp { |
| 158 | background-color: #8dbdd8; |
| 159 | } |
| 160 | /******************************************************************************/ |
| 161 | |
| 162 | |
| 163 | /******************************************************************************* |
| 164 | * The statusline class was the predecessor to the current status line setup |
| 165 | * using the JQuery UI statline and ui-state-highlight classes. |
| 166 | * This backwards compatible statusline class is configured as a copy of the |
| 167 | * basic theme statline/ui-state-highlight classes. |
| 168 | */ |
| 169 | div.statusline { |
| 170 | margin-bottom:0.5em !important; |
| 171 | margin-top:0.5em !important; |
| 172 | padding:0.2em; |
| 173 | background:#FBF9EE url(images/ui-bg_glass_55_fbf9ee_1x400.png) repeat-x scroll 50% 50%; |
| 174 | border:1px solid #FCEFA1; |
| 175 | color:#363636; |
| 176 | } |
| 177 | /******************************************************************************/ |