annotate core/misc/dialog/off-canvas.table.css @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
rev   line source
Chris@0 1 /**
Chris@0 2 * @file
Chris@0 3 * Visual styling for tables in the off-canvas dialog.
Chris@0 4 */
Chris@0 5
Chris@0 6 #drupal-off-canvas table * {
Chris@0 7 font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
Chris@0 8 }
Chris@0 9 #drupal-off-canvas table {
Chris@0 10 display: table;
Chris@0 11 width: 100%;
Chris@0 12 min-width: calc(100% + 40px);
Chris@0 13 /* Cancel out the padding of the parent to make the table full width. */
Chris@0 14 margin: 0 -20px -10px -20px;
Chris@0 15 border: 0;
Chris@0 16 border-collapse: collapse;
Chris@0 17 font-size: 12px;
Chris@0 18 color: #ddd;
Chris@0 19 }
Chris@0 20 #drupal-off-canvas table thead {
Chris@0 21 display: table-header-group;
Chris@0 22 }
Chris@0 23 #drupal-off-canvas table tbody {
Chris@0 24 display: table-row-group;
Chris@0 25 }
Chris@0 26 #drupal-off-canvas tr {
Chris@0 27 display: table-row;
Chris@0 28 }
Chris@0 29 #drupal-off-canvas tr:hover td {
Chris@0 30 background-color: transparent;
Chris@0 31 }
Chris@0 32
Chris@0 33 #drupal-off-canvas td,
Chris@0 34 #drupal-off-canvas th {
Chris@0 35 display: table-cell;
Chris@0 36 height: auto;
Chris@0 37 width: auto;
Chris@0 38 padding: 2px 8px;
Chris@0 39 vertical-align: middle;
Chris@0 40 border-bottom: 1px solid #777;
Chris@0 41 background-color: transparent;
Chris@0 42 }
Chris@0 43 [dir="rtl"] #drupal-off-canvas th,
Chris@0 44 [dir="rtl"] #drupal-off-canvas td {
Chris@0 45 text-align: right;
Chris@0 46 }
Chris@0 47 #drupal-off-canvas th {
Chris@0 48 font-weight: bold;
Chris@0 49 }
Chris@0 50 #drupal-off-canvas th.checkbox,
Chris@0 51 #drupal-off-canvas td.checkbox {
Chris@0 52 width: 20px;
Chris@0 53 padding: 0;
Chris@0 54 text-align: center;
Chris@0 55 }
Chris@0 56 #drupal-off-canvas div.checkbox.menu-enabled {
Chris@0 57 position: static;
Chris@0 58 display: inline;
Chris@0 59 width: auto;
Chris@0 60 }
Chris@0 61 #drupal-off-canvas th:first-child,
Chris@0 62 #drupal-off-canvas td:first-child {
Chris@0 63 width: 150px;
Chris@0 64 }
Chris@0 65 /* For lack of a better class, using this to grab the operations th. */
Chris@0 66 #drupal-off-canvas .tabledrag-has-colspan {
Chris@0 67 text-align: right;
Chris@0 68 padding-right: 20px;
Chris@0 69 }
Chris@0 70 #drupal-off-canvas td {
Chris@0 71 padding: 6px 8px;
Chris@0 72 color: #ddd;
Chris@0 73 }
Chris@0 74 /* Hide overflow with ellipsis for links. */
Chris@0 75 #drupal-off-canvas td a {
Chris@0 76 display: block;
Chris@0 77 overflow: hidden;
Chris@0 78 text-overflow: ellipsis;
Chris@0 79 white-space: nowrap;
Chris@0 80 background: transparent;
Chris@0 81 }
Chris@0 82 #drupal-off-canvas tr td:first-child,
Chris@0 83 #drupal-off-canvas tr th:first-child {
Chris@0 84 padding-left: 20px; /* LTR */
Chris@0 85 }
Chris@0 86 [dir="rtl"] #drupal-off-canvas tr td:first-child,
Chris@0 87 [dir="rtl"] #drupal-off-canvas tr th:first-child {
Chris@0 88 padding-right: 20px;
Chris@0 89 }