|
/* ==UserStyle== |
|
@name Peyang Pterodactyl Theme |
|
@namespace github.com/peyang-Celeron/ |
|
@version 1.0.0 |
|
@description Improve Pterodactyl panel! |
|
@author Peyang |
|
==/UserStyle== */ |
|
|
|
@-moz-document domain("<YOUR HOST HERE>") { |
|
/* === Root === */ |
|
* { |
|
--background-image: url(""); |
|
--background-size: 2048px; |
|
--background-pos-x: center; |
|
--background-pos-y: center; |
|
--background-opacity: 0.5; |
|
|
|
--tw-bg-opacity: 0.75 !important; |
|
--header-bg-opacity: 0.9; |
|
--modal-bg-opacity: 0.8; |
|
|
|
--terminal-bg-color: rgba(0, 0, 0, 0.5); |
|
--terminal-input-bg-color: rgba(0, 0, 0, 0.7); |
|
--summary-and-control-bg-color: rgba(0, 0, 0, 0.5); |
|
|
|
--editor-font-family: "JetBrains Mono"; |
|
--editor-font-size: 15px; |
|
} |
|
|
|
#app > div > div:nth-child(1), |
|
#app > div > div:nth-child(2) { |
|
--tw-bg-opacity: var(--header-bg-opacity) !important; |
|
} |
|
|
|
#modal-portal * { |
|
--tw-bg-opacity: var(--modal-bg-opacity) !important; |
|
} |
|
|
|
body { |
|
overflow-x: hidden; |
|
|
|
background-image: linear-gradient( |
|
rgba(0, 0, 0, var(--background-opacity)), |
|
rgba(0, 0, 0, var(--background-opacity))), |
|
var(--background-image); |
|
background-attachment: fixed; |
|
|
|
background-size: var(--background-size); |
|
|
|
background-position-x: var(--background-pos-x); |
|
background-position-y: var(--background-pos-y); |
|
|
|
} |
|
|
|
#app { |
|
width: 100vw; |
|
height: -webkit-fill-available; |
|
} |
|
|
|
.xterm-viewport { |
|
opacity: 0.3; |
|
background-color: transparent !important; |
|
} |
|
|
|
|
|
::-webkit-scrollbar { |
|
background: transparent !important; |
|
} |
|
|
|
/* === Copy right === */ |
|
section > div:nth-child(1) { |
|
margin-bottom: 20px; |
|
} |
|
|
|
section > div:nth-child(2) { |
|
margin-bottom: 10px; |
|
} |
|
|
|
/* === Rect and terminal === */ |
|
|
|
.gvsoy-0 { /* Graph and (RUNNING STOPPED SHUTDOWNING) selector */ |
|
background: transparent; |
|
} |
|
|
|
.gvsoy-4, .grusjm { /* Graph and (Start Reboot Stop) button selector */ |
|
background-color: var(--summary-and-control-bg-color) !important; |
|
} |
|
|
|
.itaf37-4 { /* Terminal text box (has $ and input[aria-label="Console command input."]) selector */ |
|
background-color: var(--terminal-input-bg-color); |
|
} |
|
|
|
|
|
.itaf37-3 { /* Parent of #terminal */ |
|
background-color: var(--terminal-input-bg-color) !important; |
|
} |
|
|
|
/* === Text editor === */ |
|
|
|
@font-face{ |
|
font-family: 'JetBrains Mono'; |
|
src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/otf/JetBrainsMono-Regular.otf') format('opentype'); |
|
font-weight: normal; |
|
font-style: normal; |
|
} |
|
|
|
.CodeMirror { |
|
background: rgba(0, 0, 0, 0.7) !important; |
|
} |
|
|
|
.CodeMirror-gutters { |
|
background: rgba(0, 0, 0, 0.4) !important; |
|
} |
|
|
|
.CodeMirror-linenumber { |
|
color: #8d8d8d !important; |
|
} |
|
|
|
.CodeMirror-line { |
|
font-family: var(--editor-font-family) !important; |
|
font-size: var(--editor-font-size) !important; |
|
} |
|
|
|
/* ==== Put your theme here! (!important needed) ==== */ |
|
|
|
/* |
|
* In this example, we are using Visual studio dark theme! |
|
* |
|
* Thanks: https://github.com/FarhadG/code-mirror-themes |
|
* |
|
*/ |
|
|
|
.CodeMirror-activeline-background { |
|
background: #0F0F0F !important; |
|
} |
|
.CodeMirror-selected { |
|
background: #264F78 !important; |
|
} |
|
.cm-comment { |
|
color: #608B4E !important; |
|
font-style: unset !important; |
|
} |
|
.cm-string { |
|
color: #D69D85 !important; |
|
} |
|
.cm-keyword, .cm-def, .cm-property { |
|
color: #569CD6 !important; |
|
} |
|
.cm-number { |
|
color: #B5CEA8 !important; |
|
} |
|
.cm-atom { |
|
color: #569CD6 !important; |
|
} |
|
} |
|
|
|
@-moz-document regexp("https?://<YOUR HOST HERE>/server/\\w+/(databases|schedules|backups|users)") { |
|
/* === Databases, schedules, users === */ |
|
|
|
section > div:nth-child(1) { |
|
background: rgba(0, 0, 0, 0.5); |
|
padding: 15px; |
|
border: solid 5px; |
|
border-radius: 10px; |
|
border-color: transparent; |
|
} |
|
} |