mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-07 20:42:37 +09:00
458 lines
7.2 KiB
CSS
458 lines
7.2 KiB
CSS
* {
|
|
outline: none !important;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: -moz-none;
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
body {
|
|
font-size: .875rem;
|
|
}
|
|
|
|
body.sortable {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
padding: 48px 0 0;
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
|
|
}
|
|
|
|
.sidebar-sticky {
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: calc(100vh - 48px);
|
|
padding-top: .5rem;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
|
.sidebar-sticky {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.sidebar-sticky {
|
|
padding-top: 2.5rem;
|
|
}
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
font-weight: 500;
|
|
color: #333;
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: .2rem 2rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sidebar .nav-link .material-icons {
|
|
margin-right: 4px;
|
|
color: #999;
|
|
font-size: 20px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
.sidebar .nav-link.active {
|
|
color: #007bff;
|
|
}
|
|
|
|
.sidebar .nav-link:hover .material-icons,
|
|
.sidebar .nav-link.active .material-icons {
|
|
color: inherit;
|
|
}
|
|
|
|
.sidebar-heading {
|
|
font-size: .75rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
[role="main"] {
|
|
padding-top: 100px;
|
|
}
|
|
|
|
@media (min-width: 576px) {
|
|
[role="main"] {
|
|
padding-top: 48px;
|
|
}
|
|
}
|
|
|
|
.navbar-brand {
|
|
padding-top: .75rem;
|
|
padding-bottom: .75rem;
|
|
font-size: 1rem;
|
|
background-color: rgba(0, 0, 0, .25);
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
.navbar .form-control {
|
|
padding: .75rem 1rem;
|
|
border-width: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.navbar-nav .dropdown-menu {
|
|
position: absolute;
|
|
right: 0;
|
|
left: inherit;
|
|
border-radius: 0px;
|
|
padding: 0px;
|
|
margin: 0.200rem 0 0;
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.navbar-nav .dropdown-menu {
|
|
margin: -2px 0 0 0;
|
|
}
|
|
}
|
|
|
|
.navbar-nav .nav-link img.picture {
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.navbar-nav .dropdown-menu .dropdown-item {
|
|
color: var(--light);
|
|
}
|
|
|
|
.navbar-nav .dropdown-menu .dropdown-item:focus,
|
|
.navbar-nav .dropdown-menu .dropdown-item:hover {
|
|
background-color: var(--gray);
|
|
}
|
|
|
|
.navbar-nav .dropdown-menu .dropdown-divider {
|
|
border-color: var(--gray);
|
|
margin: 0px;
|
|
}
|
|
|
|
.navbar-nav .dropdown-menu .dropdown-item .material-icons {
|
|
margin-right: 4px;
|
|
color: #999;
|
|
font-size: 20px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
[role="main"].frame {
|
|
padding-left: 0px !important;
|
|
padding-right: 0px !important;
|
|
}
|
|
|
|
header.page-header h1 {
|
|
font-size: 22px;
|
|
display: flex;
|
|
}
|
|
|
|
header.page-header a {
|
|
color: #444444;
|
|
}
|
|
|
|
header.page-header a.active {
|
|
color: var(--primary);
|
|
}
|
|
|
|
header.page-header i.material-icons {
|
|
color: #DDDDDD;
|
|
}
|
|
|
|
main iframe {
|
|
width: 100%;
|
|
border: none;
|
|
display: block;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: calc(100vh - 48px);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.form-control-dark {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, .1);
|
|
border-color: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.form-control-dark:focus {
|
|
border-color: transparent;
|
|
box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
|
|
}
|
|
|
|
.alert.welcome li .material-icons {
|
|
font-size: 20px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
.sortable-placeholder .card {
|
|
border: 4px dotted var(--gray);
|
|
text-align: center;
|
|
font-weight: bold;
|
|
color: var(--gray);
|
|
padding: 20px;
|
|
}
|
|
|
|
ul.sortable li .card-header .actions .material-icons {
|
|
font-size: 20px;
|
|
height: 26px;
|
|
line-height: 22px;
|
|
width: 26px;
|
|
background: var(--white);
|
|
margin: 0 5px 0 0;
|
|
padding: 2px;
|
|
color: var(--secondary);
|
|
border: 1px solid var(--secondary);
|
|
}
|
|
|
|
ul.sortable li .card-body {
|
|
padding: 0;
|
|
}
|
|
|
|
ul.sortable li ul.list-unstyled {
|
|
overflow-x: auto;
|
|
padding: 5px;
|
|
}
|
|
|
|
ul.sortable li ul.list-unstyled li a {
|
|
color: #333;
|
|
}
|
|
|
|
ul.sortable li ul.list-unstyled li a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
ul.sortable li ul.list-unstyled li a div.icon {
|
|
font-size: 22px;
|
|
}
|
|
|
|
ul.sortable li ul.list-unstyled li a div.label {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.jumbotron .material-icons {
|
|
font-size: 100px;
|
|
}
|
|
|
|
.jumbotron .btn-lg {
|
|
padding: 15px 50px;
|
|
}
|
|
|
|
.filetree {
|
|
list-style: none;
|
|
display: block;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.filetree li.folder {
|
|
display: block;
|
|
}
|
|
|
|
.filetree li.folder a {
|
|
display: flex;
|
|
text-decoration: none;
|
|
color: #999999;
|
|
}
|
|
|
|
.filetree li.folder a i.material-icons {
|
|
margin: 0 5px 0 0;
|
|
color: #ff9b00;
|
|
text-shadow: 1px 1px 0 #000000;
|
|
}
|
|
|
|
.filetree li.folder ul.files {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.filetree li.folder ul.files li.file {
|
|
display: flex;
|
|
margin: -6px 0 -3px 0;
|
|
}
|
|
|
|
.filetree li.folder ul.files li.file:before {
|
|
content: "├";
|
|
display: block;
|
|
position: relative;
|
|
font-size: 18px;
|
|
margin: 0 5px 0 5px;
|
|
}
|
|
|
|
.filetree li.folder ul.files li.file:last-child:before {
|
|
content: "└";
|
|
}
|
|
|
|
.filetree li.folder ul.files li.file a {
|
|
display: flex;
|
|
text-decoration: none;
|
|
color: #444444;
|
|
padding: 4px 0 0 0;
|
|
}
|
|
|
|
.filetree li.folder ul.files li.file a:hover {
|
|
color: var(--primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.filetree li.folder ul.files li.file a i.material-icons {
|
|
margin: 0 5px 0 0;
|
|
color: #DDDDDD;
|
|
font-size: 18px;
|
|
text-shadow: 1px 1px 0 #444444;
|
|
}
|
|
|
|
.logfile-container {
|
|
overflow: auto;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
.logfile {
|
|
font-size: 12px;
|
|
padding: 2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.logfile::before {
|
|
display: inline-block;
|
|
content: attr(data-number);
|
|
color: #555555;
|
|
background: #DDDDDD;
|
|
border-right: 1px solid #555555;
|
|
margin: -2px 10px -2px -5px;
|
|
padding: 2px 5px;
|
|
min-width: 45px;
|
|
text-align: right;
|
|
}
|
|
|
|
.logfile:hover {
|
|
background: var(--light) !important;
|
|
color: var(--dark) !important;
|
|
}
|
|
|
|
.logfile:hover::before {
|
|
color: var(--dark);
|
|
background: var(--light);
|
|
border-right: 1px solid var(--dark);
|
|
}
|
|
|
|
.logfile.log-info {
|
|
color: var(--info);
|
|
background: #f2fafb;
|
|
}
|
|
|
|
.logfile.log-warning {
|
|
color: var(--warning);
|
|
background: #fbf7eb;
|
|
}
|
|
|
|
.logfile.log-danger {
|
|
color: var(--danger);
|
|
background: #ffdadd;
|
|
}
|
|
|
|
.logfile.log-success {
|
|
color: var(--success);
|
|
background: #e1ffe9;
|
|
}
|
|
|
|
[data-percentage] {
|
|
position: relative;
|
|
}
|
|
|
|
[data-percentage]:after {
|
|
content: attr(data-percentage);
|
|
display: block;
|
|
color: var(--light);
|
|
position: absolute;
|
|
text-align: center;
|
|
font-size: 10px;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.module-actions {
|
|
visibility: hidden;
|
|
}
|
|
|
|
tr:hover .module-actions {
|
|
visibility: visible;
|
|
}
|
|
|
|
.module-badge {
|
|
opacity: 0.5;
|
|
height: 16px;
|
|
width: 16px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
tr:hover .module-badge {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Bash Colors */
|
|
div.terminal {
|
|
top: 48px;
|
|
left: 213px;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: #282c34;
|
|
color: #dcdfe4;
|
|
box-shadow: inset 0px 2px 10px rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
div.terminal div.output {
|
|
height: calc(100% - 30px);
|
|
overflow: auto;
|
|
padding: 15px;
|
|
line-height: 14px;
|
|
font-size: 12px;
|
|
font-family: 'Cascadia Mono';
|
|
}
|
|
|
|
div.terminal div.output span[data-color] {
|
|
|
|
}
|
|
|
|
div.terminal div.output span[data-color="33"] {
|
|
color: #e5c07b;
|
|
}
|
|
|
|
div.terminal div.output span[data-color="0;32"] {
|
|
color: #9bc67c;
|
|
}
|
|
|
|
div.terminal div.output span[data-color="1;34"] {
|
|
color: #6ab0eb;
|
|
}
|
|
|
|
div.terminal div.output span[data-color="31;31"] {
|
|
color: #ff8b92;
|
|
}
|
|
|
|
div.terminal div.output span[data-color="90"] {
|
|
color: #b2bccf;
|
|
}
|
|
|
|
div.terminal div.output span[data-color="35"] {
|
|
color: #df8ff6;
|
|
}
|
|
|
|
div.terminal div.output span[data-color="38;5;202"] {
|
|
color: #e5c07b;
|
|
} |