- Make robots manager fully responsive
- Add a cor-table which automatically stacks and collapses on mobile views
This commit is contained in:
parent
d26927cb45
commit
32635cc641
8 changed files with 222 additions and 37 deletions
55
static/css/directives/ui/manager-header.css
Normal file
55
static/css/directives/ui/manager-header.css
Normal file
|
@ -0,0 +1,55 @@
|
|||
.manager-header {
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.manager-header h3 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.manager-header .manager-header-side-controls {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.manager-filter-box {
|
||||
margin-bottom: 20px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.manager-filter-box input {
|
||||
float: right;
|
||||
min-width: 175px;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.manager-header {
|
||||
position: relative;
|
||||
padding-bottom: 36px;
|
||||
}
|
||||
|
||||
.manager-header .manager-header-side-controls {
|
||||
float: none;
|
||||
display: block;
|
||||
border-top: 1px solid #eee;
|
||||
padding-top: 6px;
|
||||
position: absolute;
|
||||
top: 34px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.manager-header .manager-header-side-controls .btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.manager-filter-box {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.manager-filter-box input {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
|
@ -1,3 +1,7 @@
|
|||
.robots-manager-element .robot {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.robots-manager-element .robot a {
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
|
@ -78,9 +82,3 @@
|
|||
.robots-manager-element .member-perm-summary {
|
||||
margin-right: 14px;
|
||||
}
|
||||
|
||||
.robots-manager-element .co-filter-box {
|
||||
float: right;
|
||||
min-width: 175px;
|
||||
margin-bottom: 10px;
|
||||
}
|
Reference in a new issue