Welcome to mirror list, hosted at ThFree Co, Russian Federation.

widget.less « stylesheets « Dashboard « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8127de0547bf3c1b3fc71fcb631bea1249d6482a (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.widget {
    .font-default(13px, 18px);
    background: @theme-color-widget-background;
    border: 1px solid @theme-color-widget-border;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.14),0 1px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.12);

    &:hover, &:focus {
        box-shadow: 0 1px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    }

    h2 {
        font-weight: normal;
        border-bottom: none;
        margin: 0;
        padding: 12px 10px 7px;
    }
    h3 {
        font-weight: normal;
        font-size: 15px;
        margin: 0;
        color: @theme-color-text;
        text-shadow: none;
        padding: 15px 15px 10px 12px;
    }
    p {
        margin-left: 10px;
    }

    &.default {
        margin-left: 0;
        margin-right: 0;
        .widgetTop {
            cursor: default !important;
        }
    }

    .widgetTop {
        cursor: move;
        font-size: 10pt;
        font-weight: normal;
        padding-bottom: 4px;
        background: @theme-color-widget-title-background;
        h3 {
            .font-default(18px, 18px);
            color: @theme-color-widget-title-text;
        }
        .button {
            margin: 16px 8px 0 0;
            opacity: 0.8;
            cursor: pointer;
            float: right;
        }
        .buttons {
            float: right;
            position: absolute;
            padding-left: 50px;
            right: 8px;
            display: none;
            color: @theme-color-widget-title-text;
            background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, @theme-color-widget-title-background 45px);
            background: -webkit-linear-gradient(left,rgba(255,255,255,0) 0%, @theme-color-widget-title-background 45px);
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, @theme-color-widget-title-background 45px);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='@{theme-color-widget-title-background}',GradientType=1 );
        }

        &:hover .buttons {
            display:block;
        }
    }

    .widgetText {
        padding: 10px;
    }

    .pk-emptyDataTable {
        .font-default(13px, 16px);
        text-transform: none;
    }

    .widgetContent {
        .widgetBody {
            padding: 5px 12px 0;
        }

        /** We do not want to show a material-card in a widget which is already a card */
        .card {
            box-shadow: 0 0;

            .card-content {
                padding: 0;
                border-radius: 0
            }
        }
        .jqplot-graph {
            margin-top: 6px;
        }
    }

    .widgetContent.hidden {
        position: absolute;
        top: -5000px;
        height: 1000px;
        overflow: hidden;
    }
    .widgetContent.loading {
        opacity: 0.5;
        background: url(plugins/Morpheus/images/loading-blue.gif) no-repeat top right;
    }

    .widgetLoading {
        cursor: wait;
        text-align: center;
    }

    .widgetNameOffScreen {
        overflow: hidden;
        width:1px;
        height:1px;
    }

    .card {
        margin: 0;
        border-radius: 0;
    }
}

.widget.hiddenContent .widgetTop.widgetTopHover {
    .button#minimise,.button#refresh {
        display:none;
    }
}

.widget table.dataTable tr td {
  background-color: @theme-color-widget-background;
}

.dataTable table.dataTable tr td {
  background-color: @theme-color-widget-background;
}

.widget .datatableFooterMessage {
  padding-left: 12px;
}

.bar-graph-colors[data-name=grid-background] {
    color: @theme-color-widget-background !important;
}