Project

General

Profile

1
//
2
// Component: List
3
//
4
// ========================================================================
5

    
6

    
7
// Variables
8
// ========================================================================
9

    
10
//
11
// New
12
//
13

    
14
@list-striped-border-width:                     @global-border-width;
15
@list-striped-border:                           @global-border;
16

    
17

    
18
// Style modifiers
19
// ========================================================================
20

    
21
.hook-list-divider() {}
22

    
23
.hook-list-striped() { border-bottom: @list-striped-border-width solid @list-striped-border; }
24

    
25
.hook-list-bullet() {}
26

    
27

    
28
// Miscellaneous
29
// ========================================================================
30

    
31
.hook-list-misc() {
32

    
33
    .uk-list-striped > li:first-child { border-top: @list-striped-border-width solid @list-striped-border; }
34

    
35
}
36

    
37

    
38
// Inverse
39
// ========================================================================
40

    
41
.hook-inverse-list-divider() {}
42
.hook-inverse-list-striped() {
43

    
44
    &:first-child { border-top-color: @inverse-global-border; }
45

    
46
    border-bottom-color: @inverse-global-border;
47

    
48
}
49
.hook-inverse-list-bullet() {}
(30-30/59)