.navbar { background: #fff; padding: 16px 10px; z-index: 9999 !important; height: 6.5rem; } .headicon { width: 4rem; height: 4rem; margin-top: -2.8rem; margin-bottom: -2rem; margin-right: -1rem; -webkit-border-radius: 2rem; border-radius: 6rem; border: 2px solid #CCCCCC; } .nav > li { margin-top: -1.5rem; height: 6.5rem; } .headname { font-size: .9em; color: #333333; } .logout { font-size: .9em; } ul li { list-style: none; } .showHide { background-color: white; border-radius: 0.3rem; border: .1rem solid #eaeaea; display:none ; margin-top: 0.5rem; padding: .6rem 0; letter-spacing: .1rem; position: absolute; width: 10rem; } .showHide li>a{ list-style: none; color: #8c8c8c; } .showHide li>a:hover{ background-color: #52CC60; color: white; } .addActive{ position: relative; } .showHide > li { line-height: 2.5rem; width: 100%; padding-right: .5rem; text-align: center; color: #8c8c8c; } .showHide > li:hover { background-color: #52CC60; color: white; width: 100%; } .logout img { width: 12px; height: 14px; margin-right: .5rem; margin-top: -.4rem; } .log { height: 4rem; margin-top: -1.5rem; } .addActive:hover { background-color: #CAEFCF; } .nav > li > a { color: #999999 !important; padding: 1rem 0 !important; margin: 0 1.2rem; border-bottom: solid 2px transparent; font-size: 1em; font-weight: bold; margin-top: 1.5rem; } .addActive> a:hover{ color: #52CC60 !important; } .nav > .active > a { color: #52CC60 !important; background: transparent !important; padding: 1rem 0 !important; border-bottom: solid 2px #52CC60; } @media only screen and (max-width: 768px) { .nav-bedge { display: none; } } .navbar-header { margin-top: -.5rem; } .nav-bedge { position: absolute; top: -1rem; right: -4.5rem; padding: .5rem 1rem; background: rgba(255, 103, 103, 1); border-radius: 5rem; color: #fff; font-size: .85em; } .nav-bedge::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 0; border-top: 1rem solid rgba(255, 103, 103, 1); border-left: .5rem solid transparent; border-right: .5rem solid transparent; -webkit-transform: rotate(45deg) translate(.15rem, .3rem); -moz-transform: rotate(45deg) translate(.15rem, .3rem); -ms-transform: rotate(45deg) translate(.15rem, .3rem); -o-transform: rotate(45deg) translate(.15rem, .3rem); transform: rotate(45deg) translate(.15rem, .3rem); } /*遮罩部分*/ .maskA { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(176, 176, 176, 0.45); z-index: 9999; display: none; } .glyphicon-remove { z-index: 999; } .mask-content2 { position: absolute; left: 40%; background: #FFFFFF; padding-left: 2rem; padding-right: 2rem; padding-bottom: 1rem; top: 18rem; border-radius: 5px; } .mask-content-head2 { width: 100%; margin-top: 2rem; } .mask-content2 > span { position: absolute; right: 1rem; font-size: 16px; color: #5e5e5e; padding: 1rem; } .mask-content-head2 span { font-size: 16px; font-weight: 600; text-align: center; width: 100%; line-height: 8rem; } .mask-content-btn { text-align: center; width: 100%; } .mask-content-btn a { display: inline-block; color: #7E7E7E; background: #F6F7FB; padding: .4rem 2.5rem; border-radius: 3px; margin-left: 2rem; text-decoration: none; margin-top: 1rem; cursor: pointer; } .mask-content-head2 span:nth-of-type(2) { float: right; margin-top: -1.8rem; font-size: 1.5rem; color: #7E7E7E; } .mask-content-btn .active { color: #FFFFFF; background: #52CC60; }