Skip to content

Commit

Permalink
Merge pull request #108 from rei/consolidate-hidden
Browse files Browse the repository at this point in the history
Consolidate hidden
  • Loading branch information
Jordan Ramos committed May 26, 2016
2 parents 460835f + 85af1dc commit 8740976
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion src/less/definitions/utilities/utilities.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,32 @@
// -------------------------

.hidden {
display: none !important;
display: none !important;
&-xs {
@media (max-width: @screen-xs-max) {
.responsive-invisibility();
}
}
&-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.responsive-invisibility();
}
}
&-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.responsive-invisibility();
}
}
&-lg {
@media (min-width: @screen-lg-min) {
.responsive-invisibility();
}
}
&-print {
@media print {
.responsive-invisibility();
}
}
}
.show {
display: block !important;
Expand Down

0 comments on commit 8740976

Please sign in to comment.