| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| .table-responsive { |
| margin: 10px 0; |
| } |
| |
| table { |
| border-color: @card-border-color; |
| width: 100%; |
| |
| } |
| th { |
| padding: 10px; |
| } |
| td { |
| padding: 8px; |
| border-color: @card-border-color; |
| vertical-align: top; |
| |
| p { |
| margin:0; |
| } |
| } |
| |
| td, th { |
| padding: 10px; |
| } |
| |
| tr { |
| &:nth-child(even) { |
| background: @primary-5; |
| } |
| &.clickable { |
| cursor: pointer; |
| cursor: hand; |
| &:hover { |
| background: @primary-10; |
| &:nth-child(even) { |
| background: @primary-20; |
| } |
| } |
| } |
| } |
| |
| tr td:first-child { |
| width: 120px; |
| |
| } |
| |
| tr td:nth-child(2) { |
| width: 120px; |
| |
| |
| } |
| |
| .table-bordered > thead > tr > th, |
| .table-bordered > thead:first-child > tr:first-child > th{ |
| background: @primary-10; |
| vertical-align: bottom; |
| border-color: darken(@card-border-color, 10%); |
| border-bottom-width: 1px; |
| } |
| |
| |
| .table-bordered > thead > tr > th, |
| .table-bordered > tbody > tr > th, |
| .table-bordered > tfoot > tr > th, |
| .table-responsive { |
| border-color: darken(@card-border-color, 10%); |
| } |
| .table-bordered > thead > tr > td, |
| .table-bordered > tbody > tr > td, |
| .table-bordered > tfoot > tr > td, |
| .table-bordered { |
| border-color: @card-border-color; |
| } |
| |
| .table-bordered { |
| border-top-color: darken(@card-border-color, 10%); |
| } |