diff options
Diffstat (limited to 'css/components/accordion.almost-flat.css')
| -rwxr-xr-x | css/components/accordion.almost-flat.css | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/css/components/accordion.almost-flat.css b/css/components/accordion.almost-flat.css new file mode 100755 index 0000000..8961cb1 --- /dev/null +++ b/css/components/accordion.almost-flat.css | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Accordion | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object: `uk-accordion-title` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-accordion-title { | ||
| 8 | margin-top: 0; | ||
| 9 | margin-bottom: 15px; | ||
| 10 | padding: 5px 15px; | ||
| 11 | background: #f5f5f5; | ||
| 12 | font-size: 18px; | ||
| 13 | line-height: 24px; | ||
| 14 | cursor: pointer; | ||
| 15 | border: 1px solid #ddd; | ||
| 16 | border-radius: 4px; | ||
| 17 | } | ||
| 18 | /* Sub-object: `uk-accordion-content` | ||
| 19 | ========================================================================== */ | ||
| 20 | .uk-accordion-content { | ||
| 21 | padding: 0 15px 15px 15px; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * Micro clearfix to make panels more robust | ||
| 25 | */ | ||
| 26 | .uk-accordion-content:before, | ||
| 27 | .uk-accordion-content:after { | ||
| 28 | content: ""; | ||
| 29 | display: table; | ||
| 30 | } | ||
| 31 | .uk-accordion-content:after { | ||
| 32 | clear: both; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Remove margin from the last-child | ||
| 36 | */ | ||
| 37 | .uk-accordion-content > :last-child { | ||
| 38 | margin-bottom: 0; | ||
| 39 | } | ||
