nineskeletor/assets/styles/app.css

443 lines
7.6 KiB
CSS
Executable File

/* COLOR */
body {
background-color: var(--colorbgbodylight);
color: var(--colorftbodylight);
}
.header {
color: var(--colorfttitledark);
}
.header h1, .header a, #sidebar a, #sidebar hr{
color: var(--colorfttitledark);
}
.header a:hover, #sidebar a:hover {
color: var(--colorfttitledark);
text-decoration:none;
}
.navbar {
background-color: var(--colorbgbodydark);
}
.table,
.table-hover > tbody > tr:hover > *,
.table-striped > tbody > tr:nth-of-type(odd) > * {
color: var(--colorftbodylight);
}
/* FONT */
body {
font-family: var(--fontbody);
}
h1, h2, h3, .navbar-brand, .card-header, .modal-header h4, .widgetheader .title {
font-family: var(--fonttitle);
color: var(--colorfttitlelight);
}
h1 { font-size: var(--fontsizeh1); }
h2 { font-size: var(--fontsizeh2); }
h3 { font-size: var(--fontsizeh3); }
h4 { font-size: var(--fontsizeh4); }
.card-header .custom-control, .grid-item-title h2 {
font-family: var(--fontbody);
}
/* GLOBAL */
html, body {
height:100%;
}
a {
text-decoration: none;
cursor: pointer;
color: var(--colorfttitlelight);
}
a:hover {
color: var(--colorfttitlelight-darker);
}
.btn-link {
text-decoration: none;
cursor: pointer;
color: var(--colorfttitlelight);
}
.btn-link:hover {
color: var(--colorfttitlelight-darker);
}
main {
display:flex;
overflow:hidden;
}
.dataTable {
border-style: solid none solid solid;
border-width: 1px;
}
.avatar {
width:30px;
height:30px;
background-color: var(--colorbgbodydark);
border-radius: 100%;
}
.select2,.select2-container .select2-search--inline {
width:100%!important;
}
/* HEADER */
.header h1 {
text-transform: uppercase;
padding-left: 10px;
padding-top: 15px;
margin: 0px;
line-height:var(--lineheighth1);
}
.header h1 small {
font-size:60%;
}
#header .nav-link {
padding:0.5rem;
}
#page {
overflow-y: auto;
width:100%;
}
.ckeditor-content img {
max-width:100%;
height:auto !important;
}
.hide {
display: none !important;
}
.card-body .form-group:first-child {
margin-top: 0px !important;
}
@media (max-width: 991px) {
#header {
display:none !important;
}
}
/* NAVBAR */
.nav {
vertical-align: middle;
}
.navbar-logo {
padding: 0 0 0 0.5rem !important;
}
.navbar-logo img{
height:30px;
}
#menulink {
zoom:150%;
}
/* MENU */
#menu {
min-height:44px;
padding: 0px 0px 0px 10px !important;
justify-content: space-around;
}
#menu .navbar-logo {
margin-right: 10px;
}
#menuapp {
background-color: var(--colorbgbodydark);
}
#menuuser {
min-width: 100px;
display:flex;
justify-content: end;
}
.nav-item {
padding:10px 10px;
}
.nav-item.active {
background-color: var(--colorbgbodydark-darker);
}
.menupage a {
display: flex;
align-items: center;
}
.menupage a i{
margin-right: 5px;
}
.dropdown-menu {
background-color: var(--colorbgbodydark);
margin-top: 15px;
}
.dropdown-item:hover, .dropdown-item:focus {
background-color: var(--colorbgbodydark-darker);
color: var(--colorftbodydark);
}
@media (max-width: 991px) {
#menu {
display:flex !important;
padding: 0px !important;
}
#menuapp {
position: absolute;
top:50px;
left:0px;
width:100%;
overflow-y: auto;
height:500px;
display:none;
}
#menuapp .nav {
flex-direction: column;
}
#menuapp .navbar-nav {
flex-direction: column;
padding:15px;
}
#menu .nav-toogle {
display:block !important;
}
#pagesportal {
display:block !important;
}
#pagesuser {
display:block !important;
}
.navbar-logo {
padding: 10px 5px 10px 10px !important;
}
#switchHeader {
display:none;
}
}
/* SIDEBAR */
#sidebar {
background-color: var(--colorbgbodydark);
width: 100%;
max-width:300px;
overflow-y: auto;
}
#sidebar span {
padding-left: 5px;
}
#sidebar .nav-pills .nav-link {
border-radius:0px;
}
#sidebar .nav-pills .nav-link.active {
background-color: var(--colorbgbodydark-darker);
}
#sidebar .nav-link-items {
display: none;
}
#sidebar .nav-link-item {
padding-left: 2em;
}
@media (max-width: 991px) {
#sidebar {
max-width:65px;
}
#sidebar span {
display: none;
}
#sidebar i {
font-size: 25px;
}
#sidebar .nav-link-item {
padding-left: 1rem;
}
#sidebar .nav-link-section {
display:block;
margin-bottom: 10px;
}
#sidebar .nav-link-title {
display:none;
}
#sidebar .nav-link-items {
display:block !important;
border-bottom: 1px solid var(--colorfttitledark);
}
}
/*== CHILD ======================================================================================================================================= */
.child-sidebar {
background-color: var(--colorbgbodyimportant);
color: var(--colorftbodydark);
}
.child-sidebar h3 {
color: var(--colorftbodydark);
}
.child-sidebar a {
color: var(--colorfttitledark);
}
.child-sidebar a:hover {
color: var(--colorfttitledark-lighter);
}
/*== GRID ======================================================================================================================================= */
.gutter-sizer { width: 0%;float:left; }
.grid-sizer {
width: 0.1%;
margin-bottom: 0%;
float:left;
}
.grid-item {
background-color:var(--colorbgbodydark);
color: var(--colorfttitledark);
overflow:hidden;
}
.grid-image {
width:100%;
transition: transform 0.3s;
background-position: center;
background-size: cover;
}
.grid-item-title {
background-color:var(--colorbgbodyimportant);
color: var(--colorfttitledark);
width:auto;
padding:15px;
text-align:center;
margin:auto;
}
.grid-item-size-1 { width: 100% }
.grid-item-size-2 { width: 50% }
.grid-item-size-3 { width: 33.3% }
.grid-item-size-4 { width: 25% }
.grid-item-size-5 { width: 20% }
.grid-item-full { width: 100%; margin-bottom: 0%; font-size:20px;float:left; }
.grid-item-full h1 {margin: 0; border:none; padding: 20px 0px 0px 10px; }
.grid-tag {font-style:italic}
.grid-image {cursor: pointer;}
@media (max-width: 980px) {
.grid-item-size-1 { width: 30% }
.grid-item-size-2 { width: 50% }
.grid-item-size-3 { width: 50% }
.grid-item-size-4 { width: 50% }
.grid-item-size-5 { width: 50% }
}
/*== HERO ======================================================================================================================================= */
.herobody {
min-height:500px;
width:100%;
padding:0px 100px;
}
.herobody .title {
height: auto;
position: relative;
top: 5%;
left: 5%;
font-size: 20px;
width:40%;
float: left;
}
.heroheader span {
color: var(--colorftbodydark);
text-shadow: 1px 1px 2px black;
}
.herobody .title h1, .heroheader h1, .heroheader h1 {
color: var(--colorftbodydark);
font-size: 50px;
margin:0px;
text-shadow: 1px 1px 2px black;
}
.herobody .navigation {
width:45%;
position: relative;
right: 5%;
top: 5%;
float: right;
}
@media (max-width: 1099px) {
.herobody {
padding:0px 50px;
}
.herobody .title {
width:90%;
}
.herobody .navigation {
width:90%;
}
}
.herobody .grid-item {
padding: 5px;
background-color: transparent;
height: 200px;
}
.herobody .grid-image {
background-color: var(--colorbgbodydark);
}