phpldapadmin/public/css/fixes.css

271 lines
6.2 KiB
CSS
Raw Normal View History

/*
body {
font-size: 0.85em;
}
*/
.logo-src {
background: url('/images/logo-h.png');
width: 152px !important;
}
/** Fixes for data tables **/
/* Fix pagination buttons */
2020-08-20 12:33:13 +00:00
.dataTables_wrapper .dataTables_paginate .paginate_button {
padding: 0 0;
margin-left: 0;
border: 0 solid;
2020-08-20 12:33:13 +00:00
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
border: 0 solid;
2020-08-22 12:26:06 +00:00
background: #fff;
2020-08-20 12:33:13 +00:00
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
box-shadow: 0 0 0 #fff;
2020-08-22 12:26:06 +00:00
background-color: #fff;
2020-08-20 12:33:13 +00:00
}
/* Remove multiple sorting images on tables */
2020-08-20 12:33:13 +00:00
table.dataTable thead .sorting_asc {
2020-08-22 12:26:06 +00:00
background-image: none !important;
2020-08-20 12:33:13 +00:00
}
table.dataTable thead .sorting_desc {
2020-08-22 12:26:06 +00:00
background-image: none !important;
2020-08-20 12:33:13 +00:00
}
table.dataTable thead .sorting {
2020-08-22 12:26:06 +00:00
background-image: none !important;
2020-08-20 12:33:13 +00:00
}
/** Remove blue border from chrome on buttons **/
2020-08-20 12:33:13 +00:00
/* Remove outline for non-keyboard :focus */
*:focus:not(.focus-visible) {
2020-08-22 12:26:06 +00:00
outline: none !important;
box-shadow: none !important;
2020-08-20 12:33:13 +00:00
}
/* Optional: Customize .focus-visible */
/*
2020-08-20 12:33:13 +00:00
.focus-visible {
2020-08-22 12:26:06 +00:00
outline-color: lightgreen;
2020-08-20 12:33:13 +00:00
}
*/
2020-08-20 12:33:13 +00:00
*:disabled {
2020-08-22 12:26:06 +00:00
cursor: not-allowed;
2020-08-20 12:33:13 +00:00
}
/** SIDEBAR FIXES **/
/*
The sidebar has a few states:
+ Wide Screen
- Open (app-container fixed-sidebar) &
- Closed (app-container fixed-sidebar closed-sidebar) &
- Hover Open (app-sidebar:hover)
+ Medium Screen
- Closed (app-container fixed-sidebar closed-sidebar-mobile closed-sidebar) &
- Hover Open (app-sidebar:hover)
+ Small Screen
- Missing (?) &
- Click Open (app-container fixed-sidebar closed-sidebar-mobile closed-sidebar sidebar-mobile-open)
*/
/** Fancy Tree Fixes **/
/*
@todo The unopened lazy branches off the tree are off by 5px. see *-cdl. below
@todo The last node is missing some dots, connecting to the previous node
*/
/* So our tree can be longer than the frame */
.scrollbar-sidebar {
overflow: auto;
}
/* Tree Placement */
2020-09-05 23:46:27 +00:00
#tree > ul {
padding-left: 0;
2020-09-05 23:46:27 +00:00
}
/* Remove the border around the tree */
ul.fancytree-container {
border: 0 !important;
}
/* Position branch center of icon */
ul.fancytree-container ul {
padding: 0 0 0 20px !important;
}
/* Fix tree rendering */
.fancytree-node {
line-height: 1.75em;
2020-09-19 10:21:02 +00:00
}
/* Fix position of tree expander and checkbox */
.fancytree-exp-cl span.fancytree-expander { /* last link closed */
margin-top: 2px;
background-position: 0 -93px !important;
}
.fancytree-exp-el span.fancytree-expander { /* last link expanded */
margin-top: 2px;
background-position: -32px -93px !important;
}
.fancytree-lazy.fancytree-exp-cd.fancytree-ico-c span.fancytree-expander,
.fancytree-lazy.fancytree-exp-cdl.fancytree-ico-c span.fancytree-expander { /* last link not opened */
margin-top: 5px;
/* had to disable this - as we loose our spinner
background-position: -80px -93px;
*/
}
.fancytree-exp-c span.fancytree-expander { /* link closed */
background-position: -16px -76px !important;
}
.fancytree-exp-e span.fancytree-expander { /* link expanded */
background-position: -32px -76px !important;
}
.fancytree-node.fancytree-exp-n span.fancytree-expander,
.fancytree-node.fancytree-exp-n span.fancytree-expander:hover { /* node */
2020-09-05 23:46:27 +00:00
margin-top: 4px;
background-position: 0 -63px;
2020-09-05 23:46:27 +00:00
}
.fancytree-node.fancytree-exp-nl span.fancytree-expander { /* node last */
margin-top: 3px;
background-position: -16px -62px !important;
2020-09-05 23:46:27 +00:00
}
/** Show treeicon when collapsed and remove it when open **/
.sidebar-mobile-open:hover #treeicon, /* small */
.fixed-sidebar #treeicon, /* wide */
.fixed-sidebar .app-sidebar:hover #treeicon /* wide & closed:hover */
{
display: none;
}
.closed-sidebar #treeicon
{
opacity: 1;
display: inline;
}
/** Architect Fixes **/
/* Remove the Cyan vertical line from the tree */
.vertical-nav-menu #tree ul:before {
opacity: 0;
}
/* Fix ellipsis icon (top right) on small display with the light background */
2020-09-05 23:46:27 +00:00
.closed-sidebar .app-header.header-text-light .app-header__menu .mobile-toggle-header-nav {
background: #343a40;
}
/* Hide tree when collapsed and show it when open */
.sidebar-mobile-open:hover #tree, /* small */
.fixed-sidebar #tree, /* wide */
.fixed-sidebar .app-sidebar:hover #tree /* wide & closed:hover */
{
display: block;
}
.closed-sidebar #tree {
display: none;
}
/** Server icons **/
.closed-sidebar .server-icon {
display: none;
2020-09-05 23:46:27 +00:00
}
.closed-sidebar .app-sidebar:hover .server-icon, .sidebar-mobile-open .server-icon {
display: flex;
2020-09-05 23:46:27 +00:00
}
.font-icon-wrapper {
text-align: center;
border: #e9ecef solid 1px;
border-radius: 0.25rem;
margin: 0 0 10px 0;
padding: 5px;
}
.font-icon-wrapper:hover {
background: #f8f9fa;
color: #3f6ad8;
}
.font-icon-wrapper i {
font-size: 1.2rem;
}
/*
.font-icon-wrapper {
text-align: center;
border: $gray-200 solid 1px;
@include border-radius($border-radius);
margin: 0 0 10px;
padding: 5px;
&.font-icon-lg {
float: left;
padding: 10px;
text-align: center;
margin-right: 15px;
min-width: 64px;
i {
font-size: $h1-font-size;
}
}
&:hover {
background: $gray-100;
color: $primary;
p {
color: $gray-600;
}
}
i {
font-size: ($font-size-base * 1.5);
}
p {
color: $gray-500;
font-size: calc($font-size-sm / 1.2);
margin: 5px 0 0;
}
}
2023-04-11 22:17:57 +00:00
*/
/** Ensure our DN menu is at the top **/
.app-page-title .page-title-wrapper {
align-items: start;
}
/** Change the background on our read-only form items **/
.form-control:disabled, .form-control[readonly] {
background-color: #f9f9f9;
}
/** Make our placeholder text on forms lighter **/
.form-control::placeholder {
color: #a0aec0;
2023-04-12 13:18:26 +00:00
}
/** Force our validation color to have a higher priority than any specified border **/
.was-validated .form-control:invalid, .form-control.is-invalid {
border-color: #d92550 !important;
}
.text-monospace {
font-family: monospace;
}
pre {
padding:5px;
white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
white-space: -pre-wrap; /* Opera */
white-space: -o-pre-wrap; /* Opera */
white-space: pre-wrap; /* CSS3 Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
word-wrap: break-word; /* IE 5.5+ */
}
pre code {
counter-reset: line-numbering;
}
pre code .line::before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: .8em; /* space after numbers */
margin-right: 1em;
width: 4em;
text-align: right;
opacity: 0.5;
display: inline-block;
border-right: 1px solid rgba(0, 0, 0, .5);
2023-04-11 22:17:57 +00:00
}