Start on mobilification of repo view

This commit is contained in:
Joseph Schorr 2015-04-20 17:42:33 -04:00
parent 79caf2dab2
commit a4cacd7307
31 changed files with 265 additions and 91 deletions

View file

@ -23,3 +23,17 @@
.repo-panel-settings-element .panel-section .btn .fa {
margin-right: 6px;
}
.repo-panel-settings-element .delete-btn {
float: right;
margin-top: -7px !important;
}
@media (max-width: 767px) {
.repo-panel-settings-element .delete-btn {
float: none;
margin-top: 0px !important;
margin-bottom: 20px;
display: block;
}
}

View file

@ -83,4 +83,33 @@
.repo-panel-tags-element .tag-image-history-item .fa-circle-o {
margin-right: 2px;
}
@media (max-width: 767px) {
.repo-panel-tags-element .tag-span i {
display: none;
}
.repo-panel-tags-element .co-filter-box {
display: block;
float: none;
margin-top: 10px;
margin-bottom: 20px;
}
.repo-panel-tags-element .co-filter-box input {
width: 100%;
}
.repo-panel-tags-element .co-checked-actions .btn i {
font-size: 16px;
width: 18px;
text-align: center;
display: inline-block;
}
.repo-panel-tags-element .co-checked-actions .btn .text {
display: none;
}
}

View file

@ -25,7 +25,7 @@
}
.logs-view-element .manager-header {
padding-bottom: 72px;
padding-bottom: 82px;
}
}

View file

@ -18,6 +18,26 @@
height: 40px;
}
.repo-tag-history-element .co-filter-box {
float: right;
}
@media (max-width: 767px) {
.repo-tag-history-element .history-list {
margin: 10px;
}
.repo-tag-history-element .history-entry .history-text {
height: 60px;
}
.repo-tag-history-element .co-filter-box {
float: none;
display: block;
}
}
.repo-tag-history-element .history-entry.filtered-mismatch {
margin-top: 10px;
}

View file

@ -12,4 +12,10 @@
left: -2px;
font-size: 16px;
color: #E8BB03;
}
.repository-permissions-table .mobile-add-row {
margin-top: 6px;
padding-top: 10px;
border-top: 2px solid #eee;
}

View file

@ -0,0 +1,52 @@
.role-group .btn {
width: 90px;
position: relative;
text-align: left;
}
.role-group .btn .caret {
position: absolute;
top: 15px;
right: 7px;
}
.role-group .role-help-text {
font-size: 12px;
color: #ccc;
margin-top: 4px;
margin-bottom: 2px;
}
.role-group .btn {
border-left: 4px solid #ccc;
}
.role-group .btn.success {
border-left-color: #5cb85c;
}
.role-group .btn.primary {
border-left-color: #337ab7;
}
.role-group li a {
vertical-align: middle;
}
.role-group li a:before {
content: "";
border-radius: 50%;
width: 10px;
height: 10px;
background: #ccc;
display: inline-block;
margin-right: 6px;
}
.role-group li.success a:before {
background-color: #5cb85c;
}
.role-group li.primary a:before {
background-color: #337ab7;
}