Skip to content
Snippets Groups Projects
Commit 45ea1c0e authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

Issue #2446889: Use element-invisible class

parent 7130e63d
No related branches found
No related tags found
No related merge requests found
...@@ -65,27 +65,9 @@ ...@@ -65,27 +65,9 @@
} }
} }
@mixin element-invisible {
position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
}
@mixin element-visible {
position: inherit !important;
clip: inherit;
overflow: inherit;
height: inherit;
}
@mixin new-user-badge { @mixin new-user-badge {
background-color: #0D7DC1; background-color: #0D7DC1;
color: white; color: white;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
span {
@include element-invisible;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment