source:
OpenWorkouts-current/ow/static/less/ui/buttons.less
@
01674ff
Last change on this file since 01674ff was 01674ff, checked in by Segundo Fdez <segun.2@…>, 5 years ago | |
---|---|
|
|
File size: 706 bytes |
Rev | Line | |
---|---|---|
[5cbc4a0] | 1 | /* Generic button */ |
[55e98e4] | 2 | .button { |
3 | box-sizing: border-box; | |
4 | display: inline-block; | |
5 | text-align: center; | |
6 | vertical-align: middle; | |
7 | cursor: pointer; | |
8 | border: 1px solid transparent; | |
9 | text-decoration: none; | |
10 | font-style: normal; | |
11 | white-space: nowrap; | |
12 | text-overflow: ellipsis; | |
[5cbc4a0] | 13 | padding: 0.3em 1em; |
[55e98e4] | 14 | margin: 0; |
15 | position: relative; | |
16 | overflow: hidden; | |
[5cbc4a0] | 17 | background: @color-main-light; |
18 | color: @color-main; | |
[55e98e4] | 19 | font-size: 1em; |
[5cbc4a0] | 20 | line-height: 1.25; |
[55e98e4] | 21 | max-width: 100%; |
[01674ff] | 22 | width: auto; |
[55e98e4] | 23 | } |
[01674ff] | 24 | |
25 | .button-normal { | |
26 | width: auto; | |
27 | &:hover { | |
28 | background-color: @color-main-medium; | |
29 | color: white; | |
30 | } | |
31 | } | |
32 | .button-important { | |
33 | background-color: @color-app; | |
34 | } |
Note: See TracBrowser
for help on using the repository browser.