gov-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
1,044 lines (1,043 loc) • 29.1 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.gov-btn {
line-height: 1.499;
display: inline-block;
font-weight: 400;
text-align: center;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 0 15px;
font-size: 14px;
border-radius: 4px;
height: 32px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
position: relative;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
color: rgba(0, 0, 0, 0.65);
background-color: #fff;
border-color: #d9d9d9;
}
.gov-btn > .anticon {
line-height: 1;
}
.gov-btn,
.gov-btn:active,
.gov-btn:focus {
outline: 0;
}
.gov-btn:not([disabled]):hover {
text-decoration: none;
}
.gov-btn:not([disabled]):active {
outline: 0;
box-shadow: none;
}
.gov-btn.disabled,
.gov-btn[disabled] {
cursor: not-allowed;
}
.gov-btn.disabled > *,
.gov-btn[disabled] > * {
pointer-events: none;
}
.gov-btn-lg {
padding: 0 15px;
font-size: 16px;
border-radius: 4px;
height: 40px;
}
.gov-btn-sm {
padding: 0 7px;
font-size: 14px;
border-radius: 4px;
height: 24px;
}
.gov-btn > a:only-child {
color: currentColor;
}
.gov-btn > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn:hover,
.gov-btn:focus {
color: #2986ff;
background-color: #fff;
border-color: #2986ff;
}
.gov-btn:hover > a:only-child,
.gov-btn:focus > a:only-child {
color: currentColor;
}
.gov-btn:hover > a:only-child:after,
.gov-btn:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn:active,
.gov-btn.active {
color: #004fd9;
background-color: #fff;
border-color: #004fd9;
}
.gov-btn:active > a:only-child,
.gov-btn.active > a:only-child {
color: currentColor;
}
.gov-btn:active > a:only-child:after,
.gov-btn.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn.disabled,
.gov-btn[disabled],
.gov-btn.disabled:hover,
.gov-btn[disabled]:hover,
.gov-btn.disabled:focus,
.gov-btn[disabled]:focus,
.gov-btn.disabled:active,
.gov-btn[disabled]:active,
.gov-btn.disabled.active,
.gov-btn[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn.disabled > a:only-child,
.gov-btn[disabled] > a:only-child,
.gov-btn.disabled:hover > a:only-child,
.gov-btn[disabled]:hover > a:only-child,
.gov-btn.disabled:focus > a:only-child,
.gov-btn[disabled]:focus > a:only-child,
.gov-btn.disabled:active > a:only-child,
.gov-btn[disabled]:active > a:only-child,
.gov-btn.disabled.active > a:only-child,
.gov-btn[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn.disabled > a:only-child:after,
.gov-btn[disabled] > a:only-child:after,
.gov-btn.disabled:hover > a:only-child:after,
.gov-btn[disabled]:hover > a:only-child:after,
.gov-btn.disabled:focus > a:only-child:after,
.gov-btn[disabled]:focus > a:only-child:after,
.gov-btn.disabled:active > a:only-child:after,
.gov-btn[disabled]:active > a:only-child:after,
.gov-btn.disabled.active > a:only-child:after,
.gov-btn[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn:hover,
.gov-btn:focus,
.gov-btn:active,
.gov-btn.active {
background: #fff;
text-decoration: none;
}
.gov-btn > i,
.gov-btn > span {
pointer-events: none;
display: inline-block;
}
.gov-btn-primary {
color: #fff;
background-color: #0066ff;
border-color: #0066ff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
}
.gov-btn-primary > a:only-child {
color: currentColor;
}
.gov-btn-primary > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-primary:hover,
.gov-btn-primary:focus {
color: #fff;
background-color: #2986ff;
border-color: #2986ff;
}
.gov-btn-primary:hover > a:only-child,
.gov-btn-primary:focus > a:only-child {
color: currentColor;
}
.gov-btn-primary:hover > a:only-child:after,
.gov-btn-primary:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-primary:active,
.gov-btn-primary.active {
color: #fff;
background-color: #004fd9;
border-color: #004fd9;
}
.gov-btn-primary:active > a:only-child,
.gov-btn-primary.active > a:only-child {
color: currentColor;
}
.gov-btn-primary:active > a:only-child:after,
.gov-btn-primary.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-primary.disabled,
.gov-btn-primary[disabled],
.gov-btn-primary.disabled:hover,
.gov-btn-primary[disabled]:hover,
.gov-btn-primary.disabled:focus,
.gov-btn-primary[disabled]:focus,
.gov-btn-primary.disabled:active,
.gov-btn-primary[disabled]:active,
.gov-btn-primary.disabled.active,
.gov-btn-primary[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn-primary.disabled > a:only-child,
.gov-btn-primary[disabled] > a:only-child,
.gov-btn-primary.disabled:hover > a:only-child,
.gov-btn-primary[disabled]:hover > a:only-child,
.gov-btn-primary.disabled:focus > a:only-child,
.gov-btn-primary[disabled]:focus > a:only-child,
.gov-btn-primary.disabled:active > a:only-child,
.gov-btn-primary[disabled]:active > a:only-child,
.gov-btn-primary.disabled.active > a:only-child,
.gov-btn-primary[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn-primary.disabled > a:only-child:after,
.gov-btn-primary[disabled] > a:only-child:after,
.gov-btn-primary.disabled:hover > a:only-child:after,
.gov-btn-primary[disabled]:hover > a:only-child:after,
.gov-btn-primary.disabled:focus > a:only-child:after,
.gov-btn-primary[disabled]:focus > a:only-child:after,
.gov-btn-primary.disabled:active > a:only-child:after,
.gov-btn-primary[disabled]:active > a:only-child:after,
.gov-btn-primary.disabled.active > a:only-child:after,
.gov-btn-primary[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-group .gov-btn-primary:not(:first-child):not(:last-child) {
border-right-color: #2986ff;
border-left-color: #2986ff;
}
.gov-btn-group .gov-btn-primary:not(:first-child):not(:last-child):disabled {
border-color: #d9d9d9;
}
.gov-btn-group .gov-btn-primary:first-child:not(:last-child) {
border-right-color: #2986ff;
}
.gov-btn-group .gov-btn-primary:first-child:not(:last-child)[disabled] {
border-right-color: #d9d9d9;
}
.gov-btn-group .gov-btn-primary:last-child:not(:first-child),
.gov-btn-group .gov-btn-primary + .gov-btn-primary {
border-left-color: #2986ff;
}
.gov-btn-group .gov-btn-primary:last-child:not(:first-child)[disabled],
.gov-btn-group .gov-btn-primary + .gov-btn-primary[disabled] {
border-left-color: #d9d9d9;
}
.gov-btn-ghost {
color: rgba(0, 0, 0, 0.65);
background-color: transparent;
border-color: #d9d9d9;
}
.gov-btn-ghost > a:only-child {
color: currentColor;
}
.gov-btn-ghost > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-ghost:hover,
.gov-btn-ghost:focus {
color: #2986ff;
background-color: transparent;
border-color: #2986ff;
}
.gov-btn-ghost:hover > a:only-child,
.gov-btn-ghost:focus > a:only-child {
color: currentColor;
}
.gov-btn-ghost:hover > a:only-child:after,
.gov-btn-ghost:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-ghost:active,
.gov-btn-ghost.active {
color: #004fd9;
background-color: transparent;
border-color: #004fd9;
}
.gov-btn-ghost:active > a:only-child,
.gov-btn-ghost.active > a:only-child {
color: currentColor;
}
.gov-btn-ghost:active > a:only-child:after,
.gov-btn-ghost.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-ghost.disabled,
.gov-btn-ghost[disabled],
.gov-btn-ghost.disabled:hover,
.gov-btn-ghost[disabled]:hover,
.gov-btn-ghost.disabled:focus,
.gov-btn-ghost[disabled]:focus,
.gov-btn-ghost.disabled:active,
.gov-btn-ghost[disabled]:active,
.gov-btn-ghost.disabled.active,
.gov-btn-ghost[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn-ghost.disabled > a:only-child,
.gov-btn-ghost[disabled] > a:only-child,
.gov-btn-ghost.disabled:hover > a:only-child,
.gov-btn-ghost[disabled]:hover > a:only-child,
.gov-btn-ghost.disabled:focus > a:only-child,
.gov-btn-ghost[disabled]:focus > a:only-child,
.gov-btn-ghost.disabled:active > a:only-child,
.gov-btn-ghost[disabled]:active > a:only-child,
.gov-btn-ghost.disabled.active > a:only-child,
.gov-btn-ghost[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn-ghost.disabled > a:only-child:after,
.gov-btn-ghost[disabled] > a:only-child:after,
.gov-btn-ghost.disabled:hover > a:only-child:after,
.gov-btn-ghost[disabled]:hover > a:only-child:after,
.gov-btn-ghost.disabled:focus > a:only-child:after,
.gov-btn-ghost[disabled]:focus > a:only-child:after,
.gov-btn-ghost.disabled:active > a:only-child:after,
.gov-btn-ghost[disabled]:active > a:only-child:after,
.gov-btn-ghost.disabled.active > a:only-child:after,
.gov-btn-ghost[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-dashed {
color: rgba(0, 0, 0, 0.65);
background-color: #fff;
border-color: #d9d9d9;
border-style: dashed;
}
.gov-btn-dashed > a:only-child {
color: currentColor;
}
.gov-btn-dashed > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-dashed:hover,
.gov-btn-dashed:focus {
color: #2986ff;
background-color: #fff;
border-color: #2986ff;
}
.gov-btn-dashed:hover > a:only-child,
.gov-btn-dashed:focus > a:only-child {
color: currentColor;
}
.gov-btn-dashed:hover > a:only-child:after,
.gov-btn-dashed:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-dashed:active,
.gov-btn-dashed.active {
color: #004fd9;
background-color: #fff;
border-color: #004fd9;
}
.gov-btn-dashed:active > a:only-child,
.gov-btn-dashed.active > a:only-child {
color: currentColor;
}
.gov-btn-dashed:active > a:only-child:after,
.gov-btn-dashed.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-dashed.disabled,
.gov-btn-dashed[disabled],
.gov-btn-dashed.disabled:hover,
.gov-btn-dashed[disabled]:hover,
.gov-btn-dashed.disabled:focus,
.gov-btn-dashed[disabled]:focus,
.gov-btn-dashed.disabled:active,
.gov-btn-dashed[disabled]:active,
.gov-btn-dashed.disabled.active,
.gov-btn-dashed[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn-dashed.disabled > a:only-child,
.gov-btn-dashed[disabled] > a:only-child,
.gov-btn-dashed.disabled:hover > a:only-child,
.gov-btn-dashed[disabled]:hover > a:only-child,
.gov-btn-dashed.disabled:focus > a:only-child,
.gov-btn-dashed[disabled]:focus > a:only-child,
.gov-btn-dashed.disabled:active > a:only-child,
.gov-btn-dashed[disabled]:active > a:only-child,
.gov-btn-dashed.disabled.active > a:only-child,
.gov-btn-dashed[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn-dashed.disabled > a:only-child:after,
.gov-btn-dashed[disabled] > a:only-child:after,
.gov-btn-dashed.disabled:hover > a:only-child:after,
.gov-btn-dashed[disabled]:hover > a:only-child:after,
.gov-btn-dashed.disabled:focus > a:only-child:after,
.gov-btn-dashed[disabled]:focus > a:only-child:after,
.gov-btn-dashed.disabled:active > a:only-child:after,
.gov-btn-dashed[disabled]:active > a:only-child:after,
.gov-btn-dashed.disabled.active > a:only-child:after,
.gov-btn-dashed[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-danger {
color: #f5222d;
background-color: #f5f5f5;
border-color: #d9d9d9;
}
.gov-btn-danger > a:only-child {
color: currentColor;
}
.gov-btn-danger > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-danger:hover {
color: #fff;
background-color: #ff4d4f;
border-color: #ff4d4f;
}
.gov-btn-danger:hover > a:only-child {
color: currentColor;
}
.gov-btn-danger:hover > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-danger:focus {
color: #ff4d4f;
background-color: #fff;
border-color: #ff4d4f;
}
.gov-btn-danger:focus > a:only-child {
color: currentColor;
}
.gov-btn-danger:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-danger:active,
.gov-btn-danger.active {
color: #fff;
background-color: #cf1322;
border-color: #cf1322;
}
.gov-btn-danger:active > a:only-child,
.gov-btn-danger.active > a:only-child {
color: currentColor;
}
.gov-btn-danger:active > a:only-child:after,
.gov-btn-danger.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-danger.disabled,
.gov-btn-danger[disabled],
.gov-btn-danger.disabled:hover,
.gov-btn-danger[disabled]:hover,
.gov-btn-danger.disabled:focus,
.gov-btn-danger[disabled]:focus,
.gov-btn-danger.disabled:active,
.gov-btn-danger[disabled]:active,
.gov-btn-danger.disabled.active,
.gov-btn-danger[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn-danger.disabled > a:only-child,
.gov-btn-danger[disabled] > a:only-child,
.gov-btn-danger.disabled:hover > a:only-child,
.gov-btn-danger[disabled]:hover > a:only-child,
.gov-btn-danger.disabled:focus > a:only-child,
.gov-btn-danger[disabled]:focus > a:only-child,
.gov-btn-danger.disabled:active > a:only-child,
.gov-btn-danger[disabled]:active > a:only-child,
.gov-btn-danger.disabled.active > a:only-child,
.gov-btn-danger[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn-danger.disabled > a:only-child:after,
.gov-btn-danger[disabled] > a:only-child:after,
.gov-btn-danger.disabled:hover > a:only-child:after,
.gov-btn-danger[disabled]:hover > a:only-child:after,
.gov-btn-danger.disabled:focus > a:only-child:after,
.gov-btn-danger[disabled]:focus > a:only-child:after,
.gov-btn-danger.disabled:active > a:only-child:after,
.gov-btn-danger[disabled]:active > a:only-child:after,
.gov-btn-danger.disabled.active > a:only-child:after,
.gov-btn-danger[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-circle,
.gov-btn-circle-outline {
width: 32px;
padding: 0;
font-size: 16px;
border-radius: 50%;
height: 32px;
}
.gov-btn-circle.gov-btn-lg,
.gov-btn-circle-outline.gov-btn-lg {
width: 40px;
padding: 0;
font-size: 18px;
border-radius: 50%;
height: 40px;
}
.gov-btn-circle.gov-btn-sm,
.gov-btn-circle-outline.gov-btn-sm {
width: 24px;
padding: 0;
font-size: 14px;
border-radius: 50%;
height: 24px;
}
.gov-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 0.2s;
pointer-events: none;
display: none;
}
.gov-btn .anticon {
transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.gov-btn .anticon.anticon-plus > svg,
.gov-btn .anticon.anticon-minus > svg {
shape-rendering: optimizeSpeed;
}
.gov-btn.gov-btn-loading:before {
display: block;
}
.gov-btn.gov-btn-loading:not(.gov-btn-circle):not(.gov-btn-circle-outline):not(.gov-btn-icon-only) {
padding-left: 29px;
pointer-events: none;
position: relative;
}
.gov-btn.gov-btn-loading:not(.gov-btn-circle):not(.gov-btn-circle-outline):not(.gov-btn-icon-only) .anticon:not(:last-child) {
margin-left: -14px;
}
.gov-btn-sm.gov-btn-loading:not(.gov-btn-circle):not(.gov-btn-circle-outline):not(.gov-btn-icon-only) {
padding-left: 24px;
}
.gov-btn-sm.gov-btn-loading:not(.gov-btn-circle):not(.gov-btn-circle-outline):not(.gov-btn-icon-only) .anticon {
margin-left: -17px;
}
.gov-btn-group {
position: relative;
display: inline-block;
}
.gov-btn-group > .gov-btn,
.gov-btn-group > span > .gov-btn {
position: relative;
}
.gov-btn-group > .gov-btn:hover,
.gov-btn-group > span > .gov-btn:hover,
.gov-btn-group > .gov-btn:focus,
.gov-btn-group > span > .gov-btn:focus,
.gov-btn-group > .gov-btn:active,
.gov-btn-group > span > .gov-btn:active,
.gov-btn-group > .gov-btn.active,
.gov-btn-group > span > .gov-btn.active {
z-index: 2;
}
.gov-btn-group > .gov-btn:disabled,
.gov-btn-group > span > .gov-btn:disabled {
z-index: 0;
}
.gov-btn-group-lg > .gov-btn,
.gov-btn-group-lg > span > .gov-btn {
padding: 0 15px;
font-size: 16px;
border-radius: 0;
height: 40px;
line-height: 38px;
}
.gov-btn-group-sm > .gov-btn,
.gov-btn-group-sm > span > .gov-btn {
padding: 0 7px;
font-size: 14px;
border-radius: 0;
height: 24px;
line-height: 22px;
}
.gov-btn-group-sm > .gov-btn > .anticon,
.gov-btn-group-sm > span > .gov-btn > .anticon {
font-size: 14px;
}
.gov-btn-group .gov-btn + .gov-btn,
.gov-btn + .gov-btn-group,
.gov-btn-group span + .gov-btn,
.gov-btn-group .gov-btn + span,
.gov-btn-group > span + span,
.gov-btn-group + .gov-btn,
.gov-btn-group + .gov-btn-group {
margin-left: -1px;
}
.gov-btn-group .gov-btn-primary + .gov-btn:not(.gov-btn-primary):not([disabled]) {
border-left-color: transparent;
}
.gov-btn-group .gov-btn {
border-radius: 0;
}
.gov-btn-group > .gov-btn:first-child,
.gov-btn-group > span:first-child > .gov-btn {
margin-left: 0;
}
.gov-btn-group > .gov-btn:only-child {
border-radius: 4px;
}
.gov-btn-group > span:only-child > .gov-btn {
border-radius: 4px;
}
.gov-btn-group > .gov-btn:first-child:not(:last-child),
.gov-btn-group > span:first-child:not(:last-child) > .gov-btn {
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.gov-btn-group > .gov-btn:last-child:not(:first-child),
.gov-btn-group > span:last-child:not(:first-child) > .gov-btn {
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
.gov-btn-group-sm > .gov-btn:only-child {
border-radius: 4px;
}
.gov-btn-group-sm > span:only-child > .gov-btn {
border-radius: 4px;
}
.gov-btn-group-sm > .gov-btn:first-child:not(:last-child),
.gov-btn-group-sm > span:first-child:not(:last-child) > .gov-btn {
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.gov-btn-group-sm > .gov-btn:last-child:not(:first-child),
.gov-btn-group-sm > span:last-child:not(:first-child) > .gov-btn {
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
.gov-btn-group > .gov-btn-group {
float: left;
}
.gov-btn-group > .gov-btn-group:not(:first-child):not(:last-child) > .gov-btn {
border-radius: 0;
}
.gov-btn-group > .gov-btn-group:first-child:not(:last-child) > .gov-btn:last-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
padding-right: 8px;
}
.gov-btn-group > .gov-btn-group:last-child:not(:first-child) > .gov-btn:first-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
padding-left: 8px;
}
.gov-btn:not(.gov-btn-circle):not(.gov-btn-circle-outline).gov-btn-icon-only {
padding-left: 8px;
padding-right: 8px;
}
.gov-btn:focus > span,
.gov-btn:active > span {
position: relative;
}
.gov-btn > .anticon + span,
.gov-btn > span + .anticon {
margin-left: 8px;
}
.gov-btn-background-ghost {
background: transparent ;
border-color: #fff;
color: #fff;
}
.gov-btn-background-ghost.gov-btn-primary {
color: #0066ff;
background-color: transparent;
border-color: #0066ff;
text-shadow: none;
}
.gov-btn-background-ghost.gov-btn-primary > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-primary > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-primary:hover,
.gov-btn-background-ghost.gov-btn-primary:focus {
color: #2986ff;
background-color: transparent;
border-color: #2986ff;
}
.gov-btn-background-ghost.gov-btn-primary:hover > a:only-child,
.gov-btn-background-ghost.gov-btn-primary:focus > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-primary:hover > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-primary:active,
.gov-btn-background-ghost.gov-btn-primary.active {
color: #004fd9;
background-color: transparent;
border-color: #004fd9;
}
.gov-btn-background-ghost.gov-btn-primary:active > a:only-child,
.gov-btn-background-ghost.gov-btn-primary.active > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-primary:active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-primary.disabled,
.gov-btn-background-ghost.gov-btn-primary[disabled],
.gov-btn-background-ghost.gov-btn-primary.disabled:hover,
.gov-btn-background-ghost.gov-btn-primary[disabled]:hover,
.gov-btn-background-ghost.gov-btn-primary.disabled:focus,
.gov-btn-background-ghost.gov-btn-primary[disabled]:focus,
.gov-btn-background-ghost.gov-btn-primary.disabled:active,
.gov-btn-background-ghost.gov-btn-primary[disabled]:active,
.gov-btn-background-ghost.gov-btn-primary.disabled.active,
.gov-btn-background-ghost.gov-btn-primary[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn-background-ghost.gov-btn-primary.disabled > a:only-child,
.gov-btn-background-ghost.gov-btn-primary[disabled] > a:only-child,
.gov-btn-background-ghost.gov-btn-primary.disabled:hover > a:only-child,
.gov-btn-background-ghost.gov-btn-primary[disabled]:hover > a:only-child,
.gov-btn-background-ghost.gov-btn-primary.disabled:focus > a:only-child,
.gov-btn-background-ghost.gov-btn-primary[disabled]:focus > a:only-child,
.gov-btn-background-ghost.gov-btn-primary.disabled:active > a:only-child,
.gov-btn-background-ghost.gov-btn-primary[disabled]:active > a:only-child,
.gov-btn-background-ghost.gov-btn-primary.disabled.active > a:only-child,
.gov-btn-background-ghost.gov-btn-primary[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-primary.disabled > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary[disabled] > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary.disabled:hover > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary[disabled]:hover > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary.disabled:focus > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary[disabled]:focus > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary.disabled:active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary[disabled]:active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary.disabled.active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-primary[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-danger {
color: #f5222d;
background-color: transparent;
border-color: #f5222d;
text-shadow: none;
}
.gov-btn-background-ghost.gov-btn-danger > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-danger > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-danger:hover,
.gov-btn-background-ghost.gov-btn-danger:focus {
color: #ff4d4f;
background-color: transparent;
border-color: #ff4d4f;
}
.gov-btn-background-ghost.gov-btn-danger:hover > a:only-child,
.gov-btn-background-ghost.gov-btn-danger:focus > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-danger:hover > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-danger:active,
.gov-btn-background-ghost.gov-btn-danger.active {
color: #cf1322;
background-color: transparent;
border-color: #cf1322;
}
.gov-btn-background-ghost.gov-btn-danger:active > a:only-child,
.gov-btn-background-ghost.gov-btn-danger.active > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-danger:active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-background-ghost.gov-btn-danger.disabled,
.gov-btn-background-ghost.gov-btn-danger[disabled],
.gov-btn-background-ghost.gov-btn-danger.disabled:hover,
.gov-btn-background-ghost.gov-btn-danger[disabled]:hover,
.gov-btn-background-ghost.gov-btn-danger.disabled:focus,
.gov-btn-background-ghost.gov-btn-danger[disabled]:focus,
.gov-btn-background-ghost.gov-btn-danger.disabled:active,
.gov-btn-background-ghost.gov-btn-danger[disabled]:active,
.gov-btn-background-ghost.gov-btn-danger.disabled.active,
.gov-btn-background-ghost.gov-btn-danger[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
text-shadow: none;
box-shadow: none;
}
.gov-btn-background-ghost.gov-btn-danger.disabled > a:only-child,
.gov-btn-background-ghost.gov-btn-danger[disabled] > a:only-child,
.gov-btn-background-ghost.gov-btn-danger.disabled:hover > a:only-child,
.gov-btn-background-ghost.gov-btn-danger[disabled]:hover > a:only-child,
.gov-btn-background-ghost.gov-btn-danger.disabled:focus > a:only-child,
.gov-btn-background-ghost.gov-btn-danger[disabled]:focus > a:only-child,
.gov-btn-background-ghost.gov-btn-danger.disabled:active > a:only-child,
.gov-btn-background-ghost.gov-btn-danger[disabled]:active > a:only-child,
.gov-btn-background-ghost.gov-btn-danger.disabled.active > a:only-child,
.gov-btn-background-ghost.gov-btn-danger[disabled].active > a:only-child {
color: currentColor;
}
.gov-btn-background-ghost.gov-btn-danger.disabled > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger[disabled] > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger.disabled:hover > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger[disabled]:hover > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger.disabled:focus > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger[disabled]:focus > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger.disabled:active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger[disabled]:active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger.disabled.active > a:only-child:after,
.gov-btn-background-ghost.gov-btn-danger[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
.gov-btn-two-chinese-chars:first-letter {
letter-spacing: 0.34em;
}
.gov-btn-two-chinese-chars > *:not(.anticon) {
letter-spacing: 0.34em;
margin-right: -0.34em;
}
.gov-btn-block {
width: 100%;
}
.gov-btn:empty {
vertical-align: top;
}
a.gov-btn {
line-height: 30px;
}
a.gov-btn-lg {
line-height: 38px;
}
a.gov-btn-sm {
line-height: 22px;
}