123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- @import '../../app.less';
- .button {
- text-align: center;
- cursor: pointer;
- display: inline-block;
- vertical-align: middle;
- transition: all 0.25s;
- border-radius: 2px;
- box-sizing: border-box;
- }
- .button.basic {
- padding: 4px 24px;
- line-height: 20px;
- font-size: 14px;
- }
- .button.small {
- padding: 3px 14px;
- line-height: 18px;
- font-size: 12px;
- }
- .button.lager {
- font-size: 14px;
- line-height: 24px;
- padding: 8px 16px;
- }
- .button.disabled {
- cursor: no-drop;
- }
- .button.basic.radius {
- border-radius: 17px;
- }
- .button.small.radius {
- border-radius: 14px;
- }
- .button.lager.radius {
- border-radius: 36px;
- }
- .button.theme {
- background: @theme_color;
- color: #fff;
- }
- .button.theme.disabled {
- background: #c8c8c8;
- border: 1px solid #b8b8b8;
- }
- .button.link {
- border: none;
- color: #686872;
- }
- .button.default {
- background: #fff;
- color: @holder_color;
- border: 1px solid @line_color;
- }
- .button.file {
- background: linear-gradient(180deg, rgba(249, 249, 249, 1) 0%, rgba(241, 241, 241, 1) 100%);
- border-radius: 3px;
- border: 1px solid #d5d5d5;
- }
- .button.white {
- background: #fff;
- color: @theme_color;
- }
- .button.error {
- background: #f36565;
- color: #fff;
- }
- .button.warn {
- background: #f2b252;
- color: #fff;
- }
- .button.border {
- background: #fff;
- border: 2px solid @theme_color;
- }
- .button.link:hover {
- color: @theme_color;
- }
- .button.theme:hover {
- background: @theme_color_hover;
- }
- .button.theme.disabled:hover {
- background: darken(#c8c8c8, 5);
- }
- .button.border:hover {
- border-color: @theme_color;
- }
- .button.default:hover {
- border-color: @holder_color;
- }
- .button.white:hover {
- color: @theme_color_hover;
- }
- .button.file:hover {
- background: #ececec;
- }
- .button.error:hover {
- background: darken(#f36565, 5);
- }
- .button.warn:hover {
- background: darken(#f2b252, 5);
- }
|