文件
mashangyoujiu/Public/paper/css/index.css

449 行
6.5 KiB
CSS
可执行文件

* {
margin: 0;
padding: 0;
}
body,
html {
min-width: 1024px;
}
.box {
display: flex;
}
.left {
width: 220px;
height: 100vh;
background: #333;
overflow-y: auto;
color: #ccc;
}
.left_logo {
width: 100%;
height: 65px;
box-sizing: border-box;
display: flex;
align-items: center;
box-sizing: border-box;
;
padding: 0 30px;
}
.left_logo>img {
display: block;
width: 40px;
height: 40px;
margin-right: 20px;
}
.left_logo>span {
font-size: 16px;
color: white;
}
.left_item {
width: 90%;
height: 45px;
box-sizing: border-box;
display: flex;
align-items: center;
padding: 0 40px;
cursor: pointer;
margin: auto;
border-radius: 4px;
}
.left_item:hover {
background: rgba(255, 255, 255, 0.2);
color:white!important;
}
.left_item>img {
display: block;
width: 25px;
height: 27px;
margin-right: 20px;
}
.left_item>span {
font-size: 14px;
display: inline-block;
margin-left: 10px;
}
.item_next {
width: 90%;
box-sizing: border-box;
padding: 0 40px;
cursor: pointer;
margin: auto;
border-radius: 4px;
background: #0C1224;
display: none;
}
.in_inner {
width: 100%;
display: block;
font-size: 12px;
text-decoration: none;
color: white;
height: 40px;
line-height: 40px;
padding-left: 45px;
}
.in_inner:hover {
color: #eb4a57;
}
.right {
width: calc(100% - 220px);
height: 100vh;
}
.right_title {
width: 100%;
height: 65px;
background: #333333;
display: flex;
justify-content: flex-end;
}
.right_title_nickname {
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 20px;
}
.right_title_nickname>img {
display: block;
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.right_title_nickname>span {
color: white;
font-size: 14px;
}
.right_title_quit {
width: 95px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.right_title_quit:hover {
background: #232b42;
}
.right_title_quit>img {
display: block;
width: 30px;
height: 30px;
}
.right_content {
width: 100%;
height: calc(100vh - 65px);
overflow-y: auto;
}
.left_logo>img {
width: 140px;
height: auto;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: #F5F5F5;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
border-radius: 10px;
background-color: #F5F5F5;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
background-color: #3f4c73;
}
.myseticon {
width: 20px;
height: 20px;
font-size: 20px!important;
line-height: 20px;
display: block;
}
/*内层样式*/
.container {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 10px 30px;
}
.container {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 10px 30px;
}
.content {
width: 100%;
height: 100%;
}
/*
*导航头样式
* */
.header_nav {
height: 42px;
width: 100%;
border-bottom: 1px solid #ddd;
position: relative;
}
.header_nav_item {
float: left;
height: 43px;
box-sizing: border-box;
font-size: 14px;
color: #333;
border-radius: 4px 4px 0 0;
padding: 10px 15px;
position: relative;
cursor: pointer;
}
.header_nav_item_box {
height: 42px;
border-bottom: 1px solid #ddd;
background-color: white;
float: left;
margin-bottom: -1px;
position: relative;
}
.header_nav .header_nav_item_box>div.active {
border: 1px solid #ddd;
border-bottom: 1px solid white;
}
/*
*框样式
* */
.myblock {
width: 100%;
border-radius: 8px;
min-height: 100px;
margin: 50px 0px;
box-sizing: border-box;
border: 1px solid #bae6ef;
}
.myblock_header {
background-color: #d9edf7;
padding: 10px 15px;
color: #333;
border-radius: 8px 8px 0 0;
box-sizing: border-box;
border-bottom: 1px solid #bae6ef;
}
.myblock_content {
box-sizing: border-box;
padding: 10px 15px;
}
/*
*简易框样式
* */
.jyblock {
border: 1px solid #333;
border-radius: 8px;
width: 100%;
padding: 10px 15px;
box-sizing: border-box;
}
.jyblock_title {
text-align: center;
font-size: 18px;
}
.jyblock_count {
text-align: center;
font-size: 20px;
padding: 10px 0px;
font-weight: bold;
}
/*
*首页统计部分样式
* */
.total_content {
width: 100%;
box-sizing: border-box;
padding-right: 25%;
min-height: 100px;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.user_msg {
position: absolute;
top: 0;
right: 0;
width: calc(25% - 20px);
min-height: 310px;
border: 1px solid #ddd;
border-radius: 8px;
display: flex;
flex-direction: column;
}
.user_msg:hover{
border: 1px solid #ff4642;
box-shadow: 0px 0px 10px #ff4642;
}
.total_item {
width: calc(33.33% - 10px);
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 8px;
height: 150px;
float: left;
margin-bottom: 10px;
display: flex;
justify-content: space-around;
align-items: center;
}
.total_item:hover{
border: 1px solid #ff4642;
box-shadow: 0px 0px 10px #ff4642;
}
.total_item_img {
width: 80px;
height: 80px;
}
.item_detail {
height: 80px;
width: 50%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.item_detail>p {
width: 100%;
text-align: left;
}
.user_msg_title {
font-size: 14px;
box-sizing: border-box;
padding: 10px 15px;
border-bottom: 1px solid #ddd;
background-color: #dfdfdf;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.user_msg_detail {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 20px;
box-sizing: border-box;
font-size: 14px;
color: #333;
max-height: 270px;
}
.user_msg_detail>p {
margin-bottom: 15px;
}
.half_myblock {
margin: 0;
width: calc(50% - 10px);
float: left;
margin-right: 10px;
}
.half_myblock:nth-child(2n) {
margin: 0;
width: calc(50% - 10px);
float: left;
margin-left: 10px;
}
.myblock_box {
margin: 20px 0px;
overflow: hidden;
}
.myblock_header>span {
color: #75aac5;
}
/*
*BackToTop插件样式
* */
#BackToTop {
float: left;
width:30px;
height:30px;
display:none;
color: #eee;
margin: 0 5px;
padding: 3px;
text-decoration: none;
position:fixed;
right:10px;
bottom:100px;
z-index: 10;
border-radius: 50%;
background-color: orangered;
box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}
#BackToTop span
{
display: block;
width:30px;
height:30px;
cursor: pointer;
border-radius: 50%;
text-align: center;
line-height: 30px;
font-size: 14px;
}