1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 02:32:42 +01:00

PHUIList changes for responsive design

Summary: Fixes some issues with lists and tablet/mobile layouts.

Test Plan: shrink my screen

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D6148
This commit is contained in:
Chad Little 2013-06-06 11:59:14 -07:00
parent 9e591f488b
commit d3aed20752
2 changed files with 10 additions and 6 deletions

View file

@ -3718,7 +3718,7 @@ celerity_register_resource_map(array(
), ),
'phui-list-view-css' => 'phui-list-view-css' =>
array( array(
'uri' => '/res/77c3509f/rsrc/css/phui/phui-list.css', 'uri' => '/res/bdc66aff/rsrc/css/phui/phui-list.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(

View file

@ -2,10 +2,6 @@
* @provides phui-list-view-css * @provides phui-list-view-css
*/ */
.phui-list-item {
line-height: 16px;
}
.phui-list-item-header, .phui-list-item-header,
.phui-list-item-header a { .phui-list-item-header a {
color: #9ca5b5; color: #9ca5b5;
@ -56,6 +52,10 @@
position: relative; position: relative;
} }
.phui-list-sidenav .phui-list-item-view {
overflow: hidden;
}
.phui-list-sidenav .phui-list-item-href { .phui-list-sidenav .phui-list-item-href {
display: block; display: block;
padding: 2px 16px; padding: 2px 16px;
@ -69,7 +69,7 @@
padding: 2px 10px; padding: 2px 10px;
} }
.phui-list-sidenav .phui-list-item-href:hover { .device-desktop .phui-list-sidenav .phui-list-item-href:hover {
background: #005588; background: #005588;
background-image: linear-gradient(to bottom, #3b86c4, #2b628f); background-image: linear-gradient(to bottom, #3b86c4, #2b628f);
background-image: -webkit-linear-gradient(top, #3b86c4, #2b628f); background-image: -webkit-linear-gradient(top, #3b86c4, #2b628f);
@ -123,3 +123,7 @@
width: 14px; width: 14px;
display: block; display: block;
} }
.device-phone .phui-list-view.phui-list-navbar > li {
float: none;
}