105 lines
2.1 KiB
CSS
105 lines
2.1 KiB
CSS
/*
|
|
@author 罗佳鸿
|
|
@describe 这里的样式,在首页、关于、物料领用、成品入库页面的头部栏都进行了引用
|
|
*/
|
|
.header {
|
|
width: 100%;
|
|
height: 100px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
padding: 10px;
|
|
color: #000000;
|
|
background-image: url(../../assets/headerBackgroungImg.png);
|
|
background-color: #8a2924;
|
|
z-index: 99;
|
|
}
|
|
.left,
|
|
.right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.icon {
|
|
margin-right: 10px;
|
|
cursor: pointer;
|
|
color: aliceblue;
|
|
font-size: 16px;
|
|
}
|
|
/* 首页头部栏,右侧的下拉框样式 */
|
|
.leftBox{
|
|
float: left;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.titleOne {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-right: solid rgb(255, 255, 255,0.5) 1px;
|
|
width: 100px;
|
|
height: 60px;
|
|
margin: auto;
|
|
color: rgb(255, 255, 255);
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
font-weight: 600;
|
|
}
|
|
.titleTwo {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-right: solid rgb(255, 255, 255,0.5) 1px;
|
|
width: 60px;
|
|
height: 100px;
|
|
margin: auto;
|
|
color: white;
|
|
cursor: pointer;
|
|
font-weight: 200;
|
|
writing-mode: vertical-rl;
|
|
text-orientation: upright;
|
|
letter-spacing: 0.6em;
|
|
}
|
|
.titleThree {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-right: solid rgb(255, 255, 255,0.5) 1px;
|
|
width: 60px;
|
|
height: 100px;
|
|
margin: auto;
|
|
color: white;
|
|
cursor: pointer;
|
|
font-weight: 200;
|
|
writing-mode: vertical-rl;
|
|
text-orientation: upright;
|
|
letter-spacing: 0.2em;
|
|
}
|
|
.titleFour {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-right: solid rgb(255, 255, 255,0.5) 1px;
|
|
width: 60px;
|
|
height: 100px;
|
|
margin: auto;
|
|
color: white;
|
|
cursor: pointer;
|
|
font-weight: 200;
|
|
writing-mode: vertical-rl;
|
|
text-orientation: upright;
|
|
letter-spacing: 0.2em;
|
|
}
|
|
.dropdown {
|
|
float: left;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.dropdown.show {
|
|
display: block;
|
|
}
|