1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 .agora-label-styling() {
13 .agora-inline-label-styling() {
16 vertical-align: bottom;
21 & > input[type="checkbox"],
22 & > input[type="radio"] {
27 border: 1px solid @colorFieldBorder;
32 // ----------------------------------------------------------------------------
34 // ----------------------------------------------------------------------------
36 .button-colors( @bgColor, @highlightColor, @activeColor ) {
40 // The inner bottom bevel should match the active background color.
41 background-color: @highlightColor;
45 border-color: @colorWhite;
46 box-shadow: 0 0 0 1px @highlightColor;
49 // remove outline in Firefox
51 border-color: transparent;
58 background: @activeColor;
63 .button-colors( @bgColor, @highlightColor, @activeColor ) when ( lightness( @bgColor ) >= 70% ) {
64 color: @colorButtonText;
65 border: 1px solid @colorGray12;
70 // make sure that is isn't inheriting from a general rule
71 color: @colorButtonText;
75 background-color: @highlightColor;
79 color: @colorDisabledText;
81 // make sure disabled buttons don't have hover and active states
90 .button-colors( @bgColor, @highlightColor, @activeColor ) when ( lightness( @bgColor ) < 70% ) {
92 // border of the same color as background so that light background and
93 // dark background buttons are the same height and width
94 border: 1px solid @bgColor;
95 text-shadow: 0 1px rgba(0, 0, 0, .1);
98 background: @colorGray13;
99 border-color: @colorGray13;
101 // make sure disabled buttons don't have hover and active states
110 .button-colors-quiet( @textColor, @highlightColor, @activeColor ) {
111 // Quiet buttons all start gray, and reveal
112 // constructive/progressive/destructive color on hover and active.
113 color: @colorButtonText;
117 background: transparent;
127 color: @colorDisabledText;