aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/css/buttons.css
blob: 575f9346a1214d383bd98c82db1e6520a362834e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
Your standard form button.

:hover    - Highlights when hovering.
:disabled - Dims the button when disabled.
.primary  - Indicates button is the primary action.
.smaller  - A little bit smaller now.

Styleguide 2.1.1.
*/
button {
  padding: 5px 15px; }
  button.primary, button.primary:hover {
    color: #fff; }
  button.smaller {
    font-size: 11px; }
  button:hover {
    color: #337797; }
  button:disabled {
    opacity: 0.5; }


/*
A button suitable for giving stars to someone.

.star-given - A highlight indicating you've already given a star.
.disabled   - Dims the button to indicate it cannot be used.

Styleguide 2.2.1.
*/
a.button.star {
  display: inline-block; }
  a.button.star .star {
    font-size: 10px; }
  a.button.star.star-given {
    color: #ae7e00; }
  a.button.star.disabled {
    opacity: 0.5; }