X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Fskyquake_nav%2FskyquakeNav.scss;fp=skyquake%2Fframework%2Fwidgets%2Fskyquake_nav%2FskyquakeNav.scss;h=8a312ff2a4a7f1022f1ca4da86c56ba4cb8b3580;hp=0000000000000000000000000000000000000000;hb=03156e335275de1dafbc2a816e98006afdf249bf;hpb=f2dc2462571800e62cba969964de621dca09299c diff --git a/skyquake/framework/widgets/skyquake_nav/skyquakeNav.scss b/skyquake/framework/widgets/skyquake_nav/skyquakeNav.scss new file mode 100644 index 000000000..8a312ff2a --- /dev/null +++ b/skyquake/framework/widgets/skyquake_nav/skyquakeNav.scss @@ -0,0 +1,127 @@ +@import '../../style/_colors.scss'; +.active { + background-color: $brand-blue!important; + border-color: $brand-blue!important; + color: #fff!important + } + .skyquakeNav { + display: -ms-flexbox; + display: -webkit-box; + display: flex; + color:white; + background:black; + position:relative; + z-index: 10; + font-size:0.75rem; + padding-right:1rem; + .secondaryNav { + -ms-flex: 1 1 auto; + -webkit-box-flex: 1; + flex: 1 1 auto; + display: -ms-flexbox; + display: -webkit-box; + display: flex; + -ms-flex-pack: end; + -webkit-box-pack: end; + justify-content: flex-end; + + .username a{ + text-transform: none; + } + } + .app { + display: -ms-flexbox; + display: block; + position:relative; + margin: auto 0.5rem; + h2 { + font-size:0.75rem; + border-right: 1px solid black; + display: -ms-flexbox; + display: -webkit-box; + display: flex; + -ms-flex-pack: start; + -ms-flex-pack: start; + -webkit-box-pack: start; + justify-content: flex-start; + -ms-flex-align: center; + -webkit-box-align: center; + align-items: center; + .oi { + padding-right: 0.5rem; + } + } + .menu { + position:absolute; + display:none; + z-index:2; + width: 100%; + li { + text-align:left; + } + } + &:first-child{ + h2 { + border-left: 1px solid black; + } + } + &:hover { + a { + color:$brand-blue-light; + cursor:pointer; + } + .menu { + display:block; + background:black; + a { + color:white; + } + li:hover { + a { + color:$brand-blue-light; + } + } + } + } + &.active { + color:white; + background:black; + a { + color:white; + } + } + } + a{ + display:block; + padding:0.5rem 1rem; + text-decoration:none; + text-transform:uppercase; + text-align:left; + color:white; + } + &:before { + content: ''; + min-width: 5.5rem; + margin: 0.125rem 1rem; + /*background: url('../../style/img/svg/riftio_logo_white.svg') no-repeat center center;*/ + background: url('../../style/img/svg/osm-logo_color_rgb_white_text.svg') no-repeat center center; + background-size: contain; + } + .userSection { + display:-ms-flexbox; + display:-webkit-box; + display:flex; + -ms-flex-align:center; + -webkit-box-align:center; + align-items:center; + padding-left: 1rem; + text-transform:uppercase; + text-align: left; + .projectSelect { + padding: 0 0.5rem; + font-size: 1rem; + /* min-width: 75%;*/ + height: 25px; + } + } + }