Project

General

Profile

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

    
6

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

    
10
@table-header-cell-font-size:                   @global-small-font-size;
11
@table-header-cell-font-weight:                 normal;
12
@table-header-cell-color:                       @global-muted-color;
13

    
14
//
15
// New
16
//
17

    
18
@table-cell-border-width:                       @global-border-width;
19
@table-cell-border:                             @global-border;
20

    
21

    
22
// Component
23
// ========================================================================
24

    
25
.hook-table-header-cell() {
26
    border-bottom: @table-cell-border-width solid @table-cell-border;
27
    text-transform: uppercase;
28
}
29

    
30
.hook-table-cell() {}
31

    
32
.hook-table-footer() { border-top: @table-cell-border-width solid @table-cell-border; }
33

    
34
.hook-table-caption() {}
35

    
36
.hook-table-row-active() {}
37

    
38

    
39
// Style modifiers
40
// ========================================================================
41

    
42
.hook-table-striped() {}
43

    
44
.hook-table-hover() {}
45

    
46

    
47
// Size modifier
48
// ========================================================================
49

    
50
.hook-table-small() {}
51

    
52

    
53
// Miscellaneous
54
// ========================================================================
55

    
56
.hook-table-misc() {
57

    
58
    .uk-table :not(:last-child) > td { border-bottom: @table-cell-border-width solid @table-cell-border; }
59

    
60
    .uk-table tbody tr {
61
        -webkit-transition: background-color 0.1s linear;
62
        transition: background-color 0.1s linear;
63
    }
64

    
65
}
(51-51/59)