This commit introduces new functions for permission inspection, allowing super admins to toggle and manage access rights more effectively. It adds visual elements for permission badges in the admin interface and updates the sidebar navigation to include a migration section for legacy accounts. Additionally, CSS styles are enhanced for better user experience and clarity. The version code is updated to reflect these changes.
206 lines
4.4 KiB
CSS
206 lines
4.4 KiB
CSS
.table thead tr, .table tfoot tr {background-color: #0b2546; color: #fff;}
|
|
.table th a {text-decoration: underline; color: #fff;}
|
|
.table th a:hover {text-decoration: none;}
|
|
/* Header */
|
|
#header {
|
|
width: 100%;
|
|
height: 90px;
|
|
background: url('../images_blue/bande_repeat.png') repeat-x;
|
|
}
|
|
#header_inner {
|
|
position: absolute;
|
|
width: 95%;
|
|
height: 90px;
|
|
}
|
|
/* Logo */
|
|
#logo {float: left;}
|
|
/* Main */
|
|
#main {
|
|
background: #fff url('../images_blue/n2.gif') repeat-x;
|
|
}
|
|
/* SIDEBAR */
|
|
#sidebar {
|
|
background-color: #ddd;
|
|
margin-left: -15px;
|
|
}
|
|
/* FOOTER */
|
|
.footer {
|
|
border-top: 1px solid #e1e1e1;
|
|
padding-top: 15px;
|
|
text-transform: lowercase;
|
|
}
|
|
/*table.rapport tr.odd {background-color: #fff;}
|
|
table.rapport tr {background-color: #190d7394;}*/
|
|
|
|
/* NAVBAR */
|
|
.navbar {
|
|
margin-bottom: 0;
|
|
position: relative;
|
|
}
|
|
.navbar-brand {
|
|
height: auto;
|
|
padding: 0 15px;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.navbar-right {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 15px;
|
|
}
|
|
}
|
|
/* ==================================================
|
|
* SCROLL TOP
|
|
* ================================================== */
|
|
.scroll-top-wrapper {
|
|
background-color: #0b2546;
|
|
border-radius: 5px;
|
|
bottom: 20px;
|
|
color: #eee;
|
|
height: 36px;
|
|
line-height: 36px;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
right: 20px;
|
|
text-align: center;
|
|
-webkit-transition: all 0.5s ease-in-out;
|
|
-moz-transition: all 0.5s ease-in-out;
|
|
-o-transition: all 0.5s ease-in-out;
|
|
transition: all 0.5s ease-in-out;
|
|
visibility: hidden;
|
|
width: 36px;
|
|
z-index: 999;
|
|
}
|
|
.scroll-top-wrapper:hover {
|
|
background-color: #f27922;
|
|
color: #333;
|
|
}
|
|
.scroll-top-wrapper.show {
|
|
cursor: pointer;
|
|
opacity: 1.0;
|
|
visibility :visible;
|
|
}
|
|
.scroll-top-wrapper i.fa {
|
|
line-height: inherit;
|
|
}
|
|
/* ==================================================
|
|
* NAVIGATION
|
|
* ================================================== */
|
|
.nav-tabs>li>a {
|
|
border: 1px solid #fff;
|
|
background-color: #fff;
|
|
}
|
|
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
|
|
color: #555;
|
|
cursor: default;
|
|
background-color: #fff;
|
|
border: 1px solid #ddd;
|
|
border-bottom-color: #337ab7;
|
|
}
|
|
/* PRELOADER */
|
|
#preloader {
|
|
background-color: rgba(0,0,0,0.6);
|
|
height: auto;
|
|
min-height: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
}
|
|
#spinner {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
color: #333;
|
|
display: block;
|
|
font-size: 80px;
|
|
height: auto;
|
|
margin: -65px 0 0 -133px;
|
|
padding: 15px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: auto;
|
|
}
|
|
#spinner span {
|
|
font-size: 18px;
|
|
vertical-align: middle;
|
|
}
|
|
/* ==================================================
|
|
* SIDEBAR V2 — titres de section (2 niveaux)
|
|
* ================================================== */
|
|
.superadm-sidebar-title {
|
|
color: #0b2546;
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
margin: 1.5rem 0 0.75rem;
|
|
padding-bottom: 0.4rem;
|
|
border-bottom: 2px solid #0b2546;
|
|
}
|
|
.superadm-sidebar-title--v2 {
|
|
margin-top: 0.75rem;
|
|
}
|
|
.superadm-sidebar-title--legacy {
|
|
margin-top: 1.75rem;
|
|
}
|
|
.superadm-sidebar-subtitle {
|
|
color: #495057;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
line-height: 1.3;
|
|
margin: 1rem 0 0.35rem;
|
|
padding-left: 0.15rem;
|
|
text-transform: uppercase;
|
|
}
|
|
.superadm-sidebar-subtitle + .nav {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
/* Toggle Aperçu / Droits (super admin) */
|
|
.navbar .ms1-env-text-edit-label{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:6px;
|
|
color:#fff;
|
|
font-size:12px;
|
|
cursor:pointer;
|
|
margin:0;
|
|
}
|
|
.navbar .ms1-env-text-edit-opt{
|
|
opacity:.65;
|
|
}
|
|
.navbar .ms1-env-text-edit-opt.is-active{
|
|
opacity:1;
|
|
font-weight:600;
|
|
}
|
|
.navbar .ms1-env-text-edit-switch{
|
|
appearance:none;
|
|
width:36px;
|
|
height:18px;
|
|
border-radius:9px;
|
|
background:#6c757d;
|
|
border:1px solid #495057;
|
|
position:relative;
|
|
cursor:pointer;
|
|
vertical-align:middle;
|
|
}
|
|
.navbar .ms1-env-text-edit-switch::after{
|
|
content:'';
|
|
position:absolute;
|
|
top:2px;
|
|
left:2px;
|
|
width:12px;
|
|
height:12px;
|
|
border-radius:50%;
|
|
background:#fff;
|
|
transition:transform .15s ease;
|
|
}
|
|
.navbar .ms1-env-text-edit-switch:checked{
|
|
background:#e67e22;
|
|
border-color:#a04000;
|
|
}
|
|
.navbar .ms1-env-text-edit-switch:checked::after{
|
|
transform:translateX(18px);
|
|
} |