nineskeletor/assets/styles/app.css

592 lines
9.3 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);
}
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;
}
@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);
}
}
/* PAGE */
#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;
}
/* ITEM */
.itemframe {
width: 100%
}
.items-list {
display:flex;
flex-wrap: wrap;
margin-bottom: 5px;
}
.item {
padding:10px;
display:flex;
text-align: center;
justify-content: center;
margin-right:5px;
margin-bottom:5px;
flex-wrap: wrap;
color: var(--colorftbodydark) !important;
}
.item-action {
width: 100%;
color: var(--colorftbodydark) !important;
padding-top:10px;
height:35px;
}
.item-action i {
font-size: 22px;
}
.item-container {
display:flex;
flex-wrap: nowrap;
justify-content: space-around;
}
.item-content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
flex-direction: column;
}
.item img {
margin:0px auto 10px auto;
}
.item h3 {
margin:0px;
color: var(--colorftbodydark);
}
.item-subtitle {
font-size: 10px;
margin:0px;
color: var(--colorftbodydark);
}
.item-description {
color: var(--colorftbodydark);
text-align: left;
padding: 0px 5px;
}
.item-description img {
max-width: 100% !important;
height: auto !important;
}
.item-description p:last-child {
margin-bottom: 0px;
}
.item-verysmall {
width: 80px;
padding:5px 2px 2px 2px;
}
.item-verysmall .item-link {
width: 76px;
}
.item-verysmall img {
height:40px;
}
.item-verysmall h3{
font-size: 10px;
font-family: var(--fontbody);
text-transform: uppercase;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item-verysmall .item-subtitle{
display:none;
}
.item-verysmall .item-action {
padding-top:0px;
height:25px;
}
.item-verysmall .item-action i {
font-size: 14px;
}
.item-small {
width: 100px;
padding:10px 5px;
}
.item-small .item-link {
width: 90px;
}
.item-small img {
height:60px;
}
.item-small h3{
font-size: 12px;
font-family: var(--fontbody);
text-transform: uppercase;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item-small .item-subtitle{
display:none;
}
.item-small .item-action i {
font-size: 16px;
}
.item-medium {
width: 150px;
}
.item-medium .item-link {
width: 130px;
}
.item-medium img {
height:90px;
}
.item-medium h3{
font-size: 18px;
}
.item-large {
width:300px;
justify-content: left;
}
.item-large .item-link {
display: flex;
}
.item-large img {
height:120px;
}
.item-large .item-title {
text-align:left;
padding-left:10px;
}
.item-large h3{
font-size: 25px;
border-bottom: 1px solid var(--colorftbodydark);
}
.item-large .item-container {
flex-direction: column;
}
.item-large .item-action {
text-align: left;
}
.item-large .item-description {
margin-top:15px;
}
.item-list {
width:100%;
justify-content: left;
margin-right: 0px;
}
.item-list .item-container {
flex-direction: column;
width:100%;
}
.item-list .item-content {
flex-wrap: nowrap;
flex-direction: row;
}
.item-list .item-link {
display:flex;
align-items: center;
}
.item-list img {
height:40px;
margin:0px;
}
.item-list .item-title {
text-align:left;
padding-left:10px;
}
.item-list h3{
font-size: 18px;
font-family: var(--fontbody);
text-transform: uppercase;
}
.item-list .item-subtitle{
display:none;
}
.item-list .item-action {
width:auto;
}
.item-list .item-description {
padding:10px 0px 5px 0px;
}
/* WIDGET */
.widget{
margin-bottom:30px;
}
.widget-bordered {
border:1px solid;
}
.widget-menu {
float: right;
color: #fff;
margin: 10px 5px 0px 0px;
display:none;
}
.widget-menu i {
cursor:pointer;
}
.widget-header {
padding:10px 10px 5px 10px;
font-family: var(--fonttitle);
font-size: 25px;
}
.widget-logo {
height:40px;
margin-right:5px;
margin-top:-5px;
cursor: pointer;
}
.widget-title {
cursor: pointer;
}
.widget-body {
padding: 5px 0px 0px 0px;
}
.widget-bordered .widget-body {
padding: 5px;
}
.widget-body .items-list {
margin-bottom: 5px;
}
.widget-body .item-list:first-child {
margin-top: 0px;
}
.widget-body .items-list:last-child {
margin-bottom: -5px;
}
.widget-body .item-description {
padding:10px 0px 0px 0px;
}
.widget-body .slick {
min-height: 200px;
}
.widget-body .slick-slide {
min-height: 200px;
}
.widget-body .slick-arrow {
display: none !important;
}
.widget-body .slick-dots {
bottom: 5px;
color: var(--colorftbodydark);
}
.widgetplaceholder {
background-color: var(--colorbgbodydark);
}
.cat-list {
color: var(--colorfttitledark);
background-color: var(--colorbgbodydark);
padding: 5px 10px;
display: inline-block;
cursor: pointer;
}