Created
June 17, 2014 10:28
-
-
Save pederan/0a17c9edf17e01c2b789 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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="table-selection"> | |
<a href="javascript://" class="btn selected" title="100 gram" data-table-reference="hundred-grams">100 gram</a><a href="javascript://" class="btn" title="Per porsjon" data-table-reference="pr-portion">Per porsjon</a><a href="javascript://" class="btn" title="Referanseinntak" data-table-reference="reference-consume">Referanseinntak</a> | |
</div> |
This file contains hidden or 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.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
* { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { background-color: #ececec }; | |
.table-selection { | |
width:500px; | |
} | |
.btn { | |
display: inline-block; | |
font-size: 0.875em; | |
font-weight: 400; | |
line-height: 1; | |
width: 32%; | |
padding: 0.71429em; | |
margin-left: 2%; | |
color: #000000; | |
border: #0073a1 1px solid; | |
text-align: center; | |
text-decoration: none; | |
border-color: #000000; | |
background-color: #ffffff; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
&.selected { | |
border-bottom-color: transparent; | |
background-color: transparent; | |
} | |
&:first-child { | |
margin-left: 0; | |
} | |
} |
This file contains hidden or 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
* { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
background-color: #ececec; | |
} | |
.table-selection { | |
width: 500px; | |
} | |
.btn { | |
display: inline-block; | |
font-size: 0.875em; | |
font-weight: 400; | |
line-height: 1; | |
width: 32%; | |
padding: 0.71429em; | |
margin-left: 2%; | |
color: #000000; | |
border: #0073a1 1px solid; | |
text-align: center; | |
text-decoration: none; | |
border-color: #000000; | |
background-color: #ffffff; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
} | |
.btn.selected { | |
border-bottom-color: transparent; | |
background-color: transparent; | |
} | |
.btn:first-child { | |
margin-left: 0; | |
} |
This file contains hidden or 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="table-selection"> | |
<a href="javascript://" class="btn selected" title="100 gram" data-table-reference="hundred-grams">100 gram</a><a href="javascript://" class="btn" title="Per porsjon" data-table-reference="pr-portion">Per porsjon</a><a href="javascript://" class="btn" title="Referanseinntak" data-table-reference="reference-consume">Referanseinntak</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment