summaryrefslogtreecommitdiffstats
path: root/lib/themes/basic/jtable_basic.less
blob: 54e78bc42d4e25d9f98d3d99f2273b317a34654b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* These file is a start point for who wants to create a fully custom
 * theme for jTable. jtable_theme_base.less (or css) file is needed
 * for functionality of jTable. This file does not add any color or shape
 * modifications. It just shows how to set icons. You can change them too.
 * Halil ibrahim Kalkan / http://www.jtable.org
 */

@import "../jtable_theme_base.less";

.jtable_theme_base;

div.jtable-main-container
{
    div.jtable-title
    {
        div.jtable-title-text
        {
			font-size: 16px;
			font-weight: bold;
        }

        .jtable-close-button
        {
            background: url('close.png') no-repeat;
            width: 16px;
            height: 16px;
        }
    }

    table.jtable
    {
        thead
        {
            th
            {
                &.jtable-column-header-sortable div.jtable-column-header-container
                {
                    background: url('column-sortable.png') no-repeat right;
                }

                &.jtable-column-header-sorted-asc div.jtable-column-header-container
                {
                    background: url('column-asc.png') no-repeat right;
                }

                &.jtable-column-header-sorted-desc div.jtable-column-header-container
                {
                    background: url('column-desc.png') no-repeat right;
                }
            }
        }

        tbody
        {
            > tr
            {
                > td
                {
                    .jtable-edit-command-button
                    {
                        background: url('edit.png') no-repeat;
                        width: 16px;
                        height: 16px;
                    }

                    .jtable-delete-command-button
                    {
                        background: url('delete.png') no-repeat;
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }
    }
}

div.jtable-busy-message
{
    color: #000;
    background-color: #ddd;
    font-size: 1.25em;
}