- Make robots manager fully responsive

- Add a cor-table which automatically stacks and collapses on mobile views
This commit is contained in:
Joseph Schorr 2015-04-17 16:43:53 -04:00
parent d26927cb45
commit 32635cc641
8 changed files with 222 additions and 37 deletions

View file

@ -100,6 +100,12 @@
padding: 30px;
}
@media (max-width: 767px) {
.co-tab-content {
padding: 20px;
}
}
.co-tabs li {
list-style: none;
display: block;
@ -206,15 +212,16 @@
}
.co-tab-element.open li {
display: block;
height: 60px;
}
.co-tab-element.closed li {
display: none;
height: 0px;
overflow: hidden;
}
.co-tab-element.closed li.active {
display: block;
height: 60px;
}
}
@ -960,6 +967,36 @@
padding-left: 28px;
}
.co-table .mobile-row {
border-bottom: 2px solid #eee;
padding-bottom: 10px;
margin-bottom: 10px;
position: relative;
}
.co-table .mobile-row:last-child {
border-bottom: 0px solid #eee;
padding-bottom: 0px;
margin-bottom: 0px;
}
.co-table .mobile-row .mobile-col-header {
font-weight: bold;
color: #444;
}
.co-table .mobile-row .mobile-col-value {
padding: 6px;
}
.co-table .mobile-row .options-col {
position: absolute;
top: -6px;
right: 0px;
}
.cor-checkable-menu {
display: inline-block;
}