// For when we need a linky-action that's not too heavy in busier
// areas like conversation timelines.
.btn-outline{
@include btn-outline($text-blue);
}
// Social button count
.btn-with-count{
float:left;
border-top-right-radius:0;
border-bottom-right-radius:0;
}
// Minibutton overrides
//
// Tweak `line-height` to make them smaller.
.btn-sm{
padding:3px10px;
font-size:$font-size-small;
line-height:20px;
}
// Large button adds more padding around text. Use font-size utils to increase font-size.. e.g, <p class="text-gamma"><button class="btn btn-large btn-primary" type="button">Big green button</button></p>
.btn-large{
padding:0.75em1.25em;
font-size:inherit;
border-radius:6px;
}
// Hidden text button
//
// Use `.hidden-text-expander` to indicate and expand hidden text.
.hidden-text-expander{
display:block;
&.inline{
position:relative;
top:-1px;
display:inline-block;
margin-left:5px;
line-height:0;
}
}
.hidden-text-expandera,
.ellipsis-expander{
display:inline-block;
height:12px;
padding:05px5px;
font-size:12px;
font-weight:$font-weight-bold;
line-height:6px;
color:$gray-700;
text-decoration:none;
vertical-align:middle;
background:lighten($gray-300,5%);
border:0;
border-radius:1px;
&:hover{
text-decoration:none;
background-color:darken($gray-300,4%);
}
&:active{
color:$text-white;
background-color:$blue-400;
}
}
// Social count bubble
//
// A container that is used for social bubbles counts.
.social-count{
float:left;
padding:3px10px;
font-size:$font-size-small;
font-weight:$font-weight-bold;
line-height:20px;
color:$text-gray-dark;
vertical-align:middle;
background-color:$bg-white;
border:1pxsolidtransparentize($black,0.8);// match with .btn
border-left:0;
border-top-right-radius:3px;
border-bottom-right-radius:3px;
&:hover,
&:active{
text-decoration:none;
}
&:hover{
color:$text-blue;
cursor:pointer;
}
}
// Full-width button
//
// These buttons expand to the full width of their parent container
.btn-block{
display:block;
width:100%;
text-align:center;
}
// Radio buttons
//
// Buttons backed by radio or checkbox control. Requires the use of `.hidden`
// on the `input` to properly hide it.
.btn-link{
display:inline-block;
padding:0;
font-size:inherit;
color:$text-blue;
text-decoration:none;
white-space:nowrap;
cursor:pointer;
user-select:none;
background-color:transparent;
border:0;
appearance:none;// Corrects inability to style clickable `input` types in iOS.