|
|
|
@ -33,6 +33,11 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
font-size: inherit; |
|
|
|
|
border-width: 0; |
|
|
|
|
background-color: transparent; |
|
|
|
|
} |
|
|
|
|
&.ghost { |
|
|
|
|
font-size: inherit; |
|
|
|
|
background-color: transparent; |
|
|
|
@ -60,6 +65,18 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
&.clear, &.clear .b-font:before { |
|
|
|
|
color: @color-bi-text-common-clear-button; |
|
|
|
|
} |
|
|
|
|
&.plain, &.plain .b-font:before { |
|
|
|
|
background-color: transparent; |
|
|
|
|
color: @color-bi-text-common-plain-button; |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
&:hover { |
|
|
|
|
background-color: @color-bi-background-hover-plain-button; |
|
|
|
|
} |
|
|
|
|
&:focus { |
|
|
|
|
background-color: @color-bi-background-active-plain-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.ghost { |
|
|
|
|
&, & .b-font:before { |
|
|
|
|
color: @color-bi-text-common-ghost-button; |
|
|
|
@ -99,6 +116,18 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
background-color: transparent; |
|
|
|
|
border-color: @color-bi-border-dark-gray-line; |
|
|
|
|
} |
|
|
|
|
&.plain, &.plain .b-font:before { |
|
|
|
|
background-color: transparent; |
|
|
|
|
color: @color-bi-text-ignore-plain-button; |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
&:hover { |
|
|
|
|
background-color: @color-bi-background-hover-plain-button; |
|
|
|
|
} |
|
|
|
|
&:focus { |
|
|
|
|
background-color: @color-bi-background-active-plain-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.button-success { |
|
|
|
|
& { |
|
|
|
@ -144,6 +173,18 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
background-color: @color-bi-background-success-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.plain, &.plain .b-font:before { |
|
|
|
|
background-color: transparent; |
|
|
|
|
color: @color-bi-text-success-plain-button; |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
&:hover { |
|
|
|
|
background-color: @color-bi-background-hover-plain-button; |
|
|
|
|
} |
|
|
|
|
&:focus { |
|
|
|
|
background-color: @color-bi-background-active-plain-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.button-warning { |
|
|
|
|
& { |
|
|
|
@ -189,6 +230,18 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
background-color: @color-bi-background-warning-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.plain, &.plain .b-font:before { |
|
|
|
|
background-color: transparent; |
|
|
|
|
color: @color-bi-text-warning-plain-button; |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
&:hover { |
|
|
|
|
background-color: @color-bi-background-hover-plain-button; |
|
|
|
|
} |
|
|
|
|
&:focus { |
|
|
|
|
background-color: @color-bi-background-active-plain-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.button-error { |
|
|
|
|
& { |
|
|
|
@ -234,6 +287,18 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
background-color: @color-bi-background-error-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.plain, &.plain .b-font:before { |
|
|
|
|
background-color: transparent; |
|
|
|
|
color: @color-bi-text-error-plain-button; |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
&:hover { |
|
|
|
|
background-color: @color-bi-background-hover-plain-button; |
|
|
|
|
} |
|
|
|
|
&:focus { |
|
|
|
|
background-color: @color-bi-background-active-plain-button; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.button-common.disabled, |
|
|
|
|
&.button-success.disabled, |
|
|
|
@ -277,6 +342,16 @@ body .bi-button, #body .bi-button {
|
|
|
|
|
.opacity(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.plain { |
|
|
|
|
&, & .b-font:before { |
|
|
|
|
color: @color-bi-text-disabled-plain-clear-button !important; |
|
|
|
|
} |
|
|
|
|
background: transparent !important; |
|
|
|
|
border-width: 0 !important; |
|
|
|
|
&:hover, &:focus, &:active { |
|
|
|
|
.opacity(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.ghost { |
|
|
|
|
&, & .b-font:before { |
|
|
|
|
// color: @color-bi-text-disabled-ignore-ghost-button !important; |
|
|
|
|