Mercurial > hg > isophonics-drupal-site
annotate core/themes/classy/css/components/details.css @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
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@18 | 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@18 | 21 padding: 0.2em 0.5em; |
Chris@0 | 22 cursor: pointer; |
Chris@0 | 23 } |