FIX: Mobile breadcrumb formatting

This commit is contained in:
Robin Ward 2013-10-25 15:44:28 -04:00
parent e9c4465ec7
commit a3a2c5fa24
3 changed files with 65 additions and 27 deletions

View File

@ -411,6 +411,19 @@ span.posted {
}; };
} }
ol.category-breadcrumb {
display: block;
float: left;
list-style: none;
margin: 0 10px 0 0;
padding: 0;
li {
float: left;
margin-right: 5px;
}
}
.category-dropdown-menu { .category-dropdown-menu {
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: scroll;
@ -434,3 +447,4 @@ span.posted {
margin-bottom: 10px; margin-bottom: 10px;
} }
} }

View File

@ -198,15 +198,4 @@ i {background: #e4f2f8;
z-index: 495 z-index: 495
} }
ol.category-breadcrumb {
display: block;
float: left;
list-style: none;
margin: 0 10px 0 0;
padding: 0;
li {
float: left;
margin-right: 5px;
}
}

View File

@ -240,17 +240,32 @@
// -------------------------------------------------- // --------------------------------------------------
.list-controls { .list-controls {
.badge-category { .home {
display: inline-block; font-size: 20px;
margin: 8px 0 0 8px; font-weight: normal;
float: left;
}
.category-dropdown {
margin: 8px 0;
} }
.badge-category {
margin-top: 6px;
padding: 4px 10px;
display: inline-block;
line-height: 24px;
float: left;
}
.category-dropdown-button {
padding: 4px 10px 3px 8px;
border-left: 1px solid rgba(0, 0, 0, 0.15);
font-size: 16px;
width: 10px;
text-align: center;
&:hover {
opacity: 0.8;
}
}
clear: both; clear: both;
} }
#list-area { #list-area {
margin-bottom: 300px; margin-bottom: 300px;
.empty-topic-list { .empty-topic-list {
@ -365,20 +380,40 @@ clear: both;
opacity: 1; opacity: 1;
} }
ol.category-breadcrumb { ol.category-breadcrumb {
display: block; display: block;
margin-top: 5px;
float: left; float: left;
list-style: none; list-style: none;
.icon-home { margin: 0 10px 0 0;
font-size: 20px; padding: 0;
}
button {
padding: 5px 10px;
font-size: 16px;
}
li { li {
float: left; float: left;
margin-right: 5px;
} }
} }
.category-dropdown-menu {
overflow-x: hidden;
overflow-y: scroll;
position: absolute;
border: 1px solid #ccc;
background-color: white;
width: 200px;
height: 200px;
padding: 8px 5px 0 7px;
z-index: 100;
margin-top: 31px;
.badge-category {
font-size: 13px;
line-height: 26px;
padding: 0px 8px;
float: none;
}
div {
margin-bottom: 10px;
}
}