/*
 * Copyright (c) 2018 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

// Drupal table styles

form .field-multiple-table th.field-label {
  padding-left: 8px;
  label {
    margin-bottom: 0;
    text-transform: uppercase;
  }
}

table.sticky-header {
  z-index: 999;
}

table.field-multiple-table {
  th.tabledrag-hide {
    width: 70px;
  }

  td.field-multiple-drag {
    width: 40px;
    a.tabledrag-handle {
      .handle {
        width: 25px;
        height: 25px;
      }
    }
  }
}

.table>thead>tr>th.active{
  background-color:@tables-background-color;
  color: @tables-color;
}

th {
  border: none;
  padding: 0;
  background-color: @tables-background-color;
  color: @tables-color;
  padding: 8px;
  font-size: 1em;
  line-height: 1;
  text-align: left;
  a {
    background-color: @tables-background-color;
    color: @tables-color;
    display: block;
    &:hover, &:visited {
      color: @tables-color;
    }

    img {
      display: inline-block;
      margin-left: 10px;
    }
  }
}

td {
  padding: 10px;
}
