diff options
Diffstat (limited to 'css/components/accordion.css')
-rwxr-xr-x | css/components/accordion.css | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/css/components/accordion.css b/css/components/accordion.css new file mode 100755 index 0000000..b7092e6 --- /dev/null +++ b/css/components/accordion.css | |||
@@ -0,0 +1,37 @@ | |||
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: #eee; | ||
12 | font-size: 18px; | ||
13 | line-height: 24px; | ||
14 | cursor: pointer; | ||
15 | } | ||
16 | /* Sub-object: `uk-accordion-content` | ||
17 | ========================================================================== */ | ||
18 | .uk-accordion-content { | ||
19 | padding: 0 15px 15px 15px; | ||
20 | } | ||
21 | /* | ||
22 | * Micro clearfix to make panels more robust | ||
23 | */ | ||
24 | .uk-accordion-content:before, | ||
25 | .uk-accordion-content:after { | ||
26 | content: ""; | ||
27 | display: table; | ||
28 | } | ||
29 | .uk-accordion-content:after { | ||
30 | clear: both; | ||
31 | } | ||
32 | /* | ||
33 | * Remove margin from the last-child | ||
34 | */ | ||
35 | .uk-accordion-content > :last-child { | ||
36 | margin-bottom: 0; | ||
37 | } | ||