Commit | Line | Data |
---|---|---|
b8eab696 AE |
1 | button, |
2 | input[type="button"], | |
3 | input[type="reset"], | |
4 | input[type="submit"], | |
5 | .button { | |
954d51cf AE |
6 | background-color: $wcfButtonBackground; |
7 | border: 1px solid $wcfButtonBorder; | |
b8eab696 | 8 | border-radius: 3px; |
954d51cf | 9 | color: $wcfButtonText !important; |
b8eab696 AE |
10 | cursor: pointer; |
11 | display: inline-block; | |
12 | padding: 5px 10px; | |
13 | transition-duration: .2s; | |
14 | transition-property: background-color, border-color, color; | |
15 | transition-timing-function: linear; | |
16 | ||
17 | .icon { | |
954d51cf | 18 | color: $wcfButtonText; |
b8eab696 AE |
19 | transition: color .2s linear; |
20 | } | |
21 | ||
22 | &:hover { | |
954d51cf AE |
23 | background-color: $wcfButtonBackgroundActive; |
24 | border-color: $wcfButtonBorderActive; | |
25 | color: $wcfButtonTextActive !important; | |
b8eab696 AE |
26 | |
27 | .icon { | |
954d51cf | 28 | color: $wcfButtonTextActive; |
b8eab696 AE |
29 | } |
30 | } | |
31 | ||
32 | &.small { | |
33 | font-size: .85rem; | |
34 | padding: 4px 7px; | |
35 | } | |
36 | } | |
37 | ||
38 | button.buttonPrimary, | |
39 | input[type="button"].buttonPrimary, | |
40 | input[type="submit"], | |
41 | .button.buttonPrimary { | |
954d51cf AE |
42 | background-color: $wcfButtonBackgroundAccent; |
43 | border-color: $wcfButtonBorderAccent; | |
44 | color: $wcfButtonTextAccent !important; | |
b8eab696 AE |
45 | |
46 | .icon { | |
954d51cf | 47 | color: $wcfButtonTextAccent; |
b8eab696 AE |
48 | } |
49 | ||
b8eab696 | 50 | &:hover { |
954d51cf AE |
51 | background-color: $wcfButtonBackgroundAccentActive; |
52 | border-color: $wcfButtonBorderAccentActive; | |
53 | color: $wcfButtonTextAccentActive; | |
b8eab696 AE |
54 | |
55 | .icon { | |
954d51cf | 56 | color: $wcfButtonTextAccentActive; |
b8eab696 AE |
57 | } |
58 | } | |
b8eab696 AE |
59 | } |
60 | ||
61 | .buttonList { | |
954d51cf | 62 | @extend .inlineList; |
b8eab696 AE |
63 | |
64 | &.smallButtons .button { | |
65 | font-size: .85rem; | |
66 | padding: 4px 7px; | |
67 | } | |
68 | ||
69 | /* members list */ | |
70 | &.letters { | |
71 | margin-bottom: -10px; | |
72 | ||
73 | > li { | |
74 | flex: 0 0 10%; | |
75 | margin-bottom: 10px; | |
76 | ||
77 | > a { | |
78 | display: block; | |
79 | text-align: center; | |
80 | } | |
81 | } | |
82 | } | |
83 | } | |
84 | ||
85 | .buttonGroupNavigation > ul { | |
954d51cf | 86 | @extend .inlineList; |
b8eab696 AE |
87 | } |
88 | ||
89 | .buttonGroup { | |
954d51cf | 90 | @extend .inlineList; |
b8eab696 AE |
91 | |
92 | > li { | |
93 | &:not(:last-child) { | |
954d51cf | 94 | border-right: 1px solid $wcfButtonBackgroundAccentActive; |
b8eab696 AE |
95 | margin-right: 0; |
96 | } | |
97 | ||
98 | &:first-child .button { | |
99 | border-bottom-left-radius: 3px; | |
100 | border-top-left-radius: 3px; | |
101 | } | |
102 | ||
103 | &:last-child .button { | |
104 | border-bottom-right-radius: 3px; | |
105 | border-top-right-radius: 3px; | |
106 | } | |
107 | ||
108 | .button { | |
109 | border-radius: 0; | |
110 | } | |
111 | } | |
112 | } |