1 Star 3 Fork 0

zhumengquan / 我执登录系统前端页面

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
style.css 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
zhumengquan 提交于 2020-09-26 15:40 . initial commit
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
min-height: 100vh;
}
.navigation{
position: fixed;
width: 60px;
height: 100%;
background: #383d41;
transition: 0.5s;
overflow: hidden;
}
.navigation:hover,
.navigation.active{
width: 20%;
}
.navigation ul{
position: relative;
top: 0;
left: 0;
width: 100%;
}
.navigation ul li{
position: relative;
width: 100%;
list-style: none;
}
.navigation ul li:hover{
background: #9fcdff;
}
.navigation ul li a{
position: relative;
/*display: none;*/
width: 100%;
display: flex;
text-decoration: none;
color: #fff;
}
.navigation ul li a .icon{
position: relative;
display: block;
min-width: 60px;
height: 60px;
line-height: 60px;
text-align: center;
}
.navigation ul li a .icon .fa{
font-size: 24px;
}
.navigation ul li a .title{
position: relative;
display: block;
padding: 0 10px;
height: 60px;
line-height: 60px;
text-align: center;
white-space: nowrap;
}
.toggle{
width: 36px;
height: 36px;
background: #282525;
cursor: pointer;
content: '\f0c9';
}
.toggle:hover{
background: #9fcdff;
}
.toggle:before{
font-size: 24px;
color: #fff;
}
.toggle.active:before{
}
@media (max-width: 767px){
.navigation{
left: -60px;
}
.navigation.active{
left: 0px;
width: 100%;
}
}
.maincontent {
width: 100%;
height: 100%;
margin: 0 auto;
min-width: 320px ! important;
overflow: hidden;
}
.maincontent .breadcrumb { padding: 14px 15px; }
CSS
1
https://gitee.com/zhumengquan/wozhi.git
git@gitee.com:zhumengquan/wozhi.git
zhumengquan
wozhi
我执登录系统前端页面
master

搜索帮助