1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 .agora-label-styling() {
13 .agora-inline-label-styling() {
16 vertical-align: bottom;
20 & > input[type="checkbox"],
21 & > input[type="radio"] {
26 border: 1px solid @colorGray7;
31 // ----------------------------------------------------------------------------
33 // ----------------------------------------------------------------------------
35 .button-colors( @bgColor, @highlightColor, @activeColor ) {
36 background-color: @bgColor;
37 color: @colorButtonText;
38 border: 1px solid @colorFieldBorder;
40 // Make sure that `color` isn't inheriting from user-agent styles
42 color: @colorButtonText;
46 background-color: @highlightColor;
48 border-color: @colorGray10;
52 background-color: @highlightColor;
53 // Make sure that `color` isn't inheriting from user-agent styles
54 color: @colorButtonText;
55 border-color: @colorProgressive;
56 box-shadow: inset 0 0 0 1px @colorProgressive, inset 0 0 0 2px #fff;
62 background-color: @activeColor;
64 border-color: @colorGray7;
69 background-color: @colorGray12;
71 border-color: @colorGray12;
73 // Make sure disabled buttons don't have hover and active states
76 background-color: @colorGray12;
79 border-color: @colorGray12;
84 .button-colors-primary( @bgColor, @highlightColor, @activeColor ) {
85 background-color: @bgColor;
87 // border of the same color as background so that light background and
88 // dark background buttons are the same height and width
89 border: 1px solid @bgColor;
90 text-shadow: 0 1px rgba( 0, 0, 0, 0.1 );
93 background-color: @highlightColor;
94 border-color: @highlightColor;
98 box-shadow: inset 0 0 0 1px @bgColor, inset 0 0 0 2px #fff;
104 background-color: @activeColor;
105 border-color: @activeColor;
110 background-color: @colorGray12;
112 border-color: @colorGray12;
114 // Make sure disabled buttons don't have hover and active states
118 background-color: @colorGray12;
120 border-color: @colorGray12;
126 .button-colors-quiet( @textColor, @highlightColor, @activeColor ) {
127 // Quiet buttons all start gray, and reveal
128 // progressive/destructive color on hover and active.
129 color: @colorButtonText;
132 background-color: transparent;
133 color: @highlightColor;
142 background-color: transparent;
147 color: @colorDisabledText;