srikanth | 116e6e8 | 2014-08-19 07:22:37 -0700 | [diff] [blame] | 1 | /* |
| 2 | # |
| 3 | # Copyright (c) 2013 Big Switch Networks, Inc. |
| 4 | # |
| 5 | # Licensed under the Eclipse Public License, Version 1.0 (the |
| 6 | # "License"); you may not use this file except in compliance with the |
| 7 | # License. You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.eclipse.org/legal/epl-v10.html |
| 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 |
| 14 | # implied. See the License for the specific language governing |
| 15 | # permissions and limitations under the License. |
| 16 | # |
| 17 | |
| 18 | dynamic table CSS, edited for 2 tables */ |
| 19 | |
| 20 | .dynamictable { |
| 21 | margin:0px;padding:0px; |
| 22 | border-top: 0px; |
| 23 | /*border:1px solid #e5e5e5;*/ |
| 24 | width:100%; |
| 25 | float: left; |
| 26 | position:relative; |
| 27 | |
| 28 | -moz-border-radius-bottomleft:5px; |
| 29 | -webkit-border-bottom-left-radius:5px; |
| 30 | border-bottom-left-radius:5px; |
| 31 | |
| 32 | -moz-border-radius-bottomright:5px; |
| 33 | -webkit-border-bottom-right-radius:5px; |
| 34 | border-bottom-right-radius:5px; |
| 35 | |
| 36 | /*-moz-border-radius-topright:5px; |
| 37 | -webkit-border-top-right-radius:5px; |
| 38 | border-top-right-radius:5px; |
| 39 | |
| 40 | -moz-border-radius-topleft:5px; |
| 41 | -webkit-border-top-left-radius:5px; |
| 42 | border-top-left-radius:5px;*/ |
| 43 | }.dynamictable table{ |
| 44 | width:100%; |
| 45 | margin:0px;padding:0px; |
| 46 | border-collapse: collapse; |
| 47 | border-spacing: 0px; |
| 48 | }.dynamictable tr:last-child td:last-child { |
| 49 | -moz-border-radius-bottomright:5px; |
| 50 | -webkit-border-bottom-right-radius:5px; |
| 51 | border-bottom-right-radius:5px; |
| 52 | } |
| 53 | .dynamictable table tr:first-child td:first-child { |
| 54 | /* -moz-border-radius-topleft:5px; |
| 55 | -webkit-border-top-left-radius:5px; |
| 56 | border-top-left-radius:5px;*/ |
| 57 | } |
| 58 | .dynamictable table tr:first-child td:last-child { |
| 59 | /* -moz-border-radius-topright:5px; |
| 60 | -webkit-border-top-right-radius:5px; |
| 61 | border-top-right-radius:5px;*/ |
| 62 | }.dynamictable tr:last-child td:first-child{ |
| 63 | -moz-border-radius-bottomleft:5px; |
| 64 | -webkit-border-bottom-left-radius:5px; |
| 65 | border-bottom-left-radius:5px; |
| 66 | }.dynamictable tr:hover td{ |
| 67 | |
| 68 | } |
| 69 | .dynamictable tr:nth-child(odd){ background-color:#e5e5e5; } |
| 70 | .dynamictable tr:nth-child(even) { background-color:#ffffff; }.dynamictable td{ |
| 71 | vertical-align:middle; |
| 72 | |
| 73 | |
| 74 | border-width:0px 1px 1px 0px; |
| 75 | text-align:center; |
| 76 | padding:7px; |
| 77 | font-size:12px; |
| 78 | font-family:Helvetica; |
| 79 | font-weight:normal; |
| 80 | color:#4d4d4f; |
| 81 | }.dynamictable tr:last-child td{ |
| 82 | border-width:0px 1px 0px 0px; |
| 83 | }.dynamictable tr td:last-child{ |
| 84 | border-width:0px 0px 1px 0px; |
| 85 | }.dynamictable tr:last-child td:last-child{ |
| 86 | border-width:0px 0px 0px 0px; |
| 87 | } |
| 88 | .dynamictable tr:first-child td{ |
| 89 | background:-o-linear-gradient(bottom, #fdb813 5%, #fdb813 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fdb813), color-stop(1, #fdb813) ); |
| 90 | background:-moz-linear-gradient( center top, #fdb813 5%, #fdb813 100% ); |
| 91 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdb813", endColorstr="#fdb813"); background: -o-linear-gradient(top,#fdb813,fdb813); |
| 92 | |
| 93 | background-color:#fdb813; |
| 94 | /*border:0px solid #e5e5e5;*/ |
| 95 | text-align:center; |
| 96 | border-width:0px 0px 1px 1px; |
| 97 | font-size:14px; |
| 98 | font-family:Helvetica; |
| 99 | font-weight:bold; |
| 100 | color:#ffffff; |
| 101 | } |
| 102 | .dynamictable tr:first-child:hover td{ |
| 103 | background:-o-linear-gradient(bottom, #fdb813 5%, #fdb813 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fdb813), color-stop(1, #fdb813) ); |
| 104 | background:-moz-linear-gradient( center top, #fdb813 5%, #fdb813 100% ); |
| 105 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdb813", endColorstr="#fdb813"); background: -o-linear-gradient(top,#fdb813,fdb813); |
| 106 | |
| 107 | background-color:#fdb813; |
| 108 | } |
| 109 | .dynamictable tr:first-child td:first-child{ |
| 110 | border-width:0px 0px 1px 0px; |
| 111 | } |
| 112 | .dynamictable tr:first-child td:last-child{ |
| 113 | border-width:0px 0px 1px 1px; |
| 114 | } |
| 115 | |
| 116 | /* begin dynamictable 2 */ |
| 117 | |
| 118 | .dynamictable2 { |
| 119 | margin:0px;padding:0px; |
| 120 | border-top: 0px; |
| 121 | /*border:1px solid #e5e5e5;*/ |
| 122 | width:100%; |
| 123 | float: left; |
| 124 | position:relative; |
| 125 | |
| 126 | -moz-border-radius-bottomleft:5px; |
| 127 | -webkit-border-bottom-left-radius:5px; |
| 128 | border-bottom-left-radius:5px; |
| 129 | |
| 130 | -moz-border-radius-bottomright:5px; |
| 131 | -webkit-border-bottom-right-radius:5px; |
| 132 | border-bottom-right-radius:5px; |
| 133 | |
| 134 | -moz-border-radius-topright:5px; |
| 135 | -webkit-border-top-right-radius:5px; |
| 136 | border-top-right-radius:5px; |
| 137 | |
| 138 | -moz-border-radius-topleft:5px; |
| 139 | -webkit-border-top-left-radius:5px; |
| 140 | border-top-left-radius:5px; |
| 141 | }.dynamictable2 table{ |
| 142 | width:100%; |
| 143 | margin:0px;padding:0px; |
| 144 | border-collapse: collapse; |
| 145 | border-spacing: 0px; |
| 146 | }.dynamictable2 tr:last-child td:last-child { |
| 147 | -moz-border-radius-bottomright:5px; |
| 148 | -webkit-border-bottom-right-radius:5px; |
| 149 | border-bottom-right-radius:5px; |
| 150 | } |
| 151 | .dynamictable2 table tr:first-child td:first-child { |
| 152 | -moz-border-radius-topleft:5px; |
| 153 | -webkit-border-top-left-radius:5px; |
| 154 | border-top-left-radius:5px; |
| 155 | } |
| 156 | .dynamictable2 table tr:first-child td:last-child { |
| 157 | -moz-border-radius-topright:5px; |
| 158 | -webkit-border-top-right-radius:5px; |
| 159 | border-top-right-radius:5px; |
| 160 | }.dynamictable2 tr:last-child td:first-child{ |
| 161 | -moz-border-radius-bottomleft:5px; |
| 162 | -webkit-border-bottom-left-radius:5px; |
| 163 | border-bottom-left-radius:5px; |
| 164 | }.dynamictable2 tr:hover td{ |
| 165 | |
| 166 | } |
| 167 | .dynamictable2 tr:nth-child(odd){ background-color:#f5f5f5; } |
| 168 | .dynamictable2 tr:nth-child(even) { background-color:#ffffff; }.dynamictable2 td{ |
| 169 | vertical-align:middle; |
| 170 | |
| 171 | |
| 172 | border-width:0px 1px 1px 0px; |
| 173 | text-align:center; |
| 174 | padding:7px; |
| 175 | font-size:12px; |
| 176 | font-family:Helvetica; |
| 177 | font-weight:normal; |
| 178 | color:#4d4d4f; |
| 179 | }.dynamictable2 tr:last-child td{ |
| 180 | border-width:0px 1px 0px 0px; |
| 181 | }.dynamictable2 tr td:last-child{ |
| 182 | border-width:0px 0px 1px 0px; |
| 183 | }.dynamictable2 tr:last-child td:last-child{ |
| 184 | border-width:0px 0px 0px 0px; |
| 185 | } |
| 186 | .dynamictable2 tr:first-child td{ |
| 187 | background:-o-linear-gradient(bottom, #fdb813 5%, #fdb813 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fdb813), color-stop(1, #fdb813) ); |
| 188 | background:-moz-linear-gradient( center top, #fdb813 5%, #fdb813 100% ); |
| 189 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdb813", endColorstr="#fdb813"); background: -o-linear-gradient(top,#fdb813,fdb813); |
| 190 | |
| 191 | background-color:#fdb813; |
| 192 | /*border:0px solid #e5e5e5;*/ |
| 193 | text-align:center; |
| 194 | border-width:0px 0px 1px 1px; |
| 195 | font-size:14px; |
| 196 | font-family:Helvetica; |
| 197 | font-weight:bold; |
| 198 | color:#ffffff; |
| 199 | } |
| 200 | .dynamictable2 tr:first-child:hover td{ |
| 201 | background:-o-linear-gradient(bottom, #fdb813 5%, #fdb813 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fdb813), color-stop(1, #fdb813) ); |
| 202 | background:-moz-linear-gradient( center top, #fdb813 5%, #fdb813 100% ); |
| 203 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdb813", endColorstr="#fdb813"); background: -o-linear-gradient(top,#fdb813,fdb813); |
| 204 | |
| 205 | background-color:#fdb813; |
| 206 | } |
| 207 | .dynamictable2 tr:first-child td:first-child{ |
| 208 | border-width:0px 0px 1px 0px; |
| 209 | } |
| 210 | .dynamictable2 tr:first-child td:last-child{ |
| 211 | border-width:0px 0px 1px 1px; |
| 212 | } |
| 213 | |