Felix Meschberger | d1fb88a | 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 { |
Felix Meschberger | d1fb88a | 2010-03-12 12:11:39 +0000 | [diff] [blame] | 124 | } |
| 125 | |
| 126 | table.tablelayout thead tr th, table.tablelayout tfoot tr th { |
| 127 | background-color: #e6EEEE; |
| 128 | border: 1px solid #6181A9; |
| 129 | font-size: 8pt; |
| 130 | padding: 4px; |
| 131 | } |
| 132 | table.tablelayout thead tr .header { |
| 133 | background-image: url(../imgs/bg.gif); |
| 134 | background-repeat: no-repeat; |
| 135 | background-position: center right; |
| 136 | cursor: pointer; |
| 137 | } |
| 138 | table.tablelayout tbody td { |
| 139 | color: #3D3D3D; |
| 140 | border-top: 1px solid #6181A9; |
| 141 | border-bottom: 1px solid #6181A9; |
| 142 | padding: 4px; |
| 143 | background-color: #FFF; |
| 144 | vertical-align: top; |
| 145 | } |
| 146 | table.tablelayout tbody tr.odd td { |
| 147 | background-color:#F0F0F6; |
| 148 | } |
| 149 | table.tablelayout thead tr .headerSortUp { |
| 150 | background-image: url(../imgs/asc.gif); |
| 151 | } |
| 152 | table.tablelayout thead tr .headerSortDown { |
| 153 | background-image: url(../imgs/desc.gif); |
| 154 | } |
| 155 | table.tablelayout thead tr .headerSortDown, table.tablelayout thead tr .headerSortUp { |
| 156 | background-color: #8dbdd8; |
| 157 | } |
| 158 | /******************************************************************************/ |
| 159 | |
| 160 | |
| 161 | /******************************************************************************* |
| 162 | * The statusline class was the predecessor to the current status line setup |
| 163 | * using the JQuery UI statline and ui-state-highlight classes. |
| 164 | * This backwards compatible statusline class is configured as a copy of the |
| 165 | * basic theme statline/ui-state-highlight classes. |
| 166 | */ |
| 167 | div.statusline { |
| 168 | margin-bottom:0.5em !important; |
| 169 | margin-top:0.5em !important; |
| 170 | padding:0.2em; |
| 171 | background:#FBF9EE url(images/ui-bg_glass_55_fbf9ee_1x400.png) repeat-x scroll 50% 50%; |
| 172 | border:1px solid #FCEFA1; |
| 173 | color:#363636; |
| 174 | } |
| 175 | /******************************************************************************/ |