summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/farmer/style.less
blob: 905078c4f641994d7ad642a9ed40bfa0d71b92c0 (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#plugin__farmer_admin {

    .panelHeader {
        background-color: #eee;
        margin: 0;
        padding: 10px 10px 8px;
        overflow: hidden;
        border-right: 1px solid @ini_border;
        border-left: 1px solid @ini_border;
    }

    .panelMain,
    .panelFooter {
        padding: 1em;
        border-right: 1px solid @ini_border;
        border-left: 1px solid @ini_border;
    }

    .panelFooter {
        border-bottom: 1px solid @ini_border;
    }

    form {
        display: block;
        text-align: center;

        fieldset {
            width: 80%;
            padding: 1em;
        }

        label {
            text-align: left;
            display: block;
            margin-bottom: 0.5em;

            &:hover {
                background-color: @ini_background_alt;
            }

            span {
                display: inline-block;
                width: 40%;
            }
        }

        .chosen-container {
            margin-bottom: 0.5em;
        }

        button {
            margin: 1em;
        }
    }

    .pluginmatrix {
        width: 80%;
        margin: 1em auto;

        table {
            thead th {
                position: relative;
                height: 8em;
                vertical-align: bottom;
                overflow: visible;
                background-color: transparent;
                border: none;

                div {
                    transform-origin: bottom left;
                    transform: rotate(-60deg);
                    position: absolute;
                    left: 1em;
                    bottom: 0;
                    z-index: 5;
                }
            }

            tbody {
                position: relative;

                td {
                    cursor: pointer;
                }

                th.off,
                td.off {
                    background-color: #c33;
                }

                th.on,
                td.on {
                    background-color: #3c3;
                }

                th.default,
                td.default {
                    opacity: 0.5;
                }
            }
        }
    }

}