From 4a72cf0d6c697cf06ba8b42c69c06718bac42e4b Mon Sep 17 00:00:00 2001 From: Pierre Cadeot Date: Tue, 9 Mar 2021 10:12:14 +0400 Subject: [PATCH] [theme Metice] prise en compte bandeau escamotable #31431 --- .../Resources/public/themes/metice/style.css | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/public/themes/metice/style.css b/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/public/themes/metice/style.css index 2b010aae..cba9de23 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/public/themes/metice/style.css +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/public/themes/metice/style.css @@ -280,3 +280,62 @@ div.header > a.title > span { color: var(--fontcolorhover, white) !important; background: var(--fontcolorhoverdark, black) !important; } + +/* + * mise à jour du thème pour le bandeau escamotable #31431 + */ + + nav.navbarsmall { + background: white !important; + } + + .navbarsmall .navbar-brand { + color: black !important; + font-family: var(--fontfacetitle); + } + + .navbarsmall #logo { + float: left !important; + top: 0px !important; + left: 0px !important; + position: relative !important; + } + .navbarsmall { + height: 50px !important; + overflow-y: hidden; + } + .navbarsmall .nav.navbar-top-links.navbar-right > li a {font-size: 1.5em; } + + .navbarsmall .title img { margin-left:-300px !important;} + .navbarsmall small { + top: 18px !important; + font-size: 0.5em; + } + + .navbarsmall .nav.navbar-top-links.navbar-left li { + display: block; + } + + .navbarsmall a.navbar-brand { + line-height: 27px !important; + transition:line-height 0.5s ease; + font-size: 1.3em; + margin-left: -90px; + margin-top: -3px; + } + + .navbarsmall #logo { + /* remplacer l'image en définissant une image de background */ + /* et en positionnant un padding de la largeur de l'image */ + display: block; + -moz-box-sizing: border-box; + box-sizing: border-box; + background: var(--logo) no-repeat; + width: 62px; /* Width of new image */ + height: 23px !important; /* Height of new image */ + padding-left: 62px; /* Equal to width of new image */ + margin-top: -1px; + margin-left: 86px; + margin-right: 14px; + } + .navbarsmall .avatar {height: 25px; }