UNPKG

@mdsfe/mds-ui

Version:

A set of enterprise-class Vue UI components.

1,807 lines 62.8 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ .mds-btn { display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid #d8dce6; white-space: nowrap; line-height: 1.15; padding: 0 15px; font-size: 14px; border-radius: 4px; height: 36px; user-select: none; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); position: relative; color: #666666; background-color: #fff; border-color: #d9d9d9; } .mds-btn > .mdsicon { line-height: 1.3; } .mds-btn, .mds-btn:active, .mds-btn:focus { outline: 0; } .mds-btn:not([disabled]):hover { text-decoration: none; } .mds-btn:not([disabled]):active { outline: 0; transition: none; } .mds-btn.disabled, .mds-btn[disabled] { cursor: not-allowed; } .mds-btn.disabled > *, .mds-btn[disabled] > * { pointer-events: none; } .mds-btn-lg { padding: 0 19px; font-size: 20px; border-radius: 4px; height: 40px; } .mds-btn-sm { padding: 0 11px; font-size: 14px; border-radius: 4px; height: 32px; } .mds-btn-sm > .mdsicon + span, .mds-btn-sm > span + .mdsicon { margin-left: 0px !important; } .mds-btn-ls { padding: 0 7px; font-size: 12px; border-radius: 4px; height: 28px; } .mds-btn-ls > .mdsicon + span, .mds-btn-ls > span + .mdsicon { margin-left: 0px !important; } .mds-btn > a:only-child { color: currentColor; } .mds-btn > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn:hover, .mds-btn:focus { color: #0364ff; background-color: #fff; border-color: #0364ff; } .mds-btn:hover > a:only-child, .mds-btn:focus > a:only-child { color: currentColor; } .mds-btn:hover > a:only-child:after, .mds-btn:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn:active, .mds-btn.active { color: #0252dd; background-color: #fff; border-color: #0252dd; } .mds-btn:active > a:only-child, .mds-btn.active > a:only-child { color: currentColor; } .mds-btn:active > a:only-child:after, .mds-btn.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn.disabled, .mds-btn[disabled], .mds-btn.disabled:hover, .mds-btn[disabled]:hover, .mds-btn.disabled:focus, .mds-btn[disabled]:focus, .mds-btn.disabled:active, .mds-btn[disabled]:active, .mds-btn.disabled.active, .mds-btn[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn.disabled > a:only-child, .mds-btn[disabled] > a:only-child, .mds-btn.disabled:hover > a:only-child, .mds-btn[disabled]:hover > a:only-child, .mds-btn.disabled:focus > a:only-child, .mds-btn[disabled]:focus > a:only-child, .mds-btn.disabled:active > a:only-child, .mds-btn[disabled]:active > a:only-child, .mds-btn.disabled.active > a:only-child, .mds-btn[disabled].active > a:only-child { color: currentColor; } .mds-btn.disabled > a:only-child:after, .mds-btn[disabled] > a:only-child:after, .mds-btn.disabled:hover > a:only-child:after, .mds-btn[disabled]:hover > a:only-child:after, .mds-btn.disabled:focus > a:only-child:after, .mds-btn[disabled]:focus > a:only-child:after, .mds-btn.disabled:active > a:only-child:after, .mds-btn[disabled]:active > a:only-child:after, .mds-btn.disabled.active > a:only-child:after, .mds-btn[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn > a:only-child { color: currentColor; } .mds-btn > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn:hover, .mds-btn:focus, .mds-btn:active, .mds-btn.active { background: #fff; } .mds-btn + .mds-btn { margin-left: 8px; } .mds-btn > i { pointer-events: none; margin-left: 0px; } .mds-btn > span { pointer-events: none; } .mds-btn-sm.mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only { padding-left: 11px; padding-right: 9px; } .mds-btn-sm.mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only > i { pointer-events: none; margin-left: -4px; } .mds-btn-lg.mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only { padding-left: 14px; padding-right: 12px; } .mds-btn-lg.mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only > i { pointer-events: none; margin-left: -4px; } .mds-btn-ls.mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only { padding-left: 9px; padding-right: 7px; } .mds-btn-ls.mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only > i { pointer-events: none; margin-left: -2px; } .mds-btn-primary { color: #fff; background-color: #0364ff; border-color: #0364ff; } .mds-btn-primary > a:only-child { color: currentColor; } .mds-btn-primary > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-primary:hover, .mds-btn-primary:focus { color: #fff; background-color: #3f89ff; border-color: #1770FF; } .mds-btn-primary:hover > a:only-child, .mds-btn-primary:focus > a:only-child { color: currentColor; } .mds-btn-primary:hover > a:only-child:after, .mds-btn-primary:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-primary:active, .mds-btn-primary.active { color: #fff; background-color: #0252dd; border-color: #0364FF; } .mds-btn-primary:active > a:only-child, .mds-btn-primary.active > a:only-child { color: currentColor; } .mds-btn-primary:active > a:only-child:after, .mds-btn-primary.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-primary.disabled, .mds-btn-primary[disabled], .mds-btn-primary.disabled:hover, .mds-btn-primary[disabled]:hover, .mds-btn-primary.disabled:focus, .mds-btn-primary[disabled]:focus, .mds-btn-primary.disabled:active, .mds-btn-primary[disabled]:active, .mds-btn-primary.disabled.active, .mds-btn-primary[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-primary.disabled > a:only-child, .mds-btn-primary[disabled] > a:only-child, .mds-btn-primary.disabled:hover > a:only-child, .mds-btn-primary[disabled]:hover > a:only-child, .mds-btn-primary.disabled:focus > a:only-child, .mds-btn-primary[disabled]:focus > a:only-child, .mds-btn-primary.disabled:active > a:only-child, .mds-btn-primary[disabled]:active > a:only-child, .mds-btn-primary.disabled.active > a:only-child, .mds-btn-primary[disabled].active > a:only-child { color: currentColor; } .mds-btn-primary.disabled > a:only-child:after, .mds-btn-primary[disabled] > a:only-child:after, .mds-btn-primary.disabled:hover > a:only-child:after, .mds-btn-primary[disabled]:hover > a:only-child:after, .mds-btn-primary.disabled:focus > a:only-child:after, .mds-btn-primary[disabled]:focus > a:only-child:after, .mds-btn-primary.disabled:active > a:only-child:after, .mds-btn-primary[disabled]:active > a:only-child:after, .mds-btn-primary.disabled.active > a:only-child:after, .mds-btn-primary[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-primary:focus { border-color: #0152dd !important; } .mds-btn-group .mds-btn-primary:not(:first-child):not(:last-child) { border-right-color: #0252dd; border-left-color: #0252dd; } .mds-btn-group .mds-btn-primary:not(:first-child):not(:last-child):disabled { border-color: #d9d9d9; } .mds-btn-group .mds-btn-primary:first-child:not(:last-child) { border-right-color: #6D9DEB; } .mds-btn-group .mds-btn-primary:first-child:not(:last-child)[disabled] { border-right-color: #d9d9d9; } .mds-btn-group .mds-btn-primary:last-child:not(:first-child), .mds-btn-group .mds-btn-primary + .mds-btn-primary { border-left-color: #6D9DEB; } .mds-btn-group .mds-btn-primary:last-child:not(:first-child)[disabled], .mds-btn-group .mds-btn-primary + .mds-btn-primary[disabled] { border-left-color: #d9d9d9; } .mds-btn-primary span { color: inherit; } .mds-btn-ghost { color: #666666; background-color: transparent; border-color: #d9d9d9; background: #bec8c8; padding: 20px; } .mds-btn-ghost > a:only-child { color: currentColor; } .mds-btn-ghost > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-ghost:hover, .mds-btn-ghost:focus { color: #0364ff; background-color: transparent; border-color: #0364ff; } .mds-btn-ghost:hover > a:only-child, .mds-btn-ghost:focus > a:only-child { color: currentColor; } .mds-btn-ghost:hover > a:only-child:after, .mds-btn-ghost:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-ghost:active, .mds-btn-ghost.active { color: #0252dd; background-color: transparent; border-color: #0252dd; } .mds-btn-ghost:active > a:only-child, .mds-btn-ghost.active > a:only-child { color: currentColor; } .mds-btn-ghost:active > a:only-child:after, .mds-btn-ghost.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-ghost.disabled, .mds-btn-ghost[disabled], .mds-btn-ghost.disabled:hover, .mds-btn-ghost[disabled]:hover, .mds-btn-ghost.disabled:focus, .mds-btn-ghost[disabled]:focus, .mds-btn-ghost.disabled:active, .mds-btn-ghost[disabled]:active, .mds-btn-ghost.disabled.active, .mds-btn-ghost[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-ghost.disabled > a:only-child, .mds-btn-ghost[disabled] > a:only-child, .mds-btn-ghost.disabled:hover > a:only-child, .mds-btn-ghost[disabled]:hover > a:only-child, .mds-btn-ghost.disabled:focus > a:only-child, .mds-btn-ghost[disabled]:focus > a:only-child, .mds-btn-ghost.disabled:active > a:only-child, .mds-btn-ghost[disabled]:active > a:only-child, .mds-btn-ghost.disabled.active > a:only-child, .mds-btn-ghost[disabled].active > a:only-child { color: currentColor; } .mds-btn-ghost.disabled > a:only-child:after, .mds-btn-ghost[disabled] > a:only-child:after, .mds-btn-ghost.disabled:hover > a:only-child:after, .mds-btn-ghost[disabled]:hover > a:only-child:after, .mds-btn-ghost.disabled:focus > a:only-child:after, .mds-btn-ghost[disabled]:focus > a:only-child:after, .mds-btn-ghost.disabled:active > a:only-child:after, .mds-btn-ghost[disabled]:active > a:only-child:after, .mds-btn-ghost.disabled.active > a:only-child:after, .mds-btn-ghost[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-ghost .margin { margin-top: 10px; } .mds-btn-dashed { color: #666666; background-color: #fff; border-color: #d9d9d9; border-style: dashed; } .mds-btn-dashed > a:only-child { color: currentColor; } .mds-btn-dashed > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-dashed:hover, .mds-btn-dashed:focus { color: #0364ff; background-color: #fff; border-color: #0364ff; } .mds-btn-dashed:hover > a:only-child, .mds-btn-dashed:focus > a:only-child { color: currentColor; } .mds-btn-dashed:hover > a:only-child:after, .mds-btn-dashed:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-dashed:active, .mds-btn-dashed.active { color: #0252dd; background-color: #fff; border-color: #0252dd; } .mds-btn-dashed:active > a:only-child, .mds-btn-dashed.active > a:only-child { color: currentColor; } .mds-btn-dashed:active > a:only-child:after, .mds-btn-dashed.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-dashed.disabled, .mds-btn-dashed[disabled], .mds-btn-dashed.disabled:hover, .mds-btn-dashed[disabled]:hover, .mds-btn-dashed.disabled:focus, .mds-btn-dashed[disabled]:focus, .mds-btn-dashed.disabled:active, .mds-btn-dashed[disabled]:active, .mds-btn-dashed.disabled.active, .mds-btn-dashed[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-dashed.disabled > a:only-child, .mds-btn-dashed[disabled] > a:only-child, .mds-btn-dashed.disabled:hover > a:only-child, .mds-btn-dashed[disabled]:hover > a:only-child, .mds-btn-dashed.disabled:focus > a:only-child, .mds-btn-dashed[disabled]:focus > a:only-child, .mds-btn-dashed.disabled:active > a:only-child, .mds-btn-dashed[disabled]:active > a:only-child, .mds-btn-dashed.disabled.active > a:only-child, .mds-btn-dashed[disabled].active > a:only-child { color: currentColor; } .mds-btn-dashed.disabled > a:only-child:after, .mds-btn-dashed[disabled] > a:only-child:after, .mds-btn-dashed.disabled:hover > a:only-child:after, .mds-btn-dashed[disabled]:hover > a:only-child:after, .mds-btn-dashed.disabled:focus > a:only-child:after, .mds-btn-dashed[disabled]:focus > a:only-child:after, .mds-btn-dashed.disabled:active > a:only-child:after, .mds-btn-dashed[disabled]:active > a:only-child:after, .mds-btn-dashed.disabled.active > a:only-child:after, .mds-btn-dashed[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-danger { color: #fff; background-color: #EE3333; border-color: #EE3333; } .mds-btn-danger > a:only-child { color: currentColor; } .mds-btn-danger > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-danger:hover, .mds-btn-danger:focus { color: #fff; background-color: #EF4747; border-color: #EF4747; } .mds-btn-danger:hover > a:only-child, .mds-btn-danger:focus > a:only-child { color: currentColor; } .mds-btn-danger:hover > a:only-child:after, .mds-btn-danger:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-danger:active, .mds-btn-danger.active { color: #fff; background-color: #D52D2D; border-color: #D52D2D; } .mds-btn-danger:active > a:only-child, .mds-btn-danger.active > a:only-child { color: currentColor; } .mds-btn-danger:active > a:only-child:after, .mds-btn-danger.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-danger.disabled, .mds-btn-danger[disabled], .mds-btn-danger.disabled:hover, .mds-btn-danger[disabled]:hover, .mds-btn-danger.disabled:focus, .mds-btn-danger[disabled]:focus, .mds-btn-danger.disabled:active, .mds-btn-danger[disabled]:active, .mds-btn-danger.disabled.active, .mds-btn-danger[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-danger.disabled > a:only-child, .mds-btn-danger[disabled] > a:only-child, .mds-btn-danger.disabled:hover > a:only-child, .mds-btn-danger[disabled]:hover > a:only-child, .mds-btn-danger.disabled:focus > a:only-child, .mds-btn-danger[disabled]:focus > a:only-child, .mds-btn-danger.disabled:active > a:only-child, .mds-btn-danger[disabled]:active > a:only-child, .mds-btn-danger.disabled.active > a:only-child, .mds-btn-danger[disabled].active > a:only-child { color: currentColor; } .mds-btn-danger.disabled > a:only-child:after, .mds-btn-danger[disabled] > a:only-child:after, .mds-btn-danger.disabled:hover > a:only-child:after, .mds-btn-danger[disabled]:hover > a:only-child:after, .mds-btn-danger.disabled:focus > a:only-child:after, .mds-btn-danger[disabled]:focus > a:only-child:after, .mds-btn-danger.disabled:active > a:only-child:after, .mds-btn-danger[disabled]:active > a:only-child:after, .mds-btn-danger.disabled.active > a:only-child:after, .mds-btn-danger[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-normal { color: #0364ff; background-color: #fff; border-color: #fff; } .mds-btn-normal > a:only-child { color: currentColor; } .mds-btn-normal > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-normal:hover, .mds-btn-normal:focus { color: #0364ff; background-color: #E6F0FF; border-color: #fff; } .mds-btn-normal:hover > a:only-child, .mds-btn-normal:focus > a:only-child { color: currentColor; } .mds-btn-normal:hover > a:only-child:after, .mds-btn-normal:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-normal:active, .mds-btn-normal.active { color: #0252dd; background-color: #fff; border-color: #fff; } .mds-btn-normal:active > a:only-child, .mds-btn-normal.active > a:only-child { color: currentColor; } .mds-btn-normal:active > a:only-child:after, .mds-btn-normal.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-normal.disabled, .mds-btn-normal[disabled], .mds-btn-normal.disabled:hover, .mds-btn-normal[disabled]:hover, .mds-btn-normal.disabled:focus, .mds-btn-normal[disabled]:focus, .mds-btn-normal.disabled:active, .mds-btn-normal[disabled]:active, .mds-btn-normal.disabled.active, .mds-btn-normal[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-normal.disabled > a:only-child, .mds-btn-normal[disabled] > a:only-child, .mds-btn-normal.disabled:hover > a:only-child, .mds-btn-normal[disabled]:hover > a:only-child, .mds-btn-normal.disabled:focus > a:only-child, .mds-btn-normal[disabled]:focus > a:only-child, .mds-btn-normal.disabled:active > a:only-child, .mds-btn-normal[disabled]:active > a:only-child, .mds-btn-normal.disabled.active > a:only-child, .mds-btn-normal[disabled].active > a:only-child { color: currentColor; } .mds-btn-normal.disabled > a:only-child:after, .mds-btn-normal[disabled] > a:only-child:after, .mds-btn-normal.disabled:hover > a:only-child:after, .mds-btn-normal[disabled]:hover > a:only-child:after, .mds-btn-normal.disabled:focus > a:only-child:after, .mds-btn-normal[disabled]:focus > a:only-child:after, .mds-btn-normal.disabled:active > a:only-child:after, .mds-btn-normal[disabled]:active > a:only-child:after, .mds-btn-normal.disabled.active > a:only-child:after, .mds-btn-normal[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-normal.disabled, .mds-btn-normal[disabled] { background-color: transparent; border: none; } .mds-btn-normal.disabled:focus, .mds-btn-normal[disabled]:focus, .mds-btn-normal.disabled:hover, .mds-btn-normal[disabled]:hover, .mds-btn-normal.disabled:active, .mds-btn-normal[disabled]:active, .mds-btn-normal.disabled.active, .mds-btn-normal[disabled].active { background-color: #f7f7f7; } .mds-btn-correct { color: #fff; background-color: #00AA00; border-color: #00AA00; } .mds-btn-correct > a:only-child { color: currentColor; } .mds-btn-correct > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-correct:hover, .mds-btn-correct:focus { color: #fff; background-color: #3dbe3d; border-color: #1AB21A; } .mds-btn-correct:hover > a:only-child, .mds-btn-correct:focus > a:only-child { color: currentColor; } .mds-btn-correct:hover > a:only-child:after, .mds-btn-correct:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-correct:active, .mds-btn-correct.active { color: #fff; background-color: #009303; border-color: #009800; } .mds-btn-correct:active > a:only-child, .mds-btn-correct.active > a:only-child { color: currentColor; } .mds-btn-correct:active > a:only-child:after, .mds-btn-correct.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-correct.disabled, .mds-btn-correct[disabled], .mds-btn-correct.disabled:hover, .mds-btn-correct[disabled]:hover, .mds-btn-correct.disabled:focus, .mds-btn-correct[disabled]:focus, .mds-btn-correct.disabled:active, .mds-btn-correct[disabled]:active, .mds-btn-correct.disabled.active, .mds-btn-correct[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-correct.disabled > a:only-child, .mds-btn-correct[disabled] > a:only-child, .mds-btn-correct.disabled:hover > a:only-child, .mds-btn-correct[disabled]:hover > a:only-child, .mds-btn-correct.disabled:focus > a:only-child, .mds-btn-correct[disabled]:focus > a:only-child, .mds-btn-correct.disabled:active > a:only-child, .mds-btn-correct[disabled]:active > a:only-child, .mds-btn-correct.disabled.active > a:only-child, .mds-btn-correct[disabled].active > a:only-child { color: currentColor; } .mds-btn-correct.disabled > a:only-child:after, .mds-btn-correct[disabled] > a:only-child:after, .mds-btn-correct.disabled:hover > a:only-child:after, .mds-btn-correct[disabled]:hover > a:only-child:after, .mds-btn-correct.disabled:focus > a:only-child:after, .mds-btn-correct[disabled]:focus > a:only-child:after, .mds-btn-correct.disabled:active > a:only-child:after, .mds-btn-correct[disabled]:active > a:only-child:after, .mds-btn-correct.disabled.active > a:only-child:after, .mds-btn-correct[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-correct:hover { border-color: #3cbe3c !important; } .mds-btn-correct:focus { border-color: #019302 !important; } .mds-btn-warning { color: #fff; background-color: #ffcc01; border-color: #ffcc01; } .mds-btn-warning > a:only-child { color: currentColor; } .mds-btn-warning > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-warning:hover, .mds-btn-warning:focus { color: #fff; background-color: #ffd83e; border-color: rgba(255, 204, 1, 0.5); } .mds-btn-warning:hover > a:only-child, .mds-btn-warning:focus > a:only-child { color: currentColor; } .mds-btn-warning:hover > a:only-child:after, .mds-btn-warning:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-warning:active, .mds-btn-warning.active { color: #fff; background-color: #e0a601; border-color: rgba(255, 204, 1, 0.5); } .mds-btn-warning:active > a:only-child, .mds-btn-warning.active > a:only-child { color: currentColor; } .mds-btn-warning:active > a:only-child:after, .mds-btn-warning.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-warning.disabled, .mds-btn-warning[disabled], .mds-btn-warning.disabled:hover, .mds-btn-warning[disabled]:hover, .mds-btn-warning.disabled:focus, .mds-btn-warning[disabled]:focus, .mds-btn-warning.disabled:active, .mds-btn-warning[disabled]:active, .mds-btn-warning.disabled.active, .mds-btn-warning[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-warning.disabled > a:only-child, .mds-btn-warning[disabled] > a:only-child, .mds-btn-warning.disabled:hover > a:only-child, .mds-btn-warning[disabled]:hover > a:only-child, .mds-btn-warning.disabled:focus > a:only-child, .mds-btn-warning[disabled]:focus > a:only-child, .mds-btn-warning.disabled:active > a:only-child, .mds-btn-warning[disabled]:active > a:only-child, .mds-btn-warning.disabled.active > a:only-child, .mds-btn-warning[disabled].active > a:only-child { color: currentColor; } .mds-btn-warning.disabled > a:only-child:after, .mds-btn-warning[disabled] > a:only-child:after, .mds-btn-warning.disabled:hover > a:only-child:after, .mds-btn-warning[disabled]:hover > a:only-child:after, .mds-btn-warning.disabled:focus > a:only-child:after, .mds-btn-warning[disabled]:focus > a:only-child:after, .mds-btn-warning.disabled:active > a:only-child:after, .mds-btn-warning[disabled]:active > a:only-child:after, .mds-btn-warning.disabled.active > a:only-child:after, .mds-btn-warning[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-warning:hover { border-color: rgba(255, 204, 1, 0.5) !important; } .mds-btn-warning:focus { border-color: rgba(255, 204, 1, 0.5) !important; } .mds-btn-info { color: #fff; background-color: #29adff; border-color: #29adff; } .mds-btn-info > a:only-child { color: currentColor; } .mds-btn-info > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-info:hover, .mds-btn-info:focus { color: #fff; background-color: #5cc1ff; border-color: rgba(41, 173, 255, 0.5); } .mds-btn-info:hover > a:only-child, .mds-btn-info:focus > a:only-child { color: currentColor; } .mds-btn-info:hover > a:only-child:after, .mds-btn-info:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-info:active, .mds-btn-info.active { color: #fff; background-color: #1f92e1; border-color: rgba(41, 173, 255, 0.5); } .mds-btn-info:active > a:only-child, .mds-btn-info.active > a:only-child { color: currentColor; } .mds-btn-info:active > a:only-child:after, .mds-btn-info.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-info.disabled, .mds-btn-info[disabled], .mds-btn-info.disabled:hover, .mds-btn-info[disabled]:hover, .mds-btn-info.disabled:focus, .mds-btn-info[disabled]:focus, .mds-btn-info.disabled:active, .mds-btn-info[disabled]:active, .mds-btn-info.disabled.active, .mds-btn-info[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-info.disabled > a:only-child, .mds-btn-info[disabled] > a:only-child, .mds-btn-info.disabled:hover > a:only-child, .mds-btn-info[disabled]:hover > a:only-child, .mds-btn-info.disabled:focus > a:only-child, .mds-btn-info[disabled]:focus > a:only-child, .mds-btn-info.disabled:active > a:only-child, .mds-btn-info[disabled]:active > a:only-child, .mds-btn-info.disabled.active > a:only-child, .mds-btn-info[disabled].active > a:only-child { color: currentColor; } .mds-btn-info.disabled > a:only-child:after, .mds-btn-info[disabled] > a:only-child:after, .mds-btn-info.disabled:hover > a:only-child:after, .mds-btn-info[disabled]:hover > a:only-child:after, .mds-btn-info.disabled:focus > a:only-child:after, .mds-btn-info[disabled]:focus > a:only-child:after, .mds-btn-info.disabled:active > a:only-child:after, .mds-btn-info[disabled]:active > a:only-child:after, .mds-btn-info.disabled.active > a:only-child:after, .mds-btn-info[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-info:hover { border-color: rgba(41, 173, 255, 0.5) !important; } .mds-btn-info:focus { border-color: rgba(41, 173, 255, 0.5) !important; } .mds-btn-circle, .mds-btn-circle-outline { width: 36px; padding: 0; font-size: 14px; border-radius: 50%; height: 36px; } .mds-btn-circle.mds-btn-lg, .mds-btn-circle-outline.mds-btn-lg { width: 40px; padding: 0; font-size: 20px; border-radius: 50%; height: 40px; } .mds-btn-circle.mds-btn-sm, .mds-btn-circle-outline.mds-btn-sm { width: 32px; padding: 0; font-size: 16px; border-radius: 50%; height: 32px; font-size: 14px; } .mds-btn-circle.mds-btn-ls, .mds-btn-circle-outline.mds-btn-ls { width: 28px; padding: 0; font-size: 14px; border-radius: 50%; height: 28px; font-size: 12px; } .mds-btn-loading { color: #fff; background-color: #1770FF; border-color: #1770FF; } .mds-btn-loading > a:only-child { color: currentColor; } .mds-btn-loading > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-loading:hover, .mds-btn-loading:focus { color: #fff; background-color: #4e92ff; border-color: #1AB21A; } .mds-btn-loading:hover > a:only-child, .mds-btn-loading:focus > a:only-child { color: currentColor; } .mds-btn-loading:hover > a:only-child:after, .mds-btn-loading:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-loading:active, .mds-btn-loading.active { color: #fff; background-color: #115bdf; border-color: #009800; } .mds-btn-loading:active > a:only-child, .mds-btn-loading.active > a:only-child { color: currentColor; } .mds-btn-loading:active > a:only-child:after, .mds-btn-loading.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-loading.disabled, .mds-btn-loading[disabled], .mds-btn-loading.disabled:hover, .mds-btn-loading[disabled]:hover, .mds-btn-loading.disabled:focus, .mds-btn-loading[disabled]:focus, .mds-btn-loading.disabled:active, .mds-btn-loading[disabled]:active, .mds-btn-loading.disabled.active, .mds-btn-loading[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-loading.disabled > a:only-child, .mds-btn-loading[disabled] > a:only-child, .mds-btn-loading.disabled:hover > a:only-child, .mds-btn-loading[disabled]:hover > a:only-child, .mds-btn-loading.disabled:focus > a:only-child, .mds-btn-loading[disabled]:focus > a:only-child, .mds-btn-loading.disabled:active > a:only-child, .mds-btn-loading[disabled]:active > a:only-child, .mds-btn-loading.disabled.active > a:only-child, .mds-btn-loading[disabled].active > a:only-child { color: currentColor; } .mds-btn-loading.disabled > a:only-child:after, .mds-btn-loading[disabled] > a:only-child:after, .mds-btn-loading.disabled:hover > a:only-child:after, .mds-btn-loading[disabled]:hover > a:only-child:after, .mds-btn-loading.disabled:focus > a:only-child:after, .mds-btn-loading[disabled]:focus > a:only-child:after, .mds-btn-loading.disabled:active > a:only-child:after, .mds-btn-loading[disabled]:active > a:only-child:after, .mds-btn-loading.disabled.active > a:only-child:after, .mds-btn-loading[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-default { color: #666666; background-color: #fff; border-color: #d9d9d9; } .mds-btn-default > a:only-child { color: currentColor; } .mds-btn-default > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-default:hover, .mds-btn-default:focus { color: #0364ff; background-color: #fff; border-color: #0364ff; } .mds-btn-default:hover > a:only-child, .mds-btn-default:focus > a:only-child { color: currentColor; } .mds-btn-default:hover > a:only-child:after, .mds-btn-default:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-default:active, .mds-btn-default.active { color: #0252dd; background-color: #fff; border-color: #0252dd; } .mds-btn-default:active > a:only-child, .mds-btn-default.active > a:only-child { color: currentColor; } .mds-btn-default:active > a:only-child:after, .mds-btn-default.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-default.disabled, .mds-btn-default[disabled], .mds-btn-default.disabled:hover, .mds-btn-default[disabled]:hover, .mds-btn-default.disabled:focus, .mds-btn-default[disabled]:focus, .mds-btn-default.disabled:active, .mds-btn-default[disabled]:active, .mds-btn-default.disabled.active, .mds-btn-default[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-default.disabled > a:only-child, .mds-btn-default[disabled] > a:only-child, .mds-btn-default.disabled:hover > a:only-child, .mds-btn-default[disabled]:hover > a:only-child, .mds-btn-default.disabled:focus > a:only-child, .mds-btn-default[disabled]:focus > a:only-child, .mds-btn-default.disabled:active > a:only-child, .mds-btn-default[disabled]:active > a:only-child, .mds-btn-default.disabled.active > a:only-child, .mds-btn-default[disabled].active > a:only-child { color: currentColor; } .mds-btn-default.disabled > a:only-child:after, .mds-btn-default[disabled] > a:only-child:after, .mds-btn-default.disabled:hover > a:only-child:after, .mds-btn-default[disabled]:hover > a:only-child:after, .mds-btn-default.disabled:focus > a:only-child:after, .mds-btn-default[disabled]:focus > a:only-child:after, .mds-btn-default.disabled:active > a:only-child:after, .mds-btn-default[disabled]:active > a:only-child:after, .mds-btn-default.disabled.active > a:only-child:after, .mds-btn-default[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-default > a:only-child { color: currentColor; } .mds-btn-default > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-default:hover, .mds-btn-default:focus, .mds-btn-default:active, .mds-btn-default.active { background: #fff; } .mds-btn:before { position: absolute; top: -1px; left: -1px; bottom: -1px; right: -1px; background: #fff; opacity: 0.35; content: ''; border-radius: inherit; z-index: 1; transition: opacity .2s; pointer-events: none; display: none; } .mds-btn .mdsicon { transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .mds-btn.mds-btn-loading:before { display: block; } .mds-btn.mds-btn-loading:not(.mds-btn-circle):not(.mds-btn-circle-outline):not(.mds-btn-icon-only) { padding-left: 29px; pointer-events: none; position: relative; } .mds-btn.mds-btn-loading:not(.mds-btn-circle):not(.mds-btn-circle-outline):not(.mds-btn-icon-only) .mdsicon { margin-left: -14px; } .mds-btn-sm.mds-btn-loading:not(.mds-btn-circle):not(.mds-btn-circle-outline):not(.mds-btn-icon-only) { padding-left: 24px; } .mds-btn-sm.mds-btn-loading:not(.mds-btn-circle):not(.mds-btn-circle-outline):not(.mds-btn-icon-only) .mdsicon { margin-left: -17px; } .mds-btn-group { position: relative; display: inline-block; font-size: 0; } .mds-btn-group > .mds-btn { position: relative; z-index: 1; } .mds-btn-group > .mds-btn:hover, .mds-btn-group > .mds-btn:focus, .mds-btn-group > .mds-btn:active, .mds-btn-group > .mds-btn.active { z-index: 2; } .mds-btn-group > .mds-btn:disabled { z-index: 0; } .mds-btn-group-lg > .mds-btn { padding: 0 24px; font-size: 20px; border-radius: 4px; height: 40px; } .mds-btn-group-sm > .mds-btn { padding: 0 16px; font-size: 14px; border-radius: 4px; height: 32px; } .mds-btn-group-sm > .mds-btn > .mdsicon { font-size: 14px; } .mds-btn-group-ls > .mds-btn { padding: 0 7px; font-size: 14px; border-radius: 4px; height: 32px; } .mds-btn-group-ls > .mds-btn > .mdsicon { font-size: 12px; } .mds-btn-group .mds-btn + .mds-btn, .mds-btn + .mds-btn-group, .mds-btn-group + .mds-btn, .mds-btn-group + .mds-btn-group { margin-left: -1px; } .mds-btn-group .mds-btn:not(:first-child):not(:last-child) { border-radius: 0; padding-left: 15px; padding-right: 15px; } .mds-btn-group > .mds-btn:first-child { margin-left: 0; padding-left: 15px; padding-right: 15px; } .mds-btn-group > .mds-btn:first-child:not(:last-child) { border-bottom-right-radius: 0; border-top-right-radius: 0; } .mds-btn-group > .mds-btn:last-child:not(:first-child) { padding-left: 15px; padding-right: 15px; border-bottom-left-radius: 0; border-top-left-radius: 0; } .mds-btn-group > .mds-btn-group { float: left; } .mds-btn-group > .mds-btn-group:not(:first-child):not(:last-child) > .mds-btn { border-radius: 0; } .mds-btn-group > .mds-btn-group:first-child:not(:last-child) > .mds-btn:last-child { border-bottom-right-radius: 0; border-top-right-radius: 0; padding-right: 8px; } .mds-btn-group > .mds-btn-group:last-child:not(:first-child) > .mds-btn:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; padding-left: 8px; } .mds-btn:not(.mds-btn-circle):not(.mds-btn-circle-outline).mds-btn-icon-only { padding-left: 10px; padding-right: 10px; } .mds-btn:focus > span, .mds-btn:active > span { position: relative; } .mds-btn > .mdsicon + span, .mds-btn > span + .mdsicon { margin-left: 2px; } .mds-btn-clicked:not(.mds-btn-no-border-animate):after { content: ''; position: absolute; top: -1px; left: -1px; bottom: -1px; right: -1px; border-radius: inherit; border: 0 solid #0364ff; opacity: 0.4; animation: buttonEffect .4s; display: block; } .mds-btn-danger.mds-btn-clicked:after { border-color: #fff; content: ''; position: absolute; top: -1px; left: -1px; bottom: -1px; right: -1px; border-radius: inherit; border: 0 solid #0364ff; opacity: 0.4; animation: buttonEffect .4s; display: block; } .mds-btn-background-ghost { background: transparent !important; border-color: #fff; color: #fff; } .mds-btn-background-ghost.mds-btn-primary { color: #0364ff; background-color: transparent; border-color: #0364ff; } .mds-btn-background-ghost.mds-btn-primary > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-primary > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-primary:hover, .mds-btn-background-ghost.mds-btn-primary:focus { color: #3f89ff; background-color: transparent; border-color: #3f89ff; } .mds-btn-background-ghost.mds-btn-primary:hover > a:only-child, .mds-btn-background-ghost.mds-btn-primary:focus > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-primary:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-primary:active, .mds-btn-background-ghost.mds-btn-primary.active { color: #0252dd; background-color: transparent; border-color: #0252dd; } .mds-btn-background-ghost.mds-btn-primary:active > a:only-child, .mds-btn-background-ghost.mds-btn-primary.active > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-primary:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-primary.disabled, .mds-btn-background-ghost.mds-btn-primary[disabled], .mds-btn-background-ghost.mds-btn-primary.disabled:hover, .mds-btn-background-ghost.mds-btn-primary[disabled]:hover, .mds-btn-background-ghost.mds-btn-primary.disabled:focus, .mds-btn-background-ghost.mds-btn-primary[disabled]:focus, .mds-btn-background-ghost.mds-btn-primary.disabled:active, .mds-btn-background-ghost.mds-btn-primary[disabled]:active, .mds-btn-background-ghost.mds-btn-primary.disabled.active, .mds-btn-background-ghost.mds-btn-primary[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-background-ghost.mds-btn-primary.disabled > a:only-child, .mds-btn-background-ghost.mds-btn-primary[disabled] > a:only-child, .mds-btn-background-ghost.mds-btn-primary.disabled:hover > a:only-child, .mds-btn-background-ghost.mds-btn-primary[disabled]:hover > a:only-child, .mds-btn-background-ghost.mds-btn-primary.disabled:focus > a:only-child, .mds-btn-background-ghost.mds-btn-primary[disabled]:focus > a:only-child, .mds-btn-background-ghost.mds-btn-primary.disabled:active > a:only-child, .mds-btn-background-ghost.mds-btn-primary[disabled]:active > a:only-child, .mds-btn-background-ghost.mds-btn-primary.disabled.active > a:only-child, .mds-btn-background-ghost.mds-btn-primary[disabled].active > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-primary.disabled > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary[disabled] > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary.disabled:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary[disabled]:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary.disabled:focus > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary[disabled]:focus > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary.disabled:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary[disabled]:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary.disabled.active > a:only-child:after, .mds-btn-background-ghost.mds-btn-primary[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-danger { color: #EE3333; background-color: transparent; border-color: #EE3333; } .mds-btn-background-ghost.mds-btn-danger > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-danger > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-danger:hover, .mds-btn-background-ghost.mds-btn-danger:focus { color: #f26464; background-color: transparent; border-color: #f26464; } .mds-btn-background-ghost.mds-btn-danger:hover > a:only-child, .mds-btn-background-ghost.mds-btn-danger:focus > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-danger:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-danger:active, .mds-btn-background-ghost.mds-btn-danger.active { color: #d52936; background-color: transparent; border-color: #d52936; } .mds-btn-background-ghost.mds-btn-danger:active > a:only-child, .mds-btn-background-ghost.mds-btn-danger.active > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-danger:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-danger.disabled, .mds-btn-background-ghost.mds-btn-danger[disabled], .mds-btn-background-ghost.mds-btn-danger.disabled:hover, .mds-btn-background-ghost.mds-btn-danger[disabled]:hover, .mds-btn-background-ghost.mds-btn-danger.disabled:focus, .mds-btn-background-ghost.mds-btn-danger[disabled]:focus, .mds-btn-background-ghost.mds-btn-danger.disabled:active, .mds-btn-background-ghost.mds-btn-danger[disabled]:active, .mds-btn-background-ghost.mds-btn-danger.disabled.active, .mds-btn-background-ghost.mds-btn-danger[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-background-ghost.mds-btn-danger.disabled > a:only-child, .mds-btn-background-ghost.mds-btn-danger[disabled] > a:only-child, .mds-btn-background-ghost.mds-btn-danger.disabled:hover > a:only-child, .mds-btn-background-ghost.mds-btn-danger[disabled]:hover > a:only-child, .mds-btn-background-ghost.mds-btn-danger.disabled:focus > a:only-child, .mds-btn-background-ghost.mds-btn-danger[disabled]:focus > a:only-child, .mds-btn-background-ghost.mds-btn-danger.disabled:active > a:only-child, .mds-btn-background-ghost.mds-btn-danger[disabled]:active > a:only-child, .mds-btn-background-ghost.mds-btn-danger.disabled.active > a:only-child, .mds-btn-background-ghost.mds-btn-danger[disabled].active > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-danger.disabled > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger[disabled] > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger.disabled:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger[disabled]:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger.disabled:focus > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger[disabled]:focus > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger.disabled:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger[disabled]:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger.disabled.active > a:only-child:after, .mds-btn-background-ghost.mds-btn-danger[disabled].active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-normal { color: #0364ff; background-color: transparent; border-color: #0364ff; } .mds-btn-background-ghost.mds-btn-normal > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-normal > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-normal:hover, .mds-btn-background-ghost.mds-btn-normal:focus { color: #3f89ff; background-color: transparent; border-color: #3f89ff; } .mds-btn-background-ghost.mds-btn-normal:hover > a:only-child, .mds-btn-background-ghost.mds-btn-normal:focus > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-normal:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal:focus > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-normal:active, .mds-btn-background-ghost.mds-btn-normal.active { color: #0252dd; background-color: transparent; border-color: #0252dd; } .mds-btn-background-ghost.mds-btn-normal:active > a:only-child, .mds-btn-background-ghost.mds-btn-normal.active > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-normal:active > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal.active > a:only-child:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } .mds-btn-background-ghost.mds-btn-normal.disabled, .mds-btn-background-ghost.mds-btn-normal[disabled], .mds-btn-background-ghost.mds-btn-normal.disabled:hover, .mds-btn-background-ghost.mds-btn-normal[disabled]:hover, .mds-btn-background-ghost.mds-btn-normal.disabled:focus, .mds-btn-background-ghost.mds-btn-normal[disabled]:focus, .mds-btn-background-ghost.mds-btn-normal.disabled:active, .mds-btn-background-ghost.mds-btn-normal[disabled]:active, .mds-btn-background-ghost.mds-btn-normal.disabled.active, .mds-btn-background-ghost.mds-btn-normal[disabled].active { color: rgba(0, 0, 0, 0.2); background-color: #f7f7f7; border-color: #d9d9d9; } .mds-btn-background-ghost.mds-btn-normal.disabled > a:only-child, .mds-btn-background-ghost.mds-btn-normal[disabled] > a:only-child, .mds-btn-background-ghost.mds-btn-normal.disabled:hover > a:only-child, .mds-btn-background-ghost.mds-btn-normal[disabled]:hover > a:only-child, .mds-btn-background-ghost.mds-btn-normal.disabled:focus > a:only-child, .mds-btn-background-ghost.mds-btn-normal[disabled]:focus > a:only-child, .mds-btn-background-ghost.mds-btn-normal.disabled:active > a:only-child, .mds-btn-background-ghost.mds-btn-normal[disabled]:active > a:only-child, .mds-btn-background-ghost.mds-btn-normal.disabled.active > a:only-child, .mds-btn-background-ghost.mds-btn-normal[disabled].active > a:only-child { color: currentColor; } .mds-btn-background-ghost.mds-btn-normal.disabled > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal[disabled] > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal.disabled:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal[disabled]:hover > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal.disabled:focus > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal[disabled]:focus > a:only-child:after, .mds-btn-background-ghost.mds-btn-normal.disabled:active > a:only-child:after, .mds-btn-back