Debian Codegraph @

jsx/src/components/ServerDashboard/server-dashboard.css

raw
1 @import url(../../style/root.css);
2
3 .server-dashboard-container {
4 padding-right: 15px;
5 padding-left: 15px;
6 margin-right: auto;
7 margin-left: auto;
8 }
9
10 .server-dashboard-container .btn-light {
11 border: 1px solid #ddd;
12 }
13
14 .server-dashboard-container tbody {
15 color: #626262;
16 }
17
18 .admin-table-head {
19 user-select: none;
20 }
21
22 .sort-icon {
23 display: inline-block;
24 top: 0.125em;
25 position: relative;
26 user-select: none;
27 cursor: pointer;
28 }
29
30 tr.noborder > td {
31 border: none !important;
32 }
33
34 .server-dashboard-row-list-item {
35 display: inline-block;
36 padding: 0 5px;
37 margin: 2px;
38 border: 1px solid #ddd;
39 border-radius: 2px;
40 }
41
42 .table > tbody > tr.user-row > td {
43 vertical-align: inherit;
44 }
45
46 .user-row .actions button {
47 margin: 4px;
48 }
49
50 .admin-header-buttons {
51 /* float header action buttons to the right */
52 text-align: right;
53 }
54
55 /* column widths for dashboard
56
57 goals:
58
59 - want stable width for running-status
60 so clicking the running filter doesn't cause a jump
61 - shrink fixed-content columns (action, admin)
62 - allow variable content columns (username, server name)
63 to claim remaining space
64
65 */
66
67 .admin-table-head #user-header {
68 }
69 .admin-table-head #admin-header {
70 width: 64px;
71 }
72 .admin-table-head #last-activity-header {
73 min-width: 180px;
74 }
75 .admin-table-head #actions-header {
76 width: 410px;
77 }
78
79 /* vertical stack server buttons on small windows */
80 @media (max-width: 991px) {
81 .admin-table-head #actions-header {
82 width: 140px;
83 }
84 .user-row .actions button {
85 /* full-width buttons when they get collapsed into a single column */
86 margin: 4px 0px 4px 0px;
87 width: 100%;
88 }
89 }