123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667 |
- /* 图标靠右对齐时,不显示 */
- .x-button.x-has-text.x-icon-align-right .x-icon-el {
- color: white;
- }
- /* 表格分页工具条样式 */
- .yvgrid-paging .paging-text .x-innerhtml {
- text-align: center;
- font-size: 16px;
- line-height: 32px;
- font-weight: bold;
- }
- /*== layer提示框==*/
- .yvan-msg {
- min-width: 100px;
- background-color: rgba(0, 0, 0, .6);
- color: #fff;
- border: none;
- -webkit-box-shadow: none;
- box-shadow: none;
- margin: 0;
- padding: 0;
- border-radius: 2px;
- position: fixed;
- pointer-events: auto;
- z-index: 99999999999;
- }
- .yvan-msg-content {
- pointer-events: auto;
- color: #fff;
- padding: 12px 25px;
- text-align: center;
- position: relative;
- line-height: 24px;
- word-break: break-all;
- overflow: hidden;
- font-size: 14px;
- overflow-x: hidden;
- overflow-y: auto;
- }
- /*== 动画 ==*/
- .yvan-anim {
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-duration: 0.3s;
- animation-duration: 0.3s;
- }
- @-webkit-keyframes yvan-bounceIn {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.5);
- transform: scale(0.5);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @keyframes yvan-bounceIn {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.5);
- transform: scale(0.5);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- .yvan-anim-00 {
- -webkit-animation-name: yvan-bounceIn;
- animation-name: yvan-bounceIn;
- }
- @-webkit-keyframes yvan-zoomInDown {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.1) translatey(-2000px);
- transform: scale(0.1) translatey(-2000px);
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- }
- 60% {
- opacity: 1;
- -webkit-transform: scale(0.475) translatey(60px);
- transform: scale(0.475) translatey(60px);
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- }
- }
- @keyframes yvan-zoomInDown {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.1) translatey(-2000px);
- transform: scale(0.1) translatey(-2000px);
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- }
- 60% {
- opacity: 1;
- -webkit-transform: scale(0.475) translatey(60px);
- transform: scale(0.475) translatey(60px);
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- }
- }
- .yvan-anim-01 {
- -webkit-animation-name: yvan-zoomInDown;
- animation-name: yvan-zoomInDown;
- }
- @-webkit-keyframes yvan-fadeInUpBig {
- 0% {
- opacity: 0;
- -webkit-transform: translatey(2000px);
- transform: translatey(2000px);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translatey(0);
- transform: translatey(0);
- }
- }
- @keyframes yvan-fadeInUpBig {
- 0% {
- opacity: 0;
- -webkit-transform: translatey(2000px);
- transform: translatey(2000px);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translatey(0);
- transform: translatey(0);
- }
- }
- .yvan-anim-02 {
- -webkit-animation-name: yvan-fadeInUpBig;
- animation-name: yvan-fadeInUpBig;
- }
- @-webkit-keyframes yvan-zoomInLeft {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.1) translatex(-2000px);
- transform: scale(0.1) translatex(-2000px);
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- }
- 60% {
- opacity: 1;
- -webkit-transform: scale(0.475) translatex(48px);
- transform: scale(0.475) translatex(48px);
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- }
- }
- @keyframes yvan-zoomInLeft {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.1) translatex(-2000px);
- transform: scale(0.1) translatex(-2000px);
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- }
- 60% {
- opacity: 1;
- -webkit-transform: scale(0.475) translatex(48px);
- transform: scale(0.475) translatex(48px);
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- }
- }
- .yvan-anim-03 {
- -webkit-animation-name: yvan-zoomInLeft;
- animation-name: yvan-zoomInLeft;
- }
- @-webkit-keyframes yvan-rollIn {
- 0% {
- opacity: 0;
- -webkit-transform: translatex(-100%) rotate(-120deg);
- transform: translatex(-100%) rotate(-120deg);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translatex(0) rotate(0);
- transform: translatex(0) rotate(0);
- }
- }
- @keyframes yvan-rollIn {
- 0% {
- opacity: 0;
- -webkit-transform: translatex(-100%) rotate(-120deg);
- transform: translatex(-100%) rotate(-120deg);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translatex(0) rotate(0);
- transform: translatex(0) rotate(0);
- }
- }
- .yvan-anim-04 {
- -webkit-animation-name: yvan-rollIn;
- animation-name: yvan-rollIn;
- }
- @-webkit-keyframes yvan-fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes yvan-fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- .yvan-anim-05 {
- -webkit-animation-name: yvan-fadeIn;
- animation-name: yvan-fadeIn;
- }
- @-webkit-keyframes yvan-shake {
- 0%,
- 100% {
- -webkit-transform: translatex(0);
- transform: translatex(0);
- }
- 10%,
- 30%,
- 50%,
- 70%,
- 90% {
- -webkit-transform: translatex(-10px);
- transform: translatex(-10px);
- }
- 20%,
- 40%,
- 60%,
- 80% {
- -webkit-transform: translatex(10px);
- transform: translatex(10px);
- }
- }
- @keyframes yvan-shake {
- 0%,
- 100% {
- -webkit-transform: translatex(0);
- transform: translatex(0);
- }
- 10%,
- 30%,
- 50%,
- 70%,
- 90% {
- -webkit-transform: translatex(-10px);
- transform: translatex(-10px);
- }
- 20%,
- 40%,
- 60%,
- 80% {
- -webkit-transform: translatex(10px);
- transform: translatex(10px);
- }
- }
- .yvan-anim-06 {
- -webkit-animation-name: yvan-shake;
- animation-name: yvan-shake;
- }
- @-webkit-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- .x-titlebar.x-container.x-component.x-navigation-bar.x-noborder-trbl.x-paint-monitored.x-dock-item.x-docked-top .x-component.x-button.x-has-text.x-icon-align-left.x-arrow-align-right.x-layout-box-item.x-layout-hbox-item .x-text-el {
- color: #fff;
- color: var(--base-foreground-color);
- }
- .x-messagebox.x-dialog .x-toolbar.x-toolbar-footer .x-button {
- margin-left: 8px;
- margin-right: 8px;
- }
- .x-messagebox.x-dialog .x-toolbar.x-toolbar-footer .x-button:first-child {
- margin-left: 0 !important;
- }
- .x-messagebox.x-dialog .x-toolbar.x-toolbar-footer .x-button:last-child {
- margin-right: 0 !important;
- }
- /*样式调整*/
- /*修改头部样式*/
- .x-panelheader > .x-body-el {
- padding: 0;
- }
- .x-panelheader-body-el > .x-paneltitle {
- padding: 0;
- }
- .x-panelheader-body-el > .x-paneltitle .x-text-el {
- padding-left: 10px;
- }
- .x-panelheader-body-el > .x-paneltitle .x-icon-el:first-of-type {
- padding: 18px;
- z-index: 2;
- margin-right: -10px;
- }
- .x-panelheader .x-tool.x-end {
- padding: 0 12px 0 6px;
- }
- /**修改表单内的样式*/
- .x-field.x-label-text-align-left > .x-label-el {
- font-size: 18px;
- text-align: right;
- }
- .x-formpanel .x-field > .x-label-el {
- color: #666;
- font-size: 16px;
- }
- .x-field.x-no-label-wrap > .x-label-el {
- overflow: visible;
- }
- .x-field.x-no-label-wrap > .x-label-el {
- overflow: visible;
- }
- .x-field.x-required > .x-label-el:after {
- font-size: 14px;
- vertical-align: middle;
- }
- .x-title.x-form-fieldset-title .x-innerhtml {
- font-size: 18px;
- }
- .x-formpanel .textfieldBold.x-textfield > label {
- font-size: 18px;
- }
- .x-textfield .x-input-el {
- font-size: 17px;
- placeholder-color: #ccc;
- font-family: "Microsoft YaHei UI";
- }
- .x-button {
- color: #fff;
- font-size: 15px;
- background: #2196f3;
- border-color: #2196f3;
- line-height: 19px;
- border-radius: 4px;
- font-family: normal;
- }
- .x-button.x-arrow-align-right .x-inner-el {
- border-radius: 4px;
- padding: 0;
- }
- .x-button.x-has-text .x-inner-el {
- padding: 8px 12px;
- }
- .x-field > .x-label-el {
- width: auto;
- margin: 5px 10px 5px 5px;
- }
- .x-field.x-required > .x-label-el:after {
- color: red;
- margin-left: 5px;
- }
- .x-textfield.x-invalid .x-underline-el:after {
- height: 1px;
- background-color: #e2e2e2;
- }
- .x-displayfield .x-input-el {
- font-size: 16px;
- }
- /*修改底部按钮样式*/
- .x-layout-hbox .x-button {
- margin: 0 10px;
- }
- /*.x-layout-hbox .x-button :hover {*/
- /* background: #66biff;*/
- /* border-color: #66biff;*/
- /*}*/
- .x-layout-hbox .x-button:first-child {
- margin-left: 0;
- }
- .x-layout-box.x-pack-start {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- }
- /*将表头超出文本显示省略号改为显示全部*/
- .x-field.x-no-label-wrap > .x-label-el {
- text-overflow: inherit;
- }
- /*修改剔除口异常处理的样式*/
- .x-checkboxfield .x-box-label-el {
- font-size: 14px;
- padding: 0;
- margin-left: 5px;
- vertical-align: center;
- }
- /*修改Aawesome图标样式*/
- :root .x-body-el.x-panel-body-el.x-container-body-el .x-pack-start .x-component.x-button.x-has-text.x-has-icon.x-icon-align-left.x-arrow-align-right.x-layout-box-item {
- --base-color: #fff;
- }
- :root .x-component .x-body-el.x-form-fieldset-body-el.x-container-body-el.x-component-body-el.x-layout-auto .x-button {
- --base-color: #fff;
- }
- /*修改表格内的样式*/
- .x-headercontainer {
- border-top: 1px solid #e2e2e2;
- }
- .double-header-height .x-gridcolumn .x-text-el {
- overflow: visible;
- }
- .x-gridcolumn.x-leaf:last-child .x-header-el,
- .x-column-lines .x-gridcell:last-child {
- border-right: none;
- }
- .x-gridcolumn.x-sorted .x-sort-icon-el {
- height: auto;
- }
- .x-gridcolumn > .x-header-el,
- .x-body-el .x-gridcell-body-el {
- text-align: center;
- font-size: 16px;
- }
- .x-gridcolumn > .x-header-el {
- position: relative;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- }
- .x-gridcolumn > .x-header-el,
- .x-body-el .x-gridcell-body-el {
- font-size: 16px;
- }
- .x-headercontainer {
- -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .2);
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .2);
- }
- .x-gridcolumn .x-title-el .x-font-icon {
- position: absolute;
- top: 50%;
- right: 2px;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- }
- .x-gridcell-body-el, .x-roweditorcell {
- white-space: pre-wrap;
- word-break: break-all;
- }
- .x-field > .x-body-wrap-el {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
- }
- :root .x-listitem.x-selected {
- --selected-background-color: rgba(224, 224, 224, 0.36863);
- }
- .x-listitem {
- border: none;
- border-top: 1px solid #e2e2e2;
- border-bottom: 1px solid #e2e2e2;
- }
- .x-listitem.x-pressed {
- background-color: rgba(224, 224, 224, 0.36863);
- }
- .x-panel-outer-border-trbl {
- border-right: none;
- border-top: none;
- }
- .x-listitem-inner-el {
- display: block;
- }
- .x-list-inner-ct {
- top: -1px;
- }
- /*弹出框样调整*/
- .x-mask {
- opacity: 0.5;
- }
- .x-panel .x-dataview-item {
- font-size: 15px;
- }
- .x-dialog.x-panel {
- border-radius: 8px;
- }
- .x-dialog.x-panel .x-innerhtml {
- font-size: 16px;
- }
- .x-actionsheet.x-sheet.x-panel.x-container {
- border-radius: 8px 8px 0 0;
- --base-color: #fff;
- }
- :root .x-dock,
- :root .x-mask {
- --base-pressed-color: rgba(255, 152, 0, 0);
- }
- .x-dock .x-titlebar {
- background-color: #fff !important;
- border-bottom: 1px solid #eee;
- }
- .x-dock .x-titlebar .x-center {
- border-bottom: 1px solid #eee;
- }
- .x-dock .x-titlebar .x-body-el.x-picker-body-el {
- background-color: #fff;
- }
- .x-dock .x-titlebar .x-button {
- background-color: #fff;
- }
- .x-dock .x-titlebar .x-button .x-text-el {
- color: #1677ff !important;
- font-family: '黑体';
- font-weight: normal;
- }
- .x-sheet.x-panel {
- border-radius: 8px 8px 0 0;
- }
- .x-picker .x-dataview {
- background: #fff;
- }
- .x-picker .x-dataview .x-dataview-item {
- opacity: 0.3;
- }
- .x-picker .x-dataview .x-dataview-item.x-focused {
- font-size: 16px;
- opacity: 1;
- border-top: 1px solid #eee;
- border-bottom: 1px solid #eee;
- background-color: #fff;
- }
- .x-panel .x-dataview-item .x-list-label {
- color: #333;
- font-family: '黑体';
- font-weight: normal;
- }
- .x-mask .x-mask-message {
- color: rgba(255, 255, 255, .5);
- }
- /*首页样式调整*/
- .x-dataview.whiteBgc {
- --background-color: #fff;
- padding: 10px;
- }
- .x-dataview .x-dataview-item {
- border: 1px solid #e2e2e2;
- border-top: none;
- border-left: none;
- }
- .x-dataview .x-dataview-item:nth-child(-n+5) {
- border-top: 1px solid #e2e2e2;
- }
- .x-dataview .x-dataview-item:nth-child(4n-2) {
- border-left: 1px solid #e2e2e2;
- }
- .menus-item {
- width: 25%;
- padding: 12px 0px;
- margin: 0;
- }
- /*iconfont 图标*/
- .x-dataview-item svg {
- width: 45px;
- height: 45px;
- /*background-color: transparent;*/
- }
|