Revert "adding flexbox to header via mixins (all prefixes)"

This reverts commit 5b229316ee.
This commit is contained in:
Jeff Atwood 2015-08-04 15:56:05 -07:00
parent 652eb5b3e3
commit 2b2ae4bfe7
5 changed files with 13 additions and 54 deletions

View File

@ -13,9 +13,10 @@
.contents {
margin: 8px 0;
}
@include flexbox();
@include align-items(center);
.title {
float: left;
}
.valign-helper {
@ -33,10 +34,8 @@
}
.panel {
float: right;
position: relative;
margin-left: auto;
@include order(3);
}
.login-button, button.sign-up-button {

View File

@ -261,9 +261,6 @@ table.md-table {
}
.small-action {
@include flexbox();
@include align-items(center);
.topic-avatar {
padding: 5px 0;
border-top: none;
@ -277,7 +274,8 @@ table.md-table {
}
.small-action-desc {
padding: 0 1.5%;
padding: 0.5em 0 0.5em 4em;
margin-top: 5px;
text-transform: uppercase;
font-weight: bold;
font-size: 0.9em;
@ -290,7 +288,7 @@ table.md-table {
font-weight: normal;
font-size: 14px;
p {
margin: 0;
margin: 5px 0;
}
}
@ -301,6 +299,7 @@ table.md-table {
> p {
margin: 0;
padding-top: 4px;
}
}

View File

@ -27,11 +27,11 @@
}
.extra-info-wrapper {
@include order(2);
line-height: 1.5;
.badge-wrapper {
float: left;
&.bullet {
margin-top: 5px;
}
}
}

View File

@ -52,10 +52,8 @@
&.bullet { //bullet category style
@include inline-flex();
@include align-items(baseline);
display: inline-flex;
align-items: baseline;
margin-right: 10px;
span.badge-category {

View File

@ -92,40 +92,3 @@
-moz-user-select: none;
-ms-user-select: none;
}
// ---------------------------------------------------
//Flexbox
@mixin flexbox() {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
@mixin inline-flex() {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -moz-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
}
@mixin align-items($alignment) {
-webkit-box-align: $alignment;
-webkit-align-items: $alignment;
-ms-flex-align: $alignment;
-ms-align-items: $alignment;
align-items:$alignment;
}
@mixin order($val) {
-webkit-box-ordinal-group: $val;
-moz-box-ordinal-group: $val;
-ms-flex-order: $val;
-webkit-order: $val;
order: $val;
}