From ca4b011ad477a3bd3029659a535c873c4d05721a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 5 Jan 2018 19:44:51 +0000 Subject: [PATCH] Bug 19474 (Follow-up) Convert staff client CSS to SCSS This patch brings staff-global.scss up to date with changes which have been recently committed to staff-global.css, specifically staff client responsiveness improvements (Bug 19851). --- .../intranet-tmpl/prog/css/src/staff-global.scss | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 0bbe2a3..04389ac 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -3871,3 +3871,84 @@ span { #ill-requests { width: 100% !important; } + + +#helper { + span { + display: none; + } +} + +#logged-in-info-full { + display: none; +} + +.loggedin-menu-label { + color: #777; + font-size: 12px; + line-height: 1.42857143; + padding: 4px 12px; + white-space: nowrap; + + span { + color: #000; + font-weight: bold; + } + + &.divider { + padding: 0; + } +} + +@media (min-width: 200px) { + .navbar-nav > li { + float: left; + } + + .navbar-right { + float: right !important; + margin-right: -15px; + } + + .navbar-nav { + float: left; + margin: 0; + + .open { + .dropdown-menu { + background-color: #fff; + border: 1px solid rgba(0, 0, 0, .15); + box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + float: left; + left: auto; + position: absolute; + right: 0; + width: auto; + } + } + } +} + +@media (min-width: 800px) { + #helper { + i { + display: none; + } + + span { + display: inline; + } + } + + #logged-in-info-full { + display: inline; + } + + #logged-in-info-brief { + display: none; + } + + .loggedin-menu-label { + display: none; + } +} -- 2.1.4