UNPKG

993 BSCSSView Raw
1// Name: Switcher
2// Description: Component to navigate through different content panes
3//
4// Component: `uk-switcher`
5//
6// States: `uk-active`
7//
8// ========================================================================
9
10
11/* ========================================================================
12 Component: Switcher
13 ========================================================================== */
14
15/*
16 * Reset list
17 */
18
19.uk-switcher {
20 margin: 0;
21 padding: 0;
22 list-style: none;
23}
24
25
26/* Items
27 ========================================================================== */
28
29/*
30 * Hide not active items
31 */
32
33.uk-switcher > :not(.uk-active) { display: none; }
34
35/*
36 * Remove margin from the last-child
37 */
38
39.uk-switcher > * > :last-child { margin-bottom: 0; }
40
41
42// Hooks
43// ========================================================================
44
45@if(mixin-exists(hook-switcher-misc)) {@include hook-switcher-misc();}
46
47// @mixin hook-switcher-misc(){}
\No newline at end of file