_buttons.import.less
1 // ========================================================================== 2 // Base – Custom Buttons 3 // ========================================================================== 4 .button { 5 border: 0; 6 padding: 1em 3em; 7 background-color: @default-button-color; 8 color: #fff; 9 text-decoration: none; 10 &:extend(.text-center); 11 &:extend(.inline-block); 12 position: relative; 13 } 14 .button:hover { 15 background-color: @default-button-hover-color; 16 } 17 .button:active { 18 top: 1px; 19 } 20 21 .grey-button { 22 background-color: #eee; 23 color: #434343; 24 } 25 .grey-button:hover { 26 background-color: #f1f1f1; 27 } 28 29 .button[disabled], 30 .button.disabled { 31 color: #999; 32 background-color: #f1f1f1; 33 } 34 35 .button-unstyled { 36 .font-size(@default-font-size); 37 color: @default-link-color; 38 text-decoration: underline; 39 border: 0; 40 background: transparent; 41 height: auto; 42 padding: 0; 43 cursor: pointer; 44 outline: 0; 45 &:hover { 46 text-decoration: none; 47 } // end hover 48 } 49 .button-unstyled[disabled], 50 .button-unstyled.disabled { 51 text-decoration: none; 52 color: #999; 53 background-color: #ccc; 54 }