Imporve styles for mobile

This commit is contained in:
Naoki Takezoe
2015-12-14 01:56:15 +09:00
parent 17636a5ecf
commit e8824ad1ac

View File

@@ -2045,29 +2045,37 @@ div.container.blame-container{
body>form#search { body>form#search {
margin: 0 -20px 20px -20px; margin: 0 -20px 20px -20px;
} }
body>div.dashboard-nav { body>div.dashboard-nav {
margin: 0 -20px 20px -20px; margin: 0 -20px 20px -20px;
padding: 0 10px; padding: 0 10px;
} }
.container { .container {
width: auto !important; width: auto !important;
} }
.nav-pills-group .pull-right #search-filter-box {
/* Adjust issue search box size and position */
#search-filter-box {
width: 90% !important; width: 90% !important;
position: absolute; position: absolute;
left: 20px; left: 14px;
right: 20px; right: 20px;
margin-top: 42px; margin-top: 42px;
} }
.nav-pills-group .pull-right form#search-filter-form {
margin-bottom: 60px !important; form#search-filter-form {
float: none !important;
margin-bottom: 80px !important;
} }
.table-issues a.button-link { .table-issues a.button-link {
width: 42px; width: 42px;
height: 16px; height: 16px;
overflow: hidden; overflow: hidden;
display: inline-block; display: inline-block;
} }
.nav-tabs a.btn[href$="/_edit"] { .nav-tabs a.btn[href$="/_edit"] {
width: 24px; width: 24px;
white-space: nowrap; white-space: nowrap;
@@ -2075,24 +2083,28 @@ div.container.blame-container{
padding: 4px 6px; padding: 4px 6px;
margin: 3px 4px 0 0; margin: 3px 4px 0 0;
} }
body>div.container.body { body>div.container.body {
margin: 0 -12px 40px -12px; margin: 0 -12px 40px -12px;
} }
.container.body>div[style="width: 170px;"]{ .container.body>div[style="width: 170px;"]{
width: 32px !important; width: 32px !important;
margin-right: -5px; margin-right: -5px;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
} }
.container.body>div[style="margin-right: 180px;"]{ .container.body>div[style="margin-right: 180px;"]{
margin-right: 32px !important; margin-right: 32px !important;
} }
.container.body>div[style="width: 170px;"] .sidemenu i, .container.body>div[style="width: 170px;"] .sidemenu img { .container.body>div[style="width: 170px;"] .sidemenu i, .container.body>div[style="width: 170px;"] .sidemenu img {
padding-right: 5px; padding-right: 5px;
} }
/* .container.body>div[style="width: 170px;"] .small,.container.body>div[style="width: 170px;"] .input-append, .container.body>div[style="width: 170px;"] div[style="margin-top: 10px;"] { */
.container.body>div[style="width: 170px;"] .small,.container.body>div[style="width: 170px;"] .input-append {
/* Hide repository url box */
.container.body>div[style="width: 170px;"] .small,.container.body>div[style="width: 170px;"] .input-group {
display: none; display: none;
} }
@@ -2100,9 +2112,16 @@ div.container.blame-container{
width: 26px !important; width: 26px !important;
padding: 2px; padding: 2px;
} }
.container.body>div[style="width: 170px;"] div[style="margin-top: 10px;"] a.btn i { .container.body>div[style="width: 170px;"] div[style="margin-top: 10px;"] a.btn i {
margin: 5px 10px 5px 6px; margin: 5px 10px 5px 6px;
} }
/* Hide fork button */
div.col-md-1>div.input-group.pull-right {
display: none;
}
body>.container>#fork-form{ body>.container>#fork-form{
display: inline; display: inline;
} }