Mercurial > hg > isophonics-drupal-site
annotate core/themes/classy/css/components/collapse-processed.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 * Visual styles for collapsible fieldsets. |
Chris@0 | 4 */ |
Chris@0 | 5 |
Chris@0 | 6 .collapse-processed > summary { |
Chris@18 | 7 padding-right: 0.5em; |
Chris@0 | 8 padding-left: 0.5em; |
Chris@0 | 9 } |
Chris@0 | 10 .collapse-processed > summary:before { |
Chris@18 | 11 float: left; /* LTR */ |
Chris@18 | 12 width: 1em; |
Chris@18 | 13 height: 1em; |
Chris@18 | 14 content: ""; |
Chris@14 | 15 background: url(../../../../misc/menu-expanded.png) 0 100% no-repeat; /* LTR */ |
Chris@0 | 16 } |
Chris@0 | 17 [dir="rtl"] .collapse-processed > summary:before { |
Chris@18 | 18 float: right; |
Chris@0 | 19 background-position: 100% 100%; |
Chris@0 | 20 } |
Chris@0 | 21 .collapse-processed:not([open]) > summary:before { |
Chris@0 | 22 -ms-transform: rotate(-90deg); |
Chris@0 | 23 -webkit-transform: rotate(-90deg); |
Chris@0 | 24 transform: rotate(-90deg); |
Chris@18 | 25 background-position: 25% 35%; /* LTR */ |
Chris@0 | 26 } |
Chris@0 | 27 [dir="rtl"] .collapse-processed:not([open]) > summary:before { |
Chris@0 | 28 -ms-transform: rotate(90deg); |
Chris@0 | 29 -webkit-transform: rotate(90deg); |
Chris@0 | 30 transform: rotate(90deg); |
Chris@18 | 31 background-position: 75% 35%; |
Chris@0 | 32 } |