2013-11-18 22:09:20 +01:00
|
|
|
/////////////////////////////////////
|
|
|
|
// BUTTONS CSS FOR KREMALICIOUS.COM
|
|
|
|
/////////////////////////////////////
|
|
|
|
|
|
|
|
.btn {
|
2013-12-02 23:19:01 +01:00
|
|
|
font-family: @headings-font-family;
|
|
|
|
font-weight: @headings-font-weight;
|
|
|
|
font-size: .85em;
|
2013-11-18 22:09:20 +01:00
|
|
|
line-height: 1em;
|
|
|
|
text-align: center;
|
2013-12-02 23:19:01 +01:00
|
|
|
text-transform: uppercase;
|
2013-11-18 22:09:20 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2013-11-28 22:03:13 +01:00
|
|
|
padding: @line-height-computed/2 2em;
|
2013-11-18 22:09:20 +01:00
|
|
|
margin-bottom: @line-height-computed;
|
|
|
|
background: rgba(255,255,255,.1);
|
|
|
|
border: 1px solid rgba(94,131,162,.3);
|
|
|
|
border-bottom-color: rgba(94,131,162,.4);
|
2013-11-24 00:13:48 +01:00
|
|
|
.border-radius;
|
2013-11-18 22:09:20 +01:00
|
|
|
.box-shadow(~"0 1px 3px rgba(151,156,159,.1), inset 0 1px 0 rgba(255,255,255,.7)");
|
|
|
|
.transition;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255,255,255,.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: transparent;
|
|
|
|
border-top-color: rgba(94,131,162,.5);
|
|
|
|
outline: 0;
|
|
|
|
.box-shadow(0 1px 0 #fff);
|
|
|
|
.transition(none);
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: .9em;
|
|
|
|
color: rgba(19, 56, 50, .6);
|
|
|
|
margin-left: .3em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary,
|
|
|
|
a.btn-primary:visited {
|
|
|
|
color: darken(@link-color, 30%);
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.3);
|
|
|
|
background: lighten(@link-color, 15%);
|
|
|
|
border-color: rgba(40,101,93,.4);
|
|
|
|
border-bottom-color: rgba(40,101,93,.5);
|
|
|
|
.box-shadow(~"0 1px 3px rgba(151,156,159,.1), inset 0 1px 0 rgba(255,255,255,.4)");
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: darken(@link-color, 30%);
|
|
|
|
background-color: lighten(@link-color, 25%);
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: darken(@link-color, 30%);
|
|
|
|
background-color: lighten(@link-color, 15%);
|
|
|
|
border-top-color: rgba(40,101,93,.9);
|
|
|
|
.box-shadow(~"0 1px 0 #fff,inset 0 0 18px rgba(43,100,92,.3)");
|
|
|
|
.transition(none);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-link {
|
|
|
|
.btn;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
2013-12-03 21:21:29 +01:00
|
|
|
i:before {
|
|
|
|
top: .15em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-block {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Socialite.js
|
|
|
|
// replicate social buttons, but dim everything
|
|
|
|
.btn.socialite {
|
|
|
|
font: normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif;
|
|
|
|
text-align: left;
|
|
|
|
color: #676767;
|
|
|
|
text-transform: none;
|
|
|
|
font-weight: bold;
|
|
|
|
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
|
|
|
|
height: 21px;
|
|
|
|
max-width: 100%;
|
|
|
|
position: relative;
|
|
|
|
background-color: rgba(255,255,255,.4);
|
|
|
|
#gradient > .vertical(rgba(255,255,255,0.7); 0%; rgba(255,255,255,0); 100%);
|
|
|
|
border: 1px solid #dcdcdc;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 1px 5px;
|
|
|
|
.box-shadow(none);
|
|
|
|
|
2013-12-07 16:00:56 +01:00
|
|
|
// icon
|
|
|
|
&:before {
|
|
|
|
font-size: 15px;
|
|
|
|
margin-right: 2px;
|
|
|
|
top: 1px
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|