ggdgsdbsdbbb / static / css / admin.scss
199 lines · 166 sloc · 2.82 KB · f7e2568a041118007cc5b746666a79a4ee9974c5
Raw
1.data {
2 display: flex;
3 justify-content: space-between;
4 align-items: center;
5 flex-wrap: wrap;
6}
7
8.data-box {
9 flex-basis: 100%;
10 display: none;
11 justify-content: space-between;
12}
13
14.data-show-user {
15 cursor: pointer;
16 background: none;
17 color: $black;
18 border: 1px solid $gray;
19 padding: 5px 8px;
20 border-radius: $small-radius;
21 transition: background-color 0.07s, border-color 0.07s, color 0.07s;
22 -ms-user-select: none;
23 -moz-user-select: none;
24 -webkit-user-select: none;
25 user-select: none;
26}
27
28.data-show-user:hover {
29 border: 1px solid #0366d6;
30 background-color: #1a7be9;
31 color: $white;
32}
33
34.data-emails {
35 flex-basis: 35%;
36}
37
38.data-emails > ul {
39 min-height: 125px;
40 max-height: 250px;
41 overflow-x: hidden;
42 overflow-y: auto;
43}
44
45.data-email {
46 list-style: none;
47}
48
49.data-user {
50 display: flex;
51 align-items: center;
52}
53
54.data-user > div {
55 margin-right: 5px;
56}
57
58.user-settings {
59 width: 60%;
60 display: flex;
61 flex-direction: column;
62}
63
64.user-settings > input {
65 float: right;
66 align-self: flex-end;
67}
68
69.data-options {
70 flex-basis: 100%;
71 display: flex;
72 flex-direction: column;
73}
74
75.data-options > div {
76 margin-bottom: 5px;
77 display: flex;
78 align-items: center;
79}
80
81.data-options > div > label {
82 margin-left: 5px;
83}
84
85.settings {
86 margin: 0 auto;
87}
88
89::placeholder {
90 color: rgba(0, 0, 0, 0.8);
91}
92
93.admin-menu {
94 margin-bottom: 10px;
95}
96
97.stat-uptime {
98 color: #4a5568;
99 margin-bottom: 18px;
100}
101
102.stat-summary {
103 display: grid;
104 grid-template-columns: repeat(4, minmax(0, 1fr));
105 gap: 12px;
106 margin-bottom: 24px;
107}
108
109.stat-summary-item {
110 background: #f7fafc;
111 border: 1px solid #e2e8f0;
112 border-radius: $small-radius;
113 padding: 14px 16px;
114 display: flex;
115 flex-direction: column;
116}
117
118.stat-summary-value {
119 font-size: 28px;
120 font-weight: 600;
121 color: #1a202c;
122 line-height: 1;
123}
124
125.stat-summary-label {
126 margin-top: 6px;
127 font-size: 13px;
128 color: #4a5568;
129 text-transform: uppercase;
130 letter-spacing: 0.04em;
131}
132
133.stat-cards {
134 display: grid;
135 grid-template-columns: repeat(2, minmax(0, 1fr));
136 gap: 18px;
137 margin-bottom: 30px;
138}
139
140.stat-card {
141 background: #ffffff;
142 border: 1px solid #e2e8f0;
143 border-radius: $small-radius;
144 padding: 16px 18px;
145 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
146}
147
148.stat-card-head {
149 display: flex;
150 justify-content: space-between;
151 align-items: baseline;
152 margin-bottom: 10px;
153}
154
155.stat-card-head h3 {
156 margin: 0;
157 font-size: 15px;
158 font-weight: 600;
159 color: #1a202c;
160}
161
162.stat-card-range {
163 font-size: 12px;
164 color: #718096;
165}
166
167.stat-chart {
168 width: 100%;
169 height: 180px;
170 display: block;
171}
172
173.stat-chart-bar {
174 transition: opacity 0.1s ease;
175}
176
177.stat-chart-bar:hover {
178 opacity: 0.8;
179}
180
181.stat-chart-grid line {
182 stroke: #edf2f7;
183 stroke-width: 1;
184}
185
186.stat-chart-label {
187 font-size: 9px;
188 fill: #718096;
189}
190
191@media (max-width: 800px) {
192 .stat-summary {
193 grid-template-columns: repeat(2, minmax(0, 1fr));
194 }
195
196 .stat-cards {
197 grid-template-columns: 1fr;
198 }
199}
200