Mercurial > hg > cmmr2012-drupal-site
annotate core/themes/classy/css/components/details.css @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
rev | line source |
---|---|
Chris@0 | 1 /** |
Chris@0 | 2 * @file |
Chris@0 | 3 * Collapsible details. |
Chris@0 | 4 * |
Chris@0 | 5 * @see collapse.js |
Chris@0 | 6 * @see http://nicolasgallagher.com/css-background-image-hacks/ |
Chris@0 | 7 */ |
Chris@0 | 8 |
Chris@0 | 9 details { |
Chris@0 | 10 margin-top: 1em; |
Chris@0 | 11 margin-bottom: 1em; |
Chris@5 | 12 border: 1px solid #ccc; |
Chris@0 | 13 } |
Chris@0 | 14 details > .details-wrapper { |
Chris@0 | 15 padding: 0.5em 1.5em; |
Chris@0 | 16 } |
Chris@0 | 17 /* @todo Regression: The summary of uncollapsible details are no longer |
Chris@0 | 18 vertically aligned with the .details-wrapper in browsers without native |
Chris@0 | 19 details support. */ |
Chris@0 | 20 summary { |
Chris@5 | 21 padding: 0.2em 0.5em; |
Chris@0 | 22 cursor: pointer; |
Chris@0 | 23 } |