Created
March 5, 2013 22:15
-
-
Save ritcheyer/5094831 to your computer and use it in GitHub Desktop.
A CodePen by Eric Ritchey. SASS-Based Inline Media Queries
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
.storage-meta .storage-status { | |
border: 1px solid #333; | |
display: inline-block; | |
.status-icon { display: none; } | |
@media screen and (max-width: $storage-types-step-1) { | |
.status-title { display: none; } | |
opacity: .5; | |
overflow: hidden; | |
position: absolute; | |
top: -1px; | |
right: 0; | |
margin: 0; | |
width: 20px; | |
height: 19px; | |
border-left: 1px solid #aaa; | |
border-bottom: 1px solid #aaa; | |
background-color: #aaa; | |
border-bottom-left-radius: 4px; | |
.status-icon { | |
display: block; | |
position: relative; | |
top: 3px; | |
left: 1px; | |
} | |
} | |
} | |
.storage-logo { | |
margin: 0 5% 0 0; | |
width: 25%; | |
max-width: 100px; | |
max-height: 100px; | |
opacity: .5; | |
@include defaultOpacityTransition; | |
@media screen and (max-width: $storage-types-step-1) { | |
margin: 0 auto 5px; | |
width: 75px; | |
} | |
} | |
.storage-meta { | |
width: 70%; | |
@media screen and (max-width: $storage-types-step-1) { | |
width: 100%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment