Files
fruithostPanel/default/css/style.css
T

364 lines
5.8 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;
}
.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;
}
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;
}