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