forked from Wavyzz/dolibarr
179 lines
3.1 KiB
PHP
179 lines
3.1 KiB
PHP
<?php
|
||
if (! defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
|
||
/* <style type="text/css" > */
|
||
|
||
/*
|
||
* Component: Info Box
|
||
* -------------------
|
||
*/
|
||
.info-box {
|
||
display: block;
|
||
min-height: 90px;
|
||
background: #fff;
|
||
width: 100%;
|
||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.1);
|
||
border-radius: 2px;
|
||
margin-bottom: 15px;
|
||
}
|
||
.info-box small {
|
||
font-size: 14px;
|
||
}
|
||
.info-box .progress {
|
||
background: rgba(0, 0, 0, 0.2);
|
||
margin: 5px -10px 5px -10px;
|
||
height: 2px;
|
||
}
|
||
.info-box .progress,
|
||
.info-box .progress .progress-bar {
|
||
border-radius: 0;
|
||
}
|
||
.info-box .progress .progress-bar {
|
||
background: #fff;
|
||
}
|
||
.info-box-icon {
|
||
border-top-left-radius: 2px;
|
||
border-top-right-radius: 0;
|
||
border-bottom-right-radius: 0;
|
||
border-bottom-left-radius: 2px;
|
||
display: block;
|
||
float: left;
|
||
height: 90px;
|
||
width: 90px;
|
||
text-align: center;
|
||
font-size: 45px;
|
||
line-height: 90px;
|
||
background: rgba(0, 0, 0, 0.2);
|
||
}
|
||
.info-box-icon > img {
|
||
max-width: 100%;
|
||
}
|
||
.info-box-content {
|
||
padding: 5px 10px;
|
||
margin-left: 90px;
|
||
}
|
||
.info-box-number {
|
||
display: block;
|
||
font-weight: bold;
|
||
font-size: 18px;
|
||
}
|
||
.progress-description,
|
||
.info-box-text,
|
||
.info-box-title{
|
||
display: block;
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.info-box-title{
|
||
text-transform: uppercase;
|
||
font-weight: bold;
|
||
}
|
||
.info-box-text:first-letter{text-transform: uppercase}
|
||
a.info-box-text{ text-decoration: none;}
|
||
|
||
|
||
.info-box-more {
|
||
display: block;
|
||
}
|
||
.progress-description {
|
||
margin: 0;
|
||
}
|
||
|
||
/* ICONS */
|
||
.info-box-icon {
|
||
color: #fff !important;
|
||
}
|
||
|
||
.bg-infoxbox-project{
|
||
background-color: #605ca8 !important;
|
||
}
|
||
.bg-infoxbox-action{
|
||
background-color: #d81b60 !important;
|
||
}
|
||
.bg-infoxbox-propal,
|
||
.bg-infoxbox-facture,
|
||
.bg-infoxbox-commande{
|
||
background-color: #dd4b39 !important;
|
||
}
|
||
.bg-infoxbox-supplier_proposal,
|
||
.bg-infoxbox-invoice_supplier,
|
||
.bg-infoxbox-order_supplier{
|
||
background-color: #00c0ef !important;
|
||
}
|
||
.bg-infoxbox-contrat{
|
||
background-color: #00a65a !important;
|
||
}
|
||
.bg-infoxbox-bank_account{
|
||
background-color: #f39c12 !important;
|
||
}
|
||
.bg-infoxbox-adherent{
|
||
//background-color: #f39c12 !important;
|
||
}
|
||
.bg-infoxbox-expensereport{
|
||
background-color: #a55114 !important;
|
||
}
|
||
.bg-infoxbox-holiday{
|
||
background-color: #cbd81b !important;
|
||
}
|
||
|
||
|
||
.fa-dol-action:before {
|
||
content: "\f073";
|
||
}
|
||
.fa-dol-propal:before,
|
||
.fa-dol-supplier_proposal:before {
|
||
content: "\f2b5";
|
||
}
|
||
.fa-dol-facture:before,
|
||
.fa-dol-invoice_supplier:before {
|
||
content: "\f571";
|
||
}
|
||
.fa-dol-project:before {
|
||
content: "\f0e8";
|
||
}
|
||
.fa-dol-commande:before,
|
||
.fa-dol-order_supplier:before {
|
||
content: "\f570";
|
||
}
|
||
.fa-dol-contrat:before {
|
||
content: "\f1e6";
|
||
}
|
||
.fa-dol-bank_account:before {
|
||
content: "\f19c";
|
||
}
|
||
.fa-dol-adherent:before {
|
||
content: "\f0c0";
|
||
}
|
||
.fa-dol-expensereport:before {
|
||
content: "\f555";
|
||
}
|
||
.fa-dol-holiday:before {
|
||
content: "\f5ca";
|
||
}
|
||
|
||
|
||
|
||
.box-flex-container{
|
||
display: flex; /* or inline-flex */
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
width: 100%;
|
||
/*justify-content: space-between;*/
|
||
}
|
||
|
||
.box-flex-item{
|
||
flex-grow : 1;
|
||
flex-shrink: 1;
|
||
flex-basis: auto;
|
||
|
||
width: 280px;
|
||
padding: 5px 10px;
|
||
}
|
||
.box-flex-item.filler{
|
||
margin: 0;
|
||
padding: 0px 10px !important;
|
||
height: 0;
|
||
}
|