Created
July 31, 2014 17:22
-
-
Save koycarraway/02268aff03e3cb836411 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
<div> | |
<input type="radio" id="only_admins_see_billable_rates_true" name="only_admins_see_billable_rates" value="true"> | |
<label class="inline" for="only_admins_see_billable_rates_true">Admins</label> | |
<input type="radio" id="only_admins_see_billable_rates_false" name="only_admins_see_billable_rates" value="false"> | |
<label class="inline" for="only_admins_see_billable_rates_false">Everyone</label> | |
</div> |
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
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
html { | |
background: #fff; | |
} | |
*, :after, :before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
input[type=checkbox], input[type=radio] { | |
position: absolute; | |
top: 0; | |
left: -9999px; | |
} | |
input[type=checkbox], input[type=file], input[type=radio] { | |
display: none; | |
} | |
input[type=checkbox]+label, input[type=radio]+label { | |
display: inline; | |
position: relative; | |
top: 2px; | |
box-sizing: border-box; | |
} | |
input[type=checkbox]+label::before, input[type=radio]+label::before { | |
content: ""; | |
display: inline-block; | |
height: 15px; | |
width: 15px; | |
text-align: center; | |
margin-right: 10px; | |
color: #fff; | |
border: solid 1px #ddd; | |
background: #fff; | |
position: relative; | |
line-height: 15px; | |
top: 2px; | |
vertical-align: baseline; | |
} | |
input[type=radio]+label::before { | |
border-radius: 100px; | |
} | |
input[type=radio]:checked+label::before { | |
content: ""; | |
background: #4d4d4d; | |
height: 15px; | |
width: 15px; | |
border: 3px solid #fff; | |
box-shadow: 0 0 0 1px #ddd; | |
} |
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
html { | |
background: #fff; } | |
*, :after, :before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; } | |
input[type=checkbox], input[type=radio] { | |
position: absolute; | |
top: 0; | |
left: -9999px; } | |
input[type=checkbox], input[type=file], input[type=radio] { | |
display: none; } | |
input[type=checkbox] + label, input[type=radio] + label { | |
display: inline; | |
position: relative; | |
top: 2px; | |
box-sizing: border-box; } | |
input[type=checkbox] + label::before, input[type=radio] + label::before { | |
content: ""; | |
display: inline-block; | |
height: 15px; | |
width: 15px; | |
text-align: center; | |
margin-right: 10px; | |
color: #fff; | |
border: solid 1px #ddd; | |
background: #fff; | |
position: relative; | |
line-height: 15px; | |
top: 2px; | |
vertical-align: baseline; } | |
input[type=radio] + label::before { | |
border-radius: 100px; } | |
input[type=radio]:checked + label::before { | |
content: ""; | |
background: #4d4d4d; | |
height: 15px; | |
width: 15px; | |
border: 3px solid #fff; | |
box-shadow: 0 0 0 1px #ddd; } |
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> | |
<input type="radio" id="only_admins_see_billable_rates_true" name="only_admins_see_billable_rates" value="true"> | |
<label class="inline" for="only_admins_see_billable_rates_true">Admins</label> | |
<input type="radio" id="only_admins_see_billable_rates_false" name="only_admins_see_billable_rates" value="false"> | |
<label class="inline" for="only_admins_see_billable_rates_false">Everyone</label> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment