qa-regulatory-gwj-vue/src/styles/index.scss

598 lines
8.7 KiB
SCSS
Raw Normal View History

2023-11-07 10:04:37 +08:00
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './print.scss';
@page{
size: A4;
margin:0 20px;
width: 100%;
}
@media print {
#printTest{
padding-top: 20px;
}
}
// 解决el-table表格对不齐问题
.el-table th.gutter{
display: table-cell !important;
}
body {
margin: 0;
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.no-padding {
padding: 0px !important;
}
.padding-content {
padding: 4px 0;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.fr {
float: right;
}
.fl {
float: left;
}
.mt-20 {
margin-top: 20px;
}
.mb-10 {
margin-bottom: 10px;
}
.mb-20 {
margin-bottom: 20px;
}
.mr-10 {
margin-right: 10px;
}
.mr-20 {
margin-right: 20px;
}
.pr-5 {
padding-right: 5px;
}
.pl-5 {
padding-left: 5px;
}
.block {
display: block;
}
.pointer {
cursor: pointer;
}
.inlineBlock {
display: block;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
aside {
background: #eef1f6;
padding: 8px 24px;
margin-bottom: 20px;
border-radius: 2px;
display: block;
line-height: 32px;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
color: #2c3e50;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
a {
color: #337ab7;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
}
}
//main-container全局样式
.app-container {
padding: 20px;
}
.app-statistical {
padding: 8px 20px 8px 20px;
border: 1px solid #abdcff;
background-color: #f0faff;
position: relative;
border-radius: 4px;
color: #515a6e;
line-height: 16px;
margin-bottom: 15px;
span {
margin-right: 20px;
font-size: 12px;
i {
font-style: normal;
font-weight: 700;
color: rgb(45, 140, 240);
}
}
}
.app-big-padding {
padding: 40px 60px 0 0px;
}
.components-container {
margin: 30px 50px;
position: relative;
}
.text-center {
text-align: center
}
.sub-navbar {
height: 50px;
line-height: 50px;
position: relative;
width: 100%;
text-align: right;
padding-right: 20px;
transition: 600ms ease position;
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
.subtitle {
font-size: 20px;
color: #fff;
}
&.draft {
background: #d0d0d0;
}
&.deleted {
background: #d0d0d0;
}
}
.link-type,
.link-type:focus {
color: #337ab7;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
}
.filter-container {
padding-bottom: 15px;
.filter-item {
display: inline-block;
vertical-align: middle;
}
.filter-group {
display: inline-block;
vertical-align: middle;
padding-left: 10px;
&:last-child {
padding-right: 20px;
}
.filter-lable {
line-height: 36px;
display: inline-block;
vertical-align: middle;
font-size: 12px;
}
.filter-width {
display: inline-block;
vertical-align: middle;
width: 160px;
}
.filter-date {
display: inline-block;
vertical-align: middle;
}
}
.filter-lable{
display: inline-block;
font-size: 13px;
text-align: right;
color: #606266;
}
}
.hidden-container {
padding-bottom: 15px;
display: flex;
justify-content: space-between;
.filter-item {
display: inline-block;
vertical-align: middle;
}
.filter-lable{
display: inline-block;
font-size: 13px;
text-align: right;
color: #606266;
}
}
//refine vue-multiselect plugin
.multiselect {
line-height: 16px;
}
.multiselect--active {
z-index: 1000 !important;
}
// 分页和按钮组
.page-btn-group{
display: flex;
flex-direction: row;
justify-content: space-between;
padding-top: 20px;
align-items: flex-end;
}
.filter-btn-group{
margin-bottom: 10px;
}
// 一行布局flex左右对齐
.inline-flex{
display: flex;
flex-direction: row;
justify-content: space-between;
}
// 宽度列表
.w50{
width: 50px;
}
.w80{
width: 70px;
}
// 查看详情表格
.table-ui {
border-collapse: collapse;
width: 100%;
td{
border: 1px solid #eaeaea;
padding: 8px 18px 8px 8px;
font-size: 14px;
line-height: 1.4;
}
.tbg {
background: #f9f9f9;
text-align: right;
width: 120px;
}
.cbg {
background: #f9f9f9;
text-align: right;
width: 140px;
}
}
.table-baidu-map{
td{
vertical-align: top;
}
.ar{
text-align: right;
width: 70px;
// border: 1px solid red;
}
.br{
text-align: right;
}
}
// 注册页面
.registered{
height: 100%;
background-color: #f5f5f6;
.registered-topbar {
height: 60px;
border-bottom: 1px solid #D7D8D9;
background-color: #256fdd;
.registered-box{
padding: 0 20px;
display: flex;
align-items: center;
justify-content: space-between;
line-height: 60px;
.registered-logo{
color: #fff;
font-size: 26px;
}
.registered-back{
font-size: 14px;
cursor: pointer;
color: #fff;
}
}
}
.registered-main{
width: 1000px;
margin: 40px auto 0;
background-color: #fff;
padding: 30px;
.registered-title{
font-family: , "Microsoft YaHei";
font-size: 30px;
color: #484e52;
letter-spacing: 1px;
border-bottom: 1px solid #D7D8D9;
margin-bottom: 20px;
padding-bottom: 20px;
}
.registered-content{
width: 90%;
margin: 0 auto 40px;
}
}
}
// 企业信息底部
.heightt{
height: 100px;
}
.heightt-mini{
height: 20px;
}
.subdy-foot{
position: fixed;
bottom: 0;
background-color: #f3f3f3;
width: calc(100% - 200px);
padding: 20px 0;
border-top: 1px solid #ccc;
}
.table-ui {
border-collapse: collapse;
width: 100%;
th {
background-color: #f9f9f9;
padding: 0.9rem 0.8rem;
font-size: 14px;
line-height: 1.6;
border: 1px solid #eaeaea;
text-align: left;
}
td {
border: 1px solid #eaeaea;
padding: 8px;
font-size: 14px;
line-height: 1.6;
}
.bgst {
background: #f9f9f9;
text-align: center;
}
.abg {
background: #f9f9f9;
text-align: right;
width: 160px;
}
.bbg {
background: #f9f9f9;
width: 120px;
text-align: center;
}
.tbg {
background: #f9f9f9;
text-align: right;
width: 120px;
}
.cbg {
background: #f9f9f9;
text-align: right;
width: 140px;
}
.label.label-danger {
background: #f44236;
color: #ffffff;
}
.label.label-success {
background: #1de9b6;
color: #ffffff;
}
.label.label-warning {
background: #f4c22b;
color: #ffffff;
}
.label.label-info {
background: #3ebfea;
color: #ffffff;
}
.label.label-orange {
background: #fa7423;
color: #ffffff;
}
}
// 通用底部
.ui-height {
height: 60px;
}
.ui-foot {
position: fixed;
width: calc(100% - 210px);
bottom: 0;
height: 60px;
line-height: 60px;
background-color: #f1f1f1;
text-align: center;
}
// 分级标题
.level-title {
padding-left: 10px;
border-left: 4px solid #04a9f5;
margin-bottom: 20px;
display: flex;
align-items: center;
position: relative;
h1 {
font-size: 15px;
font-weight: bold;
margin: 0;
}
.level-search {
position: absolute;
left: 80px;
display: flex;
flex-direction: row;
}
.level-btns {
position: absolute;
right: 0;
}
}
.level-line {
background-color: #f1f1f1;
height: 1px;
overflow: hidden;
margin-bottom: 20px;
}
.table-vi {
border-collapse: collapse;
width: calc(100% + 2px);
margin: -1px -2px -1px -1px;
th {
background-color: #f9f9f9;
padding: 8px;
font-size: 14px;
line-height: 1.6;
border: 1px solid #eaeaea;
text-align: center;
font-weight: normal;
}
td {
border: 1px solid #eaeaea;
padding: 8px;
font-size: 14px;
line-height: 1.4;
}
.numberbg {
background: #f9f9f9;
text-align: center;
}
.tcenter {
text-align: center;
}
.select {
width: 80px;
}
}