comparison core/misc/dialog/off-canvas.table.css @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
2 * @file 2 * @file
3 * Visual styling for tables in the off-canvas dialog. 3 * Visual styling for tables in the off-canvas dialog.
4 */ 4 */
5 5
6 #drupal-off-canvas table * { 6 #drupal-off-canvas table * {
7 font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif; 7 font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
8 } 8 }
9 #drupal-off-canvas table { 9 #drupal-off-canvas table {
10 display: table; 10 display: table;
11 width: 100%; 11 width: 100%;
12 min-width: calc(100% + 40px); 12 min-width: calc(100% + 40px);
13 /* Cancel out the padding of the parent to make the table full width. */ 13 /* Cancel out the padding of the parent to make the table full width. */
14 margin: 0 -20px -10px -20px; 14 margin: 0 -20px -10px -20px;
15 color: #ddd;
15 border: 0; 16 border: 0;
16 border-collapse: collapse; 17 border-collapse: collapse;
17 font-size: 12px; 18 font-size: 12px;
18 color: #ddd;
19 } 19 }
20 #drupal-off-canvas table thead { 20 #drupal-off-canvas table thead {
21 display: table-header-group; 21 display: table-header-group;
22 } 22 }
23 #drupal-off-canvas table tbody { 23 #drupal-off-canvas table tbody {
31 } 31 }
32 32
33 #drupal-off-canvas td, 33 #drupal-off-canvas td,
34 #drupal-off-canvas th { 34 #drupal-off-canvas th {
35 display: table-cell; 35 display: table-cell;
36 width: auto;
36 height: auto; 37 height: auto;
37 width: auto;
38 padding: 2px 8px; 38 padding: 2px 8px;
39 vertical-align: middle; 39 vertical-align: middle;
40 border-bottom: 1px solid #777; 40 border-bottom: 1px solid #777;
41 background-color: transparent; 41 background-color: transparent;
42 } 42 }
62 #drupal-off-canvas td:first-child { 62 #drupal-off-canvas td:first-child {
63 width: 150px; 63 width: 150px;
64 } 64 }
65 /* For lack of a better class, using this to grab the operations th. */ 65 /* For lack of a better class, using this to grab the operations th. */
66 #drupal-off-canvas .tabledrag-has-colspan { 66 #drupal-off-canvas .tabledrag-has-colspan {
67 padding-right: 20px;
67 text-align: right; 68 text-align: right;
68 padding-right: 20px;
69 } 69 }
70 #drupal-off-canvas td { 70 #drupal-off-canvas td {
71 padding: 6px 8px; 71 padding: 6px 8px;
72 color: #ddd; 72 color: #ddd;
73 } 73 }
74 /* Hide overflow with ellipsis for links. */ 74 /* Hide overflow with ellipsis for links. */
75 #drupal-off-canvas td a { 75 #drupal-off-canvas td a {
76 display: block; 76 display: block;
77 overflow: hidden; 77 overflow: hidden;
78 white-space: nowrap;
78 text-overflow: ellipsis; 79 text-overflow: ellipsis;
79 white-space: nowrap;
80 background: transparent; 80 background: transparent;
81 } 81 }
82 #drupal-off-canvas tr td:first-child, 82 #drupal-off-canvas tr td:first-child,
83 #drupal-off-canvas tr th:first-child { 83 #drupal-off-canvas tr th:first-child {
84 padding-left: 20px; /* LTR */ 84 padding-left: 20px; /* LTR */