| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119 |
- // 公共的mixin混入(可以把重复的样式封装为mixin 混入到复用的地方)
- // .iconBg(@width: 3rem, @height: 3rem, @bgUrl: 'icons.png') {
- // /*图片背景,大小作为参数传递,默认是30*30*/
- // display: inline-block;
- // width: @width;
- // height: @height;
- // cursor: pointer;
- // background-image: url('../images/@{bgUrl}');
- // background-color: transparent;
- // }
- .position(@position: static, @top: auto, @right: auto, @bottom: auto, @left: auto) {
- // 定位方式
- position: @position;
- top: @top;
- right: @right;
- bottom: @bottom;
- left: @left;
- }
- .boxShadow(@color, @xWdh, @yWdh, @wdh) {
- box-shadow: @color @xWdh @yWdh @wdh;
- -webkit-box-shadow: @color @xWdh @yWdh @wdh;
- -moz-box-shadow: @color @xWdh @yWdh @wdh;
- }
- .link-colors(@normal: @black-color, @hover-color: @hover-color, @visited: @black-color) {
- /*a标签经过以及访问颜色变化混合器*/
- color: @normal;
- &:hover {
- color: @hover-color;
- }
- &:visited {
- color: @visited;
- }
- }
- .rounded-corners(@border-radius: 5px, @border-radius1: @border-radius, @border-radius2: @border-radius, @border-radius3: @border-radius) {
- /*圆角兼容性*/
- -moz-border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
- -webkit-border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
- border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
- }
- // 线性渐变
- .linearGradient(@point, @start, @stop) {
- background-color: @stop;
- background: linear-gradient(@point, @start, @stop);
- background: -moz-linear-gradient(@point, @start, @stop);
- background: -webkit-linear-gradient(@point, @start, @stop);
- }
- .transition-animation(@property: all, @duration: 0.2s, @timing-function: linear) {
- /*过渡动画*/
- transition: @property @duration @timing-function;
- -webkit-transition: @property @duration @timing-function;
- -moz-transition: @property @duration @timing-function;
- }
- .borderStyle(@width: 1px, @style: solid, @color: #181d1f) {
- border: @width @style @color;
- }
- .resetElement(@border: 0, @background: transparent, @radius: 0) {
- border: @border;
- background-color: @background;
- border-radius: @radius;
- }
- /* 定制宽高按钮 */
- .btn(@width: @width, @height: @height) {
- width: @width;
- height: @height;
- line-height: @height;
- cursor: pointer;
- }
- // flex弹性布局兼容性
- .flex {
- display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
- display: -moz-box; /* Firefox 17- */
- display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
- display: -moz-flex; /* Firefox 18+ */
- display: -ms-flexbox; /* IE 10 */
- display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
- }
- // 行内flex 弹性布局兼容性
- .inlineflex {
- display: -webkit-inline-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
- display: -moz-inline-box; /* Firefox 17- */
- display: -webkit-inline-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
- display: -moz-inline-flex; /* Firefox 18+ */
- display: -ms-inline-flexbox; /* IE 10 */
- display: inline-flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
- }
- // 行内元素span强转块元素
- .specailSpan(@width: 50%, @height: 2.6rem) {
- display: inline-block;
- text-align: center;
- float: left;
- width: @width;
- height: @height;
- line-height: @height;
- cursor: pointer;
- }
- .inputStyle(@height: 2.8rem, @fontSize: 1.3rem) {
- height: @height;
- line-height: @height;
- border-color: @money-border-color;
- color: @black-color;
- font-size: @fontSize;
- @if @skin == 'black' {
- background-color: transparent;
- } @else if @skin == 'white' {
- background-color: @white-color;
- }
- }
- .ellipse {
- // 一行显示,超过显示省略号
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- .dateInputStyle(@width: 12rem, @height: 2.2rem, @fontSize: 1.3rem) {
- width: @width;
- height: @height;
- line-height: @height;
- @if @skin == 'black' {
- background-color: transparent;
- } @else if @skin == 'white' {
- background-color: @white-color;
- }
- border-color: @money-border-color;
- font-size: @fontSize;
- }
- .submitBtnStyle(@width: 12rem, @height: 2.8rem, @fontSize: 1.4rem, @rounded: 2px) {
- width: @width;
- height: @height;
- line-height: @height;
- padding: 0;
- color: @white-color;
- background-color: @hover-color;
- border-color: @hover-color;
- font-size: @fontSize;
- .rounded-corners(@rounded);
- }
- .resetBtnStyle(@width: 7rem, @height: 2.2rem, @fontSize: 1.3rem, @rounded: 2px) {
- width: @width;
- height: @height;
- line-height: @height;
- padding: 0;
- color: @hover-color;
- background-color: transparent;
- border-color: @hover-color;
- font-size: @fontSize;
- .rounded-corners(@rounded);
- }
- .ant-input {
- &::placeholder {
- color: @m-grey10;
- }
- }
- .commonInput {
- background: #15202B;
- border: 1px solid @m-grey14;
- border-radius: 3px;
- color: #E5E5E5;
- .ant-input {
- color: #E5E5E5;
- background: transparent;
- }
- .ant-input-suffix {
- color: #E5E5E5;
- }
- &:hover, &:focus {
- border-color:#0C95FF;
- }
- }
- .tableConditionInput {
- width: 140px;
- height: 30px;
- line-height: 30px;
- background: @m-grey9;
- .rounded-corners(3px);
- border: 0;
- color: @m-white1;
- font-size: 14px;
- }
- .tableConditionInput+.tableConditionInput {
- margin-left: 10px;
- }
- .ant-select-dropdown {
- background: #424E59;
- border: 1px solid #48545F;
- box-shadow: 0px 10px 10px 0px rgba(18, 22, 24, 0.36);
- border-radius: 5px;
- .ant-select-item {
- color:@m-grey1;
- }
-
- .ant-select-item-option-active,.ant-select-item-option-selected,.ant-select-item-option-hover {
- background: @m-blue0;
- color: @m-white1;
- }
- }
- // 上面表格样式
- .topTable {
- .ant-table {
- width: 100%;
- table {
- border: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px #2E3539;
- th {
- line-height: 34px;
- background: @m-black8;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey17;
- font-size: 14px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 34px;
- line-height: 34px;
- padding: 0 8px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- font-size: 16px;
- color: @m-white1;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
- td {
- background-color: @m-blue3;
- }
- }
- tr.ant-table-expanded-row {
- td {
- text-align: right;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-black2;
- }
- }
- }
- // 弹窗表格
- .dialogTable {
- .ant-table {
- width: 100%;
- background: transparent;
- table {
- border: 1px solid @m-grey20;
- border-radius: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px #2E3539;
- th {
- line-height: 36px;
- background: @m-grey11;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey2;
- font-size: 16px;
- border-right: 1px solid @m-grey20;
- border-bottom: 1px solid @m-grey20;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 36px;
- line-height: 36px;
- padding: 0 8px;
- border-right: 1px solid @m-grey20;
- border-bottom: 1px solid @m-grey20;
- font-size: 14px;
- color: @m-white1;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- background: @m-grey11;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-grey11;
- }
- }
- }
- .ant-empty-normal {
- color: @m-grey17;
- }
- .ant-empty-img-simple-path,.ant-empty-img-simple-ellipse {
- fill: @m-grey17;
- }
- .ant-empty-img-simple-g {
- stroke: @m-grey17;
- }
- .ant-modal-wrap {
- overflow: hidden;
- }
- .add-custom,.commonModal {
- top: 0;
- max-height: 100%;
- padding-bottom: 0;
- .ant-modal-content {
- background: #0F1A25;
- border-radius: 5px;
- height: 100%;
- .ant-modal-close {
- .ant-modal-close-x {
- width: 40px;
- height: 40px;
- line-height: 40px;
- .ant-modal-close-icon {
- color: #1271BA;
- }
- }
- }
- .ant-modal-header {
- height: 40px;
- background: linear-gradient(0deg, #112C43, #084258);
- border-radius: 5px;
- padding: 0;
- text-align: center;
- border-bottom: 0;
- .ant-modal-title {
- line-height: 40px;
- font-size: 16px;
- color: @m-white0;
- }
- }
- .ant-modal-body {
- min-height: 380px;
- max-height: calc(100vh - 115px);
- overflow-y: auto;
- }
- .ant-modal-footer {
- border-top: 0;
- text-align: center;
- padding-bottom: 31px;
- height: 75px;
- .ant-btn-primary {
- width: 200px;
- height: 34px;
- line-height: 32px;
- border: 0;
- background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
- border-radius: 3px;
- font-size: 16px;
- color: @m-white0;
- &:hover {
- background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
- color: @m-white0-hover;
- }
- }
- .ant-btn.cancelBtn {
- width: 200px;
- height: 34px;
- line-height: 32px;
- border: 1px solid @m-blue10;
- border-radius: 3px;
- background: transparent;
- font-size: 16px;
- color: @m-blue10;
- margin-right: 20px;
- &:hover {
- border-color: rgba(@m-blue10, .8);
- }
- }
- }
- }
- }
- .ant-form.inlineForm {
- .ant-row.ant-form-item {
- margin-bottom: 21px;
- .ant-form-item-label {
- position: relative;
- width: 130px;
- line-height: 30px;
- text-align: left;
- label {
- color: @m-grey1;
- padding-left: 16px;
- &::after {
- content: ''
- }
- &::before {
- .position(absolute, 0, auto, auto, 0);
- font-size: 16px;
- line-height: 21px;
- color: @m-red1;
- }
- }
- }
- .ant-form-item-control-wrapper {
- .ant-form-item-control {
- line-height: 30px;
- }
- }
- }
- .relative.ant-form-item {
- position: relative;
- // .itemTip {
- // position: absolute;
- // color: @m-grey1;
- // }
- .tip {
- position: absolute;
- font-size: 14px;
- color: @m-grey1;
- }
- .ant-form-item-control {
- width: 200px;
- .unit {
- float: right;
- color: @m-grey2;
- }
- }
- }
- .tc.ant-form-item {
- .ant-form-item-control-wrapper {
- margin: 0 auto;
- }
- }
- }
- .ant-select-single {
- .ant-select-selector {
- height: 30px;
- padding: 0 8px;
- background: #15202B;
- border: 1px solid #0C95FF;
- border-radius: 3px;
- color: #E5E5E5;
- }
- .ant-select-arrow {
- right: 8px;
- color: #3A87F7;
- }
- }
- .inlineFormSelect.ant-select-single {
- .rounded-corners(3px);
- border: 1px solid #2B3F52;
- &:hover, &:focus {
- border-color:#0C95FF;
- }
- .ant-select-selector {
- height: 30px;
- padding: 0 8px;
- background: #15202B;
- border: 0;
- color: #E5E5E5;
- .ant-select-selection-placeholder {
- color: @m-grey10;
- }
-
- }
- .ant-select-arrow {
- right: 8px;
- color: #3A87F7 !important;
- }
- }
- .shortSelect.ant-select-single:extend(.inlineFormSelect.ant-select-single) {
- margin-right: 0;
- .ant-select-selector {
- padding: 0 5px;
- .ant-select-selection-item {
- padding-right: 14px;
- }
- }
- }
- .typeSelect.ant-select-single {
- .rounded-corners(3px);
- border: 1px solid #2B3F52;
- &:hover, &:focus {
- border-color:#0C95FF;
- }
- .ant-select-selector {
- height: 30px;
- padding: 0 8px;
- background: #15202B;
- border: 0;
- color: #E5E5E5;
- .ant-select-selection-placeholder {
- color: @m-grey10;
- }
-
- }
- .ant-select-arrow {
- right: 8px;
- color: @m-blue0;
- }
- }
- .dialogInput {
- background: #15202B;
- border: 1px solid @m-grey14;
- border-radius: 3px;
- color: #E5E5E5;
- .ant-input {
- color: #E5E5E5;
- background: transparent
- }
- .ant-input-suffix {
- color: #E5E5E5;
- }
- &:hover,&:focus {
- border-color: @m-blue10;
- }
- }
- .suffixGrey {
- .ant-input-suffix {
- color: @m-grey2;
- }
- }
- .formFieldSet {
- border: 1px solid @m-grey19;
- padding: 0 20px 20px;
- legend {
- color: @m-white0;
- }
- }
- .formFieldSet+.formFieldSet {
- margin-top: 35px;
- }
- .ant-form {
- legend {
- width: auto;
- margin-left: 20px;
- font-size: 16px;
- color: @m-white0;
- border-bottom: 0;
- padding: 0 10px;
- }
- }
- .paddingDialog {
- .ant-modal-content {
- .ant-modal-body {
- padding: 24px;
- }
- }
- .formFieldSet {
- legend {
- width: auto;
- margin-left: 20px;
- font-size: 16px;
- color: @m-white0;
- border-bottom: 0;
- padding: 0 10px;
- }
- }
- }
- // 上传
- .upload {
- display: inline-flex;
- .ant-btn.uploadBtn {
- width: 60px;
- height: 30px;
- background: @m-blue0;
- border: 0;
- padding: 0;
- text-align: center;
- font-size: 14px;
- color: @m-white0;
- .rounded-corners(3px);
- &:hover {
- background: rgba(@m-blue0, 0.8);
- color: rgba(@m-white0, 0.8);
- }
- }
- .look {
- color: @m-blue0;
- font-size: 14px;
- margin-left: 10px;
- cursor: pointer;
- }
- }
- .ml10 {
- margin-left: 10px;
- }
- .ml9 {
- margin-left: 9px;
- }
- .ml5{
- margin-left: 5px;
- }
- .grey {
- color: @m-grey2;
- }
- .white {
- color: @m-white0;
- }
- .blue {
- color: @m-blue0;
- }
- .green {
- color: @m-green0;
- }
- .yellow {
- color: @m-yellow0;
- }
- .orange {
- color: @m-orange0;
- }
- .selectBtn.ant-btn {
- margin-left: 10px;
- width: 80px;
- height: 30px;
- line-height: 31px;
- text-align: center;
- background: linear-gradient(0deg, @m-grey15 0%, @m-grey16 98%);
- border: 0;
- color: @m-white0;
- font-size: 14px;
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-grey15-hover 0%, @m-grey16-hover 98%);
- color: rgba(@m-white0, 0.8);
- border: 0;
- }
- }
- .btnPrimary.ant-btn,.operBtn.ant-btn {
- margin-left: 10px;
- width: 80px;
- height: 30px;
- line-height: 31px;
- text-align: center;
- background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
- border: 0;
- color: @m-white0;
- font-size: 14px;
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
- color: rgba(@m-white0, 0.8);
- border: 0;
- }
- }
- .operBtn.ant-btn {
- margin-top: 9px;
- margin-bottom: 6px;
- }
- .ant-table-expanded-row {
- .btn-list {
- padding-right: 10px;
- text-align: right;
- }
- .btnPrimary.ant-btn {
- width: 80px;
- height: 26px;
- line-height: 27px;
- border: 0;
- background: linear-gradient(0deg, @m-blue2, @m-blue0);
- box-shadow: -1px 0px 0px 0px @m-black10;
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 99%);
- color: rgba(@m-white0, 0.8);
- border: 0;
- }
- }
- .ant-btn+.ant-btn {
- margin-left: 10px;
- }
- }
- .btnDanger.ant-btn{
- margin-left: 10px;
- width: 80px;
- height: 30px;
- line-height: 31px;
- text-align: center;
- border: 0;
- color: @m-white0;
- font-size: 14px;
- background: linear-gradient(0deg, @m-red0 0%, @m-red1 99%);
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-red0-hover 0%, @m-red1-hover 99%);
- color: rgba(@m-white0, 0.8);
- border: 0;
- }
- }
- .btnDeafault.ant-btn {
- margin-left: 10px;
- width: 80px;
- height: 30px;
- line-height: 31px;
- text-align: center;
- border: 0;
- color: @m-white0;
- font-size: 14px;
- background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 99%);
- color: rgba(@m-white0, 0.8);
- border: 0;
- }
- }
- .hiddenFirstCol {
- .ant-table {
- .ant-table-content {
- .ant-table-body {
- table {
- .ant-table-thead {
- .ant-table-expand-icon-th {
- display: none;
- }
- }
- .ant-table-tbody {
- .ant-table-row {
- .ant-table-row-expand-icon-cell {
- display: none;
- }
- }
- }
- }
- }
- }
- }
- }
- .to {
- font-size: 14px;
- color: @m-grey2;
- margin-left: -8px;
- margin-right: 2px;
- }
- .filterTable {
- display: inline-flex;
- width: 100%;
- }
- .ant-row.dialogRowTitle {
- margin-left: 0 !important;
- margin-right: 0 !important;
- border: 1px solid @m-grey20;
- .ant-col {
- border-top: 1px solid @m-grey20;
- border-right: 1px solid @m-grey20;
- padding-left: 0 !important;
- padding-right: 0 !important;
- height: 34px;
- line-height: 34px;
- font-size: 16px;
- color: @m-grey2;
- .red {
- color: @m-red1;
- }
- }
- .ant-col:nth-child(1),.ant-col:nth-child(2),.ant-col:nth-child(3),.ant-col:nth-child(4){
- border-top: 0;
- text-align: center;
- }
- .ant-col:last-child {
- border-right: 1px solid @m-grey20;
- }
- }
- // 日期输入框 @m-grey21
- .commonPicker.ant-calendar-picker {
- .ant-input {
- background: @m-grey21;
- border-color: @m-grey14;
- padding: 4px 8px;
- .rounded-corners(3px);
- .ant-calendar-range-picker-input {
- color: @m-white0;
- font-size: 14px;
- &::placeholder {
- color: @m-grey10;
- }
- }
- .ant-calendar-picker-clear {
- background: @m-white0;
- }
- .ant-calendar-range-picker-separator {
- font-size: 14px;
- color: @m-grey2;
- }
- }
- }
- .ant-popover {
- .ant-popover-content {
- border: 1px solid @m-grey22;
- .rounded-corners(5px);
- .ant-popover-arrow {
- border-top-color: @m-grey22;
- border-left-color: @m-grey22;
- }
- .ant-popover-inner {
- .ant-popover-inner-content {
- border-image-width: 0;
- background: @m-grey22;
- color: @m-white0;
- padding: 5px 15px;
- &:hover {
- color: @m-blue0;
- }
- }
- }
- }
- }
- .ant-calendar-picker-container {
- .ant-calendar-range {
- background: @m-grey22;
- border-color: @m-grey22;
- .ant-calendar-panel {
- .ant-calendar-date-panel {
- .ant-calendar-range-part {
- .ant-calendar-input-wrap {
- border-bottom-color: @m-grey23;
- .ant-calendar-input {
- background: transparent;
- border: 1px solid @m-grey1;
- color: @m-white0;
- &::placeholder {
- color: @m-grey1;
- }
- }
- }
- .ant-calendar-header {
- .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
- color: @m-grey1;
- &::before,&::after {
- border-color: @m-grey2;
- }
- }
- .ant-calendar-month-select,.ant-calendar-year-select {
- color: @m-grey1;
- }
- }
- .ant-calendar-body {
- border-top-color: @m-grey1;
- .ant-calendar-column-header-inner {
- color: @m-grey1;
- }
- .ant-calendar-cell {
- .ant-calendar-date {
- background: transparent;
- color: @m-white0;
- }
- }
- .ant-calendar-last-day-of-month,.ant-calendar-next-month-btn-day {
- .ant-calendar-date {
- color: @m-white1;
- }
- }
- .ant-calendar-disabled-cell {
- .ant-calendar-date {
- color: @m-grey1;
- }
- }
- .ant-calendar-selected-day {
- .ant-calendar-date {
- color: @m-blue0;
- }
- }
- .ant-calendar-active-week {
- .ant-calendar-cell {
- .ant-calendar-date {
- background: transparent;
- }
- }
- }
- }
- }
- .ant-calendar-range-middle {
- color: @m-white1;
- }
- }
- }
- .ant-calendar-footer {
- border-top-color: @m-grey1;
- .ant-calendar-time-picker-btn {
- color: @m-grey1;
- }
- .ant-calendar-ok-btn {
- background-color: @m-blue0;
- border-color: @m-blue0;
- color: @m-white0;
- &:hover {
- background-color: @m-blue0-hover;
- border-color: @m-blue0-hover;
- color: @m-white0-hover;
- }
- }
- }
- }
- }
- .ant-calendar-range {
- .ant-calendar-in-range-cell::before {
- background: @m-grey22-hover;
- }
- }
- .has-error .ant-input:not(.has-error .ant-input-disabled), -has-error .ant-input:not(.has-error .ant-input-disabled), .has-error .ant-input:not(-has-error .ant-input-disabled), -has-error .ant-input:not(-has-error .ant-input-disabled) {
- background: @m-grey21;
- }
- .ant-modal-confirm-confirm {
- top: 50%;
- padding-bottom: 0;
- margin-top: -64px;
- .ant-modal-content {
- background: @m-grey11;
- .ant-modal-close {
- .ant-modal-close-x {
- width: 40px;
- height: 40px;
- line-height: 40px;
- .ant-modal-close-icon {
- color: @m-blue11;
- }
- }
- }
- .ant-modal-body {
- padding: 24px;
- .ant-modal-confirm-body-wrapper {
- .ant-modal-confirm-body {
- .ant-modal-confirm-title {
- color: @m-white0;
- text-align: center;
- }
- }
- .ant-modal-confirm-btns {
- float: none;
- text-align: center;
- .ant-btn {
- width: 100px;
- height: 34px;
- line-height: 32px;
- border: 1px solid @m-blue10;
- border-radius: 3px;
- background: transparent;
- font-size: 16px;
- color: @m-blue10;
- margin-right: 20px;
- &:hover {
- border-color: rgba(@m-blue10, .8);
- }
- }
- .ant-btn-primary {
- margin-left: 20px;
- width: 100px;
- height: 34px;
- line-height: 32px;
- border: 0;
- background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
- border-radius: 3px;
- font-size: 16px;
- color: @m-white0;
- &:hover {
- background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
- color: @m-white0-hover;
- }
- }
- }
- }
- }
- }
- }
- .tltLeft {
- font-size: 16px;
- text-align: left;
- .icon {
- font-size: 20px;
- fill: @m-blue0;
- margin-right: 10px;
- }
- }
- .ant-collapse.spotCollapse.ant-collapse-borderless {
- margin-top: 10px;
- background-color: transparent;
- .ant-collapse-item {
- border-bottom: 0;
- .ant-collapse-header {
- color: @m-grey17;
- font-size: 14px;
- border-bottom: 1px solid @m-grey18;
- padding: 10px 8px 10px 44px;
- height: 43px;
- .ant-collapse-arrow {
- fill: @m-grey17;
- width: 16px;
- height: 16px;
- font-size: 16px;
- left: 0;
- }
- }
- .ant-collapse-content {
- .ant-collapse-content-box {
- padding: 0 0 0 30px;
- background-color: transparent;
- .ant-row.contRow {
- width: 100%;
- height: 40px;
- line-height: 40px;
- font-size: 16px;
- color: @m-white1;
- margin-bottom: 10px;
- background: #0f161c;
- border: 1px solid #172b56;
- border-radius: 3px;
- padding-left: 14px;
- padding-right: 12px;
- .ant-col:last-child {
- text-align: right;
- }
- .ant-col:first-child {
- text-align: left;
- }
- }
- .contRow:first-child {
- margin-top: 9px;
- }
- .contRow:last-child {
- margin-bottom: 20px;
- }
- }
- }
- }
- }
- .ant-collapse.busyCollapse.ant-collapse-borderless {
- margin-top: 10px;
- background: #0f161c;
- border: 1px solid #172b56;
- .rounded-corners(3px);
- .ant-collapse-item {
- border-bottom: 0;
- .ant-collapse-header {
- color: @m-grey17;
- font-size: 14px;
- border-bottom: 0;
- padding: 0;
- line-height: 43px;
- .ant-collapse-arrow {
- fill: @m-grey17;
- width: 16px;
- height: 16px;
- font-size: 16px;
- left: 0;
- }
- .ant-row.contRow {
- width: 100%;
- // height: 40px;
- line-height: 40px;
- font-size: 16px;
- color: @m-white1;
- margin-bottom: 10px;
- // background: #0f161c;
- border: 0 !important;
- // border-radius: 3px;
- padding-left: 14px;
- padding-right: 12px;
- .ant-col:last-child {
- text-align: right;
- }
- .ant-col:first-child {
- text-align: left;
- }
- }
- .contRow:first-child {
- margin-top: 0 !important;
- }
- .contRow:last-child {
- margin-bottom: 0 !important;
- }
- }
- .ant-collapse-content.ant-collapse-content-active {
- .ant-collapse-content-box {
- padding: 0 0 0 30px;
- background-color: transparent;
- .btn-list {
- width: calc(100% - 10px);
- justify-content: flex-end;
- padding-right: 10px;
- padding-bottom: 10px;
- }
- }
- }
- }
- }
- .ant-row.headRow {
- .ant-col:first-child {
- text-align: left;
- }
- .ant-col:nth-child(3) {
- text-align: right;
- }
- }
|