dataease-dm/frontend/src/styles/index.scss

236 lines
3.7 KiB
SCSS
Raw Normal View History

@import '~normalize.css/normalize.css';
2021-03-03 15:06:52 +08:00
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './topbar.scss';
@import "~fit2cloud-ui/src/styles/index.scss";
2021-03-17 18:50:29 +08:00
@import './vdrr/common-temp.scss';
@import '~umy-ui/lib/theme-chalk/index.css';// 引入样式
2021-04-01 13:33:40 +08:00
@import './deicon/iconfont.css';
2021-03-03 17:38:41 +08:00
// @import '../metersphere/common/css/index.css';
2021-03-03 15:06:52 +08:00
body {
//height: $contentHeight;
2021-03-03 15:06:52 +08:00
-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: $contentHeight;
2021-03-03 15:06:52 +08:00
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
// main-container global css
.app-container {
padding: 20px;
}
2021-03-17 18:50:29 +08:00
.de-dialog {
width: 30% !important;
.el-dialog__header{
background-color: #f4f4f5;
padding: 10px 20px !important;
}
.el-dialog__body{
padding: 1px 20px !important;
}
}
2021-04-06 19:10:16 +08:00
.de-filter-dialog {
min-width: 500px !important;
width: 50% !important;
2021-04-07 17:54:37 +08:00
2021-04-06 19:10:16 +08:00
.el-dialog__header{
background-color: #f4f4f5;
padding: 10px 20px !important;
}
.el-dialog__body{
padding: 1px 20px !important;
}
}
.preview-dialog {
padding: 0px!important;
.el-dialog--center{
padding: 0px!important;
}
.el-dialog__header{
display:none!important;
}
.el-dialog__body{
padding: 0px!important;
height: 100vh!important;
}
}
2021-03-17 18:50:29 +08:00
.de-search-header {
.el-tabs__header{
display: none !important;;
}
}
.de-input{
margin-bottom: 14px;
margin-top: 10px;
.el-input{
.el-input__inner {
line-height: 30px !important;
height: 30px !important;
border-right: none;
}
}
.el-input__inner:focus{
border-color: #E6E6E6 !important;
}
.el-input-group__append {
background-color: #ffffff;
}
}
2021-03-22 19:05:35 +08:00
.filter-card-class {
width: 100%;
.el-card__header {
padding: 5px 0 !important;
border-bottom: none !important;
}
.el-card__body {
padding: 10px;
}
}
2021-03-26 18:44:41 +08:00
.real-input {
.el-input__inner {
height: 25px !important;
border: none !important;
}
}
2021-04-07 17:54:37 +08:00
.de-filter-data-table {
.el-table__body-wrapper >table>{
tbody {
.el-table__row {
:hover {
cursor: pointer;
}
td {
border: none !important;
}
}
}
}
}
.de-filter-data-table::before {
height: 0px !important;
}
2021-04-08 11:39:00 +08:00
.custom-component-class {
width: 100%;
div {
width: 100% !important;
}
}
2021-04-12 17:18:07 +08:00
%field-icon{
font-size: 13px;
margin: 0 3px 0 0;
}
.field-icon-text{
@extend %field-icon;
color: #688fd8;
}
.field-icon-time{
@extend %field-icon;
color: #faaa39;
}
.field-icon-value{
@extend %field-icon;
color: #37b4aa;
}
2021-04-12 18:43:13 +08:00
.ds-icon-scene{
width: 14px;
height: 14px;
2021-05-19 14:58:21 +08:00
color: #0a7be0;
2021-04-12 18:43:13 +08:00
}
.ds-icon-db{
width: 14px;
height: 14px;
color: #3685f2;
margin: 0 2px 0 0;
}
.ds-icon-sql{
width: 14px;
height: 14px;
color: #faaa39;
margin: 0 2px 0 0;
}
.ds-icon-excel{
width: 14px;
height: 14px;
color: #13cd66;
margin: 0 2px 0 0;
}
.ds-icon-custom{
width: 14px;
height: 14px;
color: #23beef;
margin: 0 2px 0 0;
}