Comments (5)
Je vais essayer ça, merci pour le travail.
from oblyon.
Quelque correction encore avec le menu fixé à gauche (j'ai eu un peu de temps) :
Ca fixe aussi le menu top en une ligne sur mobile (scroll vertical)
Je pense qu'on peut encore l'améliorer.
Je vais voir pour supprimer les titres sous les icones dans le top menu en mobile --> avec du JS
/* ============================================================================== */
/* ADAPTATION PAR D.COUDRAY PROSERV (https://proserv.fr) */
/* ============================================================================== */
.box-flex-item > .info-box > .info-box-content > .info-box-title {
margin-bottom: 5px;
}
.user-footer a.button-top-menu-dropdown {
padding: 1em !important;
height: max-content !important;
line-height: 1;
}
.user-footer a.button-top-menu-dropdown:hover {
background-color: #666666;
}
.butAction:hover,
.liste_titre.button_search,
.liste_titre.button_removefilter {
color: white;
}
a.butActionDelete:hover,
span.butActionDelete:hover {
color: white;
background-color: #f07b6e;
}
table.noborder table.nobordernopadding td:first-child {
padding-left: 0 !important;
}
/* ATTENTION : UNE VARIABLE COULEUR EXISTE POUR LES TAB EN HOVER ? */
a.tab:hover, a.tab:focus {
background-color: rgba(0,0,0, .7);
color: white;
}
a.tab.tabunactive.inline-block {
-webkit-box-shadow: 0 -2px 10px -5px rgba(0, 0, 0, 0.4);
box-shadow: 0 -2px 10px -5px rgba(0, 0, 0, 0.4);
}
a.tab.tabactive.inline-block {
-webkit-box-shadow: 0 -5px 10px -5px rgba(0, 0, 0, 0.4);
box-shadow: 0 -5px 10px -5px rgba(0, 0, 0, 0.4);
}
tr.liste_titre>th>a {
vertical-align: unset;
color: white !important;
}
.info-box-text>span {
vertical-align: unset;
}
.boxstats {
height: 65px;
}
.tabs .badge {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
/*
td.titlefield,
tr.nohover td,
tr.impair td.nohover,
table.tableforfield tr>td:first-of-type {
background-color: #fbfbfb !important;
} */
td.titlefield,
tr.nohover td,
tr.impair td.nohover,
table.tableforfield tr>td:first-of-type,
.noborder > tbody > tr:nth-child(even):not(.liste_titre),
.liste > tbody > tr:nth-child(even):not(.liste_titre),
div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(even):not(.liste_titre),
.liste > tbody > tr:nth-of-type(even):not(.liste_titre),
div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(even):not(.liste_titre),
.noborder > tbody > tr:nth-child(even):not(:last-child) td:not(.liste_titre),
.liste > tbody > tr:nth-child(even):not(:last-child) td:not(.liste_titre),
.noborder .oddeven.tagtr:nth-child(even):not(:last-child) .tagtd:not(.liste_titre)
.liste > tbody > tr:nth-of-type(even):not(.liste_titre) {
background: #f8f8f8 !important;
}
.paddingright {
padding-right: 6px;
}
#id-right {
width: 100vw;
}
@media (min-width:981px) {
#mainmenutd_companylogo {
width: 230px;
}
.menulogocontainer {
height: 48px;
max-width: inherit;
margin: 3px;
}
.menulogocontainer>a>img {
height: 48px !important;
max-width: inherit !important;
width: auto !important;
}
}
@media (max-width:980px) {
#mainmenutd_companylogo,
.login_block_other,
.login-dropdown-a>span.atoploginusername {
display: none !important;
}
div#tmenu_tooltip, #tmenu_tooltipinvert {
padding-right: 49px;
}
.blockvmenusearch a:link, .blockvmenusearch a:visited, .blockvmenusearch a:active,
a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu,
.sec-nav .sec-nav__link {
font-size: 14px;
}
}
/****************************
* *
* MENU GAUCHE *
* *
****************************/
/* Correction Erreurs */
div.vmenu {
min-height: 100%;
}
div#tmenu_tooltip {
z-index: 97;
}
@media (max-width:1024px) {
div.vmenu {
max-width: 230px;
}
}
/* Fix que sur Desktop */
@media (min-width:768px) {
#id-left {
position: fixed;
}
#id-right {
padding-left: 245px;
}
}
/* Hauteur et scroll */
#id-left {
height: 100vh;
overflow: auto !important;
overflow-y: auto !important;
overflow-x: hidden !important;
-webkit-overflow-scrolling: touch;
}
#id-left::-webkit-scrollbar {
display: none;
}
/* Couleurs */
#mainbody .sec-nav__sub-list .item-level2>a>span {
border-left-color: #0083A2; /* ATTENTION : PRENDRE LES VARIABLES COULEURS */
}
#mainbody .sec-nav__sub-list {
background-color: #0083A220; /* ATTENTION : PRENDRE LES VARIABLES COULEURS - On peut rajouter "20" après la variable */
}
#mainbody .sec-nav__sub-list .item-level2 {
padding-left: 1.5em;
}
/****************************
* *
* MENU HAUT *
* *
****************************/
@media (max-width:767px) {
ul.tmenu.main-nav__list {
display: inline-flex;
padding-right: 45px !important;
-webkit-overflow-scrolling: touch;
}
ul.tmenu.main-nav__list::-webkit-scrollbar {
display: none;
}
}
/* Corrections Erreur */
div.login_block {
height: max-content !important;
}
@media (max-width:) {
}
#tmenu_tooltip li.tmenu.main-nav__item.tmenusel.is-sel:not(#mainmenutd_companylogo) {
background-color: #0083A2; /* ATTENTION : PRENDRE LES VARIABLES COULEURS */
}
.menu_contenu>.blockvmenu>li.is-disabled,
.tmenudiv>.tmenu>li.is-disabled {
display: none;
}
/****************************
* *
* PHOTO SUR FICHES *
* *
****************************/
@media (max-width:500px) {
.tabBar .photoref {
width: 130px;
height: auto;
text-align: center;
}
.tabBar .photoref img.photo {
width: auto !important;
height: max-content !important;
max-height: 70px !important;
}
.fiche>.tabBar>.arearef.centpercent .inline-block.floatleft.valignmiddle.refid.refidpadding {
width: 100%;
}
.pagination.paginationref>.right>.noborder.litext {
margin-left: 5px !important;
}
}
.backgroundforcompanylogo {
background-color: transparent;
}
from oblyon.
Juste une question : Comment fais-tu appel à un fichier JS dans ton code ?
Je ne vois que les require __DIR__ .
pour le chargement des fichiers CSS
from oblyon.
Bon j'ai vu que c'est entré en "variable/option" depuis la commande $this->module_parts
du fichier modOblyon.class.php dans la table const
de BDD à l'activation du plugin.
from oblyon.
Bonjour Alexandre,
Tu as mergé les modifications CSS apportées ?
from oblyon.
Related Issues (20)
- Menüpunkt "Kategorien" fehlt unter Produkten und Leistungen HOT 3
- Responsive HOT 1
- inquiry about oblyon updates HOT 2
- Icons missing HOT 1
- Text alignement in sub-menu HOT 1
- Search contact missing HOT 2
- The central panel gets shifted to the right, instead of filling the whole screen. HOT 1
- Hide Left Menu, option setting disappears HOT 4
- Left menu toggle button not working on the website configuration page.
- Backup config
- Showcase HOT 2
- Top menu is hidden HOT 1
- Work´s fine in Dolibarr 16 ? HOT 1
- Category Pup-Up don't show existing categories in DB v18 HOT 1
- Dolidroid + Oblyon Javascript erreur
- How to use fontAwesome 6
- Strange visual once activated on a fresh install (menu is on top, and central screen on bottom) HOT 6
- can't activate the module HOT 1
- Contract expired services link HOT 1
- Cannot install on 19.02 for deprecated vars in modOblyon.class.php HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oblyon.