Skip to content

Commit 0e518be

Browse files
committed
More color adjustments
1 parent 7f76684 commit 0e518be

File tree

2 files changed

+63
-7
lines changed

2 files changed

+63
-7
lines changed

public/themes/pterodactyl/css/pterodactyl.css

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,23 @@
8282
}
8383

8484
code {
85+
background-color: #eef1f6;
86+
color: #596981;
87+
border-radius: 2px;
88+
padding-left: 4px;
89+
padding-right: 4px;
90+
line-height: 1.4;
8591
font-size: 85%;
92+
border: 1px solid rgba(0, 0, 0, .1);
93+
display: inline-block;
94+
}
95+
96+
p {
97+
line-height: 1.6 !important;
98+
}
99+
100+
p.small {
101+
margin-top: 3px !important;
86102
}
87103

88104
.control-sidebar-dark .control-sidebar-menu > li > a.active {
@@ -191,14 +207,50 @@ span[aria-labelledby="select2-pUserId-container"] {
191207
padding-left: 2px !important;
192208
}
193209

210+
.box {
211+
box-shadow: 0 0 0 1px rgba(89, 105, 128, .1), 0 1px 3px 0 rgba(89, 105, 128, .1), 0 1px 2px 0 rgba(0, 0, 0, .05) !important;
212+
}
213+
214+
.alert-danger {
215+
color: #ffffff !important;
216+
background: #d64242 !important;
217+
border: 1px solid #841d1d;
218+
}
219+
220+
.alert-info {
221+
color: #ffffff !important;
222+
background: #408fec !important;
223+
border: 1px solid #1055a5;
224+
}
225+
226+
.alert-success {
227+
color: #ffffff !important;
228+
background: #51b060 !important;
229+
border: 1px solid #2b5f33;
230+
}
231+
232+
.alert-warning {
233+
color: #ffffff !important;
234+
background: #fa9636 !important;
235+
border: 1px solid #b45b05;
236+
}
237+
194238
.callout-slim a {
195239
color: #555 !important;
196240
}
197241

242+
.bg-purple {
243+
background-color: #79589f !important;
244+
}
245+
246+
.label-default {
247+
background-color: #eef1f6 !important;
248+
}
249+
198250
.callout.callout-info.callout-slim {
199-
border: 1px solid #0097bc !important;
200-
border-left: 5px solid #0097bc !important;
201-
border-right: 5px solid #0097bc !important;
251+
border: 1px solid #1055a5 !important;
252+
border-left: 5px solid #1055a5 !important;
253+
border-right: 5px solid #1055a5 !important;
202254
color: #777 !important;
203255
background: transparent !important;
204256
}
@@ -282,6 +334,10 @@ span[aria-labelledby="select2-pUserId-container"] {
282334
position: relative;
283335
}
284336

337+
.no-pad-bottom {
338+
padding-bottom: 0 !important;
339+
}
340+
285341
.no-margin-bottom {
286342
margin-bottom: 0 !important;
287343
}

resources/themes/pterodactyl/admin/servers/new.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@
146146
</div>
147147
</div>
148148
</div>
149-
<div class="box-footer no-border" style="padding: 0 10px 10px;">
150-
<div class="callout callout-info callout-slim no-margin">
149+
<div class="box-footer no-border no-pad-top no-pad-bottom">
150+
<div class="alert alert-info">
151151
<p class="small no-margin">If you do not want to assign swap space to a server simply put <code>0</code> for the value, or <code>-1</code> to allow unlimited swap space. If you want to disable memory limiting on a server simply enter <code>0</code> into the memory field. We suggest leaving OOM Killer enabled unless you know what you are doing, disabling it could cause your server to hang unexpectedly.<p>
152152
</div>
153153
</div>
@@ -174,8 +174,8 @@
174174
</div>
175175
</div>
176176
</div>
177-
<div class="box-footer no-border" style="padding: 0 10px 10px;">
178-
<div class="callout callout-info callout-slim">
177+
<div class="box-footer no-border no-pad-top no-pad-bottom">
178+
<div class="alert alert-info">
179179
<p class="small no-margin">If you do not want to limit CPU usage set the value to <code>0</code>. To determine a value, take the number <em>physical</em> cores and multiply it by 100. For example, on a quad core system <code>(4 * 100 = 400)</code> there is <code>400%</code> available. To limit a server to using half of a single core, you would set the value to <code>50</code>. To allow a server to use up to two physical cores, set the value to <code>200</code>. BlockIO should be a value between <code>10</code> and <code>1000</code>. Please see <a href="https://docs.docker.com/engine/reference/run/#/block-io-bandwidth-blkio-constraint" target="_blank">this documentation</a> for more information about it.<p>
180180
</div>
181181
</div>

0 commit comments

Comments
 (0)