Created
March 25, 2014 15:24
-
-
Save czajkovsky/9764133 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn-group.pull-right.green-button | |
%span.rounded-number | |
%span 3 | |
%span.button-text | |
Create Campaign | |
%span.caret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.btn-group, .btn-group-vertical { | |
position: relative; | |
display: inline-block; | |
vertical-align: middle; | |
} | |
.btn { | |
font-weight: normal; | |
text-align: center; | |
cursor: pointer; | |
white-space: nowrap; | |
font-size: 14px; | |
line-height: 1.428571429; | |
} | |
.btn-group > .btn:first-child { | |
margin-left: 0; | |
} | |
.btn-group > .btn, .btn-group-vertical > .btn { | |
position: relative; | |
float: left; | |
} | |
.btn-primary { | |
color: white; | |
background-color: #98c665; | |
border-color: #5d932a; | |
} | |
.btn { | |
display: inline-block; | |
margin-bottom: 0; | |
font-weight: normal; | |
text-align: center; | |
vertical-align: middle; | |
cursor: pointer; | |
background-image: none; | |
border: 1px solid transparent; | |
white-space: nowrap; | |
padding: 6px 12px; | |
font-size: 14px; | |
line-height: 1.428571429; | |
border-radius: 4px; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
-o-user-select: none; | |
user-select: none; | |
} | |
input, button, select, textarea { | |
font-family: inherit; | |
font-size: inherit; | |
line-height: inherit; | |
} | |
button, html input[type="button"], input[type="reset"], input[type="submit"] { | |
-webkit-appearance: button; | |
cursor: pointer; | |
} | |
button, select { | |
text-transform: none; | |
} | |
.btn .caret { | |
margin-left: 0; | |
} | |
.caret { | |
display: inline-block; | |
width: 0; | |
height: 0; | |
margin-left: 2px; | |
vertical-align: middle; | |
border-top: 4px solid; | |
border-right: 4px solid transparent; | |
border-left: 4px solid transparent; | |
} | |
// overrides | |
.green-button { | |
background-color: #98c665; | |
border: 1px solid #5d932a; | |
border-radius: 50px; | |
overflow: hidden; | |
position: relative; | |
height: 35px; | |
padding-left: 35px; | |
.rounded-number { | |
position: absolute; | |
border-radius: 50px; | |
width: 35px; | |
height: 35px; | |
display: inline-block; | |
border-right: 1px solid #5d932a; | |
left: 0; | |
top: 0; | |
span { | |
width: 100%; | |
color: #fff; | |
font-weight: bold; | |
font-size: 25px; | |
line-height: 35px; | |
display: inline-block; | |
text-align: center; | |
} | |
} | |
.button-text { | |
display: inline-block; | |
padding: 0 11px; | |
line-height: 35px; | |
color: #fff; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn-group, .btn-group-vertical { | |
position: relative; | |
display: inline-block; | |
vertical-align: middle; | |
} | |
.btn { | |
font-weight: normal; | |
text-align: center; | |
cursor: pointer; | |
white-space: nowrap; | |
font-size: 14px; | |
line-height: 1.428571429; | |
} | |
.btn-group > .btn:first-child { | |
margin-left: 0; | |
} | |
.btn-group > .btn, .btn-group-vertical > .btn { | |
position: relative; | |
float: left; | |
} | |
.btn-primary { | |
color: white; | |
background-color: #98c665; | |
border-color: #5d932a; | |
} | |
.btn { | |
display: inline-block; | |
margin-bottom: 0; | |
font-weight: normal; | |
text-align: center; | |
vertical-align: middle; | |
cursor: pointer; | |
background-image: none; | |
border: 1px solid transparent; | |
white-space: nowrap; | |
padding: 6px 12px; | |
font-size: 14px; | |
line-height: 1.428571429; | |
border-radius: 4px; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
-o-user-select: none; | |
user-select: none; | |
} | |
input, button, select, textarea { | |
font-family: inherit; | |
font-size: inherit; | |
line-height: inherit; | |
} | |
button, html input[type="button"], input[type="reset"], input[type="submit"] { | |
-webkit-appearance: button; | |
cursor: pointer; | |
} | |
button, select { | |
text-transform: none; | |
} | |
.btn .caret { | |
margin-left: 0; | |
} | |
.caret { | |
display: inline-block; | |
width: 0; | |
height: 0; | |
margin-left: 2px; | |
vertical-align: middle; | |
border-top: 4px solid; | |
border-right: 4px solid transparent; | |
border-left: 4px solid transparent; | |
} | |
.green-button { | |
background-color: #98c665; | |
border: 1px solid #5d932a; | |
border-radius: 50px; | |
overflow: hidden; | |
position: relative; | |
height: 35px; | |
padding-left: 35px; | |
} | |
.green-button .rounded-number { | |
position: absolute; | |
border-radius: 50px; | |
width: 35px; | |
height: 35px; | |
display: inline-block; | |
border-right: 1px solid #5d932a; | |
left: 0; | |
top: 0; | |
} | |
.green-button .rounded-number span { | |
width: 100%; | |
color: #fff; | |
font-weight: bold; | |
font-size: 25px; | |
line-height: 35px; | |
display: inline-block; | |
text-align: center; | |
} | |
.green-button .button-text { | |
display: inline-block; | |
padding: 0 11px; | |
line-height: 35px; | |
color: #fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='btn-group pull-right green-button'> | |
<span class='rounded-number'> | |
<span>3</span> | |
</span> | |
<span class='button-text'> | |
Create Campaign | |
<span class='caret'></span> | |
</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment