PluginProbe
Statify / trunk
Statify vtrunk
2.0.2 2.0.1 trunk 0.7 0.8 0.9 1.0 1.2.8 1.3.0 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 All 32 releases
statify / css / dashboard.css

dashboard.css in Statify trunk, at css/dashboard.css

235 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* @group Front page */
2
3 .statify-chart {
4 direction: ltr;
5 display: flex;
6 flex-direction: row-reverse;
7 color: #a7aaad;
8 flex: 0 0 100%;
9 height: 140px;
10 margin: 1em -0.5em;
11 overflow-x: auto;
12 overflow-y: hidden;
13 text-align: center;
14 }
15
16 .statify-chart * {
17 flex-shrink: 0;
18 }
19
20 .statify-chart .spinner {
21 float: none;
22 margin: auto;
23 }
24
25 .statify-chart .ct-line {
26 stroke: var(--wp-admin-theme-color-darker-10, #3582c4);
27 stroke-width: 2px;
28 }
29
30 .statify-chart .ct-point {
31 fill: #fff;
32 stroke: var(--wp-admin-theme-color-darker-10, #3582c4);
33 stroke-width: 1.5px;
34 }
35
36 .statify-chart .ct-area {
37 fill: var(--wp-admin-theme-color, #3582c4);
38 }
39
40 .statify-chart .ct-bar {
41 stroke: var(--wp-admin-theme-color-darker-10, #3582c4);
42 }
43
44 .statify-chart .ct-label.ct-horizontal.ct-end {
45 align-items: center;
46 justify-content: center;
47 margin-left: -50%;
48 }
49
50 .statify-chart .ct-chart-bar .ct-label.ct-horizontal.ct-end {
51 margin-left: initial;
52 }
53
54 .statify-chartist-tooltip {
55 border: 1px solid #000;
56 background-color: #fff;
57 border-radius: 0.2em;
58 left: 0;
59 padding: 0.1em 0.5em;
60 top: 0;
61 }
62
63 .statify-chartist-tooltip::before {
64 border-top-color: #0009;
65 }
66
67 .statify-chartist-tooltip .chartist-tooltip-meta {
68 color: var(--wp-admin-theme-color-darker-20, #3582c4);
69 }
70
71
72 .statify-table th,
73 .statify-table tr.statify-table-sum td,
74 .statify-table td.statify-table-sum {
75 font-weight: 700;
76 }
77
78 .statify-table tr.placeholder {
79 background-color: #fff;
80 }
81
82 .statify-table tr.placeholder td span {
83 background-color: #f5f5f5;
84 border-radius: 1em;
85 display: inline-block;
86 width: 80%;
87 }
88
89 .statify-table + a.button {
90 margin: 1em 0 0 1em;
91 }
92
93
94 #statify_dashboard .postbox-title-action a,
95 #statify_dashboard .settings-link a {
96 display: block;
97 line-height: 20px;
98 text-decoration: none;
99 }
100
101 #statify_dashboard .inside {
102 display: flex;
103 flex-wrap: wrap;
104 height: 1%;
105 margin: 0;
106 overflow: hidden;
107 position: relative;
108 }
109
110 #statify_dashboard.closed .inside {
111 display: none;
112 }
113
114 #statify_dashboard .table {
115 padding-bottom: 12px;
116 }
117
118 #statify_dashboard .table p.sub {
119 color: #646970;
120 margin: 0 0 -4px;
121 }
122
123 #statify_dashboard .table div {
124 overflow: hidden;
125 }
126
127 #statify_dashboard .table.referrer,
128 #statify_dashboard .table.target {
129 flex: 1 0 50%;
130 }
131
132 #statify_dashboard .table.total {
133 flex: 0 0 100%;
134 }
135
136 #statify_dashboard td {
137 padding: 8px 0 0;
138 line-height: 1.4;
139 }
140
141 /* Fix table layout with long URLs */
142
143 #statify-table-posts td {
144 overflow-wrap: anywhere;
145 }
146
147 #statify-table-posts tfoot td {
148 white-space: nowrap;
149 }
150
151 #statify_dashboard tr.placeholder td {
152 background-color: #f5f5f5;
153 border-radius: 1em;
154 width: 10em;
155 }
156
157 #statify_dashboard td.b {
158 color: #646970;
159 padding-right: 4px;
160 text-align: right;
161 vertical-align: top;
162 }
163
164 #statify_dashboard label {
165 display: block;
166 margin-bottom: 1.1em !important;
167 }
168
169 /* @end group */
170
171
172 /* @group Back stage */
173
174 #statify_dashboard form {
175 flex: 0 0 100%;
176 padding: 18px 0;
177 }
178
179 #statify_dashboard input[type="number"] {
180 width: 100px;
181 }
182
183 #statify_dashboard .meta-links {
184 float: right;
185 margin: 0;
186 line-height: 28px;
187 }
188
189 .statify-chart-container {
190 background: #fff;
191 margin: 1em 0;
192 padding: 1em;
193 }
194
195 .statify-chart-container .statify-chart {
196 height: 280px;
197 margin: 10px 0;
198 }
199
200 .statify-chart-container .statify-legend {
201 column-gap: 2em;
202 column-width: 20em;
203 list-style-type: decimal;
204 }
205
206 .statify-chart-title {
207 text-align: center;
208 font-size: 1.5em;
209 padding: 0.5em 0;
210 }
211
212 #statify-dashboard-controls {
213 margin: 1em 0;
214 }
215
216 .statify-subnav li:not(:last-child)::after {
217 content: "|";
218 margin: 0 0.2em;
219 }
220
221 body.rtl .statify-chart {
222 transform: scaleX(-1);
223 }
224
225 body.rtl .statify-chart .ct-label {
226 transform: scaleX(-1);
227 transform-origin: center;
228 }
229
230 body.rtl .statify-chart * {
231 direction: rtl;
232 }
233
234 /* @end group */
235