/*公共样式*/ body{ /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/ font-size: 1rem; line-height: 1.45; color: #373a3c; background-color: #F1F1F1; } .f30{ font-size:30px; } .f24{ font-size:24px; } .f20{ font-size:20px; } /*登录页*/ .login-body{ display: flex; align-items: center; height: 100vh; } .login-body .line { border-bottom: 1px solid #dadada; line-height: 0.1em; margin: 10px 0 20px; } .login-body .line span { background: #fff; padding: 0 10px; } .login-form { box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); margin: 0 auto; } .login-form h2{ text-align: center; margin-bottom: 20px; } .login-form h6 { text-align: center; } /*导航部分*/ .navbar { position: relative; min-height: 58px; margin-bottom: 20px; padding: 0px; transition: 300ms ease all; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); background: #FFFFFF; border: 0px; } .navbar-header{ float: left; width: 240px; background: #1D2B36; height: 58px; } .navbar-header a{ display: block; margin-left: 20px; margin-top: 15px; } .navbar-content { margin-left: 240px; padding: 0rem 1rem; transition: 300ms ease all; background: inherit; height: 58px; } .navbar-content .navbar-left { float: left; padding-left: 0; margin-bottom: 0; list-style: none; height: 58px; width: 300px; } .navbar-content > .navbar-left > li { float: left; height: 58px; line-height: 58px; margin-left: 25px; } .navbar-content > .navbar-left > li > a{ text-decoration: none; line-height: 58px; color: #55595c; position: relative; display: block; padding: 0; background-color: #fff; } .navbar-content > .navbar-left > li > a:hover, .navbar-content > .navbar-left > li > a:focus { text-decoration: none; background-color: inherit !important; } .navbar-content .navbar-right { float: right; padding-right: 0; margin-bottom: 0; list-style: none; height: 58px; width: 500px; } .navbar-content > .navbar-right > li { float: right; height: 58px; line-height: 58px; margin-right: 30px; } .navbar-content > .navbar-right > li > a{ text-decoration: none; line-height: 58px; color: #55595c; position: relative; display: block; padding: 0; background-color: #fff; } .navbar-content > .navbar-right > li > a:hover, .navbar-content > .navbar-right > li > a:focus { text-decoration: none; background-color: inherit !important; } .dropdown-menu > li > a { font-size: 18px; } .navbar-content .navbar-right i { font-size: 16px; margin-right: 8px; } /*侧边栏*/ .sidebar{ width: 240px; background: #1D2B36; } .sidebar-content{ height: 100%; position: relative; } .sidebar-content > ul { overflow-x: hidden; list-style: none; margin: 0; padding: 0; font-size: 1rem; overflow-y: hidden; } .sidebar-content > ul > li{ line-height: 2.8; border: 1px solid red; } .sidebar-item-list{ display: none; }