html,
body {
height: 100%;
margin: 0;
}
body.launching {
@include background-size(cover);
background-color: $auth-background-color;
background-image: $auth-background-image;
background-position: center;
&::before {
@include animation(rotate-animation 1s linear infinite);
@include transform-origin(50% 50%);
@include background-size(cover);
background-image: url(get-resource-path('images/loading.png'));
background-position: center;
content: '';
position: absolute;
margin-top: -15px;
margin-left: -15px;
top: 50%;
left: 50%;
width: 41px;
height: 41px;
}
}
@mixin btn-border($background-color) {
background-color: $background-color;
border-color: $background-color !important;
.x-btn-inner-default-toolbar-small {
color: $lightest-color;
}
&:hover {
background-color: transparent;
.x-btn-inner-default-toolbar-small,
.x-btn-inner-default-small {
color: $background-color;
}
.x-btn-icon-el-default-small,
.x-btn-icon-el-default-toolbar-small {
color: $background-color;
}
}
}
.x-menu-header {
z-index: 0 !important;
}
.x-css-shadow {
box-shadow: none !important;
}
.shadow {
@include box-shadow(rgba(0, 0, 0, 0.2) 0 1px 2px);
}
.x-fa {
display: inline-block;
}
.alignRight {
float: right;
}
.boldFont {
font-weight: bold;
}
// default font-family
.x-body,
.x-btn-inner,
.x-panel-body-default,
.x-toolbar-text-default,
.x-form-item-label-default,
.x-form-text-default,
.x-column-header,
.x-grid-item,
.x-grid-row-summary .x-grid-cell, .x-grid-row-summary .x-grid-rowwrap, .x-grid-row-summary .x-grid-cell-rowbody,
.x-boundlist-item {
// font-family: 'pingFangSC-Regular';
}
.x-form-item-label-default {
// font-family: PingFangSC-Medium;
font-size: 14px;
color: #505363;
text-align: right;
line-height: 20px;
}
// toolbar button
.x-btn-default-toolbar-small {
color: #fff;
background-color: #308ee0;
border-color: #308ee0;
min-width: 86px;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
.x-btn-inner-default-toolbar-small {
color: #FFFFFF;
}
}
.x-form-item-default.x-form-readonly {
opacity: 1;
.x-form-item-label-default {
color: #8C97B2;
}
.x-form-text-default {
background: #EEF1F7;
}
.x-form-trigger {
background: #EEF1F7;
}
}
.x-btn.x-btn-menu-active.x-btn-default-toolbar-small,
.x-btn.x-btn-pressed.x-btn-default-toolbar-small,
.x-btn-over.x-btn-default-toolbar-small {
background: #34BAF6;
opacity: 0.72;
}
.x-keyboard-mode .x-btn-focus.x-btn-default-toolbar-small {
background: #34BAF6;
opacity: 0.72;
box-shadow: none;
}
.x-keyboard-mode .x-btn-focus.x-btn-over.x-btn-default-toolbar-small {
box-shadow: none;
}
.x-btn-wrap-default-toolbar-small.x-btn-arrow-right:after {
color: #FFFFFF;
}
.x-btn.x-btn-disabled.x-btn-default-toolbar-small {
border-color: #E6E6E6;
background: #E6E6E6;
.x-btn-inner-default-toolbar-small {
color: #606060;
}
}
.x-btn-default-toolbar-small{
border-radius: 2px !important;
}
.x-formpanel-btn-orange {
border-color: #f67f00;
background: linear-gradient(to bottom,#da7101 0,#f67f00 100%) !important;
.x-btn-inner-default-toolbar-small{
color:#fff !important;
}
}
.x-formpanel-btn-blue {
border-color: #346fb9;
background: linear-gradient(to bottom,#3876c3 0,#346fb9 100%) !important;
.x-btn-inner-default-toolbar-small{
color:#fff !important;
}
}
.x-grid-body {
border-width: 1px;
border-color: #ABDAFF;
}
.x-column-header {
background: #E5F7FF;
border-right: 1px solid #ABDAFF;
}
.x-column-header-text-inner {
font-size: 14px;
color: #505363;
letter-spacing: 0;
text-align: center;
line-height: 20px;
// font-family: PingFangSC-Medium;
font-weight: normal;
}
.x-panel-default-outer-border-trbl {
border-color: #ABDAFF !important;
}
.x-form-trigger-wrap-default {
border-color: #CACFE1;
border-radius: 2px;
}
.x-form-trigger-default {
color: #5E5E5E;
}
.x-grid-header-ct {
border-top-color: #ABDAFF;
border-top-width: 1px;
}
.x-panel-default-outer-border-rl {
border-right-color: #ABDAFF;
border-right-width: 1px;
border-left-color: #ABDAFF;
border-left-width: 1px;
}
.x-grid-item-alt {
background-color: #F1F9FF;
}
.x-grid-locked .x-grid-inner-locked {
border-width: 0 1px 0 0;
}
.x-grid-scrollbar-clipper-locked, .x-grid-scrollbar-locked {
border-right-color: #ABDAFF;
}
.x-grid-inner-locked {
border-right-color: #ABDAFF;
}
.x-grid-with-row-lines .x-grid-item:first-child {
border-color: #ffffff;
}
.x-grid-with-row-lines .x-grid-item {
border-color: #ABDAFF;
}
.x-grid-item-over {
background-color: #bde5f7;
}
.x-grid-cell-special {
border-color: #ABDAFF;
}
/*滚动条样式*/
div::-webkit-scrollbar {
width: 10px;
height: 10px;
}
div::-webkit-scrollbar-thumb {
background: #C2EAFC;
border-radius: 8px;
&:hover {
background: #74c3e6;
}
}
div::-webkit-scrollbar-track {
background: #fff;
border: 1px solid #e5e5e5;
border-radius: 8px;
}